This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
How to configure gdb on sparc sun solaris 2.9?
- From: Михаил Иванов <ivans at isle dot spb dot ru>
- To: gdb at sources dot redhat dot com
- Date: Thu, 30 Jun 2005 21:20:09 +0200
- Subject: How to configure gdb on sparc sun solaris 2.9?
- Reply-to: ivans at isle dot spb dot ru
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