Date: Tue, 6 Aug 1996 11:18:22 -0400 (EDT) From: Chuck Robey <chuckr@glue.umd.edu> To: Marty Leisner <leisner@sdsp.mc.xerox.com> Cc: gdb-testers@cygnus.com, hackers@freebsd.org Subject: Re: gdb 960725 on freebsd 2.2.(5/1/96) Message-ID: <Pine.OSF.3.95.960806111611.26504B-100000@fiber.eng.umd.edu> In-Reply-To: <9608061509.AA17018@gnu.mc.xerox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 6 Aug 1996, Marty Leisner wrote: > > > > Did you actually check that it recognized FreeBSD executeables? Getting > > it to compile is a long way from getting it to work, unfortunately. > > > Well, it almost works... > > : leisner@compaq.home;gdb ls > GDB is free software and you are welcome to distribute copies of it > under certain conditions; type "show copying" to see the conditions. > There is absolutely no warranty for GDB; type "show warranty" for details. > GDB 960725 (i386-unknown-freebsd2.2), > Copyright 1996 Free Software Foundation, Inc... > (gdb) break main > Breakpoint 1 at 0x1b81: file /pb/usr/local/src/gnu/fileutils-3.13/src/ls.c, > line 650. > (gdb) r > Starting program: /usr/local/bin/ls > > Breakpoint 1, main (argc=1, argv=0xefbfd45c) > at /pb/usr/local/src/gnu/fileutils-3.13/src/ls.c:650 > 650 program_name = argv[0]; > (gdb) n > 651 setlocale (LC_ALL, ""); > (gdb) n > 0xb15c in _DYNAMIC () > (gdb) n > Single stepping until exit from function _DYNAMIC, > which has no line number information. > ld.so: Undefined symbol "10nflist" called from ls:ls at 0xb15c > > Program exited with code 01. > (gdb) > It seems to work if I don't go into shared libraries... > I haven't done much work with it yes (I haven't rebuilt the libraries > on freebsd). > > Or tried -static... I understand it only works this far because of John Polstra's work in getting ELF libs working for FreeBSD. They do work now, natively, for FreeBSD-current, and I think that gdb is very likely to work in those cases, but not using the zmagic linking that is still the standard (and seemingly likely to stay that way). ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 9120 Edmonston Ct #302 | Greenbelt, MD 20770 | I run Journey2 and n3lxx, both FreeBSD (301) 220-2114 | version 2.2 current -- and great FUN! ----------------------------+-----------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.95.960806111611.26504B-100000>