[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #30579] incorrect gdb 'disassemble' command
From: |
anonymous |
Subject: |
[bug #30579] incorrect gdb 'disassemble' command |
Date: |
Wed, 28 Jul 2010 17:11:05 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.15) Gecko/2009102815 Ubuntu/9.04 (jaunty) Firefox/3.0.15 |
URL:
<http://savannah.gnu.org/bugs/?30579>
Summary: incorrect gdb 'disassemble' command
Project: DDD
Submitted by: None
Submitted on: Wed Jul 28 17:11:05 2010
Category: Gdb integration
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: 3.3.12-rc2
_______________________________________________________
Details:
Using ddd 3.3.12 with gdb 7.1, I found that trying to display disassembled
code in the Machine Code window resulted in the error
message
A syntax error in expression, near <2nd argument>
The problem is that when two arguments, e.g. addresses, are supplied to the
gdb disassemble command gdb expects them to be separated by a comma, but ddd
is constructing the command with no comma.
The fix is simple: in the method GDBAgent::disassemble_command in file
GDBAgent.c, at line 3203, change
cmd += ' ';
to
cmd += ", ";
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30579>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #30579] incorrect gdb 'disassemble' command,
anonymous <=