gdb script

nagaraju.m
2009-07-22T13:07:17Z

Hi ALL,

I have a problem in gdb-6.8 target execution, GDB is not giving
control back to my script whenever it hits a breakpoint.

ex:

if suppose my gdb script contains

file name:*gdb.cmd*

* tar simulator
load
b <some location> (ex: b main)
run
info reg
q

*
if i use this script like

* gdb -x gdb.cmd*

After hitting breakpoint it not giving control back to script and it
is not executing remaining part

*info reg
q

*can any one please help me out why gdb is not giving control back
to script

Thanks in advance,
Nagaraju