This is the mail archive of the gdb@sourceware.org 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]

Re: gdb "automation" question


>>>>> "Steffen" == Steffen Dettmer <steffen.dettmer@googlemail.com> writes:

Steffen> Here a minimal "This command cannot be used at the top level"
Steffen> example:

Ok, I see.  The problem is more obvious if you enter the commands
manually:

(gdb) define z
Type commands for definition of "z".
End with a line saying just "end".
>define hook-stop
>echo hi
>end
(gdb) 

"define" doesn't properly recognize a nested define.

Could you file a bug report for this?

Tom


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