Date: Mon, 29 Jul 2002 14:12:36 -0700 (PDT) From: Archie Cobbs <archie@dellroad.org> To: freebsd-questions@freebsd.org Subject: GDB with -pthread program Message-ID: <200207292112.g6TLCau13175@arch20m.dellroad.org>
next in thread | raw e-mail | index | archive | help
Hi, I'm trying to debug a threaded (-pthread) program using gdb. When I say "info threads" I see all of the created threads, but the main thread does not appear (and it has not exited yet). So there seems to be no way to switch to the main thread to examine its stack. Is there something I'm missing or is this just broken, and if so why? Thanks, -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207292112.g6TLCau13175>