Subject: gdb/PTRACE broken on sparc64?
To: None <firstname.lastname@example.org, email@example.com>
From: David Young <firstname.lastname@example.org>
Date: 09/12/2006 16:29:03
With -current sources of last night, I see the following error when I
try to attach to a live process with gdb. Anybody else?
% sudo gdb ~/scratch-cuw/Z/utd/utd `pgrep utd`
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"...
Attaching to program: /u1/dyoung/scratch-cuw/Z/utd/utd, process 1098
sorry, pid 1098 was killed: orphaned traced process
Sep 12 16:23:38 thule /netbsd: pid 1098 was killed: orphaned traced process
Bus error (core dumped)
% uname -a
NetBSD thule.ojctech.com 4.99.1 NetBSD 4.99.1 (GENERIC) #5: Tue Sep 12 12:01:59 CDT 2006 email@example.com:/u4/dyoung-scratch/new-nbsd/sparc64/O/sys/arch/sparc64/compile/GENERIC sparc64
Presumably this is fallout from recent PTRACE changes?
David Young OJC Technologies
firstname.lastname@example.org Urbana, IL * (217) 278-3933