From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Warno To: gdb list Subject: 1) SIGTRAP issue :/ 2) libbfd Date: Mon, 25 Jun 2001 09:21:00 -0000 Message-id: <3B376519.60D5AE3F@valaran.com> X-SW-Source: 2001-06/msg00192.html 1) I recently upgraded glibc on one linux box to 2.2.2. I built it from source tarballs and now, for whatever reason, I cannot debug any programs with gdb. I wind up with something like the following: (gdb) run Starting program: /home/kw/a.out Program received signal SIGTRAP, Trace/breakpoint trap. Cannot remove breakpoints because program is no longer writable. It might be running in another process. Further execution is probably impossible. 0x40001fa0 in ?? () (gdb) Hrmm ok so maybe I left out a configuration option or two with the glibc build? If so, any thoughts? I haven't any idea. gcc here is ver. 2.95.3 & the kernel is 2.2.19. 2) libbfd is distributed with gdb and binutils. I would like to rebuild gcc, gdb, and binutils and I know that the three of them can be built together. Question is: will the differing versions of libbfd provided with gdb and binutils potentially cause any issues, and if so how could such issues be avoided? Regards, kw -- | Keith Warno cell: +1 609-209-5800 | http://www.valaran.com/ work: +1 609-716-7200 x243 | Valaran Corporation Penguin Guy SMS : kw-mobile@valaran.com +--------------------------------------------------------------//