[patch/obish] New file "gdb_obstack.h" part#1

Andrew Cagney ac131313@ges.redhat.com
Mon Jul 29 16:18:00 GMT 2002


Hello,

The attached patch adds the header file "gdb_obstack.h" and then updates 
things to include that.

This is only the first part.  It turns out that "symtab.h" includes 
[gdb_]obstack.h when it doesn't need to.  Unfortuantly, many many files 
were relying on the include chain "symtab.h" -> "gdb_obstack.h" -> 
"obstack.h" -> <string.h>.  Removing that #include, breaks lots of 
builds :-(

I'm committing this.  I'll then follow this up with a patch to untangle 
the include mess.

enjoy,
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20020729/142e5727/attachment.ksh>


More information about the Gdb-patches mailing list