public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* Re: gdb/2289: error in get_traced_signals on Solaris 9
@ 2007-08-27 12:34 drow
  0 siblings, 0 replies; 4+ messages in thread
From: drow @ 2007-08-27 12:34 UTC (permalink / raw)
  To: ajmvandenberg, gdb-prs, nobody

Synopsis: error in get_traced_signals on Solaris 9

State-Changed-From-To: open->feedback
State-Changed-By: drow
State-Changed-When: Mon Aug 27 12:34:10 2007
State-Changed-Why:
    What compiler did you use to build GDB?  Mark Mitchell has discovered that GCC 4.2.0 miscompiles GDB on Solaris SPARC; the bug is fixed in GCC 4.2.1.

http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=2289


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gdb/2289: error in get_traced_signals on Solaris 9
@ 2007-08-30 17:06 drow
  0 siblings, 0 replies; 4+ messages in thread
From: drow @ 2007-08-30 17:06 UTC (permalink / raw)
  To: ajmvandenberg, gdb-prs, nobody

Synopsis: error in get_traced_signals on Solaris 9

State-Changed-From-To: feedback->closed
State-Changed-By: drow
State-Changed-When: Thu Aug 30 17:06:07 2007
State-Changed-Why:
    GCC bug.  Thanks for checking.

http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=2289


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gdb/2289: error in get_traced_signals on Solaris 9
@ 2007-08-30 16:38 Arjan van den Berg
  0 siblings, 0 replies; 4+ messages in thread
From: Arjan van den Berg @ 2007-08-30 16:38 UTC (permalink / raw)
  To: nobody; +Cc: gdb-prs

The following reply was made to PR gdb/2289; it has been noted by GNATS.

From: "Arjan van den Berg" <ajmvandenberg@hotmail.com>
To: <gdb-gnats@sources.redhat.com>,
	<nobody@sources.redhat.com>,
	<ajmvandenberg@hotmail.com>,
	<gdb-prs@sources.redhat.com>
Cc:  
Subject: Re: gdb/2289: error in get_traced_signals on Solaris 9
Date: Thu, 30 Aug 2007 18:28:48 +0200

 Hi,
 
 As you can see in the environment, I did use gcc 4.2.0
 When switching to 4.2.1, the bug was fixed.
 
 Thanks for the feedback,
 Arjan
  
  
 
 http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gd
 b&pr=2289 
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* gdb/2289: error in get_traced_signals on Solaris 9
@ 2007-07-25  7:58 ajmvandenberg
  0 siblings, 0 replies; 4+ messages in thread
From: ajmvandenberg @ 2007-07-25  7:58 UTC (permalink / raw)
  To: gdb-gnats


>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:


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-30 17:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-27 12:34 gdb/2289: error in get_traced_signals on Solaris 9 drow
  -- strict thread matches above, loose matches on Subject: below --
2007-08-30 17:06 drow
2007-08-30 16:38 Arjan van den Berg
2007-07-25  7:58 ajmvandenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).