🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Admin Mon, 17 Apr 1989 14:48
gcc_compiled. useless in gdb
#758
Author: Admin
Date: Mon, 17 Apr 1989 14:48
17 lines
1064 bytes
gcc-1.34 generates a special label ``gcc_compiled:'' at the beginning
of each compiled file in order to notify other tools like gdb that
the file was compiled by Mr. gcc. I just figured out that gdb skips
this symbol when it segments the exec file in partial symbol tables.
It starts the new psymtab when it reaches the stab N_SO which just
follows the ``gcc_compiled.:'' label so the label is never processed
again by read_ofile_symtab and gdb never knows it reads a gcc compiled
file.

At least, this is what happens on my sun386 or is ``as'' supposed to
reorder symbols on some machines ?

I suggest that gcc output the symbol AFTER the N_SO stab.

Is this message clear enough ?

		Jean-Daniel.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads