public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* How to configure gdb on sparc sun solaris 2.9?
@ 2005-06-30 19:10 Михаил Иванов
  0 siblings, 0 replies; only message in thread
From: Михаил Иванов @ 2005-06-30 19:10 UTC (permalink / raw)
  To: gdb

Hallo! I'm trying to build gdb on sparc sun solaris 2.9, but I cannot
get it to run correctly. By default it configures for sparc-sun-solaris2.9.
In this configuration it refuses to start executables with "procfs: process
not stopped" diagnostics. The same error occured when I configured it as
sparc64-sun-solaris2.9.

When I compile it explicitely in 64 bit mode (-xarch=v9 for Sun Studio compiler
and -m64 for gcc compiler) gdb was able to start the program, but refuses to
print the contents of variables with the following diagnostics:

Cannot access memory at address 0x7ffffac8

I tried both sun studio and gcc 3.4.3 compilers to build gdb. I tried to build
gcc 6.3 and gdb-6.3.50.20050630. The results were always the same. The system
is SunOS sunrise 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Fire-V240.

Is there a way to get it running or do I have to learn dbx? :-)

Best regards
-- 
Micheal Ivanov

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-30 19:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-30 19:10 How to configure gdb on sparc sun solaris 2.9? Михаил Иванов

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).