Function pointer stab information - where are the argument types?

Daniel Jacobowitz drow@mvista.com
Sat Jan 4 03:43:00 GMT 2003


On Sat, Jan 04, 2003 at 03:29:26AM -0000, Dave Hooper wrote:
> > > Thanks in advance if anyone knows an easier way to achieve what I need
> >
> > Sure, there's a much easier way: use DWARF-2.  I believe this works on
> > Cygwin now.  It's structured, and much more precise than the stabs;
> > tremendously easier to parse, too.
> 
> Not according to
> http://sources.redhat.com/ml/binutils/2002-10/msg00441.html
> And the cvs dump I got (which claims to be 3.4 20030103 according to
> version.c) backs this up as DWARF2_DEBUGGING_INFO is undefined, and
> PREFERRED_DEBUGGING_TYPE is still DBX_DEBUG not DWARF2_DEBUG
> 
> Any ideas?  Following the above post can you forsee anything wrong with
> #defining DWARF2_DEBUGGING_INFO in cygwin.h and rebuilding the tools?  Or
> would I be better off taking this to a cygwin mailing list?

I've no idea if it will work or not; I recommend trying it :)  DWARF-2
is enabled for DJGPP; although that's not a clear indicator it suggests
to me that you've got a chance.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gcc-bugs mailing list