Date: Tue, 6 Aug 1996 08:09:12 PDT From: "Marty Leisner" <leisner@sdsp.mc.xerox.com> To: Chuck Robey <chuckr@glue.umd.edu> Cc: gdb-testers@cygnus.com, hackers@freebsd.org Subject: Re: gdb 960725 on freebsd 2.2.(5/1/96) Message-ID: <9608061509.AA17018@gnu.mc.xerox.com> In-Reply-To: Your message of "Mon, 05 Aug 1996 12:02:05 PDT." <Pine.OSF.3.95.960805150054.11075K-100000@ginger.eng.umd.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> Did you actually check that it recognized FreeBSD executeables? Getting
> it to compile is a long way from getting it to work, unfortunately.
>
>--------------------------+-----------------------------------------------
> 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!
> -------
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...
--
marty
leisner@sdsp.mc.xerox.com
Member of the League for Programming Freedom
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9608061509.AA17018>
