Multi-exec giving bogus process

Marc Khouzam marc.khouzam@ericsson.com
Mon Jun 28 18:45:00 GMT 2010


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



More information about the Gdb mailing list