Bug 1108862

Summary: DDD Source viewer does not show assembly
Product: [Fedora] Fedora Reporter: Chris Bell <cwbell>
Component: dddAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 20CC: agrover, cwbell, gwync
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ddd-3.3.12-18.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-26 00:09:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to ddd 3.3.12-16 to update machine language syntax
none
Spec file for rpmbuild implementing patch none

Description Chris Bell 2014-06-12 17:47:18 UTC
Created attachment 908230 [details]
Patch to ddd 3.3.12-16 to update machine language syntax

Description of problem: When debugging code (using GDB 7.7.1-13.fc20) with the Machine Code Window open, DDD does not show the machine code. Instead, it indicates a 'A syntax error in expression, near' the assembly address. 


Version-Release number of selected component (if applicable):
ddd-3.3.12-16.FC20.x86_64
gdb-7.7.1-13.FC20.x86_64


How reproducible:


Steps to Reproduce:
1. Open DDD with an executable to debug
2. Enable the Machine Code Window from the View Menu
3. Start the program being debugged

Actual results:
"A syntax error in expression, near <address>"

Expected results:
"Dump of assembler code from ...", followed by machine code

Additional info:
It seems to be stemming from a documented change in syntax. A patch proposed in the Debian BTS (597328) seems to fix the issue.

Attached is the patch in question.

Comment 1 Chris Bell 2014-06-24 16:25:05 UTC
Created attachment 911811 [details]
Spec file for rpmbuild implementing patch

FWIW, here is a spec file with the patch integrated for use with rpmbuild.

Comment 2 Andy Grover 2014-07-23 17:07:33 UTC
I would also like this fixed. Requested commit access on ddd pkg to enable me to fix this.

Comment 3 Gwyn Ciesla 2014-07-24 14:01:37 UTC
Approving, sorry for the delay, life has been full of late.

Comment 4 Fedora Update System 2014-07-24 17:29:39 UTC
ddd-3.3.12-18.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/ddd-3.3.12-18.fc19

Comment 5 Fedora Update System 2014-07-24 17:29:45 UTC
ddd-3.3.12-18.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/ddd-3.3.12-18.fc20

Comment 6 Chris Bell 2014-07-24 17:50:23 UTC
Installed update from koji, assembly view works as expected.

Comment 7 Fedora Update System 2014-07-25 10:02:23 UTC
Package ddd-3.3.12-18.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ddd-3.3.12-18.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-8785/ddd-3.3.12-18.fc19
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2014-07-26 00:09:37 UTC
ddd-3.3.12-18.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2014-08-03 01:58:58 UTC
ddd-3.3.12-18.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.