public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug corefiles/15451] New: Can't locate registers loading Sparc core in threaded program.
@ 2013-05-09 19:57 nospampeeps at yahoo dot com
2013-05-17 15:31 ` [Bug corefiles/15451] " nospampeeps at yahoo dot com
0 siblings, 1 reply; 2+ messages in thread
From: nospampeeps at yahoo dot com @ 2013-05-09 19:57 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=15451
Bug #: 15451
Summary: Can't locate registers loading Sparc core in threaded
program.
Product: gdb
Version: 7.6
Status: NEW
Severity: normal
Priority: P2
Component: corefiles
AssignedTo: unassigned@sourceware.org
ReportedBy: nospampeeps@yahoo.com
Classification: Unclassified
Loading core file fails on Sparc Solaris with "warning: Couldn't find
general-purpose registers in core file." and "warning: Wrong size fpregset in
core file." warnings. Backtrace and most other functions do not work of course.
I reran the program and did a 'gcore' on the running process. I then ran gdb
and got the above errors. This GDB works on other non-threaded programs.
Process used to generate core and loading it underGDB follow:
SunOS:doug:1> ./uvoltds_R40204US 69&
[3] 20467
SunOS:doug:1> INFO : 0 : 0 : : uvoltds.c : 560
: VOLTDS initializing
Created channel [2261:Back to Back Client]
Created channel [2262:Back 2 Back Server]
INFO : 0 : 0 : : uvoltds.c : 792 : VOLTDS
running
INFO : 0 : 0 : : channel.c : 465 : Accepted
connection on 0.0.0.0:6420 from 127.0.0.1:61021 for channel [2262:Back 2 Back
Server] using FD 262
pINFO : 2261 : 2263 : UP : device.c : 136 : Device up
sINFO : 2262 : 2264 : UP : device.c : 136 : Device up
PID TTY TIME CMD
12224 pts/1 0:01 find
29398 pts/1 0:00 gdb
20467 pts/1 0:00 uvoltds_
26132 pts/1 0:01 ksh
20468 pts/1 0:00 ps
SunOS:doug:1> INFO : 2261 : 0 : UP : channel.c : 355
: Line up
INFO : 2262 : 0 : UP : channel.c : 355 : Line up
ps
PID TTY TIME CMD
12224 pts/1 0:01 find
29398 pts/1 0:00 gdb
20467 pts/1 0:00 uvoltds_
26132 pts/1 0:01 ksh
20469 pts/1 0:00 ps
SunOS:doug:1> gcore 20467
gcore: core.20467 dumped
SunOS:doug:1> kill -TERM 20467
SunOS:doug:1> INFO : 0 : 0 : : uvoltds.c : 858
: VOLTDS terminated
SunOS:doug:1> gdb ./uvoltds_R40204US core.20467
GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.10".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /voltds/doug/tmp/WXYZ/uvoltds_R40204US...done.
warning: core file may not match specified executable file.
warning: Couldn't find general-purpose registers in core file.
warning: Wrong size fpregset in core file.
[Thread debugging using libthread_db enabled]
[New Thread 1 (LWP 1)]
[New Thread 2 (LWP 2)]
[New Thread 3 ]
[New Thread 4 (LWP 4)]
[New Thread 5 (LWP 5)]
[New Thread 6 (LWP 6)]
[New Thread 7 ]
[New Thread 8 (LWP 8)]
[New Thread 9 ]
[New Thread 10 ]
[New Thread 11 ]
[New Thread 12 ]
[New Thread 13 ]
Core was generated by `./uvoltds_R40204US 69'.
warning: Couldn't find general-purpose registers in core file.
warning: Wrong size fpregset in core file.
#0 <unavailable> in ?? ()
(gdb)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug corefiles/15451] Can't locate registers loading Sparc core in threaded program.
2013-05-09 19:57 [Bug corefiles/15451] New: Can't locate registers loading Sparc core in threaded program nospampeeps at yahoo dot com
@ 2013-05-17 15:31 ` nospampeeps at yahoo dot com
0 siblings, 0 replies; 2+ messages in thread
From: nospampeeps at yahoo dot com @ 2013-05-17 15:31 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=15451
nospampeeps at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-17 15:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-09 19:57 [Bug corefiles/15451] New: Can't locate registers loading Sparc core in threaded program nospampeeps at yahoo dot com
2013-05-17 15:31 ` [Bug corefiles/15451] " nospampeeps at yahoo dot com
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).