This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Multi-exec giving bogus process
- From: Marc Khouzam <marc dot khouzam at ericsson dot com>
- To: "'gdb at sourceware dot org'" <gdb at sourceware dot org>
- Date: Mon, 28 Jun 2010 14:44:56 -0400
- Subject: 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