This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
commands command not allowed in macros, bug?
- From: Doug Evans <dje at transmeta dot com>
- To: gdb at sources dot redhat dot com
- Date: Mon, 29 Mar 2004 23:05:33 -0800 (PST)
- Subject: commands command not allowed in macros, bug?
- References: <200403261736.i2QHaLn29409@claire.transmeta.com>
I wrote:
> (gdb) foo
> Breakpoint 1 at 0x8048406: file hello.c, line 6.
>
> [gdb is now hung waiting for the user to type `end']
>
> end # <<< type this in
> foo # gdb prints this, the commands of breakpoint 1 are run
> (gdb) quit
Oops, thinko.
s/commands of breakpoint 1 are run/rest of macro foo is run/