From owner-freebsd-hackers Tue Aug 6 08:09:58 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA23722 for hackers-outgoing; Tue, 6 Aug 1996 08:09:58 -0700 (PDT) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA23716 for ; Tue, 6 Aug 1996 08:09:55 -0700 (PDT) Received: from gemini.sdsp.mc.xerox.com ([13.231.132.20]) by alpha.xerox.com with SMTP id <15059(5)>; Tue, 6 Aug 1996 08:09:08 PDT Received: from gnu.mc.xerox.com (gnu.sdsp.mc.xerox.com) by gemini.sdsp.mc.xerox.com (4.1/SMI-4.1-TB) id AA04064; Tue, 6 Aug 96 11:09:16 EDT Received: by gnu.mc.xerox.com (4.1/SMI-4.1) id AA17018; Tue, 6 Aug 96 11:09:14 EDT Message-Id: <9608061509.AA17018@gnu.mc.xerox.com> X-Mailer: exmh version 1.6.7 5/3/96 To: Chuck Robey Cc: gdb-testers@cygnus.com, hackers@freebsd.org Subject: Re: gdb 960725 on freebsd 2.2.(5/1/96) In-Reply-To: Your message of "Mon, 05 Aug 1996 12:02:05 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 6 Aug 1996 08:09:12 PDT From: "Marty Leisner" Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > 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