paulg@jaffacat.wv.tek.com (09/02/89)
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 #=-