Subject: Re: Does gdb works in -current (i386)?
To: Juan RP <juan@netbsd.graffitipr.org>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: current-users
Date: 07/08/2004 08:46:44
Juan RP <juan@netbsd.graffitipr.org> writes:
> I was trying to debug a program, but when I try to run it:
>
> [...]
> Reading symbols from /usr/pkg/lib/libesd.so.2...done.
> Loaded symbols for /usr/pkg/lib/libesd.so.2
> Reading symbols from /usr/lib/libc.so.12...done.
> Loaded symbols for /usr/lib/libc.so.12
> Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...done.
> Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
> ---Type <return> to continue, or q <return> to quit---
> Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2...done.
> Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
> Reading symbols from /usr/pkg/lib/gdk-pixbuf/loaders/libpixbufloader-png.so...
> done.
> Loaded symbols for /usr/pkg/lib/gdk-pixbuf/loaders/libpixbufloader-png.so
> #0 0xbd82236b in kill () from /usr/lib/libc.so.12
> (gdb) bt
> #0 0xbd82236b in kill () from /usr/lib/libc.so.12
> nbsd_thread_fetch_registers: td_map_id2thr: no object can be found to satisfy
> query
> (gdb)
>
> Do you have any idea about what's wrong?
Is it, in fact, a threaded program? Libpthread.so doesn't appear in
your listing, but it looks like you left some libraries out.
- Nathan