This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC v2] fix regressions with target-async
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Joel Brobecker <brobecker at adacore dot com>
- Date: Tue, 04 Mar 2014 07:24:53 -0700
- Subject: Re: [RFC v2] fix regressions with target-async
- Authentication-results: sourceware.org; auth=none
- References: <1393609699-26407-1-git-send-email-tromey at redhat dot com> <5310D2F9 dot 2090507 at redhat dot com> <87mwh7cks4 dot fsf at fleche dot redhat dot com> <5314AFEA dot 8020705 at redhat dot com>
>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
Pedro> Does multi-threading support work when debugging live programs?
Nope. I dug into this a bit and after a git bisect -- thanks once again
to IBM for gcc111, quite a nice machine -- I'm sorry to report that the
AIX solib rewrite seems to have broken thread debugging there.
0c4f667cfe5118bf3a2690502a9a40ff3309abed works:
(gdb) info thr
Id Target Id Frame
* 3 Thread 258 (tid 97976507, running) zzqstart (arg=0x0)
at /home/tromey/ct.c:29
2 Thread 1 (tid 68026611, sleeping) 0x00000000 in ?? ()
1 process 38404336 zzqstart (arg=0x0) at /home/tromey/ct.c:29
I couldn't try 4d1eb6b4d299f3e46aab18e08fe4ef3063a39565 because I didn't
build with the expat support (and this revision introduced a build
failure in this scenario), but 814a3ff71b0e90f67eb9003ca37fa90094204152
(which fixed the build problem) does this for the same program, stopped
at the same spot:
(gdb) info thr
Id Target Id Frame
* 1 process 918250 zzqstart (arg=0x0) at /home/tromey/ct.c:29
CCing Joel.
Tom