How to configure gdb on sparc sun solaris 2.9?
Михаил Иванов
ivans@isle.spb.ru
Thu Jun 30 19:10:00 GMT 2005
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
More information about the Gdb
mailing list