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]

Query to find out the state of the target


I'm trying to figure out what command to issue to GDB to find
out the state of the target. Presumably the complete list of GDB target
states are "running", "suspended" or "disconnected". 

"info remote-process" is unsuitable, because it isn't supported by all
types of targets(e.g. deeply embedded targets typically have no
process).


The reason why I'd like to find out the state of the target, is to
update the GUI state in my embedded Eclipse CDT GUI plugin accordingly.

After the execution of the .gdbinit script, the state of the target will
be unknown as the user can place it in all three states...

http://www.zylin.com/embeddedcdt.html

-- 
Øyvind Harboe
http://www.zylin.com



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