gpc-20030323 debug info

Adriaan van Os gpc at microbizz.nl
Mon Mar 24 20:39:25 CET 2003


Frank Heckenbach wrote:

> - Dwarf2 debug info (the default under Linux and many other systems
>   with gcc-3) finally works. This means you can now build GPC with
>   gcc-3 without `-g0' or `-gstabs'.

Maurice Lombardi wrote:

> - Five errors with gc-3.2.2 and dwarf debugging (no EXTRA_TEST_PFLAGS)

On Mac OS X, stabs debugging info is the default, but out of curiosity 
I tried the other formats:

-ggdb		dummy.pas:0: Internal compiler error in 
default_no_named_section, at varasm.c:5305
-gdwarf		gpc1: warning: `dwarf': unknown or unsupported -g option
-gdwarf-1	gpc1: warning: `dwarf': unknown or unsupported -g option
-gdwarf-2	dummy.pas:0: Internal compiler error in 
default_no_named_section, at varasm.c:5305
-gstabs		OK
-gstabs+		OK
-gxcoff		gpc1: warning: `dwarf': unknown or unsupported -g option
-gxcoff+		gpc1: warning: `dwarf': unknown or unsupported -g option
-gvms		gpc1: warning: `dwarf': unknown or unsupported -g option
-g			OK
-g1			OK
-g2			OK
-g3			OK

Regards,

Adriaan van Os

---------------------

G4:~/gnu/testgpc/test-20030323] adriaan% make EXTRA_TEST_PFLAGS=-ggdb

Testing gpc 20030323, based on gcc-3.2.1 (powerpc-apple-darwin6.3) 
(G4.local.)
echo "gpc -g -O3 -W -Wall -Wundef -Wpointer-arith -Wno-unused  -ggdb"
gpc -g -O3 -W -Wall -Wundef -Wpointer-arith -Wno-unused  -ggdb
PC="gpc" PFLAGS="--autobuild -g -O3 -W -Wall -Wundef -Wpointer-arith 
-Wno-unused   -ggdb" SRCDIR="." TEST_MAKE_FLAG=test-make-flag 
"./test_run" "*.pas" | "./test_sum"
dummy.pas:0: Internal compiler error in default_no_named_section, at 
varasm.c:5305
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu-pascal.de/todo.html> for instructions.
./test_run: fatal: cannot compile a simple program
Nothing was run.

[G4:~/gnu/testgpc/test-20030323] adriaan% make 
EXTRA_TEST_PFLAGS=-gdwarf-2

Running the GPC Test Suite. This may take a while ...

Testing gpc 20030323, based on gcc-3.2.1 (powerpc-apple-darwin6.3) 
(G4.local.)
echo "gpc -g -O3 -W -Wall -Wundef -Wpointer-arith -Wno-unused  
-gdwarf-2"
gpc -g -O3 -W -Wall -Wundef -Wpointer-arith -Wno-unused  -gdwarf-2
PC="gpc" PFLAGS="--autobuild -g -O3 -W -Wall -Wundef -Wpointer-arith 
-Wno-unused   -gdwarf-2" SRCDIR="." TEST_MAKE_FLAG=test-make-flag 
"./test_run" "*.pas" | "./test_sum"
dummy.pas:0: Internal compiler error in default_no_named_section, at 
varasm.c:5305
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu-pascal.de/todo.html> for instructions.
./test_run: fatal: cannot compile a simple program
Nothing was run.




More information about the Gpc mailing list