This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

commands command not allowed in macros, bug?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]