This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] dwarf2cfi cleanup + new file


> Yes, see:
> 
> http://sources.redhat.com/gdb/onlinedocs/gdbint_13.html#SEC111
> 
> There can be cases where one header includes another - for a typedef or enum.  This fortunatly isn't one of them:
> 
> "bfd.h" is already included by "defs.h".
> "objfile.h" can be replaced by ``struct objfile;''.
> 
> And I've no idea where file_ptr is comming from.  Nope, found it - "bfd.h".
> 
> Good move.  Don't forget the makefile :-)

Michael,

PS:  In case you're reading the above section of the doco, there is a 
bug report against it:

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=543

Using ``struct objfile;'' needs to be clarified.

Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]