🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by paulg Fri, 01 Sep 1989 18:45
GDB, coff, and GCC_COMPILED_FLAG_SYMBOL
#250
Author: paulg
Date: Fri, 01 Sep 1989 18:45
19 lines
1407 bytes
coffread.c does not?  The only place this currently gets used is the routine
"using_struct_return" in value.c but I would like to use it in m88k-dep.c.

I am trying to make GDB work with the Green Hills 88k compiler.  They have
a different layout for stack frames and don't always generate frame pointer
linkage.  I must synthesize a frame pointer for a subroutine by looking at
its code.  It's a pain, but it is possible.  In order for this to work,
how ever, I must KNOW that the subroutine was generated by the Green Hills
compiler.  Currently, I have a flag that says "assume all subroutines are
compiled by the Green Hills compiler" or "assume all subroutines are compiled
by the GNU compiler".  I would like to use the "gcc_compile_flag" in the block
structure to decide, but it looks like that will only work for dbx style
a.out files.  Our OS is SYS V and we only have coff style.

Any help will be appreciated.

Ad(thanks)vance,

-=# Paul J. Gilliam #=-
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