Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Debugging 64bit x86 programs on Solaris
@ 2007-03-26 19:27 Alex Bennee
  2007-03-26 19:41 ` Alex Bennee
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Bennee @ 2007-03-26 19:27 UTC (permalink / raw)
  To: gdb

Hi,

Is 64 bit debugging on x86 Solaris broken? I've built the latest gdb
from CVS but it seems to have real trouble with 64bit programs or
reading core files:

/usr/local/bin/gdb program
GNU gdb 6.6.50.20070326-cvs
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 ""...
(gdb) r
Starting program: program
procfs:4285 -- process not stopped.
procfs: ...giving up...
(gdb) q

Or trying a core file:

/usr/local/bin/gdb program core
GNU gdb 6.6.50.20070326-cvs
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 ""...
Reading symbols from /lib/amd64/libpthread.so.1...
warning: Lowest section in /lib/amd64/libpthread.so.1 is .dynamic at
00000000000000b0
done.
Loaded symbols for /lib/64/libpthread.so.1
Reading symbols from /lib/amd64/libsocket.so.1...done.
Loaded symbols for /lib/64/libsocket.so.1
Reading symbols from /lib/amd64/libnsl.so.1...done.
Loaded symbols for /lib/64/libnsl.so.1
Reading symbols from /lib/amd64/libscf.so.1...done.
Loaded symbols for /lib/64/libscf.so.1
Reading symbols from /lib/amd64/libuutil.so.1...done.
Loaded symbols for /lib/64/libuutil.so.1
Reading symbols from /lib/amd64/libmp.so.2...done.
Loaded symbols for /lib/64/libmp.so.2
Reading symbols from /lib/amd64/libmd5.so.1...done.
Loaded symbols for /lib/64/libmd5.so.1
Reading symbols from /lib/amd64/librt.so.1...done.
Loaded symbols for /lib/64/librt.so.1
Reading symbols from /lib/amd64/libaio.so.1...done.
Loaded symbols for /lib/64/libaio.so.1
Reading symbols from /lib/amd64/libdl.so.1...done.
Loaded symbols for /lib/64/libdl.so.1
Reading symbols from /usr/sfw/lib/amd64/libstdc++.so.6...done.
Loaded symbols for /usr/sfw/lib/amd64/libstdc++.so.6
Reading symbols from /lib/amd64/libm.so.2...done.
Loaded symbols for /lib/64/libm.so.2
Reading symbols from /usr/sfw/lib/amd64/libgcc_s.so.1...done.
Loaded symbols for /usr/sfw/lib/amd64/libgcc_s.so.1
Reading symbols from /lib/amd64/libc.so.1...done.

warning: sol_thread_new_objfile: td_ta_new: Debugger service failed
Loaded symbols for /lib/64/libc.so.1
Reading symbols from /lib/amd64/libdoor.so.1...done.

warning: sol_thread_new_objfile: td_ta_new: Debugger service failed
Loaded symbols for /lib/64/libdoor.so.1
Reading symbols from /lib/amd64/ld.so.1...done.

warning: sol_thread_new_objfile: td_ta_new: Debugger service failed
Loaded symbols for /lib/amd64/ld.so.1

warning: Couldn't find general-purpose registers in core file.

warning: Couldn't find general-purpose registers in core file.
#0  0x0000000000000000 in ?? ()
(gdb) 

32bit programs seem to work ok.

Any ideas?

I built native on with a Solaris 10/x86_64 box with straight
configure/make options.

-- 
Alex, homepage: http://www.bennee.com/~alex/
If you can lead it to water and force it to drink, it isn't a horse.


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

end of thread, other threads:[~2007-03-31 14:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-26 19:27 Debugging 64bit x86 programs on Solaris Alex Bennee
2007-03-26 19:41 ` Alex Bennee
2007-03-30 22:42   ` Mark Kettenis
2007-03-31 13:09     ` Daniel Jacobowitz
2007-03-31 14:14       ` Mark Kettenis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox