[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gm2] Debug Problem on Solaris/Sparc
From: |
John O Goyo |
Subject: |
[Gm2] Debug Problem on Solaris/Sparc |
Date: |
Tue, 22 May 2007 11:17:55 -0400 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070221) |
Greetings:
GDB seems unable to handle debugging information in gm2 on
Solaris/Sparc. I do not know what happens on Solaris/Intel.
Witness:
===================================================================
build: tst=> cat hello.mod
MODULE hello;
FROM InOut IMPORT WriteString, WriteLn;
BEGIN
WriteString("Hello?");
WriteLn
END hello.
build: tst=> gm2 -c -g hello.mod
build: tst=> gm2 -o hello -g -I. hello.mod
build: tst=> ./hello
Hello?
build: tst=> gdb hello
GNU gdb 6.5
Copyright (C) 2006 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 "sparcv9-sun-solaris2"...DW_FORM_strp
pointing outside of .debug_str section [in module /home/build/bld/tst/hello]
(gdb) l
No symbol table is loaded. Use the "file" command.
===================================================================
GDB has no problem with gcc-compiled code using gcc from the same build.
I have not tried debugging output for a few months so I do not know
when this happened. (Incidentally, the problem is also present on
HP-UX/PARISC.)
john
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gm2] Debug Problem on Solaris/Sparc,
John O Goyo <=