This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] xcoffread.c: remove include of partial-stab.h
- To: Elena Zannoni <ezannoni at cygnus dot com>
- Subject: Re: [PATCH] xcoffread.c: remove include of partial-stab.h
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 01 Oct 2001 16:10:49 -0400
- Cc: gdb-patches at sources dot redhat dot com
- References: <15287.35303.583879.469917@krustylu.cygnus.com>
> Hi. This patch is the first in a series of patches that hopefully
> will eliminate the uses of partial-stab.h.
> Xcoffread.c was the easiest one to start with.
> Only remaining uses are in dbxread.c and mdebugread.c.
>
> Turns out that xcoffread.c used only 2 of the many cases handled by
> the switch in partial-stab.h. In order to reuse the whole file, a lot
> of macros had to be defined to do nothing.
>
> I tested this patch on an aix4.3 system.
>
> I know this file has no official maintainer, but I'll wait a few days
> to check it in anyway.
xcoffread or partial-symtab.h? Either way, I think you as a symtab
maintainer are the best person to cast judgment.
Andrew
PS: This has to be a good thing!