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]

Multi-exec giving bogus process


Hi,

with gdb.7.1 (I guess because of multi-exec), I get an bogus
process when using -list-thread-groups upon startup.

> gdb.7.1 -ex "interpreter-exec mi -list-thread-groups"
GNU gdb (GDB) 7.1
[...]
^done,groups=[{id="0",type="process",pid="0"}]

This is causing me problems when doing remote debugging
where DSF-GDB thinks it is debugging this process 0.

Is it safe to simply ignore an entry with pid=0?

Thanks

Marc


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