This is the mail archive of the gdb-patches@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]

Re: [RFC v2] fix regressions with target-async


>>>>> "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


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