This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/11750] New: "define" does not properly recognize a nested define
- From: "steffen dot dettmer at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 24 Jun 2010 10:25:42 -0000
- Subject: [Bug gdb/11750] New: "define" does not properly recognize a nested define
- Reply-to: sourceware-bugzilla at sourceware dot org
Inside a `define' command, `define' cannot be nested, but this
would be useful for example to add/change hooks.
The message:
This command cannot be used at the top level
can appear (when reaching the outer `end' in a `source'd file).
(gdb) define z
Type commands for definition of "z".
End with a line saying just "end".
>define hook-stop
>echo hi
>end
(gdb)
`define' does not properly recognize a nested define.
Affected versions are at least 6.8 and 7.1.
--
Summary: "define" does not properly recognize a nested define
Product: gdb
Version: 7.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
AssignedTo: unassigned at sourceware dot org
ReportedBy: steffen dot dettmer at gmail dot com
CC: Steffen dot DETTMER at ingenico dot com,gdb-prs at
sourceware dot org
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-elf
http://sourceware.org/bugzilla/show_bug.cgi?id=11750
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.