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: [patch] arm-netbsd clean up native include file.


> > 
> > Nor should there be with <nm-nbsd.h>, since config/arm isn't on the 
> > include path.  This is the convention in all the other include files I've 
> > seen that play this sort of game.
> 
> True.  GDB tends to play this game:
> 
> config/i386/nm-nbsd.h:#include "config/nm-nbsd.h"
> config/i386/tm-nbsd.h:#include "config/tm-nbsd.h"
> config/sparc/nm-nbsd.h:#include "config/nm-nbsd.h"
> 
> So the question of <> behavour is avoided.
> 

True. I'll change it.

BTW

for i in `find . -name \*.h -print`
do
 base=`basename $i`
 fgrep \"$base\" $i /dev/null |grep include
done

./alpha/nm-linux.h:#include "nm-linux.h"
./arm/nm-linux.h:#include "nm-linux.h"
./arm/tm-linux.h:#include "tm-linux.h"
./arm/xm-nbsd.h:#include "xm-nbsd.h"
./i386/nm-gnu.h:#include "nm-gnu.h"
./i386/nm-m3.h:#include "nm-m3.h"
./i386/nm-linux.h:#include "nm-linux.h"
./i386/tm-linux.h:#include "tm-linux.h"
./i386/tm-vxworks.h:#include "tm-vxworks.h"
./i386/xm-nbsd.h:#include "xm-nbsd.h"
./ia64/nm-linux.h:#include "nm-linux.h"
./ia64/tm-linux.h:#include "tm-linux.h"
./m68k/nm-linux.h:#include "nm-linux.h"
./m68k/nm-nbsd.h:#include "nm-nbsd.h"
./m68k/nm-sysv4.h:#include "nm-sysv4.h"
./m68k/tm-linux.h:#include "tm-linux.h"
./m68k/tm-nbsd.h:#include "tm-nbsd.h"
./m68k/xm-nbsd.h:#include "xm-nbsd.h"
./mips/nm-linux.h:#include "nm-linux.h"
./mips/tm-linux.h:#include "tm-linux.h"
./ns32k/nm-nbsd.h:#include "nm-nbsd.h"
./ns32k/tm-nbsd.h:#include "tm-nbsd.h"
./ns32k/xm-nbsd.h:#include "xm-nbsd.h"
./powerpc/nm-linux.h:#include "nm-linux.h"
./powerpc/nm-nbsd.h:#include "nm-nbsd.h"
./powerpc/tm-linux.h:#include "tm-linux.h"
./powerpc/tm-nbsd.h:#include "tm-nbsd.h"
./powerpc/tm-vxworks.h:#include "tm-vxworks.h"
./rs6000/xm-aix4.h:#include "xm-aix4.h"
./sh/tm-linux.h:#include "tm-linux.h"
./sparc/nm-linux.h:#include "nm-linux.h"
./sparc/tm-linux.h:#include "tm-linux.h"
./sparc/tm-nbsd.h:#include "tm-nbsd.h"
./sparc/xm-nbsd.h:#include "xm-nbsd.h"



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