Subject: Re: gdb/PTRACE broken on sparc64?
To: None <current-users@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: current-users
Date: 09/12/2006 16:57:12
On Tue, Sep 12, 2006 at 04:29:03PM -0500, David Young wrote:
> Presumably this is fallout from recent PTRACE changes?

Maybe not.  gdb does not run on core files, even:

thule:~/trunk/src/utd> gdb ~/scratch-cuw/Z/utd/utd utd.core
GNU gdb 5.3nb1
Copyright 2002 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 "sparc64--netbsdelf"...
Core was generated by `utd'.
Program terminated with signal 6, Aborted.
Reading symbols from /u1/dyoung/scratch-cuw/Z/ssrv/libssrv.so.0...done.
Loaded symbols for /u1/dyoung/scratch-cuw/Z/ssrv/libssrv.so.0
Reading symbols from /u1/dyoung/scratch-cuw/Z/log/liblog.so.0...done.
Loaded symbols for /u1/dyoung/scratch-cuw/Z/log/liblog.so.0
Reading symbols from /u1/dyoung/scratch-cuw/Z/misc/libmisc.so.0...done.
Loaded symbols for /u1/dyoung/scratch-cuw/Z/misc/libmisc.so.0
Reading symbols from /usr/lib/libevent.so.1...done.
Loaded symbols for /usr/lib/libevent.so.1
Reading symbols from /usr/lib/libutil.so.7...done.
Loaded symbols for /usr/lib/libutil.so.7
Reading symbols from /usr/lib/libc.so.12...done.
Loaded symbols for /usr/lib/libc.so.12
Reading symbols from /usr/libexec/ld.elf_so...done.
Loaded symbols for /usr/libexec/ld.elf_so
Bus error (core dumped)

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933