Re: gdb trouble in 4.0-current

1999-11-22 Thread Sheldon Hearn



On Sat, 20 Nov 1999 20:24:47 EST, Wes Morgan wrote:

 (gdb) r
 Starting program: /usr/home/by-tor/mms-0.90/./mms
 warning: find_solib: Can't read pathname for load map: Bad address
 
 Segmentation fault (core dumped)

You're not alone.  The work-around is to compile with --static.

Ciao,
Sheldon.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: gdb trouble in 4.0-current

1999-11-22 Thread Bruce Evans

On Mon, 22 Nov 1999, Sheldon Hearn wrote:
 
 On Sat, 20 Nov 1999 20:24:47 EST, Wes Morgan wrote:
 
  (gdb) r
  Starting program: /usr/home/by-tor/mms-0.90/./mms
  warning: find_solib: Can't read pathname for load map: Bad address
  
  Segmentation fault (core dumped)
 
 You're not alone.  The work-around is to compile with --static.

Even that is broken for attaching to running (statically linked) processes.

Bruce



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



gdb trouble in 4.0-current

1999-11-20 Thread Wes Morgan

Is anyone seeing a problem like the one below? This is happening to me on
quite a few binaries that used to be gdb'able before I installed a new
world on the 13th...

[by-tor@volatile:~/mms-0.90$]: gdb ./mms
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are welcome to change it and/or 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.
This GDB was configured as "i386-unknown-freebsd"...
(gdb) b read_key
Breakpoint 1 at 0x804a4d7: file mms.c, line 252.
(gdb) r
Starting program: /usr/home/by-tor/mms-0.90/./mms
warning: find_solib: Can't read pathname for load map: Bad address

Segmentation fault (core dumped)


The libraries involved are ncurses, panels and of course libc. The panels
library is NOT the stock lib (it doesnt work for some reason), I gleaned
it from the ncurses-5.0 release. All this stuff worked a week ago :). The
binaries run fine, I just can't debug 'em... I'm continuing to operate
under the assumption that it is my fault, but if anyone has some pointers
that would be great!


-- 
   _ __ ___   ___ ___ ___
  Wesley N Morgan   _ __ ___ | _ ) __|   \
  [EMAIL PROTECTED]   _ __ | _ \._ \ |) |
  FreeBSD: The Power To Serve  _ |___/___/___/
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message