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


On 03/04/2014 09:25 PM, Pedro Alves wrote:
> On 03/04/2014 02:24 PM, Tom Tromey wrote:
> 
>> I couldn't try 4d1eb6b4d299f3e46aab18e08fe4ef3063a39565 because I didn't
>> build with the expat support
> 
> Well, that sounds like the problem right there.  expat support is _mandatory_
> for shared library support on AIX.  The TARGET_OBJECT_LIBRARIES_AIX target
> object is xml.
> 

Confirmed, building with expat makes threaded debugging work:

$ ./gdb ~/CT
GNU gdb (GDB) 7.7.50.20140304-cvs
(...)
Reading symbols from /home/tromey/CT...done.
(gdb) start
Temporary breakpoint 1 at 0x10000634: file /home/tromey/ct.c, line 37.
Starting program: /home/tromey/CT
[New Thread 1]
[Switching to Thread 1]

Temporary breakpoint 1, main () at /home/tromey/ct.c:37
37        thread0 = pthread_self ();
(gdb) info threads
  Id   Target Id         Frame
* 2    Thread 1 (tid 18285219, running) main () at /home/tromey/ct.c:37
  1    process 44237024  main () at /home/tromey/ct.c:37
(gdb)

(You can find an expat build at ~palves:/home/palves/opt/)

-- 
Pedro Alves


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