🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #250

GDB, coff, and GCC_COMPILED_FLAG_SYMBOL

#250
From: 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 #=-
Technical Details
Message-ID: <4422@orca.WV.TEK.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!gem.mps.ohio-state.edu!ginosko!uunet!zephyr.ens.tek.com!orca!jaffacat.wv.tek.com!paulg

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!gem.mps.ohio-state.edu!ginosko!uunet!zephyr.ens.tek.com!orca!jaffacat.wv.tek.com!paulg
From: paulg@jaffacat.wv.tek.com
Newsgroups: gnu.gdb.bug
Subject: GDB, coff, and GCC_COMPILED_FLAG_SYMBOL
Message-ID: <4422@orca.WV.TEK.COM>
Date: 1 Sep 89 18:45:29 GMT
Sender: nobody@orca.WV.TEK.COM
Organization: Tektronix, Inc.  Wilsonville, Oregon
Lines: 19