Re: gdb-4.17 in FreeBSD 4.0-CURRENT

1999-09-01 Thread Kip Macy
I tried doing the same on FreeBSD 3.2-STABLE but when I run it it complains that it is unable to find dynamic linker breakpoint function and then it stops with a SIGTRAP. Any ideas what might be wrong? Thanks. -Kip On Fri, 20 Aug 1999, Richard Cownie wrote: > I

Re: gdb-4.17 in FreeBSD 4.0-CURRENT

1999-08-31 Thread Kip Macy
on 3.2-R gdb-4.18 will core dump without fail when I try to read a core file generated by the C++ program I am developing - gdb-4.17 does not have this problem. -Kip On Tue, 31 Aug 1999, Alex Zepeda wrote: > On Sun, 22 Aug 1999, Richard Cownie wrote: > >

Re: gdb-4.17 in FreeBSD 4.0-CURRENT

1999-08-31 Thread Alex Zepeda
On Sun, 22 Aug 1999, Richard Cownie wrote: > On Sat, 21 Aug 1999, David O'Brien wrote: > > Are you saying 4.17 is better than 4.18 for debugging C++? Or are you > > saying you didn't know FreeBSD comes with gdb: > > gdb-4.18 is badly broken on all platforms (at least for C++). You can't > call

Re: gdb-4.17 in FreeBSD 4.0-CURRENT

1999-08-31 Thread Andrew Cagney
Richard Cownie wrote: > > I managed to build gdb-4.17 in FreeBSD 4.0, here's how to do it: > > 1) gdb-4.17/configure --host=i386-unknown-freebsdelf4.0 > Have to specify the host explicitly, otherwise it doesn't realize > it needs to use ELF. > > 2) in gdb-4.17/Makefile, add "-DSVR4_SHAR

Re: gdb-4.17 in FreeBSD 4.0-CURRENT

1999-08-25 Thread Martin Cracauer
In <[EMAIL PROTECTED]>, Daniel Eischen wrote: > > Did anyone of you took care that you can build an aout gdb on an ELF > > FreeBSD system? > > > > I don't mean a gdb that is aout, but one that can debug aout binaries. > > I thought the gdb in our base system could debug aout binaries. Or > am

Re: gdb-4.17 in FreeBSD 4.0-CURRENT

1999-08-25 Thread Daniel Eischen
> Did anyone of you took care that you can build an aout gdb on an ELF > FreeBSD system? > > I don't mean a gdb that is aout, but one that can debug aout binaries. I thought the gdb in our base system could debug aout binaries. Or am I sadly mistaken. > That would be most useful to have as a p

Re: gdb-4.17 in FreeBSD 4.0-CURRENT

1999-08-25 Thread Martin Cracauer
In <[EMAIL PROTECTED]>, Daniel Eischen wrote: > Richard Cownie wrote: > > On Sat, 21 Aug 1999, David O'Brien wrote: > > > Are you saying 4.17 is better than 4.18 for debugging C++? Or are you > > > saying you didn't know FreeBSD comes with gdb: > > > > gdb-4.18 is badly broken on all platforms (

Re: gdb-4.17 in FreeBSD 4.0-CURRENT

1999-08-22 Thread Daniel Eischen
Richard Cownie wrote: > On Sat, 21 Aug 1999, David O'Brien wrote: > > Are you saying 4.17 is better than 4.18 for debugging C++? Or are you > > saying you didn't know FreeBSD comes with gdb: > > gdb-4.18 is badly broken on all platforms (at least for C++). You can't > call methods from the gdb c

Re: gdb-4.17 in FreeBSD 4.0-CURRENT

1999-08-22 Thread Richard Cownie
On Sat, 21 Aug 1999, David O'Brien wrote: > Are you saying 4.17 is better than 4.18 for debugging C++? Or are you > saying you didn't know FreeBSD comes with gdb: gdb-4.18 is badly broken on all platforms (at least for C++). You can't call methods from the gdb command line, and also it frequent

Re: gdb-4.17 in FreeBSD 4.0-CURRENT

1999-08-21 Thread David O'Brien
> I managed to build gdb-4.17 in FreeBSD 4.0, here's how to do it: ... > Then it should all build (and perhaps work). The same hacks probably apply > to gdb-4.18 and gdb-current (but so far gdb-4.17 is the most useful version > I've seen for debugging C++). Are you saying 4.17 is better than 4.1

gdb-4.17 in FreeBSD 4.0-CURRENT

1999-08-20 Thread Richard Cownie
I managed to build gdb-4.17 in FreeBSD 4.0, here's how to do it: 1) gdb-4.17/configure --host=i386-unknown-freebsdelf4.0 Have to specify the host explicitly, otherwise it doesn't realize it needs to use ELF. 2) in gdb-4.17/Makefile, add "-DSVR4_SHARED_LIBS" to definition of CFLAGS 3) in