This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/2289: error in get_traced_signals on Solaris 9


>Number:         2289
>Category:       gdb
>Synopsis:       error in get_traced_signals on Solaris 9
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 25 07:58:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     ajmvandenberg@hotmail.com
>Release:        GNU gdb 6.6.50.20070724
>Organization:
>Environment:
SunOS s-001 5.9 Generic_112233-08 sun4u sparc SUNW,Ultra-4
Using built-in specs.
Target: sparc-sun-solaris2.9
Configured with: ../gcc-4.2.0/configure --prefix=/systems/ccis/gcc --enable-languages=c,c++
Thread model: posix
gcc version 4.2.0
This GDB was configured as "sparc-sun-solaris2.9"...
>Description:
When running gdb on any executable, when the run command is given, the debugger comes up with the following message:
procfs: init_inferior, get_traced_signals line 4838, /proc/13443: Error 0.

Some truss output:

write(1, " S t a r t i n g   p r o".., 37)      = 37
vfork()                                         = 14081
open("/proc/14081/ctl", O_WRONLY)               = 7
open("/proc/14081/status", O_RDONLY)            = 8
lseek(8, 0, SEEK_SET)                           = 0
read(8, "\0\0\003\0\0\001\0\0 701".., 1232)     = 1232
write(7, "\0\0\003", 4)                         = 4
lseek(8, 0, SEEK_SET)                           = 0
read(8, "\0\0\003\0\0\001\0\0 701".., 1232)     = 1232
getcontext(0xFFBFE4D0)
setcontext(0xFFBFE4D0)
fcntl(0, F_GETFL, 0x00000000)                   = 8194
fstat64(0, 0xFFBFF078)                          = 0
ioctl(0, TCGETS, 0x0031B5A0)                    = 0
ioctl(0, TIOCGSID, 0xFFBFF114)                  = 0
getsid(0)                                       = 20380
ioctl(0, TIOCGPGRP, 0xFFBFF17C)                 = 0
procfs: init_inferior, get_traced_signals line 4838, /proc/14081: Error 0.write(2, " p r o c f s :   i n i t".., 74)    = 74

write(2, "\n", 1)                               = 1
sigprocmask(SIG_BLOCK, 0x002D9DB8, 0x002D9DC8)  = 0
ioctl(0, TIOCGWINSZ, 0xFFBFF190)                = 0
ioctl(0, TIOCSWINSZ, 0xFFBFF190)                = 0
ioctl(0, TCGETS, 0xFFBFF254)                    = 0
ioctl(0, TCSETSW, 0xFFBFF254)                   = 0
sigprocmask(SIG_SETMASK, 0x002D9DC8, 0x00000000) = 0
sigaction(SIGINT, 0xFFBFF098, 0xFFBFF138)       = 0
sigaction(SIGTERM, 0xFFBFF098, 0xFFBFF138)      = 0
sigaction(SIGQUIT, 0xFFBFF098, 0xFFBFF138)      = 0
sigaction(SIGALRM, 0xFFBFF128, 0xFFBFF1C8)      = 0
sigaction(SIGTSTP, 0xFFBFF098, 0xFFBFF138)      = 0
sigaction(SIGTTOU, 0xFFBFF098, 0xFFBFF138)      = 0
sigaction(SIGTTIN, 0xFFBFF098, 0xFFBFF138)      = 0
sigaction(SIGWINCH, 0xFFBFF098, 0xFFBFF138)     = 0
(gdb) write(1, " ( g d b )  ", 6)                       = 6
>How-To-Repeat:
Take any executable.
> gdb <executable>
GNU gdb 6.6.50.20070724
Copyright (C) 2007 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 "sparc-sun-solaris2.9"...
I'm sorry, Dave, I can't do that.  Symbol format `elf32-sparc' unknown.
(gdb) run
Starting program: /home/berg/bin/gvim
procfs: init_inferior, get_traced_signals line 4838, /proc/13443: Error 0.
(gdb) c
Continuing.
procfs: fetch_registers, get_gregs line 3708, /proc/13443: Error 0.
(gdb) quit
The program is running.  Exit anyway? (y or n) y
> 
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]