* GDB and 64-bit solaris
@ 2001-01-22 15:19 Ahmon Dancy
2001-01-26 21:04 ` Paul Hilfinger
0 siblings, 1 reply; 2+ messages in thread
From: Ahmon Dancy @ 2001-01-22 15:19 UTC (permalink / raw)
To: gdb
Is gdb 5.0 supposed to handle Solaris 64-bit binaries?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GDB and 64-bit solaris
2001-01-22 15:19 GDB and 64-bit solaris Ahmon Dancy
@ 2001-01-26 21:04 ` Paul Hilfinger
0 siblings, 0 replies; 2+ messages in thread
From: Paul Hilfinger @ 2001-01-26 21:04 UTC (permalink / raw)
To: Ahmon Dancy; +Cc: bug-gdb, gdb
Cheers,
There have been a couple of questions recently (one from me) regarding
GDB on 64-bit SPARC Solaris executables. I have a little information.
1. An error such as
(gdb) b main
Cannot access memory at address 0x0
on an executable with debugging information may be due to the use of
stabs debugging info, which I gather does not support 64-bit
addresses. For example, you won't see this error in the absence
of debugging info (where the minimal symbols are used).
2. An error such as
(gdb) run
Starting program: /export/home/users/hilfingr/gdb/test64
procfs:3887 -- process not stopped. <<<< ?????
procfs: ...giving up...
results from attempting to debug a 64-bit executable process from a 32-
bit-compiled GDB. What happens specifically is that all attempts to
read from /proc/xxxxx/status result in an EOVERFLOW error, with no
data read. The process actually IS stopped, but since at the moment
GDB 5 does not check that its procinfo calls succeed, you get the
message in this form instead, when later parts of procfs_wait read the
flags and find 0's for what should be the flags indicating that the
process is stopped.
Mind you, various annoyances have prevented me from getting a version
that actually DOES work yet on Solaris, and I can't vouch for all
releases of Solaris (this info is from a 2.7 version of the OS).
However, this at least indicates one problem one might face.
Paul Hilfinger
UC Berkeley & ACT Corp.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-01-26 21:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-22 15:19 GDB and 64-bit solaris Ahmon Dancy
2001-01-26 21:04 ` Paul Hilfinger
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).