diff options
author | nobody <> | 2002-09-07 00:00:05 +0000 |
---|---|---|
committer | nobody <> | 2002-09-07 00:00:05 +0000 |
commit | c1aa2a27e755c883b5c49b223120dfb712ea4e28 (patch) | |
tree | a98633075cd1f2b034b49446e83e522708d11f68 /gdb/dwarfread.c | |
parent | 2e3c0e2427295c9cc09a8a707dfba38d50e2ba30 (diff) | |
download | gdb-sid-20020905-branch.zip gdb-sid-20020905-branch.tar.gz gdb-sid-20020905-branch.tar.bz2 |
This commit was manufactured by cvs2svn to create branchsid-20020905-branchpointsid-20020905-branch
'sid-20020905-branch'.
Sprout from gdb_5_3-branch 2002-09-03 22:29:15 UTC nobody 'This commit was manufactured by cvs2svn to create branch 'gdb_5_3-branch'.'
Cherrypick from master 2002-09-07 00:00:04 UTC Alan Modra <amodra@gmail.com> 'daily update':
bfd/ChangeLog
bfd/config.bfd
bfd/version.h
include/ChangeLog
include/dis-asm.h
libiberty/ChangeLog
libiberty/regex.c
opcodes/ChangeLog
opcodes/disassemble.c
opcodes/ppc-dis.c
opcodes/ppc-opc.c
Delete:
djunpack.bat
gdb/CONTRIBUTE
gdb/COPYING
gdb/ChangeLog
gdb/ChangeLog-1990
gdb/ChangeLog-1991
gdb/ChangeLog-1992
gdb/ChangeLog-1993
gdb/ChangeLog-1994
gdb/ChangeLog-1995
gdb/ChangeLog-1996
gdb/ChangeLog-1997
gdb/ChangeLog-1998
gdb/ChangeLog-1999
gdb/ChangeLog-2000
gdb/ChangeLog-2001
gdb/ChangeLog-3.x
gdb/MAINTAINERS
gdb/Makefile.in
gdb/NEWS
gdb/PROBLEMS
gdb/README
gdb/TODO
gdb/a68v-nat.c
gdb/abug-rom.c
gdb/acconfig.h
gdb/acinclude.m4
gdb/aclocal.m4
gdb/ada-exp.y
gdb/ada-lang.c
gdb/ada-lang.h
gdb/ada-lex.l
gdb/ada-tasks.c
gdb/ada-typeprint.c
gdb/ada-valprint.c
gdb/aix-thread.c
gdb/alpha-linux-tdep.c
gdb/alpha-nat.c
gdb/alpha-osf1-tdep.c
gdb/alpha-tdep.c
gdb/alpha-tdep.h
gdb/alphabsd-nat.c
gdb/alphabsd-tdep.c
gdb/alphabsd-tdep.h
gdb/alphafbsd-tdep.c
gdb/alphanbsd-tdep.c
gdb/annotate.c
gdb/annotate.h
gdb/arc-tdep.c
gdb/arch-utils.c
gdb/arch-utils.h
gdb/arm-linux-nat.c
gdb/arm-linux-tdep.c
gdb/arm-tdep.c
gdb/arm-tdep.h
gdb/armnbsd-nat.c
gdb/armnbsd-tdep.c
gdb/avr-tdep.c
gdb/ax-gdb.c
gdb/ax-gdb.h
gdb/ax-general.c
gdb/ax.h
gdb/bcache.c
gdb/bcache.h
gdb/blockframe.c
gdb/breakpoint.c
gdb/breakpoint.h
gdb/buildsym.c
gdb/buildsym.h
gdb/builtin-regs.c
gdb/builtin-regs.h
gdb/c-exp.y
gdb/c-lang.c
gdb/c-lang.h
gdb/c-typeprint.c
gdb/c-valprint.c
gdb/call-cmds.h
gdb/ch-exp.c
gdb/ch-lang.c
gdb/ch-lang.h
gdb/ch-typeprint.c
gdb/ch-valprint.c
gdb/cli-out.c
gdb/cli-out.h
gdb/cli/cli-cmds.c
gdb/cli/cli-cmds.h
gdb/cli/cli-decode.c
gdb/cli/cli-decode.h
gdb/cli/cli-dump.c
gdb/cli/cli-dump.h
gdb/cli/cli-script.c
gdb/cli/cli-script.h
gdb/cli/cli-setshow.c
gdb/cli/cli-setshow.h
gdb/cli/cli-utils.c
gdb/cli/cli-utils.h
gdb/coff-solib.c
gdb/coff-solib.h
gdb/coffread.c
gdb/command.h
gdb/complaints.c
gdb/complaints.h
gdb/completer.c
gdb/completer.h
gdb/config.in
gdb/config/alpha/alpha-linux.mh
gdb/config/alpha/alpha-linux.mt
gdb/config/alpha/alpha-osf1.mh
gdb/config/alpha/alpha-osf1.mt
gdb/config/alpha/alpha-osf2.mh
gdb/config/alpha/alpha-osf3.mh
gdb/config/alpha/alpha.mt
gdb/config/alpha/fbsd.mh
gdb/config/alpha/fbsd.mt
gdb/config/alpha/nbsd.mh
gdb/config/alpha/nbsd.mt
gdb/config/alpha/nm-fbsd.h
gdb/config/alpha/nm-linux.h
gdb/config/alpha/nm-nbsd.h
gdb/config/alpha/nm-osf.h
gdb/config/alpha/nm-osf2.h
gdb/config/alpha/nm-osf3.h
gdb/config/alpha/tm-alpha.h
gdb/config/alpha/tm-alphalinux.h
gdb/config/alpha/tm-fbsd.h
gdb/config/alpha/tm-nbsd.h
gdb/config/alpha/xm-alphalinux.h
gdb/config/alpha/xm-alphaosf.h
gdb/config/arc/arc.mt
gdb/config/arc/tm-arc.h
gdb/config/arm/embed.mt
gdb/config/arm/linux.mh
gdb/config/arm/linux.mt
gdb/config/arm/nbsd.mt
gdb/config/arm/nbsdaout.mh
gdb/config/arm/nbsdelf.mh
gdb/config/arm/nm-linux.h
gdb/config/arm/nm-nbsd.h
gdb/config/arm/nm-nbsdaout.h
gdb/config/arm/tm-arm.h
gdb/config/arm/tm-embed.h
gdb/config/arm/tm-linux.h
gdb/config/arm/tm-wince.h
gdb/config/arm/wince.mt
gdb/config/arm/xm-linux.h
gdb/config/arm/xm-nbsd.h
gdb/config/avr/avr.mt
gdb/config/cris/cris.mt
gdb/config/cris/tm-cris.h
gdb/config/d10v/d10v.mt
gdb/config/d30v/d30v.mt
gdb/config/d30v/tm-d30v.h
gdb/config/djgpp/README
gdb/config/djgpp/config.sed
gdb/config/djgpp/djcheck.sh
gdb/config/djgpp/djconfig.sh
gdb/config/djgpp/fnchange.lst
gdb/config/fr30/fr30.mt
gdb/config/fr30/tm-fr30.h
gdb/config/frv/frv.mt
gdb/config/frv/tm-frv.h
gdb/config/h8300/h8300.mt
gdb/config/h8300/tm-h8300.h
gdb/config/h8500/h8500.mt
gdb/config/h8500/tm-h8500.h
gdb/config/i386/cygwin.mh
gdb/config/i386/cygwin.mt
gdb/config/i386/embed.mt
gdb/config/i386/fbsd.mh
gdb/config/i386/fbsd.mt
gdb/config/i386/gdbserve.mt
gdb/config/i386/go32.mh
gdb/config/i386/go32.mt
gdb/config/i386/i386aix.mh
gdb/config/i386/i386aix.mt
gdb/config/i386/i386aout.mt
gdb/config/i386/i386bsd.mh
gdb/config/i386/i386bsd.mt
gdb/config/i386/i386dgux.mh
gdb/config/i386/i386gnu.mh
gdb/config/i386/i386gnu.mt
gdb/config/i386/i386lynx.mh
gdb/config/i386/i386lynx.mt
gdb/config/i386/i386m3.mh
gdb/config/i386/i386m3.mt
gdb/config/i386/i386mach.mh
gdb/config/i386/i386mk.mh
gdb/config/i386/i386mk.mt
gdb/config/i386/i386nw.mt
gdb/config/i386/i386os9k.mt
gdb/config/i386/i386sco.mh
gdb/config/i386/i386sco4.mh
gdb/config/i386/i386sco5.mh
gdb/config/i386/i386sco5.mt
gdb/config/i386/i386sol2.mh
gdb/config/i386/i386sol2.mt
gdb/config/i386/i386v.mh
gdb/config/i386/i386v.mt
gdb/config/i386/i386v32.mh
gdb/config/i386/i386v4.mh
gdb/config/i386/i386v4.mt
gdb/config/i386/i386v42mp.mh
gdb/config/i386/i386v42mp.mt
gdb/config/i386/linux.mh
gdb/config/i386/linux.mt
gdb/config/i386/nbsd.mt
gdb/config/i386/nbsdaout.mh
gdb/config/i386/nbsdelf.mh
gdb/config/i386/ncr3000.mh
gdb/config/i386/ncr3000.mt
gdb/config/i386/nm-cygwin.h
gdb/config/i386/nm-fbsd.h
gdb/config/i386/nm-go32.h
gdb/config/i386/nm-i386.h
gdb/config/i386/nm-i386aix.h
gdb/config/i386/nm-i386bsd.h
gdb/config/i386/nm-i386gnu.h
gdb/config/i386/nm-i386lynx.h
gdb/config/i386/nm-i386mach.h
gdb/config/i386/nm-i386sco.h
gdb/config/i386/nm-i386sco4.h
gdb/config/i386/nm-i386sco5.h
gdb/config/i386/nm-i386sol2.h
gdb/config/i386/nm-i386v.h
gdb/config/i386/nm-i386v4.h
gdb/config/i386/nm-i386v42mp.h
gdb/config/i386/nm-linux.h
gdb/config/i386/nm-m3.h
gdb/config/i386/nm-nbsd.h
gdb/config/i386/nm-nbsdaout.h
gdb/config/i386/nm-obsd.h
gdb/config/i386/nm-ptx4.h
gdb/config/i386/nm-symmetry.h
gdb/config/i386/nm-x86-64linux.h
gdb/config/i386/obsd.mh
gdb/config/i386/ptx.mh
gdb/config/i386/ptx.mt
gdb/config/i386/ptx4.mh
gdb/config/i386/ptx4.mt
gdb/config/i386/symmetry.mh
gdb/config/i386/symmetry.mt
gdb/config/i386/tm-cygwin.h
gdb/config/i386/tm-fbsd.h
gdb/config/i386/tm-go32.h
gdb/config/i386/tm-i386.h
gdb/config/i386/tm-i386aix.h
gdb/config/i386/tm-i386bsd.h
gdb/config/i386/tm-i386lynx.h
gdb/config/i386/tm-i386m3.h
gdb/config/i386/tm-i386mk.h
gdb/config/i386/tm-i386os9k.h
gdb/config/i386/tm-i386sol2.h
gdb/config/i386/tm-i386v4.h
gdb/config/i386/tm-i386v42mp.h
gdb/config/i386/tm-linux.h
gdb/config/i386/tm-nbsd.h
gdb/config/i386/tm-ptx.h
gdb/config/i386/tm-ptx4.h
gdb/config/i386/tm-symmetry.h
gdb/config/i386/tm-vxworks.h
gdb/config/i386/tm-x86-64linux.h
gdb/config/i386/vxworks.mt
gdb/config/i386/x86-64linux.mh
gdb/config/i386/x86-64linux.mt
gdb/config/i386/xm-cygwin.h
gdb/config/i386/xm-go32.h
gdb/config/i386/xm-i386.h
gdb/config/i386/xm-i386aix.h
gdb/config/i386/xm-i386bsd.h
gdb/config/i386/xm-i386m3.h
gdb/config/i386/xm-i386mach.h
gdb/config/i386/xm-i386mk.h
gdb/config/i386/xm-i386sco.h
gdb/config/i386/xm-i386v.h
gdb/config/i386/xm-i386v32.h
gdb/config/i386/xm-i386v4.h
gdb/config/i386/xm-nbsd.h
gdb/config/i386/xm-ptx.h
gdb/config/i386/xm-ptx4.h
gdb/config/i386/xm-symmetry.h
gdb/config/i960/mon960.mt
gdb/config/i960/nindy960.mt
gdb/config/i960/tm-i960.h
gdb/config/i960/tm-mon960.h
gdb/config/i960/tm-nindy960.h
gdb/config/i960/tm-vx960.h
gdb/config/i960/vxworks960.mt
gdb/config/ia64/aix.mh
gdb/config/ia64/aix.mt
gdb/config/ia64/ia64.mt
gdb/config/ia64/linux.mh
gdb/config/ia64/linux.mt
gdb/config/ia64/nm-aix.h
gdb/config/ia64/nm-linux.h
gdb/config/ia64/tm-aix.h
gdb/config/ia64/tm-ia64.h
gdb/config/ia64/tm-linux.h
gdb/config/ia64/xm-aix.h
gdb/config/ia64/xm-linux.h
gdb/config/m32r/m32r.mt
gdb/config/m32r/tm-m32r.h
gdb/config/m68hc11/m68hc11.mt
gdb/config/m68k/3b1.mh
gdb/config/m68k/3b1.mt
gdb/config/m68k/apollo68b.mh
gdb/config/m68k/apollo68b.mt
gdb/config/m68k/apollo68v.mh
gdb/config/m68k/cisco.mt
gdb/config/m68k/delta68.mh
gdb/config/m68k/delta68.mt
gdb/config/m68k/dpx2.mh
gdb/config/m68k/dpx2.mt
gdb/config/m68k/es1800.mt
gdb/config/m68k/hp300bsd.mh
gdb/config/m68k/hp300bsd.mt
gdb/config/m68k/hp300hpux.mh
gdb/config/m68k/hp300hpux.mt
gdb/config/m68k/linux.mh
gdb/config/m68k/linux.mt
gdb/config/m68k/m68klynx.mh
gdb/config/m68k/m68klynx.mt
gdb/config/m68k/m68kv4.mh
gdb/config/m68k/m68kv4.mt
gdb/config/m68k/monitor.mt
gdb/config/m68k/nbsdaout.mh
gdb/config/m68k/nbsdaout.mt
gdb/config/m68k/nm-apollo68b.h
gdb/config/m68k/nm-apollo68v.h
gdb/config/m68k/nm-delta68.h
gdb/config/m68k/nm-dpx2.h
gdb/config/m68k/nm-hp300bsd.h
gdb/config/m68k/nm-hp300hpux.h
gdb/config/m68k/nm-linux.h
gdb/config/m68k/nm-m68klynx.h
gdb/config/m68k/nm-nbsd.h
gdb/config/m68k/nm-nbsdaout.h
gdb/config/m68k/nm-sun2.h
gdb/config/m68k/nm-sun3.h
gdb/config/m68k/nm-sysv4.h
gdb/config/m68k/os68k.mt
gdb/config/m68k/st2000.mt
gdb/config/m68k/sun2os3.mh
gdb/config/m68k/sun2os3.mt
gdb/config/m68k/sun2os4.mh
gdb/config/m68k/sun2os4.mt
gdb/config/m68k/sun3os3.mh
gdb/config/m68k/sun3os3.mt
gdb/config/m68k/sun3os4.mh
gdb/config/m68k/sun3os4.mt
gdb/config/m68k/tm-3b1.h
gdb/config/m68k/tm-apollo68b.h
gdb/config/m68k/tm-cisco.h
gdb/config/m68k/tm-delta68.h
gdb/config/m68k/tm-dpx2.h
gdb/config/m68k/tm-es1800.h
gdb/config/m68k/tm-hp300bsd.h
gdb/config/m68k/tm-hp300hpux.h
gdb/config/m68k/tm-linux.h
gdb/config/m68k/tm-m68k.h
gdb/config/m68k/tm-m68klynx.h
gdb/config/m68k/tm-m68kv4.h
gdb/config/m68k/tm-mac.h
gdb/config/m68k/tm-monitor.h
gdb/config/m68k/tm-nbsd.h
gdb/config/m68k/tm-os68k.h
gdb/config/m68k/tm-st2000.h
gdb/config/m68k/tm-sun2.h
gdb/config/m68k/tm-sun2os4.h
gdb/config/m68k/tm-sun3.h
gdb/config/m68k/tm-sun3os4.h
gdb/config/m68k/tm-vx68.h
gdb/config/m68k/vxworks68.mt
gdb/config/m68k/xm-3b1.h
gdb/config/m68k/xm-apollo68b.h
gdb/config/m68k/xm-apollo68v.h
gdb/config/m68k/xm-delta68.h
gdb/config/m68k/xm-dpx2.h
gdb/config/m68k/xm-hp300bsd.h
gdb/config/m68k/xm-hp300hpux.h
gdb/config/m68k/xm-linux.h
gdb/config/m68k/xm-m68k.h
gdb/config/m68k/xm-m68kv4.h
gdb/config/m68k/xm-nbsd.h
gdb/config/m68k/xm-sun2.h
gdb/config/m68k/xm-sun3.h
gdb/config/m68k/xm-sun3os4.h
gdb/config/m88k/delta88.mh
gdb/config/m88k/delta88.mt
gdb/config/m88k/delta88v4.mh
gdb/config/m88k/delta88v4.mt
gdb/config/m88k/m88k.mh
gdb/config/m88k/m88k.mt
gdb/config/m88k/nm-delta88v4.h
gdb/config/m88k/nm-m88k.h
gdb/config/m88k/tm-delta88.h
gdb/config/m88k/tm-delta88v4.h
gdb/config/m88k/tm-m88k.h
gdb/config/m88k/xm-delta88.h
gdb/config/m88k/xm-delta88v4.h
gdb/config/m88k/xm-dgux.h
gdb/config/mcore/mcore.mt
gdb/config/mips/bigmips.mt
gdb/config/mips/bigmips64.mt
gdb/config/mips/decstation.mh
gdb/config/mips/decstation.mt
gdb/config/mips/embed.mt
gdb/config/mips/embed64.mt
gdb/config/mips/embedl.mt
gdb/config/mips/embedl64.mt
gdb/config/mips/irix3.mh
gdb/config/mips/irix3.mt
gdb/config/mips/irix4.mh
gdb/config/mips/irix5.mh
gdb/config/mips/irix5.mt
gdb/config/mips/irix6.mh
gdb/config/mips/irix6.mt
gdb/config/mips/linux.mh
gdb/config/mips/linux.mt
gdb/config/mips/littlemips.mh
gdb/config/mips/littlemips.mt
gdb/config/mips/mipsm3.mh
gdb/config/mips/mipsm3.mt
gdb/config/mips/mipsv4.mh
gdb/config/mips/mipsv4.mt
gdb/config/mips/nbsd.mh
gdb/config/mips/nbsd.mt
gdb/config/mips/news-mips.mh
gdb/config/mips/nm-irix3.h
gdb/config/mips/nm-irix4.h
gdb/config/mips/nm-irix5.h
gdb/config/mips/nm-irix6.h
gdb/config/mips/nm-linux.h
gdb/config/mips/nm-mips.h
gdb/config/mips/nm-nbsd.h
gdb/config/mips/nm-news-mips.h
gdb/config/mips/nm-riscos.h
gdb/config/mips/riscos.mh
gdb/config/mips/tm-bigmips.h
gdb/config/mips/tm-bigmips64.h
gdb/config/mips/tm-embed.h
gdb/config/mips/tm-embed64.h
gdb/config/mips/tm-embedl.h
gdb/config/mips/tm-embedl64.h
gdb/config/mips/tm-irix3.h
gdb/config/mips/tm-irix5.h
gdb/config/mips/tm-irix6.h
gdb/config/mips/tm-linux.h
gdb/config/mips/tm-mips.h
gdb/config/mips/tm-mips64.h
gdb/config/mips/tm-mipsm3.h
gdb/config/mips/tm-mipsv4.h
gdb/config/mips/tm-nbsd.h
gdb/config/mips/tm-tx39.h
gdb/config/mips/tm-tx39l.h
gdb/config/mips/tm-vr4100.h
gdb/config/mips/tm-vr4300.h
gdb/config/mips/tm-vr4300el.h
gdb/config/mips/tm-vr4xxx.h
gdb/config/mips/tm-vr4xxxel.h
gdb/config/mips/tm-vr5000.h
gdb/config/mips/tm-vr5000el.h
gdb/config/mips/tm-vxmips.h
gdb/config/mips/tm-wince.h
gdb/config/mips/tx39.mt
gdb/config/mips/tx39l.mt
gdb/config/mips/vr4100.mt
gdb/config/mips/vr4300.mt
gdb/config/mips/vr4300el.mt
gdb/config/mips/vr4xxx.mt
gdb/config/mips/vr4xxxel.mt
gdb/config/mips/vr5000.mt
gdb/config/mips/vr5000el.mt
gdb/config/mips/vxmips.mt
gdb/config/mips/wince.mt
gdb/config/mips/xm-irix3.h
gdb/config/mips/xm-irix4.h
gdb/config/mips/xm-irix5.h
gdb/config/mips/xm-irix6.h
gdb/config/mips/xm-linux.h
gdb/config/mips/xm-mips.h
gdb/config/mips/xm-mipsm3.h
gdb/config/mips/xm-mipsv4.h
gdb/config/mips/xm-riscos.h
gdb/config/mn10200/mn10200.mt
gdb/config/mn10200/tm-mn10200.h
gdb/config/mn10300/mn10300.mt
gdb/config/nm-gnu.h
gdb/config/nm-linux.h
gdb/config/nm-lynx.h
gdb/config/nm-m3.h
gdb/config/nm-nbsd.h
gdb/config/nm-nbsdaout.h
gdb/config/nm-sysv4.h
gdb/config/none/nm-none.h
gdb/config/none/none.mh
gdb/config/none/none.mt
gdb/config/none/tm-none.h
gdb/config/none/xm-none.h
gdb/config/ns32k/nbsdaout.mh
gdb/config/ns32k/nbsdaout.mt
gdb/config/ns32k/nm-nbsd.h
gdb/config/ns32k/nm-nbsdaout.h
gdb/config/ns32k/tm-nbsd.h
gdb/config/ns32k/tm-ns32k.h
gdb/config/ns32k/xm-nbsd.h
gdb/config/pa/hppa.mt
gdb/config/pa/hppa64.mt
gdb/config/pa/hppabsd.mh
gdb/config/pa/hppabsd.mt
gdb/config/pa/hppahpux.mh
gdb/config/pa/hppahpux.mt
gdb/config/pa/hppaosf.mh
gdb/config/pa/hppaosf.mt
gdb/config/pa/hppapro.mt
gdb/config/pa/hpux1020.mh
gdb/config/pa/hpux1020.mt
gdb/config/pa/hpux11.mh
gdb/config/pa/hpux11.mt
gdb/config/pa/hpux11w.mh
gdb/config/pa/hpux11w.mt
gdb/config/pa/nm-hppab.h
gdb/config/pa/nm-hppah.h
gdb/config/pa/nm-hppah11.h
gdb/config/pa/nm-hppao.h
gdb/config/pa/tm-hppa.h
gdb/config/pa/tm-hppa64.h
gdb/config/pa/tm-hppab.h
gdb/config/pa/tm-hppah.h
gdb/config/pa/tm-hppao.h
gdb/config/pa/tm-pro.h
gdb/config/pa/xm-hppab.h
gdb/config/pa/xm-hppah.h
gdb/config/pa/xm-pa.h
gdb/config/powerpc/aix.mh
gdb/config/powerpc/aix.mt
gdb/config/powerpc/aix432.mh
gdb/config/powerpc/gdbserve.mt
gdb/config/powerpc/linux.mh
gdb/config/powerpc/linux.mt
gdb/config/powerpc/nbsd.mh
gdb/config/powerpc/nbsd.mt
gdb/config/powerpc/nm-aix.h
gdb/config/powerpc/nm-linux.h
gdb/config/powerpc/nm-nbsd.h
gdb/config/powerpc/ppc-eabi.mt
gdb/config/powerpc/ppc-sim.mt
gdb/config/powerpc/ppcle-eabi.mt
gdb/config/powerpc/ppcle-sim.mt
gdb/config/powerpc/tm-linux.h
gdb/config/powerpc/tm-nbsd.h
gdb/config/powerpc/tm-ppc-aix.h
gdb/config/powerpc/tm-ppc-eabi.h
gdb/config/powerpc/tm-ppc-sim.h
gdb/config/powerpc/tm-ppcle-eabi.h
gdb/config/powerpc/tm-ppcle-sim.h
gdb/config/powerpc/tm-vxworks.h
gdb/config/powerpc/vxworks.mt
gdb/config/powerpc/xm-aix.h
gdb/config/powerpc/xm-linux.h
gdb/config/rs6000/aix4.mh
gdb/config/rs6000/aix4.mt
gdb/config/rs6000/nm-rs6000.h
gdb/config/rs6000/nm-rs6000ly.h
gdb/config/rs6000/rs6000.mh
gdb/config/rs6000/rs6000.mt
gdb/config/rs6000/rs6000lynx.mh
gdb/config/rs6000/rs6000lynx.mt
gdb/config/rs6000/tm-rs6000-aix4.h
gdb/config/rs6000/tm-rs6000.h
gdb/config/rs6000/tm-rs6000ly.h
gdb/config/rs6000/xm-aix4.h
gdb/config/rs6000/xm-rs6000.h
gdb/config/s390/nm-linux.h
gdb/config/s390/s390.mh
gdb/config/s390/s390.mt
gdb/config/s390/s390x.mt
gdb/config/s390/tm-linux.h
gdb/config/s390/tm-s390.h
gdb/config/s390/xm-linux.h
gdb/config/sh/embed.mt
gdb/config/sh/linux.mt
gdb/config/sh/nbsd.mh
gdb/config/sh/nbsd.mt
gdb/config/sh/nm-nbsd.h
gdb/config/sh/tm-linux.h
gdb/config/sh/tm-nbsd.h
gdb/config/sh/tm-sh.h
gdb/config/sh/tm-wince.h
gdb/config/sh/wince.mt
gdb/config/sparc/fbsd.mh
gdb/config/sparc/fbsd.mt
gdb/config/sparc/linux.mh
gdb/config/sparc/linux.mt
gdb/config/sparc/nbsd.mt
gdb/config/sparc/nbsd64.mh
gdb/config/sparc/nbsd64.mt
gdb/config/sparc/nbsdaout.mh
gdb/config/sparc/nbsdelf.mh
gdb/config/sparc/nm-fbsd.h
gdb/config/sparc/nm-linux.h
gdb/config/sparc/nm-nbsd.h
gdb/config/sparc/nm-nbsdaout.h
gdb/config/sparc/nm-sparclynx.h
gdb/config/sparc/nm-sun4os4.h
gdb/config/sparc/nm-sun4sol2.h
gdb/config/sparc/sp64.mt
gdb/config/sparc/sp64linux.mt
gdb/config/sparc/sp64sim.mt
gdb/config/sparc/sp64sol2.mt
gdb/config/sparc/sparc-em.mt
gdb/config/sparc/sparclet.mt
gdb/config/sparc/sparclite.mt
gdb/config/sparc/sparclynx.mh
gdb/config/sparc/sparclynx.mt
gdb/config/sparc/sun4os4.mh
gdb/config/sparc/sun4os4.mt
gdb/config/sparc/sun4sol2.mh
gdb/config/sparc/sun4sol2.mt
gdb/config/sparc/tm-fbsd.h
gdb/config/sparc/tm-linux.h
gdb/config/sparc/tm-nbsd.h
gdb/config/sparc/tm-nbsd64.h
gdb/config/sparc/tm-sp64.h
gdb/config/sparc/tm-sp64linux.h
gdb/config/sparc/tm-sp64sim.h
gdb/config/sparc/tm-sparc.h
gdb/config/sparc/tm-sparclet.h
gdb/config/sparc/tm-sparclite.h
gdb/config/sparc/tm-sparclynx.h
gdb/config/sparc/tm-spc-em.h
gdb/config/sparc/tm-sun4os4.h
gdb/config/sparc/tm-sun4sol2.h
gdb/config/sparc/tm-vxsparc.h
gdb/config/sparc/vxsparc.mt
gdb/config/sparc/xm-linux.h
gdb/config/sparc/xm-sun4sol2.h
gdb/config/tm-linux.h
gdb/config/tm-lynx.h
gdb/config/tm-sunos.h
gdb/config/tm-sysv4.h
gdb/config/tm-vxworks.h
gdb/config/v850/v850.mt
gdb/config/vax/nm-vax.h
gdb/config/vax/tm-vax.h
gdb/config/vax/tm-vaxbsd.h
gdb/config/vax/vax.mt
gdb/config/vax/vaxbsd.mh
gdb/config/vax/vaxult.mh
gdb/config/vax/vaxult2.mh
gdb/config/vax/xm-vax.h
gdb/config/vax/xm-vaxbsd.h
gdb/config/vax/xm-vaxult.h
gdb/config/vax/xm-vaxult2.h
gdb/config/xm-aix4.h
gdb/config/xm-nbsd.h
gdb/config/xm-sysv4.h
gdb/config/xstormy16/xstormy16.mt
gdb/config/z8k/tm-z8k.h
gdb/config/z8k/z8k.mt
gdb/configure
gdb/configure.host
gdb/configure.in
gdb/configure.tgt
gdb/copying.awk
gdb/copying.c
gdb/core-aout.c
gdb/core-regset.c
gdb/core-sol2.c
gdb/corefile.c
gdb/corelow.c
gdb/cp-abi.c
gdb/cp-abi.h
gdb/cp-valprint.c
gdb/cpu32bug-rom.c
gdb/cris-tdep.c
gdb/cxux-nat.c
gdb/d10v-tdep.c
gdb/d30v-tdep.c
gdb/dbug-rom.c
gdb/dbxread.c
gdb/dcache.c
gdb/dcache.h
gdb/defs.h
gdb/delta68-nat.c
gdb/demangle.c
gdb/dink32-rom.c
gdb/doc/ChangeLog
gdb/doc/LRS
gdb/doc/Makefile.in
gdb/doc/a4rc.sed
gdb/doc/agentexpr.texi
gdb/doc/all-cfg.texi
gdb/doc/annotate.texi
gdb/doc/configure
gdb/doc/configure.in
gdb/doc/fdl.texi
gdb/doc/gdb.texinfo
gdb/doc/gdbint.texinfo
gdb/doc/gpl.texi
gdb/doc/lpsrc.sed
gdb/doc/psrc.sed
gdb/doc/refcard.tex
gdb/doc/stabs.texinfo
gdb/doublest.c
gdb/doublest.h
gdb/dpx2-nat.c
gdb/dsrec.c
gdb/dst.h
gdb/dstread.c
gdb/dve3900-rom.c
gdb/dwarf2cfi.c
gdb/dwarf2cfi.h
gdb/dwarf2read.c
gdb/dwarfread.c
gdb/elfread.c
gdb/environ.c
gdb/environ.h
gdb/eval.c
gdb/event-loop.c
gdb/event-loop.h
gdb/event-top.c
gdb/event-top.h
gdb/exc_request.defs
gdb/exec.c
gdb/expprint.c
gdb/expression.h
gdb/f-exp.y
gdb/f-lang.c
gdb/f-lang.h
gdb/f-typeprint.c
gdb/f-valprint.c
gdb/fbsd-proc.c
gdb/findvar.c
gdb/fork-child.c
gdb/fr30-tdep.c
gdb/frame.c
gdb/frame.h
gdb/frv-tdep.c
gdb/gcore.c
gdb/gdb-events.c
gdb/gdb-events.h
gdb/gdb-events.sh
gdb/gdb-stabs.h
gdb/gdb.1
gdb/gdb.gdb
gdb/gdb.h
gdb/gdb_assert.h
gdb/gdb_dirent.h
gdb/gdb_indent.sh
gdb/gdb_locale.h
gdb/gdb_obstack.h
gdb/gdb_proc_service.h
gdb/gdb_regex.h
gdb/gdb_stat.h
gdb/gdb_string.h
gdb/gdb_thread_db.h
gdb/gdb_vfork.h
gdb/gdb_wait.h
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/gdbcmd.h
gdb/gdbcore.h
gdb/gdbinit.in
gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in
gdb/gdbserver/README
gdb/gdbserver/acconfig.h
gdb/gdbserver/acinclude.m4
gdb/gdbserver/aclocal.m4
gdb/gdbserver/config.in
gdb/gdbserver/configure
gdb/gdbserver/configure.in
gdb/gdbserver/configure.srv
gdb/gdbserver/gdbreplay.c
gdb/gdbserver/gdbserver.1
gdb/gdbserver/i387-fp.c
gdb/gdbserver/i387-fp.h
gdb/gdbserver/inferiors.c
gdb/gdbserver/linux-arm-low.c
gdb/gdbserver/linux-i386-low.c
gdb/gdbserver/linux-ia64-low.c
gdb/gdbserver/linux-low.c
gdb/gdbserver/linux-low.h
gdb/gdbserver/linux-m68k-low.c
gdb/gdbserver/linux-mips-low.c
gdb/gdbserver/linux-ppc-low.c
gdb/gdbserver/linux-s390-low.c
gdb/gdbserver/linux-sh-low.c
gdb/gdbserver/linux-x86-64-low.c
gdb/gdbserver/low-hppabsd.c
gdb/gdbserver/low-lynx.c
gdb/gdbserver/low-nbsd.c
gdb/gdbserver/low-sim.c
gdb/gdbserver/low-sparc.c
gdb/gdbserver/low-sun3.c
gdb/gdbserver/mem-break.c
gdb/gdbserver/mem-break.h
gdb/gdbserver/proc-service.c
gdb/gdbserver/regcache.c
gdb/gdbserver/regcache.h
gdb/gdbserver/remote-utils.c
gdb/gdbserver/server.c
gdb/gdbserver/server.h
gdb/gdbserver/target.c
gdb/gdbserver/target.h
gdb/gdbserver/terminal.h
gdb/gdbserver/thread-db.c
gdb/gdbserver/utils.c
gdb/gdbthread.h
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/gnu-nat.c
gdb/gnu-nat.h
gdb/gnu-v2-abi.c
gdb/gnu-v3-abi.c
gdb/go32-nat.c
gdb/gregset.h
gdb/h8300-tdep.c
gdb/h8500-tdep.c
gdb/hp300ux-nat.c
gdb/hpacc-abi.c
gdb/hppa-tdep.c
gdb/hppab-nat.c
gdb/hppah-nat.c
gdb/hppam3-nat.c
gdb/hpread.c
gdb/hpux-thread.c
gdb/i386-linux-nat.c
gdb/i386-linux-tdep.c
gdb/i386-linux-tdep.h
gdb/i386-nat.c
gdb/i386-sol2-tdep.c
gdb/i386-stub.c
gdb/i386-tdep.c
gdb/i386-tdep.h
gdb/i386aix-nat.c
gdb/i386b-nat.c
gdb/i386bsd-nat.c
gdb/i386bsd-tdep.c
gdb/i386fbsd-nat.c
gdb/i386gnu-nat.c
gdb/i386gnu-tdep.c
gdb/i386ly-tdep.c
gdb/i386m3-nat.c
gdb/i386mach-nat.c
gdb/i386nbsd-tdep.c
gdb/i386obsd-nat.c
gdb/i386v-nat.c
gdb/i386v4-nat.c
gdb/i387-tdep.c
gdb/i387-tdep.h
gdb/i960-tdep.c
gdb/ia64-aix-nat.c
gdb/ia64-aix-tdep.c
gdb/ia64-linux-nat.c
gdb/ia64-linux-tdep.c
gdb/ia64-tdep.c
gdb/inf-loop.c
gdb/inf-loop.h
gdb/infcmd.c
gdb/inferior.h
gdb/inflow.c
gdb/infptrace.c
gdb/infrun.c
gdb/inftarg.c
gdb/infttrace.c
gdb/irix4-nat.c
gdb/irix5-nat.c
gdb/jv-exp.y
gdb/jv-lang.c
gdb/jv-lang.h
gdb/jv-typeprint.c
gdb/jv-valprint.c
gdb/kod-cisco.c
gdb/kod.c
gdb/kod.h
gdb/language.c
gdb/language.h
gdb/lin-lwp.c
gdb/linespec.c
gdb/linespec.h
gdb/linux-proc.c
gdb/lynx-nat.c
gdb/m2-exp.y
gdb/m2-lang.c
gdb/m2-lang.h
gdb/m2-typeprint.c
gdb/m2-valprint.c
gdb/m3-nat.c
gdb/m32r-rom.c
gdb/m32r-stub.c
gdb/m32r-tdep.c
gdb/m68hc11-tdep.c
gdb/m68k-stub.c
gdb/m68k-tdep.c
gdb/m68klinux-nat.c
gdb/m68knbsd-nat.c
gdb/m68knbsd-tdep.c
gdb/m88k-nat.c
gdb/m88k-tdep.c
gdb/macrocmd.c
gdb/macroexp.c
gdb/macroexp.h
gdb/macroscope.c
gdb/macroscope.h
gdb/macrotab.c
gdb/macrotab.h
gdb/main.c
gdb/maint.c
gdb/mcore-rom.c
gdb/mcore-tdep.c
gdb/mdebugread.c
gdb/mem-break.c
gdb/memattr.c
gdb/memattr.h
gdb/mi/ChangeLog
gdb/mi/gdbmi.texinfo
gdb/mi/mi-cmd-break.c
gdb/mi/mi-cmd-disas.c
gdb/mi/mi-cmd-stack.c
gdb/mi/mi-cmd-var.c
gdb/mi/mi-cmds.c
gdb/mi/mi-cmds.h
gdb/mi/mi-console.c
gdb/mi/mi-console.h
gdb/mi/mi-getopt.c
gdb/mi/mi-getopt.h
gdb/mi/mi-main.c
gdb/mi/mi-out.c
gdb/mi/mi-out.h
gdb/mi/mi-parse.c
gdb/mi/mi-parse.h
gdb/minimon.h
gdb/minsyms.c
gdb/mips-irix-tdep.c
gdb/mips-linux-nat.c
gdb/mips-linux-tdep.c
gdb/mips-nat.c
gdb/mips-tdep.c
gdb/mipsm3-nat.c
gdb/mipsnbsd-nat.c
gdb/mipsnbsd-tdep.c
gdb/mipsnbsd-tdep.h
gdb/mipsread.c
gdb/mipsv4-nat.c
gdb/mn10200-tdep.c
gdb/mn10300-tdep.c
gdb/mon960-rom.c
gdb/monitor.c
gdb/monitor.h
gdb/msg.defs
gdb/msg_reply.defs
gdb/nbsd-tdep.c
gdb/nbsd-tdep.h
gdb/nindy-share/Makefile
gdb/nindy-share/Onindy.c
gdb/nindy-share/README
gdb/nindy-share/VERSION
gdb/nindy-share/b.out.h
gdb/nindy-share/block_io.h
gdb/nindy-share/coff.h
gdb/nindy-share/env.h
gdb/nindy-share/nindy.c
gdb/nindy-share/stop.h
gdb/nindy-share/ttyflush.c
gdb/nindy-tdep.c
gdb/nlm/Makefile.in
gdb/nlm/configure
gdb/nlm/configure.in
gdb/nlm/gdbserve.c
gdb/nlm/gdbserve.def
gdb/nlm/i386.c
gdb/nlm/i386.h
gdb/nlm/ppc.c
gdb/nlm/ppc.h
gdb/nlm/prelude.c
gdb/nlmread.c
gdb/notify.defs
gdb/ns32k-tdep.c
gdb/ns32k-tdep.h
gdb/ns32knbsd-nat.c
gdb/ns32knbsd-tdep.c
gdb/objfiles.c
gdb/objfiles.h
gdb/ocd.c
gdb/ocd.h
gdb/op50-rom.c
gdb/os9kread.c
gdb/osabi.c
gdb/osabi.h
gdb/osf-share/AT386/cma_thread_io.h
gdb/osf-share/HP800/cma_thread_io.h
gdb/osf-share/README
gdb/osf-share/RIOS/cma_thread_io.h
gdb/osf-share/cma_attr.h
gdb/osf-share/cma_deb_core.h
gdb/osf-share/cma_debug_client.h
gdb/osf-share/cma_errors.h
gdb/osf-share/cma_handle.h
gdb/osf-share/cma_init.h
gdb/osf-share/cma_list.h
gdb/osf-share/cma_mutex.h
gdb/osf-share/cma_sched.h
gdb/osf-share/cma_semaphore_defs.h
gdb/osf-share/cma_sequence.h
gdb/osf-share/cma_stack.h
gdb/osf-share/cma_stack_int.h
gdb/osf-share/cma_tcb_defs.h
gdb/osf-share/cma_util.h
gdb/osfsolib.c
gdb/p-exp.y
gdb/p-lang.c
gdb/p-lang.h
gdb/p-typeprint.c
gdb/p-valprint.c
gdb/pa64solib.c
gdb/pa64solib.h
gdb/parse.c
gdb/parser-defs.h
gdb/ppc-bdm.c
gdb/ppc-linux-nat.c
gdb/ppc-linux-tdep.c
gdb/ppc-sysv-tdep.c
gdb/ppc-tdep.h
gdb/ppcbug-rom.c
gdb/ppcnbsd-nat.c
gdb/ppcnbsd-tdep.c
gdb/ppcnbsd-tdep.h
gdb/printcmd.c
gdb/proc-api.c
gdb/proc-events.c
gdb/proc-flags.c
gdb/proc-service.c
gdb/proc-utils.h
gdb/proc-why.c
gdb/process_reply.defs
gdb/procfs.c
gdb/ptx4-nat.c
gdb/rdi-share/Makefile.am
gdb/rdi-share/Makefile.in
gdb/rdi-share/README.CYGNUS
gdb/rdi-share/aclocal.m4
gdb/rdi-share/adp.h
gdb/rdi-share/adperr.h
gdb/rdi-share/angel.h
gdb/rdi-share/angel_bytesex.c
gdb/rdi-share/angel_bytesex.h
gdb/rdi-share/angel_endian.h
gdb/rdi-share/ardi.c
gdb/rdi-share/ardi.h
gdb/rdi-share/armdbg.h
gdb/rdi-share/buffers.h
gdb/rdi-share/chandefs.h
gdb/rdi-share/channels.h
gdb/rdi-share/chanpriv.h
gdb/rdi-share/configure
gdb/rdi-share/configure.in
gdb/rdi-share/crc.c
gdb/rdi-share/crc.h
gdb/rdi-share/dbg_conf.h
gdb/rdi-share/dbg_cp.h
gdb/rdi-share/dbg_hif.h
gdb/rdi-share/dbg_rdi.h
gdb/rdi-share/devclnt.h
gdb/rdi-share/devices.h
gdb/rdi-share/devsw.c
gdb/rdi-share/devsw.h
gdb/rdi-share/drivers.c
gdb/rdi-share/drivers.h
gdb/rdi-share/etherdrv.c
gdb/rdi-share/ethernet.h
gdb/rdi-share/host.h
gdb/rdi-share/hostchan.c
gdb/rdi-share/hostchan.h
gdb/rdi-share/hsys.c
gdb/rdi-share/hsys.h
gdb/rdi-share/logging.c
gdb/rdi-share/logging.h
gdb/rdi-share/msgbuild.c
gdb/rdi-share/msgbuild.h
gdb/rdi-share/params.c
gdb/rdi-share/params.h
gdb/rdi-share/rx.c
gdb/rdi-share/rxtx.h
gdb/rdi-share/serdrv.c
gdb/rdi-share/serpardr.c
gdb/rdi-share/sys.h
gdb/rdi-share/tx.c
gdb/rdi-share/unixcomm.c
gdb/rdi-share/unixcomm.h
gdb/regcache.c
gdb/regcache.h
gdb/regformats/reg-arm.dat
gdb/regformats/reg-i386-linux.dat
gdb/regformats/reg-i386.dat
gdb/regformats/reg-ia64.dat
gdb/regformats/reg-m68k.dat
gdb/regformats/reg-mips.dat
gdb/regformats/reg-ppc.dat
gdb/regformats/reg-s390.dat
gdb/regformats/reg-s390x.dat
gdb/regformats/reg-sh.dat
gdb/regformats/reg-x86-64.dat
gdb/regformats/regdat.sh
gdb/regformats/regdef.h
gdb/remote-array.c
gdb/remote-bug.c
gdb/remote-e7000.c
gdb/remote-es.c
gdb/remote-est.c
gdb/remote-hms.c
gdb/remote-mips.c
gdb/remote-nindy.c
gdb/remote-nrom.c
gdb/remote-os9k.c
gdb/remote-rdi.c
gdb/remote-rdp.c
gdb/remote-sds.c
gdb/remote-sim.c
gdb/remote-st.c
gdb/remote-utils.c
gdb/remote-utils.h
gdb/remote-vx.c
gdb/remote-vx68.c
gdb/remote-vx960.c
gdb/remote-vxmips.c
gdb/remote-vxsparc.c
gdb/remote.c
gdb/remote.h
gdb/reply_mig_hack.awk
gdb/rom68k-rom.c
gdb/rs6000-nat.c
gdb/rs6000-tdep.c
gdb/s390-nat.c
gdb/s390-tdep.c
gdb/saber.suppress
gdb/scm-exp.c
gdb/scm-lang.c
gdb/scm-lang.h
gdb/scm-tags.h
gdb/scm-valprint.c
gdb/ser-e7kpc.c
gdb/ser-go32.c
gdb/ser-pipe.c
gdb/ser-tcp.c
gdb/ser-unix.c
gdb/ser-unix.h
gdb/serial.c
gdb/serial.h
gdb/sh-stub.c
gdb/sh-tdep.c
gdb/sh-tdep.h
gdb/sh3-rom.c
gdb/shnbsd-nat.c
gdb/shnbsd-tdep.c
gdb/shnbsd-tdep.h
gdb/signals/signals.c
gdb/sim-regno.h
gdb/sol-thread.c
gdb/solib-aix5.c
gdb/solib-irix.c
gdb/solib-legacy.c
gdb/solib-osf.c
gdb/solib-sunos.c
gdb/solib-svr4.c
gdb/solib-svr4.h
gdb/solib.c
gdb/solib.h
gdb/solist.h
gdb/somread.c
gdb/somsolib.c
gdb/somsolib.h
gdb/source.c
gdb/source.h
gdb/sparc-linux-nat.c
gdb/sparc-nat.c
gdb/sparc-stub.c
gdb/sparc-tdep.c
gdb/sparc64nbsd-nat.c
gdb/sparcl-stub.c
gdb/sparcl-tdep.c
gdb/sparclet-rom.c
gdb/sparclet-stub.c
gdb/sparcnbsd-nat.c
gdb/sparcnbsd-tdep.c
gdb/sparcnbsd-tdep.h
gdb/srec.h
gdb/stabsread.c
gdb/stabsread.h
gdb/stack.c
gdb/standalone.c
gdb/std-regs.c
gdb/stop-gdb.c
gdb/sun3-nat.c
gdb/symfile.c
gdb/symfile.h
gdb/symm-nat.c
gdb/symm-tdep.c
gdb/symmisc.c
gdb/symtab.c
gdb/symtab.h
gdb/target.c
gdb/target.h
gdb/terminal.h
gdb/testsuite/.gdbinit
gdb/testsuite/ChangeLog
gdb/testsuite/Makefile.in
gdb/testsuite/TODO
gdb/testsuite/aclocal.m4
gdb/testsuite/config/abug.exp
gdb/testsuite/config/arm-ice.exp
gdb/testsuite/config/cfdbug.exp
gdb/testsuite/config/cpu32bug.exp
gdb/testsuite/config/cygmon.exp
gdb/testsuite/config/d10v.exp
gdb/testsuite/config/dve.exp
gdb/testsuite/config/est.exp
gdb/testsuite/config/gdbserver.exp
gdb/testsuite/config/h8300.exp
gdb/testsuite/config/hmsirom.exp
gdb/testsuite/config/hppro.exp
gdb/testsuite/config/i386-bozo.exp
gdb/testsuite/config/i960.exp
gdb/testsuite/config/m32r-stub.exp
gdb/testsuite/config/m32r.exp
gdb/testsuite/config/m68k-emc.exp
gdb/testsuite/config/mips-idt.exp
gdb/testsuite/config/mips.exp
gdb/testsuite/config/mn10300-eval.exp
gdb/testsuite/config/monitor.exp
gdb/testsuite/config/netware.exp
gdb/testsuite/config/nind.exp
gdb/testsuite/config/proelf.exp
gdb/testsuite/config/rom68k.exp
gdb/testsuite/config/sh.exp
gdb/testsuite/config/sid.exp
gdb/testsuite/config/sim.exp
gdb/testsuite/config/slite.exp
gdb/testsuite/config/sparclet.exp
gdb/testsuite/config/udi.exp
gdb/testsuite/config/unix.exp
gdb/testsuite/config/unknown.exp
gdb/testsuite/config/vr4300.exp
gdb/testsuite/config/vr5000.exp
gdb/testsuite/config/vx.exp
gdb/testsuite/config/vxworks.exp
gdb/testsuite/config/vxworks29k.exp
gdb/testsuite/configure
gdb/testsuite/configure.in
gdb/testsuite/gdb.arch/Makefile.in
gdb/testsuite/gdb.arch/altivec-abi.c
gdb/testsuite/gdb.arch/altivec-abi.exp
gdb/testsuite/gdb.arch/altivec-regs.c
gdb/testsuite/gdb.arch/altivec-regs.exp
gdb/testsuite/gdb.arch/configure
gdb/testsuite/gdb.arch/configure.in
gdb/testsuite/gdb.asm/Makefile.in
gdb/testsuite/gdb.asm/arm.inc
gdb/testsuite/gdb.asm/asm-source.exp
gdb/testsuite/gdb.asm/asmsrc1.s
gdb/testsuite/gdb.asm/asmsrc2.s
gdb/testsuite/gdb.asm/common.inc
gdb/testsuite/gdb.asm/configure
gdb/testsuite/gdb.asm/configure.in
gdb/testsuite/gdb.asm/d10v.inc
gdb/testsuite/gdb.asm/i386.inc
gdb/testsuite/gdb.asm/m32r.inc
gdb/testsuite/gdb.asm/powerpc.inc
gdb/testsuite/gdb.asm/s390.inc
gdb/testsuite/gdb.asm/sparc.inc
gdb/testsuite/gdb.asm/sparc64.inc
gdb/testsuite/gdb.asm/v850.inc
gdb/testsuite/gdb.asm/x86_64.inc
gdb/testsuite/gdb.asm/xstormy16.inc
gdb/testsuite/gdb.base/Makefile.in
gdb/testsuite/gdb.base/a2-run.exp
gdb/testsuite/gdb.base/all-bin.exp
gdb/testsuite/gdb.base/all-types.c
gdb/testsuite/gdb.base/annota1.c
gdb/testsuite/gdb.base/annota1.exp
gdb/testsuite/gdb.base/arithmet.exp
gdb/testsuite/gdb.base/assign.exp
gdb/testsuite/gdb.base/async.c
gdb/testsuite/gdb.base/async.exp
gdb/testsuite/gdb.base/attach.c
gdb/testsuite/gdb.base/attach.exp
gdb/testsuite/gdb.base/attach2.c
gdb/testsuite/gdb.base/average.c
gdb/testsuite/gdb.base/bar.c
gdb/testsuite/gdb.base/baz.c
gdb/testsuite/gdb.base/bitfields.c
gdb/testsuite/gdb.base/bitfields.exp
gdb/testsuite/gdb.base/bitops.exp
gdb/testsuite/gdb.base/branches.c
gdb/testsuite/gdb.base/break.c
gdb/testsuite/gdb.base/break.exp
gdb/testsuite/gdb.base/call-ar-st.c
gdb/testsuite/gdb.base/call-ar-st.exp
gdb/testsuite/gdb.base/call-rt-st.c
gdb/testsuite/gdb.base/call-rt-st.exp
gdb/testsuite/gdb.base/call-strs.c
gdb/testsuite/gdb.base/call-strs.exp
gdb/testsuite/gdb.base/callfuncs.c
gdb/testsuite/gdb.base/callfuncs.exp
gdb/testsuite/gdb.base/code-expr.exp
gdb/testsuite/gdb.base/commands.exp
gdb/testsuite/gdb.base/completion.exp
gdb/testsuite/gdb.base/cond-expr.exp
gdb/testsuite/gdb.base/condbreak.exp
gdb/testsuite/gdb.base/configure
gdb/testsuite/gdb.base/configure.in
gdb/testsuite/gdb.base/consecutive.c
gdb/testsuite/gdb.base/consecutive.exp
gdb/testsuite/gdb.base/constvars.c
gdb/testsuite/gdb.base/constvars.exp
gdb/testsuite/gdb.base/corefile.exp
gdb/testsuite/gdb.base/coremaker.c
gdb/testsuite/gdb.base/coremaker2.c
gdb/testsuite/gdb.base/cvexpr.c
gdb/testsuite/gdb.base/cvexpr.exp
gdb/testsuite/gdb.base/d10v.ld
gdb/testsuite/gdb.base/d10vovly.c
gdb/testsuite/gdb.base/dbx.exp
gdb/testsuite/gdb.base/default.exp
gdb/testsuite/gdb.base/define.exp
gdb/testsuite/gdb.base/display.c
gdb/testsuite/gdb.base/display.exp
gdb/testsuite/gdb.base/dump.c
gdb/testsuite/gdb.base/dump.exp
gdb/testsuite/gdb.base/echo.exp
gdb/testsuite/gdb.base/ena-dis-br.exp
gdb/testsuite/gdb.base/ending-run.c
gdb/testsuite/gdb.base/ending-run.exp
gdb/testsuite/gdb.base/environ.exp
gdb/testsuite/gdb.base/eval-skip.exp
gdb/testsuite/gdb.base/execd-prog.c
gdb/testsuite/gdb.base/exprs.c
gdb/testsuite/gdb.base/exprs.exp
gdb/testsuite/gdb.base/finish.exp
gdb/testsuite/gdb.base/foll-exec.c
gdb/testsuite/gdb.base/foll-exec.exp
gdb/testsuite/gdb.base/foll-fork.c
gdb/testsuite/gdb.base/foll-fork.exp
gdb/testsuite/gdb.base/foll-vfork.c
gdb/testsuite/gdb.base/foll-vfork.exp
gdb/testsuite/gdb.base/foo.c
gdb/testsuite/gdb.base/funcargs.c
gdb/testsuite/gdb.base/funcargs.exp
gdb/testsuite/gdb.base/gcore.c
gdb/testsuite/gdb.base/gcore.exp
gdb/testsuite/gdb.base/gdbvars.exp
gdb/testsuite/gdb.base/grbx.c
gdb/testsuite/gdb.base/help.exp
gdb/testsuite/gdb.base/huge.c
gdb/testsuite/gdb.base/huge.exp
gdb/testsuite/gdb.base/info-proc.exp
gdb/testsuite/gdb.base/int-type.c
gdb/testsuite/gdb.base/interrupt.c
gdb/testsuite/gdb.base/interrupt.exp
gdb/testsuite/gdb.base/jump.c
gdb/testsuite/gdb.base/jump.exp
gdb/testsuite/gdb.base/langs.exp
gdb/testsuite/gdb.base/langs0.c
gdb/testsuite/gdb.base/langs1.c
gdb/testsuite/gdb.base/langs1.f
gdb/testsuite/gdb.base/langs2.c
gdb/testsuite/gdb.base/langs2.cxx
gdb/testsuite/gdb.base/list.exp
gdb/testsuite/gdb.base/list0.c
gdb/testsuite/gdb.base/list0.h
gdb/testsuite/gdb.base/list1.c
gdb/testsuite/gdb.base/logical.exp
gdb/testsuite/gdb.base/long_long.c
gdb/testsuite/gdb.base/long_long.exp
gdb/testsuite/gdb.base/m32r.ld
gdb/testsuite/gdb.base/m32rovly.c
gdb/testsuite/gdb.base/macscp.exp
gdb/testsuite/gdb.base/macscp1.c
gdb/testsuite/gdb.base/macscp2.h
gdb/testsuite/gdb.base/macscp3.h
gdb/testsuite/gdb.base/macscp4.h
gdb/testsuite/gdb.base/maint.exp
gdb/testsuite/gdb.base/mips_pro.c
gdb/testsuite/gdb.base/mips_pro.exp
gdb/testsuite/gdb.base/miscexprs.c
gdb/testsuite/gdb.base/miscexprs.exp
gdb/testsuite/gdb.base/nodebug.c
gdb/testsuite/gdb.base/nodebug.exp
gdb/testsuite/gdb.base/opaque.exp
gdb/testsuite/gdb.base/opaque0.c
gdb/testsuite/gdb.base/opaque1.c
gdb/testsuite/gdb.base/overlays.c
gdb/testsuite/gdb.base/overlays.exp
gdb/testsuite/gdb.base/ovlymgr.c
gdb/testsuite/gdb.base/ovlymgr.h
gdb/testsuite/gdb.base/page.exp
gdb/testsuite/gdb.base/pointers.c
gdb/testsuite/gdb.base/pointers.exp
gdb/testsuite/gdb.base/printcmds.c
gdb/testsuite/gdb.base/printcmds.exp
gdb/testsuite/gdb.base/ptype.c
gdb/testsuite/gdb.base/ptype.exp
gdb/testsuite/gdb.base/radix.exp
gdb/testsuite/gdb.base/readline.exp
gdb/testsuite/gdb.base/recurse.c
gdb/testsuite/gdb.base/recurse.exp
gdb/testsuite/gdb.base/regs.exp
gdb/testsuite/gdb.base/relational.exp
gdb/testsuite/gdb.base/relocate.c
gdb/testsuite/gdb.base/relocate.exp
gdb/testsuite/gdb.base/remote.c
gdb/testsuite/gdb.base/remote.exp
gdb/testsuite/gdb.base/reread.exp
gdb/testsuite/gdb.base/reread1.c
gdb/testsuite/gdb.base/reread2.c
gdb/testsuite/gdb.base/restore.c
gdb/testsuite/gdb.base/restore.exp
gdb/testsuite/gdb.base/return.c
gdb/testsuite/gdb.base/return.exp
gdb/testsuite/gdb.base/return2.c
gdb/testsuite/gdb.base/return2.exp
gdb/testsuite/gdb.base/run.c
gdb/testsuite/gdb.base/scope.exp
gdb/testsuite/gdb.base/scope0.c
gdb/testsuite/gdb.base/scope1.c
gdb/testsuite/gdb.base/sect-cmd.exp
gdb/testsuite/gdb.base/selftest.exp
gdb/testsuite/gdb.base/setshow.c
gdb/testsuite/gdb.base/setshow.exp
gdb/testsuite/gdb.base/setvar.c
gdb/testsuite/gdb.base/setvar.exp
gdb/testsuite/gdb.base/shlib-call.exp
gdb/testsuite/gdb.base/shmain.c
gdb/testsuite/gdb.base/shr1.c
gdb/testsuite/gdb.base/shr2.c
gdb/testsuite/gdb.base/sigall.c
gdb/testsuite/gdb.base/sigall.exp
gdb/testsuite/gdb.base/signals.c
gdb/testsuite/gdb.base/signals.exp
gdb/testsuite/gdb.base/sizeof.c
gdb/testsuite/gdb.base/sizeof.exp
gdb/testsuite/gdb.base/so-impl-ld.c
gdb/testsuite/gdb.base/so-impl-ld.exp
gdb/testsuite/gdb.base/so-indr-cl.c
gdb/testsuite/gdb.base/so-indr-cl.exp
gdb/testsuite/gdb.base/solib.c
gdb/testsuite/gdb.base/solib.exp
gdb/testsuite/gdb.base/solib1.c
gdb/testsuite/gdb.base/solib2.c
gdb/testsuite/gdb.base/ss.h
gdb/testsuite/gdb.base/step-line.c
gdb/testsuite/gdb.base/step-line.exp
gdb/testsuite/gdb.base/step-line.inp
gdb/testsuite/gdb.base/step-test.c
gdb/testsuite/gdb.base/step-test.exp
gdb/testsuite/gdb.base/structs.c
gdb/testsuite/gdb.base/structs.exp
gdb/testsuite/gdb.base/structs2.c
gdb/testsuite/gdb.base/structs2.exp
gdb/testsuite/gdb.base/sum.c
gdb/testsuite/gdb.base/term.exp
gdb/testsuite/gdb.base/twice.c
gdb/testsuite/gdb.base/twice.exp
gdb/testsuite/gdb.base/varargs.c
gdb/testsuite/gdb.base/varargs.exp
gdb/testsuite/gdb.base/vforked-prog.c
gdb/testsuite/gdb.base/volatile.exp
gdb/testsuite/gdb.base/watchpoint.c
gdb/testsuite/gdb.base/watchpoint.exp
gdb/testsuite/gdb.base/whatis-exp.exp
gdb/testsuite/gdb.base/whatis.c
gdb/testsuite/gdb.base/whatis.exp
gdb/testsuite/gdb.c++/Makefile.in
gdb/testsuite/gdb.c++/ambiguous.cc
gdb/testsuite/gdb.c++/ambiguous.exp
gdb/testsuite/gdb.c++/annota2.cc
gdb/testsuite/gdb.c++/annota2.exp
gdb/testsuite/gdb.c++/anon-union.cc
gdb/testsuite/gdb.c++/anon-union.exp
gdb/testsuite/gdb.c++/classes.exp
gdb/testsuite/gdb.c++/configure
gdb/testsuite/gdb.c++/configure.in
gdb/testsuite/gdb.c++/cplusfuncs.cc
gdb/testsuite/gdb.c++/cplusfuncs.exp
gdb/testsuite/gdb.c++/ctti.exp
gdb/testsuite/gdb.c++/cttiadd.cc
gdb/testsuite/gdb.c++/cttiadd1.cc
gdb/testsuite/gdb.c++/cttiadd2.cc
gdb/testsuite/gdb.c++/cttiadd3.cc
gdb/testsuite/gdb.c++/demangle.exp
gdb/testsuite/gdb.c++/derivation.cc
gdb/testsuite/gdb.c++/derivation.exp
gdb/testsuite/gdb.c++/hang.H
gdb/testsuite/gdb.c++/hang.exp
gdb/testsuite/gdb.c++/hang1.C
gdb/testsuite/gdb.c++/hang2.C
gdb/testsuite/gdb.c++/hang3.C
gdb/testsuite/gdb.c++/inherit.exp
gdb/testsuite/gdb.c++/local.cc
gdb/testsuite/gdb.c++/local.exp
gdb/testsuite/gdb.c++/m-data.cc
gdb/testsuite/gdb.c++/m-data.exp
gdb/testsuite/gdb.c++/m-static.cc
gdb/testsuite/gdb.c++/m-static.exp
gdb/testsuite/gdb.c++/member-ptr.cc
gdb/testsuite/gdb.c++/member-ptr.exp
gdb/testsuite/gdb.c++/method.cc
gdb/testsuite/gdb.c++/method.exp
gdb/testsuite/gdb.c++/misc.cc
gdb/testsuite/gdb.c++/misc.exp
gdb/testsuite/gdb.c++/namespace.cc
gdb/testsuite/gdb.c++/namespace.exp
gdb/testsuite/gdb.c++/overload.cc
gdb/testsuite/gdb.c++/overload.exp
gdb/testsuite/gdb.c++/ovldbreak.cc
gdb/testsuite/gdb.c++/ovldbreak.exp
gdb/testsuite/gdb.c++/ref-types.cc
gdb/testsuite/gdb.c++/ref-types.exp
gdb/testsuite/gdb.c++/templates.cc
gdb/testsuite/gdb.c++/templates.exp
gdb/testsuite/gdb.c++/try_catch.cc
gdb/testsuite/gdb.c++/try_catch.exp
gdb/testsuite/gdb.c++/userdef.cc
gdb/testsuite/gdb.c++/userdef.exp
gdb/testsuite/gdb.c++/virtfunc.cc
gdb/testsuite/gdb.c++/virtfunc.exp
gdb/testsuite/gdb.chill/ChangeLog
gdb/testsuite/gdb.chill/Makefile.in
gdb/testsuite/gdb.chill/builtins.ch
gdb/testsuite/gdb.chill/builtins.exp
gdb/testsuite/gdb.chill/callch.ch
gdb/testsuite/gdb.chill/callch.exp
gdb/testsuite/gdb.chill/chexp.exp
gdb/testsuite/gdb.chill/chillvars.ch
gdb/testsuite/gdb.chill/chillvars.exp
gdb/testsuite/gdb.chill/configure
gdb/testsuite/gdb.chill/configure.in
gdb/testsuite/gdb.chill/enum.ch
gdb/testsuite/gdb.chill/enum.exp
gdb/testsuite/gdb.chill/func1.ch
gdb/testsuite/gdb.chill/gch1041.ch
gdb/testsuite/gdb.chill/gch1041.exp
gdb/testsuite/gdb.chill/gch1272.ch
gdb/testsuite/gdb.chill/gch1272.exp
gdb/testsuite/gdb.chill/gch1280.ch
gdb/testsuite/gdb.chill/gch1280.exp
gdb/testsuite/gdb.chill/gch922.ch
gdb/testsuite/gdb.chill/gch922.exp
gdb/testsuite/gdb.chill/gch981.ch
gdb/testsuite/gdb.chill/gch981.exp
gdb/testsuite/gdb.chill/misc.ch
gdb/testsuite/gdb.chill/misc.exp
gdb/testsuite/gdb.chill/powerset.ch
gdb/testsuite/gdb.chill/powerset.exp
gdb/testsuite/gdb.chill/pr-4975-grt.ch
gdb/testsuite/gdb.chill/pr-4975.ch
gdb/testsuite/gdb.chill/pr-4975.exp
gdb/testsuite/gdb.chill/pr-5016.ch
gdb/testsuite/gdb.chill/pr-5016.exp
gdb/testsuite/gdb.chill/pr-5020.ch
gdb/testsuite/gdb.chill/pr-5020.exp
gdb/testsuite/gdb.chill/pr-5022.ch
gdb/testsuite/gdb.chill/pr-5022.exp
gdb/testsuite/gdb.chill/pr-5646-grt.ch
gdb/testsuite/gdb.chill/pr-5646.ch
gdb/testsuite/gdb.chill/pr-5646.exp
gdb/testsuite/gdb.chill/pr-5984.ch
gdb/testsuite/gdb.chill/pr-5984.exp
gdb/testsuite/gdb.chill/pr-6292.ch
gdb/testsuite/gdb.chill/pr-6292.exp
gdb/testsuite/gdb.chill/pr-6632-grt.ch
gdb/testsuite/gdb.chill/pr-6632.ch
gdb/testsuite/gdb.chill/pr-6632.exp
gdb/testsuite/gdb.chill/pr-8134.exp
gdb/testsuite/gdb.chill/pr-8136.ch
gdb/testsuite/gdb.chill/pr-8136.exp
gdb/testsuite/gdb.chill/pr-8405.ch
gdb/testsuite/gdb.chill/pr-8405.exp
gdb/testsuite/gdb.chill/pr-8742.ch
gdb/testsuite/gdb.chill/pr-8742.exp
gdb/testsuite/gdb.chill/pr-8894-grt.ch
gdb/testsuite/gdb.chill/pr-8894.ch
gdb/testsuite/gdb.chill/pr-8894.exp
gdb/testsuite/gdb.chill/pr-9095.ch
gdb/testsuite/gdb.chill/pr-9095.exp
gdb/testsuite/gdb.chill/pr-9946.ch
gdb/testsuite/gdb.chill/pr-9946.exp
gdb/testsuite/gdb.chill/result.ch
gdb/testsuite/gdb.chill/result.exp
gdb/testsuite/gdb.chill/string.ch
gdb/testsuite/gdb.chill/string.exp
gdb/testsuite/gdb.chill/tests1.ch
gdb/testsuite/gdb.chill/tests1.exp
gdb/testsuite/gdb.chill/tests2.ch
gdb/testsuite/gdb.chill/tests2.exp
gdb/testsuite/gdb.chill/tuples.ch
gdb/testsuite/gdb.chill/tuples.exp
gdb/testsuite/gdb.chill/xstruct-grt.ch
gdb/testsuite/gdb.chill/xstruct.ch
gdb/testsuite/gdb.chill/xstruct.exp
gdb/testsuite/gdb.disasm/Makefile.in
gdb/testsuite/gdb.disasm/am33.exp
gdb/testsuite/gdb.disasm/am33.s
gdb/testsuite/gdb.disasm/configure
gdb/testsuite/gdb.disasm/configure.in
gdb/testsuite/gdb.disasm/h8300s.exp
gdb/testsuite/gdb.disasm/h8300s.s
gdb/testsuite/gdb.disasm/hppa.exp
gdb/testsuite/gdb.disasm/hppa.s
gdb/testsuite/gdb.disasm/mn10200.exp
gdb/testsuite/gdb.disasm/mn10200.s
gdb/testsuite/gdb.disasm/mn10300.exp
gdb/testsuite/gdb.disasm/mn10300.s
gdb/testsuite/gdb.disasm/sh3.exp
gdb/testsuite/gdb.disasm/sh3.s
gdb/testsuite/gdb.fortran/exprs.exp
gdb/testsuite/gdb.fortran/types.exp
gdb/testsuite/gdb.gdb/xfullpath.exp
gdb/testsuite/gdb.hp/Makefile.in
gdb/testsuite/gdb.hp/configure
gdb/testsuite/gdb.hp/configure.in
gdb/testsuite/gdb.hp/gdb.aCC/Makefile.in
gdb/testsuite/gdb.hp/gdb.aCC/configure
gdb/testsuite/gdb.hp/gdb.aCC/configure.in
gdb/testsuite/gdb.hp/gdb.aCC/exception.cc
gdb/testsuite/gdb.hp/gdb.aCC/exception.exp
gdb/testsuite/gdb.hp/gdb.aCC/optimize.c
gdb/testsuite/gdb.hp/gdb.aCC/optimize.exp
gdb/testsuite/gdb.hp/gdb.aCC/run.c
gdb/testsuite/gdb.hp/gdb.aCC/watch-cmd.exp
gdb/testsuite/gdb.hp/gdb.base-hp/Makefile.in
gdb/testsuite/gdb.hp/gdb.base-hp/callfwmall.c
gdb/testsuite/gdb.hp/gdb.base-hp/callfwmall.exp
gdb/testsuite/gdb.hp/gdb.base-hp/configure
gdb/testsuite/gdb.hp/gdb.base-hp/configure.in
gdb/testsuite/gdb.hp/gdb.base-hp/dollar.c
gdb/testsuite/gdb.hp/gdb.base-hp/dollar.exp
gdb/testsuite/gdb.hp/gdb.base-hp/genso-thresh.c
gdb/testsuite/gdb.hp/gdb.base-hp/hwwatchbus.c
gdb/testsuite/gdb.hp/gdb.base-hp/hwwatchbus.exp
gdb/testsuite/gdb.hp/gdb.base-hp/pxdb.c
gdb/testsuite/gdb.hp/gdb.base-hp/pxdb.exp
gdb/testsuite/gdb.hp/gdb.base-hp/reg-pa64.exp
gdb/testsuite/gdb.hp/gdb.base-hp/reg-pa64.s
gdb/testsuite/gdb.hp/gdb.base-hp/reg.exp
gdb/testsuite/gdb.hp/gdb.base-hp/reg.s
gdb/testsuite/gdb.hp/gdb.base-hp/sized-enum.c
gdb/testsuite/gdb.hp/gdb.base-hp/sized-enum.exp
gdb/testsuite/gdb.hp/gdb.base-hp/so-thresh.exp
gdb/testsuite/gdb.hp/gdb.base-hp/so-thresh.mk
gdb/testsuite/gdb.hp/gdb.base-hp/so-thresh.sh
gdb/testsuite/gdb.hp/gdb.compat/Makefile.in
gdb/testsuite/gdb.hp/gdb.compat/average.c
gdb/testsuite/gdb.hp/gdb.compat/configure
gdb/testsuite/gdb.hp/gdb.compat/configure.in
gdb/testsuite/gdb.hp/gdb.compat/sum.c
gdb/testsuite/gdb.hp/gdb.compat/xdb.c
gdb/testsuite/gdb.hp/gdb.compat/xdb0.c
gdb/testsuite/gdb.hp/gdb.compat/xdb0.h
gdb/testsuite/gdb.hp/gdb.compat/xdb1.c
gdb/testsuite/gdb.hp/gdb.compat/xdb1.exp
gdb/testsuite/gdb.hp/gdb.compat/xdb2.exp
gdb/testsuite/gdb.hp/gdb.compat/xdb3.exp
gdb/testsuite/gdb.hp/gdb.defects/Makefile.in
gdb/testsuite/gdb.hp/gdb.defects/bs14602.c
gdb/testsuite/gdb.hp/gdb.defects/bs14602.exp
gdb/testsuite/gdb.hp/gdb.defects/bs15503.cc
gdb/testsuite/gdb.hp/gdb.defects/bs15503.exp
gdb/testsuite/gdb.hp/gdb.defects/configure
gdb/testsuite/gdb.hp/gdb.defects/configure.in
gdb/testsuite/gdb.hp/gdb.defects/solib-d.c
gdb/testsuite/gdb.hp/gdb.defects/solib-d.exp
gdb/testsuite/gdb.hp/gdb.defects/solib-d1.c
gdb/testsuite/gdb.hp/gdb.defects/solib-d2.c
gdb/testsuite/gdb.hp/gdb.objdbg/Makefile.in
gdb/testsuite/gdb.hp/gdb.objdbg/configure
gdb/testsuite/gdb.hp/gdb.objdbg/configure.in
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01.exp
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01/x1.cc
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01/x2.cc
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01/x3.cc
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01/x3.h
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg02.exp
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg02/x1.cc
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg02/x2.cc
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg02/x3.cc
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg03.exp
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg03/x1.cc
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg03/x2.cc
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg03/x3.cc
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg04.exp
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg04/x.h
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg04/x1.cc
gdb/testsuite/gdb.hp/gdb.objdbg/objdbg04/x2.cc
gdb/testsuite/gdb.hp/gdb.objdbg/tools/symaddr
gdb/testsuite/gdb.hp/gdb.objdbg/tools/symaddr.pa64
gdb/testsuite/gdb.hp/gdb.objdbg/tools/test-objdbg.cc
gdb/testsuite/gdb.hp/tools/odump
gdb/testsuite/gdb.java/Makefile.in
gdb/testsuite/gdb.java/configure
gdb/testsuite/gdb.java/configure.in
gdb/testsuite/gdb.java/jmisc.exp
gdb/testsuite/gdb.java/jmisc.java
gdb/testsuite/gdb.java/jmisc1.exp
gdb/testsuite/gdb.java/jmisc2.exp
gdb/testsuite/gdb.java/jv-exp.exp
gdb/testsuite/gdb.java/jv-print.exp
gdb/testsuite/gdb.mi/ChangeLog
gdb/testsuite/gdb.mi/Makefile.in
gdb/testsuite/gdb.mi/basics.c
gdb/testsuite/gdb.mi/configure
gdb/testsuite/gdb.mi/configure.in
gdb/testsuite/gdb.mi/gdb680.exp
gdb/testsuite/gdb.mi/mi-basics.exp
gdb/testsuite/gdb.mi/mi-break.exp
gdb/testsuite/gdb.mi/mi-console.c
gdb/testsuite/gdb.mi/mi-console.exp
gdb/testsuite/gdb.mi/mi-disassemble.exp
gdb/testsuite/gdb.mi/mi-eval.exp
gdb/testsuite/gdb.mi/mi-hack-cli.exp
gdb/testsuite/gdb.mi/mi-read-memory.c
gdb/testsuite/gdb.mi/mi-read-memory.exp
gdb/testsuite/gdb.mi/mi-regs.exp
gdb/testsuite/gdb.mi/mi-return.exp
gdb/testsuite/gdb.mi/mi-simplerun.exp
gdb/testsuite/gdb.mi/mi-stack.exp
gdb/testsuite/gdb.mi/mi-stepi.exp
gdb/testsuite/gdb.mi/mi-until.exp
gdb/testsuite/gdb.mi/mi-var-block.exp
gdb/testsuite/gdb.mi/mi-var-child.exp
gdb/testsuite/gdb.mi/mi-var-cmd.exp
gdb/testsuite/gdb.mi/mi-var-display.exp
gdb/testsuite/gdb.mi/mi-watch.exp
gdb/testsuite/gdb.mi/mi0-basics.exp
gdb/testsuite/gdb.mi/mi0-break.exp
gdb/testsuite/gdb.mi/mi0-console.exp
gdb/testsuite/gdb.mi/mi0-disassemble.exp
gdb/testsuite/gdb.mi/mi0-eval.exp
gdb/testsuite/gdb.mi/mi0-hack-cli.exp
gdb/testsuite/gdb.mi/mi0-read-memory.exp
gdb/testsuite/gdb.mi/mi0-regs.exp
gdb/testsuite/gdb.mi/mi0-return.exp
gdb/testsuite/gdb.mi/mi0-simplerun.exp
gdb/testsuite/gdb.mi/mi0-stack.exp
gdb/testsuite/gdb.mi/mi0-stepi.exp
gdb/testsuite/gdb.mi/mi0-until.exp
gdb/testsuite/gdb.mi/mi0-var-block.exp
gdb/testsuite/gdb.mi/mi0-var-child.exp
gdb/testsuite/gdb.mi/mi0-var-cmd.exp
gdb/testsuite/gdb.mi/mi0-var-display.exp
gdb/testsuite/gdb.mi/mi0-watch.exp
gdb/testsuite/gdb.mi/testcmds
gdb/testsuite/gdb.mi/until.c
gdb/testsuite/gdb.mi/var-cmd.c
gdb/testsuite/gdb.stabs/Makefile.in
gdb/testsuite/gdb.stabs/aout.sed
gdb/testsuite/gdb.stabs/configure
gdb/testsuite/gdb.stabs/configure.in
gdb/testsuite/gdb.stabs/ecoff.sed
gdb/testsuite/gdb.stabs/hppa.sed
gdb/testsuite/gdb.stabs/weird.def
gdb/testsuite/gdb.stabs/weird.exp
gdb/testsuite/gdb.stabs/xcoff.sed
gdb/testsuite/gdb.threads/Makefile.in
gdb/testsuite/gdb.threads/config.in
gdb/testsuite/gdb.threads/configure
gdb/testsuite/gdb.threads/configure.in
gdb/testsuite/gdb.threads/gcore-thread.exp
gdb/testsuite/gdb.threads/killed.c
gdb/testsuite/gdb.threads/killed.exp
gdb/testsuite/gdb.threads/linux-dp.c
gdb/testsuite/gdb.threads/linux-dp.exp
gdb/testsuite/gdb.threads/print-threads.c
gdb/testsuite/gdb.threads/print-threads.exp
gdb/testsuite/gdb.threads/pthreads.c
gdb/testsuite/gdb.threads/pthreads.exp
gdb/testsuite/gdb.threads/schedlock.c
gdb/testsuite/gdb.threads/schedlock.exp
gdb/testsuite/gdb.threads/step.c
gdb/testsuite/gdb.threads/step.exp
gdb/testsuite/gdb.threads/step2.exp
gdb/testsuite/gdb.trace/Makefile.in
gdb/testsuite/gdb.trace/actions.c
gdb/testsuite/gdb.trace/actions.exp
gdb/testsuite/gdb.trace/backtrace.exp
gdb/testsuite/gdb.trace/circ.c
gdb/testsuite/gdb.trace/circ.exp
gdb/testsuite/gdb.trace/collection.c
gdb/testsuite/gdb.trace/collection.exp
gdb/testsuite/gdb.trace/configure
gdb/testsuite/gdb.trace/configure.in
gdb/testsuite/gdb.trace/deltrace.exp
gdb/testsuite/gdb.trace/gdb_c_test.c
gdb/testsuite/gdb.trace/infotrace.exp
gdb/testsuite/gdb.trace/limits.c
gdb/testsuite/gdb.trace/limits.exp
gdb/testsuite/gdb.trace/packetlen.exp
gdb/testsuite/gdb.trace/passc-dyn.exp
gdb/testsuite/gdb.trace/passcount.exp
gdb/testsuite/gdb.trace/report.exp
gdb/testsuite/gdb.trace/save-trace.exp
gdb/testsuite/gdb.trace/tfind.exp
gdb/testsuite/gdb.trace/tracecmd.exp
gdb/testsuite/gdb.trace/while-dyn.exp
gdb/testsuite/gdb.trace/while-stepping.exp
gdb/testsuite/lib/compiler.c
gdb/testsuite/lib/compiler.cc
gdb/testsuite/lib/emc-support.exp
gdb/testsuite/lib/gdb.exp
gdb/testsuite/lib/insight-support.exp
gdb/testsuite/lib/java.exp
gdb/testsuite/lib/mi-support.exp
gdb/testsuite/lib/trace-support.exp
gdb/thread-db.c
gdb/thread.c
gdb/top.c
gdb/top.h
gdb/tracepoint.c
gdb/tracepoint.h
gdb/tui/ChangeLog
gdb/tui/tui-file.c
gdb/tui/tui-file.h
gdb/tui/tui-hooks.c
gdb/tui/tui-out.c
gdb/tui/tui.c
gdb/tui/tui.h
gdb/tui/tuiCommand.c
gdb/tui/tuiCommand.h
gdb/tui/tuiData.c
gdb/tui/tuiData.h
gdb/tui/tuiDataWin.c
gdb/tui/tuiDataWin.h
gdb/tui/tuiDisassem.c
gdb/tui/tuiDisassem.h
gdb/tui/tuiGeneralWin.c
gdb/tui/tuiGeneralWin.h
gdb/tui/tuiIO.c
gdb/tui/tuiIO.h
gdb/tui/tuiLayout.c
gdb/tui/tuiLayout.h
gdb/tui/tuiRegs.c
gdb/tui/tuiRegs.h
gdb/tui/tuiSource.c
gdb/tui/tuiSource.h
gdb/tui/tuiSourceWin.c
gdb/tui/tuiSourceWin.h
gdb/tui/tuiStack.c
gdb/tui/tuiStack.h
gdb/tui/tuiWin.c
gdb/tui/tuiWin.h
gdb/typeprint.c
gdb/typeprint.h
gdb/ui-file.c
gdb/ui-file.h
gdb/ui-out.c
gdb/ui-out.h
gdb/utils.c
gdb/uw-thread.c
gdb/v850-tdep.c
gdb/v850ice.c
gdb/valarith.c
gdb/valops.c
gdb/valprint.c
gdb/valprint.h
gdb/value.h
gdb/values.c
gdb/varobj.c
gdb/varobj.h
gdb/vax-tdep.c
gdb/vax-tdep.h
gdb/version.h
gdb/version.in
gdb/vx-share/README
gdb/vx-share/dbgRpcLib.h
gdb/vx-share/ptrace.h
gdb/vx-share/regPacket.h
gdb/vx-share/vxTypes.h
gdb/vx-share/vxWorks.h
gdb/vx-share/wait.h
gdb/vx-share/xdr_ld.c
gdb/vx-share/xdr_ld.h
gdb/vx-share/xdr_ptrace.c
gdb/vx-share/xdr_ptrace.h
gdb/vx-share/xdr_rdb.c
gdb/vx-share/xdr_rdb.h
gdb/w89k-rom.c
gdb/win32-nat.c
gdb/wince-stub.c
gdb/wince-stub.h
gdb/wince.c
gdb/wrapper.c
gdb/wrapper.h
gdb/x86-64-linux-nat.c
gdb/x86-64-linux-tdep.c
gdb/x86-64-tdep.c
gdb/x86-64-tdep.h
gdb/xcoffread.c
gdb/xcoffsolib.c
gdb/xcoffsolib.h
gdb/xmodem.c
gdb/xmodem.h
gdb/xstormy16-tdep.c
gdb/z8k-tdep.c
mmalloc/COPYING.LIB
mmalloc/ChangeLog
mmalloc/MAINTAINERS
mmalloc/Makefile.in
mmalloc/TODO
mmalloc/acinclude.m4
mmalloc/aclocal.m4
mmalloc/attach.c
mmalloc/configure
mmalloc/configure.in
mmalloc/detach.c
mmalloc/keys.c
mmalloc/mcalloc.c
mmalloc/mfree.c
mmalloc/mm.c
mmalloc/mmalloc.c
mmalloc/mmalloc.h
mmalloc/mmalloc.texi
mmalloc/mmap-sup.c
mmalloc/mmcheck.c
mmalloc/mmemalign.c
mmalloc/mmprivate.h
mmalloc/mmstats.c
mmalloc/mmtrace.awk
mmalloc/mmtrace.c
mmalloc/mrealloc.c
mmalloc/mvalloc.c
mmalloc/sbrk-sup.c
readline/CHANGELOG
readline/CHANGES
readline/COPYING
readline/ChangeLog.gdb
readline/INSTALL
readline/MANIFEST
readline/Makefile.in
readline/README
readline/USAGE
readline/acconfig.h
readline/aclocal.m4
readline/ansi_stdlib.h
readline/bind.c
readline/callback.c
readline/chardefs.h
readline/complete.c
readline/config.h.bot
readline/config.h.in
readline/configure
readline/configure.in
readline/cross-build/cygwin.cache
readline/display.c
readline/doc/ChangeLog.gdb
readline/doc/Makefile.in
readline/doc/hist.texinfo
readline/doc/hstech.texinfo
readline/doc/hsuser.texinfo
readline/doc/inc-hist.texinfo
readline/doc/manvers.texinfo
readline/doc/readline.3
readline/doc/rlman.texinfo
readline/doc/rltech.texinfo
readline/doc/rluser.texinfo
readline/doc/rluserman.texinfo
readline/doc/texi2dvi
readline/doc/texi2html
readline/emacs_keymap.c
readline/examples/ChangeLog.gdb
readline/examples/Inputrc
readline/examples/Makefile.in
readline/examples/excallback.c
readline/examples/fileman.c
readline/examples/histexamp.c
readline/examples/manexamp.c
readline/examples/rl.c
readline/examples/rlfe.c
readline/examples/rltest.c
readline/examples/rlversion.c
readline/funmap.c
readline/histexpand.c
readline/histfile.c
readline/histlib.h
readline/history.c
readline/history.h
readline/histsearch.c
readline/input.c
readline/isearch.c
readline/keymaps.c
readline/keymaps.h
readline/kill.c
readline/macro.c
readline/nls.c
readline/parens.c
readline/posixdir.h
readline/posixjmp.h
readline/posixstat.h
readline/readline.c
readline/readline.h
readline/rlconf.h
readline/rldefs.h
readline/rlprivate.h
readline/rlshell.h
readline/rlstdc.h
readline/rltty.c
readline/rltty.h
readline/rlwinsize.h
readline/savestring.c
readline/search.c
readline/shell.c
readline/shlib/Makefile.in
readline/signals.c
readline/support/config.guess
readline/support/config.sub
readline/support/install.sh
readline/support/mkdirs
readline/support/mkdist
readline/support/shlib-install
readline/support/shobj-conf
readline/tcap.h
readline/terminal.c
readline/tilde.c
readline/tilde.h
readline/undo.c
readline/util.c
readline/vi_keymap.c
readline/vi_mode.c
readline/xmalloc.c
readline/xmalloc.h
sim/ChangeLog
sim/MAINTAINERS
sim/Makefile.in
sim/README-HACKING
sim/arm/COPYING
sim/arm/ChangeLog
sim/arm/Makefile.in
sim/arm/README.Cygnus
sim/arm/acconfig.h
sim/arm/armcopro.c
sim/arm/armdefs.h
sim/arm/armemu.c
sim/arm/armemu.h
sim/arm/armfpe.h
sim/arm/arminit.c
sim/arm/armopts.h
sim/arm/armos.c
sim/arm/armos.h
sim/arm/armrdi.c
sim/arm/armsupp.c
sim/arm/armvirt.c
sim/arm/bag.c
sim/arm/bag.h
sim/arm/communicate.c
sim/arm/communicate.h
sim/arm/config.in
sim/arm/configure
sim/arm/configure.in
sim/arm/dbg_conf.h
sim/arm/dbg_cp.h
sim/arm/dbg_hif.h
sim/arm/dbg_rdi.h
sim/arm/gdbhost.c
sim/arm/gdbhost.h
sim/arm/kid.c
sim/arm/main.c
sim/arm/parent.c
sim/arm/tconfig.in
sim/arm/thumbemu.c
sim/arm/wrapper.c
sim/common/ChangeLog
sim/common/Make-common.in
sim/common/Makefile.in
sim/common/acconfig.h
sim/common/aclocal.m4
sim/common/callback.c
sim/common/cgen-accfp.c
sim/common/cgen-cpu.h
sim/common/cgen-defs.h
sim/common/cgen-engine.h
sim/common/cgen-fpu.c
sim/common/cgen-fpu.h
sim/common/cgen-mem.h
sim/common/cgen-ops.h
sim/common/cgen-par.c
sim/common/cgen-par.h
sim/common/cgen-run.c
sim/common/cgen-scache.c
sim/common/cgen-scache.h
sim/common/cgen-sim.h
sim/common/cgen-trace.c
sim/common/cgen-trace.h
sim/common/cgen-types.h
sim/common/cgen-utils.c
sim/common/cgen.sh
sim/common/config.in
sim/common/configure
sim/common/configure.in
sim/common/dv-core.c
sim/common/dv-glue.c
sim/common/dv-pal.c
sim/common/dv-sockser.c
sim/common/dv-sockser.h
sim/common/gdbinit.in
sim/common/genmloop.sh
sim/common/gennltvals.sh
sim/common/gentmap.c
sim/common/gentvals.sh
sim/common/hw-alloc.c
sim/common/hw-alloc.h
sim/common/hw-base.c
sim/common/hw-base.h
sim/common/hw-device.c
sim/common/hw-device.h
sim/common/hw-events.c
sim/common/hw-events.h
sim/common/hw-handles.c
sim/common/hw-handles.h
sim/common/hw-instances.c
sim/common/hw-instances.h
sim/common/hw-main.h
sim/common/hw-ports.c
sim/common/hw-ports.h
sim/common/hw-properties.c
sim/common/hw-properties.h
sim/common/hw-tree.c
sim/common/hw-tree.h
sim/common/nltvals.def
sim/common/nrun.c
sim/common/run-sim.h
sim/common/run.1
sim/common/run.c
sim/common/sim-abort.c
sim/common/sim-alu.h
sim/common/sim-arange.c
sim/common/sim-arange.h
sim/common/sim-assert.h
sim/common/sim-base.h
sim/common/sim-basics.h
sim/common/sim-bits.c
sim/common/sim-bits.h
sim/common/sim-break.c
sim/common/sim-break.h
sim/common/sim-config.c
sim/common/sim-config.h
sim/common/sim-core.c
sim/common/sim-core.h
sim/common/sim-cpu.c
sim/common/sim-cpu.h
sim/common/sim-endian.c
sim/common/sim-endian.h
sim/common/sim-engine.c
sim/common/sim-engine.h
sim/common/sim-events.c
sim/common/sim-events.h
sim/common/sim-fpu.c
sim/common/sim-fpu.h
sim/common/sim-hload.c
sim/common/sim-hrw.c
sim/common/sim-hw.c
sim/common/sim-hw.h
sim/common/sim-info.c
sim/common/sim-inline.c
sim/common/sim-inline.h
sim/common/sim-io.c
sim/common/sim-io.h
sim/common/sim-load.c
sim/common/sim-memopt.c
sim/common/sim-memopt.h
sim/common/sim-model.c
sim/common/sim-model.h
sim/common/sim-module.c
sim/common/sim-module.h
sim/common/sim-n-bits.h
sim/common/sim-n-core.h
sim/common/sim-n-endian.h
sim/common/sim-options.c
sim/common/sim-options.h
sim/common/sim-profile.c
sim/common/sim-profile.h
sim/common/sim-reason.c
sim/common/sim-reg.c
sim/common/sim-resume.c
sim/common/sim-run.c
sim/common/sim-signal.c
sim/common/sim-signal.h
sim/common/sim-stop.c
sim/common/sim-trace.c
sim/common/sim-trace.h
sim/common/sim-types.h
sim/common/sim-utils.c
sim/common/sim-utils.h
sim/common/sim-watch.c
sim/common/sim-watch.h
sim/common/syscall.c
sim/common/tconfig.in
sim/configure
sim/configure.in
sim/d10v/ChangeLog
sim/d10v/Makefile.in
sim/d10v/acconfig.h
sim/d10v/config.in
sim/d10v/configure
sim/d10v/configure.in
sim/d10v/d10v_sim.h
sim/d10v/endian.c
sim/d10v/gencode.c
sim/d10v/interp.c
sim/d10v/simops.c
sim/d30v/ChangeLog
sim/d30v/Makefile.in
sim/d30v/acconfig.h
sim/d30v/alu.h
sim/d30v/config.in
sim/d30v/configure
sim/d30v/configure.in
sim/d30v/cpu.c
sim/d30v/cpu.h
sim/d30v/d30v-insns
sim/d30v/dc-short
sim/d30v/engine.c
sim/d30v/ic-d30v
sim/d30v/sim-calls.c
sim/d30v/sim-main.h
sim/d30v/tconfig.in
sim/erc32/ChangeLog
sim/erc32/Makefile.in
sim/erc32/NEWS
sim/erc32/README.erc32
sim/erc32/README.gdb
sim/erc32/README.sis
sim/erc32/acconfig.h
sim/erc32/config.in
sim/erc32/configure
sim/erc32/configure.in
sim/erc32/end.c
sim/erc32/erc32.c
sim/erc32/exec.c
sim/erc32/float.c
sim/erc32/func.c
sim/erc32/help.c
sim/erc32/interf.c
sim/erc32/sis.c
sim/erc32/sis.h
sim/erc32/startsim
sim/fr30/ChangeLog
sim/fr30/Makefile.in
sim/fr30/README
sim/fr30/TODO
sim/fr30/arch.c
sim/fr30/arch.h
sim/fr30/config.in
sim/fr30/configure
sim/fr30/configure.in
sim/fr30/cpu.c
sim/fr30/cpu.h
sim/fr30/cpuall.h
sim/fr30/decode.c
sim/fr30/decode.h
sim/fr30/devices.c
sim/fr30/fr30-sim.h
sim/fr30/fr30.c
sim/fr30/mloop.in
sim/fr30/model.c
sim/fr30/sem-switch.c
sim/fr30/sem.c
sim/fr30/sim-if.c
sim/fr30/sim-main.h
sim/fr30/tconfig.in
sim/fr30/traps.c
sim/h8300/ChangeLog
sim/h8300/Makefile.in
sim/h8300/acconfig.h
sim/h8300/compile.c
sim/h8300/config.in
sim/h8300/configure
sim/h8300/configure.in
sim/h8300/inst.h
sim/h8300/tconfig.in
sim/h8300/writecode.c
sim/h8500/ChangeLog
sim/h8500/Makefile.in
sim/h8500/acconfig.h
sim/h8500/compile.c
sim/h8500/config.in
sim/h8500/configure
sim/h8500/configure.in
sim/h8500/inst.h
sim/h8500/tconfig.in
sim/i960/ChangeLog
sim/i960/Makefile.in
sim/i960/README
sim/i960/TODO
sim/i960/acconfig.h
sim/i960/arch.c
sim/i960/arch.h
sim/i960/config.in
sim/i960/configure
sim/i960/configure.in
sim/i960/cpu.c
sim/i960/cpu.h
sim/i960/cpuall.h
sim/i960/decode.c
sim/i960/decode.h
sim/i960/devices.c
sim/i960/i960-desc.c
sim/i960/i960-desc.h
sim/i960/i960-opc.h
sim/i960/i960-sim.h
sim/i960/i960.c
sim/i960/mloop.in
sim/i960/model.c
sim/i960/sem-switch.c
sim/i960/sem.c
sim/i960/sim-if.c
sim/i960/sim-main.h
sim/i960/tconfig.in
sim/i960/traps.c
sim/igen/ChangeLog
sim/igen/Makefile.in
sim/igen/acconfig.h
sim/igen/compare_igen_models
sim/igen/config.in
sim/igen/configure
sim/igen/configure.in
sim/igen/filter.c
sim/igen/filter.h
sim/igen/filter_host.c
sim/igen/filter_host.h
sim/igen/gen-engine.c
sim/igen/gen-engine.h
sim/igen/gen-icache.c
sim/igen/gen-icache.h
sim/igen/gen-idecode.c
sim/igen/gen-idecode.h
sim/igen/gen-itable.c
sim/igen/gen-itable.h
sim/igen/gen-model.c
sim/igen/gen-model.h
sim/igen/gen-semantics.c
sim/igen/gen-semantics.h
sim/igen/gen-support.c
sim/igen/gen-support.h
sim/igen/gen.c
sim/igen/gen.h
sim/igen/igen.c
sim/igen/igen.h
sim/igen/ld-cache.c
sim/igen/ld-cache.h
sim/igen/ld-decode.c
sim/igen/ld-decode.h
sim/igen/ld-insn.c
sim/igen/ld-insn.h
sim/igen/lf.c
sim/igen/lf.h
sim/igen/misc.c
sim/igen/misc.h
sim/igen/table.c
sim/igen/table.h
sim/m32r/ChangeLog
sim/m32r/Makefile.in
sim/m32r/README
sim/m32r/TODO
sim/m32r/acconfig.h
sim/m32r/arch.c
sim/m32r/arch.h
sim/m32r/config.in
sim/m32r/configure
sim/m32r/configure.in
sim/m32r/cpu.c
sim/m32r/cpu.h
sim/m32r/cpuall.h
sim/m32r/cpux.c
sim/m32r/cpux.h
sim/m32r/decode.c
sim/m32r/decode.h
sim/m32r/decodex.c
sim/m32r/decodex.h
sim/m32r/devices.c
sim/m32r/m32r-sim.h
sim/m32r/m32r.c
sim/m32r/m32rx.c
sim/m32r/mloop.in
sim/m32r/mloopx.in
sim/m32r/model.c
sim/m32r/modelx.c
sim/m32r/sem-switch.c
sim/m32r/sem.c
sim/m32r/semx-switch.c
sim/m32r/sim-if.c
sim/m32r/sim-main.h
sim/m32r/tconfig.in
sim/m32r/traps.c
sim/m68hc11/ChangeLog
sim/m68hc11/Makefile.in
sim/m68hc11/config.in
sim/m68hc11/configure
sim/m68hc11/configure.in
sim/m68hc11/dv-m68hc11.c
sim/m68hc11/dv-m68hc11eepr.c
sim/m68hc11/dv-m68hc11sio.c
sim/m68hc11/dv-m68hc11spi.c
sim/m68hc11/dv-m68hc11tim.c
sim/m68hc11/dv-nvram.c
sim/m68hc11/emulos.c
sim/m68hc11/gencode.c
sim/m68hc11/interp.c
sim/m68hc11/interrupts.c
sim/m68hc11/interrupts.h
sim/m68hc11/m68hc11_sim.c
sim/m68hc11/sim-main.h
sim/mcore/ChangeLog
sim/mcore/Makefile.in
sim/mcore/config.in
sim/mcore/configure
sim/mcore/configure.in
sim/mcore/interp.c
sim/mcore/sysdep.h
sim/mips/ChangeLog
sim/mips/Makefile.in
sim/mips/acconfig.h
sim/mips/config.in
sim/mips/configure
sim/mips/configure.in
sim/mips/cp1.c
sim/mips/cp1.h
sim/mips/dv-tx3904cpu.c
sim/mips/dv-tx3904irc.c
sim/mips/dv-tx3904sio.c
sim/mips/dv-tx3904tmr.c
sim/mips/interp.c
sim/mips/m16.dc
sim/mips/m16.igen
sim/mips/m16run.c
sim/mips/mdmx.c
sim/mips/mdmx.igen
sim/mips/mips.dc
sim/mips/mips.igen
sim/mips/mips3d.igen
sim/mips/sb1.igen
sim/mips/sim-main.c
sim/mips/sim-main.h
sim/mips/tconfig.in
sim/mips/tx.igen
sim/mips/vr.igen
sim/mn10200/ChangeLog
sim/mn10200/Makefile.in
sim/mn10200/acconfig.h
sim/mn10200/config.in
sim/mn10200/configure
sim/mn10200/configure.in
sim/mn10200/gencode.c
sim/mn10200/interp.c
sim/mn10200/mn10200_sim.h
sim/mn10200/simops.c
sim/mn10300/ChangeLog
sim/mn10300/Makefile.in
sim/mn10300/acconfig.h
sim/mn10300/am33.igen
sim/mn10300/config.in
sim/mn10300/configure
sim/mn10300/configure.in
sim/mn10300/dv-mn103cpu.c
sim/mn10300/dv-mn103int.c
sim/mn10300/dv-mn103iop.c
sim/mn10300/dv-mn103ser.c
sim/mn10300/dv-mn103tim.c
sim/mn10300/gencode.c
sim/mn10300/interp.c
sim/mn10300/mn10300.dc
sim/mn10300/mn10300.igen
sim/mn10300/mn10300_sim.h
sim/mn10300/op_utils.c
sim/mn10300/sim-main.c
sim/mn10300/sim-main.h
sim/mn10300/simops.c
sim/mn10300/tconfig.in
sim/ppc/.gdbinit
sim/ppc/BUGS
sim/ppc/COPYING
sim/ppc/COPYING.LIB
sim/ppc/ChangeLog
sim/ppc/ChangeLog.00
sim/ppc/INSTALL
sim/ppc/Makefile.in
sim/ppc/README
sim/ppc/RUN
sim/ppc/acconfig.h
sim/ppc/aclocal.m4
sim/ppc/basics.h
sim/ppc/bits.c
sim/ppc/bits.h
sim/ppc/cap.c
sim/ppc/cap.h
sim/ppc/config.in
sim/ppc/configure
sim/ppc/configure.in
sim/ppc/corefile-n.h
sim/ppc/corefile.c
sim/ppc/corefile.h
sim/ppc/cpu.c
sim/ppc/cpu.h
sim/ppc/dc-complex
sim/ppc/dc-simple
sim/ppc/dc-stupid
sim/ppc/dc-test.01
sim/ppc/dc-test.02
sim/ppc/debug.c
sim/ppc/debug.h
sim/ppc/device.c
sim/ppc/device.h
sim/ppc/device_table.c
sim/ppc/device_table.h
sim/ppc/dgen.c
sim/ppc/double.c
sim/ppc/dp-bit.c
sim/ppc/emul_bugapi.c
sim/ppc/emul_bugapi.h
sim/ppc/emul_chirp.c
sim/ppc/emul_chirp.h
sim/ppc/emul_generic.c
sim/ppc/emul_generic.h
sim/ppc/emul_netbsd.c
sim/ppc/emul_netbsd.h
sim/ppc/emul_unix.c
sim/ppc/emul_unix.h
sim/ppc/events.c
sim/ppc/events.h
sim/ppc/filter.c
sim/ppc/filter.h
sim/ppc/filter_filename.c
sim/ppc/filter_filename.h
sim/ppc/gen-icache.c
sim/ppc/gen-icache.h
sim/ppc/gen-idecode.c
sim/ppc/gen-idecode.h
sim/ppc/gen-itable.c
sim/ppc/gen-itable.h
sim/ppc/gen-model.c
sim/ppc/gen-model.h
sim/ppc/gen-semantics.c
sim/ppc/gen-semantics.h
sim/ppc/gen-support.c
sim/ppc/gen-support.h
sim/ppc/hw_com.c
sim/ppc/hw_core.c
sim/ppc/hw_cpu.c
sim/ppc/hw_cpu.h
sim/ppc/hw_disk.c
sim/ppc/hw_eeprom.c
sim/ppc/hw_glue.c
sim/ppc/hw_htab.c
sim/ppc/hw_ide.c
sim/ppc/hw_init.c
sim/ppc/hw_iobus.c
sim/ppc/hw_memory.c
sim/ppc/hw_nvram.c
sim/ppc/hw_opic.c
sim/ppc/hw_pal.c
sim/ppc/hw_phb.c
sim/ppc/hw_phb.h
sim/ppc/hw_register.c
sim/ppc/hw_trace.c
sim/ppc/hw_vm.c
sim/ppc/idecode_branch.h
sim/ppc/idecode_expression.h
sim/ppc/idecode_fields.h
sim/ppc/igen.c
sim/ppc/igen.h
sim/ppc/inline.c
sim/ppc/inline.h
sim/ppc/interrupts.c
sim/ppc/interrupts.h
sim/ppc/ld-cache.c
sim/ppc/ld-cache.h
sim/ppc/ld-decode.c
sim/ppc/ld-decode.h
sim/ppc/ld-insn.c
sim/ppc/ld-insn.h
sim/ppc/lf.c
sim/ppc/lf.h
sim/ppc/main.c
sim/ppc/misc.c
sim/ppc/misc.h
sim/ppc/mon.c
sim/ppc/mon.h
sim/ppc/options.c
sim/ppc/options.h
sim/ppc/os_emul.c
sim/ppc/os_emul.h
sim/ppc/pk_disklabel.c
sim/ppc/ppc-cache-rules
sim/ppc/ppc-instructions
sim/ppc/ppc-spr-table
sim/ppc/ppc.mt
sim/ppc/psim.c
sim/ppc/psim.h
sim/ppc/psim.texinfo
sim/ppc/registers.c
sim/ppc/registers.h
sim/ppc/sim-endian-n.h
sim/ppc/sim-endian.c
sim/ppc/sim-endian.h
sim/ppc/sim-main.h
sim/ppc/sim_callbacks.h
sim/ppc/sim_calls.c
sim/ppc/std-config.h
sim/ppc/table.c
sim/ppc/table.h
sim/ppc/tree.c
sim/ppc/tree.h
sim/ppc/vm.c
sim/ppc/vm.h
sim/ppc/vm_n.h
sim/ppc/words.h
sim/sh/ChangeLog
sim/sh/Makefile.in
sim/sh/acconfig.h
sim/sh/config.in
sim/sh/configure
sim/sh/configure.in
sim/sh/gencode.c
sim/sh/interp.c
sim/sh/syscall.h
sim/sh/tconfig.in
sim/testsuite/ChangeLog
sim/testsuite/Makefile.in
sim/testsuite/common/Make-common.in
sim/testsuite/common/Makefile.in
sim/testsuite/common/alu-n-tst.h
sim/testsuite/common/alu-tst.c
sim/testsuite/common/bits-gen.c
sim/testsuite/common/bits-tst.c
sim/testsuite/common/fpu-tst.c
sim/testsuite/config/default.exp
sim/testsuite/configure
sim/testsuite/configure.in
sim/testsuite/d10v-elf/ChangeLog
sim/testsuite/d10v-elf/Makefile.in
sim/testsuite/d10v-elf/configure
sim/testsuite/d10v-elf/configure.in
sim/testsuite/d10v-elf/exit47.s
sim/testsuite/d10v-elf/hello.s
sim/testsuite/d10v-elf/loop.s
sim/testsuite/d10v-elf/t-ae-ld-d.s
sim/testsuite/d10v-elf/t-ae-ld-i.s
sim/testsuite/d10v-elf/t-ae-ld-id.s
sim/testsuite/d10v-elf/t-ae-ld-im.s
sim/testsuite/d10v-elf/t-ae-ld-ip.s
sim/testsuite/d10v-elf/t-ae-ld2w-d.s
sim/testsuite/d10v-elf/t-ae-ld2w-i.s
sim/testsuite/d10v-elf/t-ae-ld2w-id.s
sim/testsuite/d10v-elf/t-ae-ld2w-im.s
sim/testsuite/d10v-elf/t-ae-ld2w-ip.s
sim/testsuite/d10v-elf/t-ae-st-d.s
sim/testsuite/d10v-elf/t-ae-st-i.s
sim/testsuite/d10v-elf/t-ae-st-id.s
sim/testsuite/d10v-elf/t-ae-st-im.s
sim/testsuite/d10v-elf/t-ae-st-ip.s
sim/testsuite/d10v-elf/t-ae-st-is.s
sim/testsuite/d10v-elf/t-ae-st2w-d.s
sim/testsuite/d10v-elf/t-ae-st2w-i.s
sim/testsuite/d10v-elf/t-ae-st2w-id.s
sim/testsuite/d10v-elf/t-ae-st2w-im.s
sim/testsuite/d10v-elf/t-ae-st2w-ip.s
sim/testsuite/d10v-elf/t-ae-st2w-is.s
sim/testsuite/d10v-elf/t-dbt.s
sim/testsuite/d10v-elf/t-ld-st.s
sim/testsuite/d10v-elf/t-mac.s
sim/testsuite/d10v-elf/t-macros.i
sim/testsuite/d10v-elf/t-mod-ld-pre.s
sim/testsuite/d10v-elf/t-msbu.s
sim/testsuite/d10v-elf/t-mulxu.s
sim/testsuite/d10v-elf/t-mvtac.s
sim/testsuite/d10v-elf/t-mvtc.s
sim/testsuite/d10v-elf/t-rac.s
sim/testsuite/d10v-elf/t-rachi.s
sim/testsuite/d10v-elf/t-rdt.s
sim/testsuite/d10v-elf/t-rep.s
sim/testsuite/d10v-elf/t-rie-xx.s
sim/testsuite/d10v-elf/t-rte.s
sim/testsuite/d10v-elf/t-sac.s
sim/testsuite/d10v-elf/t-sachi.s
sim/testsuite/d10v-elf/t-sadd.s
sim/testsuite/d10v-elf/t-slae.s
sim/testsuite/d10v-elf/t-sp.s
sim/testsuite/d10v-elf/t-sub.s
sim/testsuite/d10v-elf/t-sub2w.s
sim/testsuite/d10v-elf/t-subi.s
sim/testsuite/d10v-elf/t-trap.s
sim/testsuite/d30v-elf/ChangeLog
sim/testsuite/d30v-elf/Makefile.in
sim/testsuite/d30v-elf/br-bra.S
sim/testsuite/d30v-elf/br-bratnz.S
sim/testsuite/d30v-elf/br-bratzr.S
sim/testsuite/d30v-elf/br-bsr.S
sim/testsuite/d30v-elf/br-dbra.S
sim/testsuite/d30v-elf/br-djmp.S
sim/testsuite/d30v-elf/br-djsr.S
sim/testsuite/d30v-elf/configure
sim/testsuite/d30v-elf/configure.in
sim/testsuite/d30v-elf/do-2wordops.S
sim/testsuite/d30v-elf/do-flags.S
sim/testsuite/d30v-elf/do-shifts.S
sim/testsuite/d30v-elf/em-e0.S
sim/testsuite/d30v-elf/em-e47.S
sim/testsuite/d30v-elf/em-pchr.S
sim/testsuite/d30v-elf/em-pstr.S
sim/testsuite/d30v-elf/exit47.s
sim/testsuite/d30v-elf/hello.s
sim/testsuite/d30v-elf/loop.s
sim/testsuite/d30v-elf/ls-ld2h.S
sim/testsuite/d30v-elf/ls-ld2w.S
sim/testsuite/d30v-elf/ls-ld4bh.S
sim/testsuite/d30v-elf/ls-ld4bhu.S
sim/testsuite/d30v-elf/ls-ldb.S
sim/testsuite/d30v-elf/ls-ldbu.S
sim/testsuite/d30v-elf/ls-ldh.S
sim/testsuite/d30v-elf/ls-ldhh.S
sim/testsuite/d30v-elf/ls-ldhu.S
sim/testsuite/d30v-elf/ls-ldw.S
sim/testsuite/d30v-elf/ls-modaddr.S
sim/testsuite/d30v-elf/ls-moddec.S
sim/testsuite/d30v-elf/ls-modinc.S
sim/testsuite/d30v-elf/ls-st2h.S
sim/testsuite/d30v-elf/ls-st2w.S
sim/testsuite/d30v-elf/ls-st4hb.S
sim/testsuite/d30v-elf/ls-stb.S
sim/testsuite/d30v-elf/ls-sth.S
sim/testsuite/d30v-elf/ls-sthh.S
sim/testsuite/d30v-elf/ls-stw.S
sim/testsuite/d30v-elf/os-dbt.S
sim/testsuite/d30v-elf/tick.s
sim/testsuite/d30v-elf/trap.S
sim/testsuite/fr30-elf/ChangeLog
sim/testsuite/fr30-elf/Makefile.in
sim/testsuite/fr30-elf/configure
sim/testsuite/fr30-elf/configure.in
sim/testsuite/fr30-elf/exit47.s
sim/testsuite/fr30-elf/hello.s
sim/testsuite/fr30-elf/loop.s
sim/testsuite/lib/sim-defs.exp
sim/testsuite/m32r-elf/ChangeLog
sim/testsuite/m32r-elf/Makefile.in
sim/testsuite/m32r-elf/configure
sim/testsuite/m32r-elf/configure.in
sim/testsuite/m32r-elf/exit47.s
sim/testsuite/m32r-elf/hello.s
sim/testsuite/m32r-elf/loop.s
sim/testsuite/mips64el-elf/ChangeLog
sim/testsuite/mips64el-elf/Makefile.in
sim/testsuite/mips64el-elf/configure
sim/testsuite/mips64el-elf/configure.in
sim/testsuite/sim/fr30/add.cgs
sim/testsuite/sim/fr30/add.ms
sim/testsuite/sim/fr30/add2.cgs
sim/testsuite/sim/fr30/addc.cgs
sim/testsuite/sim/fr30/addn.cgs
sim/testsuite/sim/fr30/addn2.cgs
sim/testsuite/sim/fr30/addsp.cgs
sim/testsuite/sim/fr30/allinsn.exp
sim/testsuite/sim/fr30/and.cgs
sim/testsuite/sim/fr30/andb.cgs
sim/testsuite/sim/fr30/andccr.cgs
sim/testsuite/sim/fr30/andh.cgs
sim/testsuite/sim/fr30/asr.cgs
sim/testsuite/sim/fr30/asr2.cgs
sim/testsuite/sim/fr30/bandh.cgs
sim/testsuite/sim/fr30/bandl.cgs
sim/testsuite/sim/fr30/bc.cgs
sim/testsuite/sim/fr30/beorh.cgs
sim/testsuite/sim/fr30/beorl.cgs
sim/testsuite/sim/fr30/beq.cgs
sim/testsuite/sim/fr30/bge.cgs
sim/testsuite/sim/fr30/bgt.cgs
sim/testsuite/sim/fr30/bhi.cgs
sim/testsuite/sim/fr30/ble.cgs
sim/testsuite/sim/fr30/bls.cgs
sim/testsuite/sim/fr30/blt.cgs
sim/testsuite/sim/fr30/bn.cgs
sim/testsuite/sim/fr30/bnc.cgs
sim/testsuite/sim/fr30/bne.cgs
sim/testsuite/sim/fr30/bno.cgs
sim/testsuite/sim/fr30/bnv.cgs
sim/testsuite/sim/fr30/borh.cgs
sim/testsuite/sim/fr30/borl.cgs
sim/testsuite/sim/fr30/bp.cgs
sim/testsuite/sim/fr30/bra.cgs
sim/testsuite/sim/fr30/btsth.cgs
sim/testsuite/sim/fr30/btstl.cgs
sim/testsuite/sim/fr30/bv.cgs
sim/testsuite/sim/fr30/call.cgs
sim/testsuite/sim/fr30/cmp.cgs
sim/testsuite/sim/fr30/cmp2.cgs
sim/testsuite/sim/fr30/copld.cgs
sim/testsuite/sim/fr30/copop.cgs
sim/testsuite/sim/fr30/copst.cgs
sim/testsuite/sim/fr30/copsv.cgs
sim/testsuite/sim/fr30/div.ms
sim/testsuite/sim/fr30/div0s.cgs
sim/testsuite/sim/fr30/div0u.cgs
sim/testsuite/sim/fr30/div1.cgs
sim/testsuite/sim/fr30/div2.cgs
sim/testsuite/sim/fr30/div3.cgs
sim/testsuite/sim/fr30/div4s.cgs
sim/testsuite/sim/fr30/dmov.cgs
sim/testsuite/sim/fr30/dmovb.cgs
sim/testsuite/sim/fr30/dmovh.cgs
sim/testsuite/sim/fr30/enter.cgs
sim/testsuite/sim/fr30/eor.cgs
sim/testsuite/sim/fr30/eorb.cgs
sim/testsuite/sim/fr30/eorh.cgs
sim/testsuite/sim/fr30/extsb.cgs
sim/testsuite/sim/fr30/extsh.cgs
sim/testsuite/sim/fr30/extub.cgs
sim/testsuite/sim/fr30/extuh.cgs
sim/testsuite/sim/fr30/hello.ms
sim/testsuite/sim/fr30/int.cgs
sim/testsuite/sim/fr30/inte.cgs
sim/testsuite/sim/fr30/jmp.cgs
sim/testsuite/sim/fr30/ld.cgs
sim/testsuite/sim/fr30/ldi20.cgs
sim/testsuite/sim/fr30/ldi32.cgs
sim/testsuite/sim/fr30/ldi8.cgs
sim/testsuite/sim/fr30/ldm0.cgs
sim/testsuite/sim/fr30/ldm1.cgs
sim/testsuite/sim/fr30/ldres.cgs
sim/testsuite/sim/fr30/ldub.cgs
sim/testsuite/sim/fr30/lduh.cgs
sim/testsuite/sim/fr30/leave.cgs
sim/testsuite/sim/fr30/lsl.cgs
sim/testsuite/sim/fr30/lsl2.cgs
sim/testsuite/sim/fr30/lsr.cgs
sim/testsuite/sim/fr30/lsr2.cgs
sim/testsuite/sim/fr30/misc.exp
sim/testsuite/sim/fr30/mov.cgs
sim/testsuite/sim/fr30/mul.cgs
sim/testsuite/sim/fr30/mulh.cgs
sim/testsuite/sim/fr30/mulu.cgs
sim/testsuite/sim/fr30/muluh.cgs
sim/testsuite/sim/fr30/nop.cgs
sim/testsuite/sim/fr30/or.cgs
sim/testsuite/sim/fr30/orb.cgs
sim/testsuite/sim/fr30/orccr.cgs
sim/testsuite/sim/fr30/orh.cgs
sim/testsuite/sim/fr30/ret.cgs
sim/testsuite/sim/fr30/reti.cgs
sim/testsuite/sim/fr30/st.cgs
sim/testsuite/sim/fr30/stb.cgs
sim/testsuite/sim/fr30/sth.cgs
sim/testsuite/sim/fr30/stilm.cgs
sim/testsuite/sim/fr30/stm0.cgs
sim/testsuite/sim/fr30/stm1.cgs
sim/testsuite/sim/fr30/stres.cgs
sim/testsuite/sim/fr30/sub.cgs
sim/testsuite/sim/fr30/subc.cgs
sim/testsuite/sim/fr30/subn.cgs
sim/testsuite/sim/fr30/testutils.inc
sim/testsuite/sim/fr30/xchb.cgs
sim/testsuite/sim/m32r/add.cgs
sim/testsuite/sim/m32r/add3.cgs
sim/testsuite/sim/m32r/addi.cgs
sim/testsuite/sim/m32r/addv.cgs
sim/testsuite/sim/m32r/addv3.cgs
sim/testsuite/sim/m32r/addx.cgs
sim/testsuite/sim/m32r/allinsn.exp
sim/testsuite/sim/m32r/and.cgs
sim/testsuite/sim/m32r/and3.cgs
sim/testsuite/sim/m32r/bc24.cgs
sim/testsuite/sim/m32r/bc8.cgs
sim/testsuite/sim/m32r/beq.cgs
sim/testsuite/sim/m32r/beqz.cgs
sim/testsuite/sim/m32r/bgez.cgs
sim/testsuite/sim/m32r/bgtz.cgs
sim/testsuite/sim/m32r/bl24.cgs
sim/testsuite/sim/m32r/bl8.cgs
sim/testsuite/sim/m32r/blez.cgs
sim/testsuite/sim/m32r/bltz.cgs
sim/testsuite/sim/m32r/bnc24.cgs
sim/testsuite/sim/m32r/bnc8.cgs
sim/testsuite/sim/m32r/bne.cgs
sim/testsuite/sim/m32r/bnez.cgs
sim/testsuite/sim/m32r/bra24.cgs
sim/testsuite/sim/m32r/bra8.cgs
sim/testsuite/sim/m32r/cmp.cgs
sim/testsuite/sim/m32r/cmpi.cgs
sim/testsuite/sim/m32r/cmpu.cgs
sim/testsuite/sim/m32r/cmpui.cgs
sim/testsuite/sim/m32r/div.cgs
sim/testsuite/sim/m32r/divu.cgs
sim/testsuite/sim/m32r/hello.ms
sim/testsuite/sim/m32r/hw-trap.ms
sim/testsuite/sim/m32r/jl.cgs
sim/testsuite/sim/m32r/jmp.cgs
sim/testsuite/sim/m32r/ld-d.cgs
sim/testsuite/sim/m32r/ld-plus.cgs
sim/testsuite/sim/m32r/ld.cgs
sim/testsuite/sim/m32r/ld24.cgs
sim/testsuite/sim/m32r/ldb-d.cgs
sim/testsuite/sim/m32r/ldb.cgs
sim/testsuite/sim/m32r/ldh-d.cgs
sim/testsuite/sim/m32r/ldh.cgs
sim/testsuite/sim/m32r/ldi16.cgs
sim/testsuite/sim/m32r/ldi8.cgs
sim/testsuite/sim/m32r/ldub-d.cgs
sim/testsuite/sim/m32r/ldub.cgs
sim/testsuite/sim/m32r/lduh-d.cgs
sim/testsuite/sim/m32r/lduh.cgs
sim/testsuite/sim/m32r/lock.cgs
sim/testsuite/sim/m32r/machi.cgs
sim/testsuite/sim/m32r/maclo.cgs
sim/testsuite/sim/m32r/macwhi.cgs
sim/testsuite/sim/m32r/macwlo.cgs
sim/testsuite/sim/m32r/misc.exp
sim/testsuite/sim/m32r/mul.cgs
sim/testsuite/sim/m32r/mulhi.cgs
sim/testsuite/sim/m32r/mullo.cgs
sim/testsuite/sim/m32r/mulwhi.cgs
sim/testsuite/sim/m32r/mulwlo.cgs
sim/testsuite/sim/m32r/mv.cgs
sim/testsuite/sim/m32r/mvfachi.cgs
sim/testsuite/sim/m32r/mvfaclo.cgs
sim/testsuite/sim/m32r/mvfacmi.cgs
sim/testsuite/sim/m32r/mvfc.cgs
sim/testsuite/sim/m32r/mvtachi.cgs
sim/testsuite/sim/m32r/mvtaclo.cgs
sim/testsuite/sim/m32r/mvtc.cgs
sim/testsuite/sim/m32r/neg.cgs
sim/testsuite/sim/m32r/nop.cgs
sim/testsuite/sim/m32r/not.cgs
sim/testsuite/sim/m32r/or.cgs
sim/testsuite/sim/m32r/or3.cgs
sim/testsuite/sim/m32r/rac.cgs
sim/testsuite/sim/m32r/rach.cgs
sim/testsuite/sim/m32r/rem.cgs
sim/testsuite/sim/m32r/remu.cgs
sim/testsuite/sim/m32r/rte.cgs
sim/testsuite/sim/m32r/seth.cgs
sim/testsuite/sim/m32r/sll.cgs
sim/testsuite/sim/m32r/sll3.cgs
sim/testsuite/sim/m32r/slli.cgs
sim/testsuite/sim/m32r/sra.cgs
sim/testsuite/sim/m32r/sra3.cgs
sim/testsuite/sim/m32r/srai.cgs
sim/testsuite/sim/m32r/srl.cgs
sim/testsuite/sim/m32r/srl3.cgs
sim/testsuite/sim/m32r/srli.cgs
sim/testsuite/sim/m32r/st-d.cgs
sim/testsuite/sim/m32r/st-minus.cgs
sim/testsuite/sim/m32r/st-plus.cgs
sim/testsuite/sim/m32r/st.cgs
sim/testsuite/sim/m32r/stb-d.cgs
sim/testsuite/sim/m32r/stb.cgs
sim/testsuite/sim/m32r/sth-d.cgs
sim/testsuite/sim/m32r/sth.cgs
sim/testsuite/sim/m32r/sub.cgs
sim/testsuite/sim/m32r/subv.cgs
sim/testsuite/sim/m32r/subx.cgs
sim/testsuite/sim/m32r/testutils.inc
sim/testsuite/sim/m32r/trap.cgs
sim/testsuite/sim/m32r/unlock.cgs
sim/testsuite/sim/m32r/uread16.ms
sim/testsuite/sim/m32r/uread32.ms
sim/testsuite/sim/m32r/uwrite16.ms
sim/testsuite/sim/m32r/uwrite32.ms
sim/testsuite/sim/m32r/xor.cgs
sim/testsuite/sim/m32r/xor3.cgs
sim/v850/ChangeLog
sim/v850/Makefile.in
sim/v850/acconfig.h
sim/v850/config.in
sim/v850/configure
sim/v850/configure.in
sim/v850/interp.c
sim/v850/sim-main.h
sim/v850/simops.c
sim/v850/simops.h
sim/v850/v850-dc
sim/v850/v850.igen
sim/v850/v850_sim.h
sim/z8k/ChangeLog
sim/z8k/Makefile.in
sim/z8k/acconfig.h
sim/z8k/comped1.c
sim/z8k/comped2.c
sim/z8k/comped3.c
sim/z8k/compedb3.c
sim/z8k/config.in
sim/z8k/configure
sim/z8k/configure.in
sim/z8k/iface.c
sim/z8k/inlines.h
sim/z8k/mem.c
sim/z8k/mem.h
sim/z8k/quick.c
sim/z8k/sim.h
sim/z8k/support.c
sim/z8k/syscall.h
sim/z8k/tconfig.in
sim/z8k/tm.h
sim/z8k/writecode.c
texinfo/texinfo.tex
Diffstat (limited to 'gdb/dwarfread.c')
-rw-r--r-- | gdb/dwarfread.c | 3788 |
1 files changed, 0 insertions, 3788 deletions
diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c deleted file mode 100644 index 9c4201d..0000000 --- a/gdb/dwarfread.c +++ /dev/null @@ -1,3788 +0,0 @@ -/* DWARF debugging format support for GDB. - Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001, 2002 - Free Software Foundation, Inc. - Written by Fred Fish at Cygnus Support. Portions based on dbxread.c, - mipsread.c, coffread.c, and dwarfread.c from a Data General SVR4 gdb port. - - This file is part of GDB. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -/* - - FIXME: Do we need to generate dependencies in partial symtabs? - (Perhaps we don't need to). - - FIXME: Resolve minor differences between what information we put in the - partial symbol table and what dbxread puts in. For example, we don't yet - put enum constants there. And dbxread seems to invent a lot of typedefs - we never see. Use the new printpsym command to see the partial symbol table - contents. - - FIXME: Figure out a better way to tell gdb about the name of the function - contain the user's entry point (I.E. main()) - - FIXME: See other FIXME's and "ifdef 0" scattered throughout the code for - other things to work on, if you get bored. :-) - - */ - -#include "defs.h" -#include "symtab.h" -#include "gdbtypes.h" -#include "symfile.h" -#include "objfiles.h" -#include "elf/dwarf.h" -#include "buildsym.h" -#include "demangle.h" -#include "expression.h" /* Needed for enum exp_opcode in language.h, sigh... */ -#include "language.h" -#include "complaints.h" - -#include <fcntl.h> -#include "gdb_string.h" - -/* Some macros to provide DIE info for complaints. */ - -#define DIE_ID (curdie!=NULL ? curdie->die_ref : 0) -#define DIE_NAME (curdie!=NULL && curdie->at_name!=NULL) ? curdie->at_name : "" - -/* Complaints that can be issued during DWARF debug info reading. */ - -struct complaint no_bfd_get_N = -{ - "DIE @ 0x%x \"%s\", no bfd support for %d byte data object", 0, 0 -}; - -struct complaint malformed_die = -{ - "DIE @ 0x%x \"%s\", malformed DIE, bad length (%d bytes)", 0, 0 -}; - -struct complaint bad_die_ref = -{ - "DIE @ 0x%x \"%s\", reference to DIE (0x%x) outside compilation unit", 0, 0 -}; - -struct complaint unknown_attribute_form = -{ - "DIE @ 0x%x \"%s\", unknown attribute form (0x%x)", 0, 0 -}; - -struct complaint unknown_attribute_length = -{ - "DIE @ 0x%x \"%s\", unknown attribute length, skipped remaining attributes", 0, 0 -}; - -struct complaint unexpected_fund_type = -{ - "DIE @ 0x%x \"%s\", unexpected fundamental type 0x%x", 0, 0 -}; - -struct complaint unknown_type_modifier = -{ - "DIE @ 0x%x \"%s\", unknown type modifier %u", 0, 0 -}; - -struct complaint volatile_ignored = -{ - "DIE @ 0x%x \"%s\", type modifier 'volatile' ignored", 0, 0 -}; - -struct complaint const_ignored = -{ - "DIE @ 0x%x \"%s\", type modifier 'const' ignored", 0, 0 -}; - -struct complaint botched_modified_type = -{ - "DIE @ 0x%x \"%s\", botched modified type decoding (mtype 0x%x)", 0, 0 -}; - -struct complaint op_deref2 = -{ - "DIE @ 0x%x \"%s\", OP_DEREF2 address 0x%x not handled", 0, 0 -}; - -struct complaint op_deref4 = -{ - "DIE @ 0x%x \"%s\", OP_DEREF4 address 0x%x not handled", 0, 0 -}; - -struct complaint basereg_not_handled = -{ - "DIE @ 0x%x \"%s\", BASEREG %d not handled", 0, 0 -}; - -struct complaint dup_user_type_allocation = -{ - "DIE @ 0x%x \"%s\", internal error: duplicate user type allocation", 0, 0 -}; - -struct complaint dup_user_type_definition = -{ - "DIE @ 0x%x \"%s\", internal error: duplicate user type definition", 0, 0 -}; - -struct complaint missing_tag = -{ - "DIE @ 0x%x \"%s\", missing class, structure, or union tag", 0, 0 -}; - -struct complaint bad_array_element_type = -{ - "DIE @ 0x%x \"%s\", bad array element type attribute 0x%x", 0, 0 -}; - -struct complaint subscript_data_items = -{ - "DIE @ 0x%x \"%s\", can't decode subscript data items", 0, 0 -}; - -struct complaint unhandled_array_subscript_format = -{ - "DIE @ 0x%x \"%s\", array subscript format 0x%x not handled yet", 0, 0 -}; - -struct complaint unknown_array_subscript_format = -{ - "DIE @ 0x%x \"%s\", unknown array subscript format %x", 0, 0 -}; - -struct complaint not_row_major = -{ - "DIE @ 0x%x \"%s\", array not row major; not handled correctly", 0, 0 -}; - -struct complaint missing_at_name = -{ - "DIE @ 0x%x, AT_name tag missing", 0, 0 -}; - -typedef unsigned int DIE_REF; /* Reference to a DIE */ - -#ifndef GCC_PRODUCER -#define GCC_PRODUCER "GNU C " -#endif - -#ifndef GPLUS_PRODUCER -#define GPLUS_PRODUCER "GNU C++ " -#endif - -#ifndef LCC_PRODUCER -#define LCC_PRODUCER "NCR C/C++" -#endif - -/* OBSOLETE #ifndef CHILL_PRODUCER */ -/* OBSOLETE #define CHILL_PRODUCER "GNU Chill " */ -/* OBSOLETE #endif */ - -/* Flags to target_to_host() that tell whether or not the data object is - expected to be signed. Used, for example, when fetching a signed - integer in the target environment which is used as a signed integer - in the host environment, and the two environments have different sized - ints. In this case, *somebody* has to sign extend the smaller sized - int. */ - -#define GET_UNSIGNED 0 /* No sign extension required */ -#define GET_SIGNED 1 /* Sign extension required */ - -/* Defines for things which are specified in the document "DWARF Debugging - Information Format" published by UNIX International, Programming Languages - SIG. These defines are based on revision 1.0.0, Jan 20, 1992. */ - -#define SIZEOF_DIE_LENGTH 4 -#define SIZEOF_DIE_TAG 2 -#define SIZEOF_ATTRIBUTE 2 -#define SIZEOF_FORMAT_SPECIFIER 1 -#define SIZEOF_FMT_FT 2 -#define SIZEOF_LINETBL_LENGTH 4 -#define SIZEOF_LINETBL_LINENO 4 -#define SIZEOF_LINETBL_STMT 2 -#define SIZEOF_LINETBL_DELTA 4 -#define SIZEOF_LOC_ATOM_CODE 1 - -#define FORM_FROM_ATTR(attr) ((attr) & 0xF) /* Implicitly specified */ - -/* Macros that return the sizes of various types of data in the target - environment. - - FIXME: Currently these are just compile time constants (as they are in - other parts of gdb as well). They need to be able to get the right size - either from the bfd or possibly from the DWARF info. It would be nice if - the DWARF producer inserted DIES that describe the fundamental types in - the target environment into the DWARF info, similar to the way dbx stabs - producers produce information about their fundamental types. */ - -#define TARGET_FT_POINTER_SIZE(objfile) (TARGET_PTR_BIT / TARGET_CHAR_BIT) -#define TARGET_FT_LONG_SIZE(objfile) (TARGET_LONG_BIT / TARGET_CHAR_BIT) - -/* The Amiga SVR4 header file <dwarf.h> defines AT_element_list as a - FORM_BLOCK2, and this is the value emitted by the AT&T compiler. - However, the Issue 2 DWARF specification from AT&T defines it as - a FORM_BLOCK4, as does the latest specification from UI/PLSIG. - For backwards compatibility with the AT&T compiler produced executables - we define AT_short_element_list for this variant. */ - -#define AT_short_element_list (0x00f0|FORM_BLOCK2) - -/* The DWARF debugging information consists of two major pieces, - one is a block of DWARF Information Entries (DIE's) and the other - is a line number table. The "struct dieinfo" structure contains - the information for a single DIE, the one currently being processed. - - In order to make it easier to randomly access the attribute fields - of the current DIE, which are specifically unordered within the DIE, - each DIE is scanned and an instance of the "struct dieinfo" - structure is initialized. - - Initialization is done in two levels. The first, done by basicdieinfo(), - just initializes those fields that are vital to deciding whether or not - to use this DIE, how to skip past it, etc. The second, done by the - function completedieinfo(), fills in the rest of the information. - - Attributes which have block forms are not interpreted at the time - the DIE is scanned, instead we just save pointers to the start - of their value fields. - - Some fields have a flag <name>_p that is set when the value of the - field is valid (I.E. we found a matching attribute in the DIE). Since - we may want to test for the presence of some attributes in the DIE, - such as AT_low_pc, without restricting the values of the field, - we need someway to note that we found such an attribute. - - */ - -typedef char BLOCK; - -struct dieinfo - { - char *die; /* Pointer to the raw DIE data */ - unsigned long die_length; /* Length of the raw DIE data */ - DIE_REF die_ref; /* Offset of this DIE */ - unsigned short die_tag; /* Tag for this DIE */ - unsigned long at_padding; - unsigned long at_sibling; - BLOCK *at_location; - char *at_name; - unsigned short at_fund_type; - BLOCK *at_mod_fund_type; - unsigned long at_user_def_type; - BLOCK *at_mod_u_d_type; - unsigned short at_ordering; - BLOCK *at_subscr_data; - unsigned long at_byte_size; - unsigned short at_bit_offset; - unsigned long at_bit_size; - BLOCK *at_element_list; - unsigned long at_stmt_list; - CORE_ADDR at_low_pc; - CORE_ADDR at_high_pc; - unsigned long at_language; - unsigned long at_member; - unsigned long at_discr; - BLOCK *at_discr_value; - BLOCK *at_string_length; - char *at_comp_dir; - char *at_producer; - unsigned long at_start_scope; - unsigned long at_stride_size; - unsigned long at_src_info; - char *at_prototyped; - unsigned int has_at_low_pc:1; - unsigned int has_at_stmt_list:1; - unsigned int has_at_byte_size:1; - unsigned int short_element_list:1; - - /* Kludge to identify register variables */ - - unsigned int isreg; - - /* Kludge to identify optimized out variables */ - - unsigned int optimized_out; - - /* Kludge to identify basereg references. - Nonzero if we have an offset relative to a basereg. */ - - unsigned int offreg; - - /* Kludge to identify which base register is it relative to. */ - - unsigned int basereg; - }; - -static int diecount; /* Approximate count of dies for compilation unit */ -static struct dieinfo *curdie; /* For warnings and such */ - -static char *dbbase; /* Base pointer to dwarf info */ -static int dbsize; /* Size of dwarf info in bytes */ -static int dbroff; /* Relative offset from start of .debug section */ -static char *lnbase; /* Base pointer to line section */ - -/* This value is added to each symbol value. FIXME: Generalize to - the section_offsets structure used by dbxread (once this is done, - pass the appropriate section number to end_symtab). */ -static CORE_ADDR baseaddr; /* Add to each symbol value */ - -/* The section offsets used in the current psymtab or symtab. FIXME, - only used to pass one value (baseaddr) at the moment. */ -static struct section_offsets *base_section_offsets; - -/* We put a pointer to this structure in the read_symtab_private field - of the psymtab. */ - -struct dwfinfo - { - /* Always the absolute file offset to the start of the ".debug" - section for the file containing the DIE's being accessed. */ - file_ptr dbfoff; - /* Relative offset from the start of the ".debug" section to the - first DIE to be accessed. When building the partial symbol - table, this value will be zero since we are accessing the - entire ".debug" section. When expanding a partial symbol - table entry, this value will be the offset to the first - DIE for the compilation unit containing the symbol that - triggers the expansion. */ - int dbroff; - /* The size of the chunk of DIE's being examined, in bytes. */ - int dblength; - /* The absolute file offset to the line table fragment. Ignored - when building partial symbol tables, but used when expanding - them, and contains the absolute file offset to the fragment - of the ".line" section containing the line numbers for the - current compilation unit. */ - file_ptr lnfoff; - }; - -#define DBFOFF(p) (((struct dwfinfo *)((p)->read_symtab_private))->dbfoff) -#define DBROFF(p) (((struct dwfinfo *)((p)->read_symtab_private))->dbroff) -#define DBLENGTH(p) (((struct dwfinfo *)((p)->read_symtab_private))->dblength) -#define LNFOFF(p) (((struct dwfinfo *)((p)->read_symtab_private))->lnfoff) - -/* The generic symbol table building routines have separate lists for - file scope symbols and all all other scopes (local scopes). So - we need to select the right one to pass to add_symbol_to_list(). - We do it by keeping a pointer to the correct list in list_in_scope. - - FIXME: The original dwarf code just treated the file scope as the first - local scope, and all other local scopes as nested local scopes, and worked - fine. Check to see if we really need to distinguish these in buildsym.c */ - -struct pending **list_in_scope = &file_symbols; - -/* DIES which have user defined types or modified user defined types refer to - other DIES for the type information. Thus we need to associate the offset - of a DIE for a user defined type with a pointer to the type information. - - Originally this was done using a simple but expensive algorithm, with an - array of unsorted structures, each containing an offset/type-pointer pair. - This array was scanned linearly each time a lookup was done. The result - was that gdb was spending over half it's startup time munging through this - array of pointers looking for a structure that had the right offset member. - - The second attempt used the same array of structures, but the array was - sorted using qsort each time a new offset/type was recorded, and a binary - search was used to find the type pointer for a given DIE offset. This was - even slower, due to the overhead of sorting the array each time a new - offset/type pair was entered. - - The third attempt uses a fixed size array of type pointers, indexed by a - value derived from the DIE offset. Since the minimum DIE size is 4 bytes, - we can divide any DIE offset by 4 to obtain a unique index into this fixed - size array. Since each element is a 4 byte pointer, it takes exactly as - much memory to hold this array as to hold the DWARF info for a given - compilation unit. But it gets freed as soon as we are done with it. - This has worked well in practice, as a reasonable tradeoff between memory - consumption and speed, without having to resort to much more complicated - algorithms. */ - -static struct type **utypes; /* Pointer to array of user type pointers */ -static int numutypes; /* Max number of user type pointers */ - -/* Maintain an array of referenced fundamental types for the current - compilation unit being read. For DWARF version 1, we have to construct - the fundamental types on the fly, since no information about the - fundamental types is supplied. Each such fundamental type is created by - calling a language dependent routine to create the type, and then a - pointer to that type is then placed in the array at the index specified - by it's FT_<TYPENAME> value. The array has a fixed size set by the - FT_NUM_MEMBERS compile time constant, which is the number of predefined - fundamental types gdb knows how to construct. */ - -static struct type *ftypes[FT_NUM_MEMBERS]; /* Fundamental types */ - -/* Record the language for the compilation unit which is currently being - processed. We know it once we have seen the TAG_compile_unit DIE, - and we need it while processing the DIE's for that compilation unit. - It is eventually saved in the symtab structure, but we don't finalize - the symtab struct until we have processed all the DIE's for the - compilation unit. We also need to get and save a pointer to the - language struct for this language, so we can call the language - dependent routines for doing things such as creating fundamental - types. */ - -static enum language cu_language; -static const struct language_defn *cu_language_defn; - -/* Forward declarations of static functions so we don't have to worry - about ordering within this file. */ - -static void free_utypes (PTR); - -static int attribute_size (unsigned int); - -static CORE_ADDR target_to_host (char *, int, int, struct objfile *); - -static void add_enum_psymbol (struct dieinfo *, struct objfile *); - -static void handle_producer (char *); - -static void -read_file_scope (struct dieinfo *, char *, char *, struct objfile *); - -static void -read_func_scope (struct dieinfo *, char *, char *, struct objfile *); - -static void -read_lexical_block_scope (struct dieinfo *, char *, char *, struct objfile *); - -static void scan_partial_symbols (char *, char *, struct objfile *); - -static void -scan_compilation_units (char *, char *, file_ptr, file_ptr, struct objfile *); - -static void add_partial_symbol (struct dieinfo *, struct objfile *); - -static void basicdieinfo (struct dieinfo *, char *, struct objfile *); - -static void completedieinfo (struct dieinfo *, struct objfile *); - -static void dwarf_psymtab_to_symtab (struct partial_symtab *); - -static void psymtab_to_symtab_1 (struct partial_symtab *); - -static void read_ofile_symtab (struct partial_symtab *); - -static void process_dies (char *, char *, struct objfile *); - -static void -read_structure_scope (struct dieinfo *, char *, char *, struct objfile *); - -static struct type *decode_array_element_type (char *); - -static struct type *decode_subscript_data_item (char *, char *); - -static void dwarf_read_array_type (struct dieinfo *); - -static void read_tag_pointer_type (struct dieinfo *dip); - -static void read_tag_string_type (struct dieinfo *dip); - -static void read_subroutine_type (struct dieinfo *, char *, char *); - -static void -read_enumeration (struct dieinfo *, char *, char *, struct objfile *); - -static struct type *struct_type (struct dieinfo *, char *, char *, - struct objfile *); - -static struct type *enum_type (struct dieinfo *, struct objfile *); - -static void decode_line_numbers (char *); - -static struct type *decode_die_type (struct dieinfo *); - -static struct type *decode_mod_fund_type (char *); - -static struct type *decode_mod_u_d_type (char *); - -static struct type *decode_modified_type (char *, unsigned int, int); - -static struct type *decode_fund_type (unsigned int); - -static char *create_name (char *, struct obstack *); - -static struct type *lookup_utype (DIE_REF); - -static struct type *alloc_utype (DIE_REF, struct type *); - -static struct symbol *new_symbol (struct dieinfo *, struct objfile *); - -static void -synthesize_typedef (struct dieinfo *, struct objfile *, struct type *); - -static int locval (struct dieinfo *); - -static void set_cu_language (struct dieinfo *); - -static struct type *dwarf_fundamental_type (struct objfile *, int); - - -/* - - LOCAL FUNCTION - - dwarf_fundamental_type -- lookup or create a fundamental type - - SYNOPSIS - - struct type * - dwarf_fundamental_type (struct objfile *objfile, int typeid) - - DESCRIPTION - - DWARF version 1 doesn't supply any fundamental type information, - so gdb has to construct such types. It has a fixed number of - fundamental types that it knows how to construct, which is the - union of all types that it knows how to construct for all languages - that it knows about. These are enumerated in gdbtypes.h. - - As an example, assume we find a DIE that references a DWARF - fundamental type of FT_integer. We first look in the ftypes - array to see if we already have such a type, indexed by the - gdb internal value of FT_INTEGER. If so, we simply return a - pointer to that type. If not, then we ask an appropriate - language dependent routine to create a type FT_INTEGER, using - defaults reasonable for the current target machine, and install - that type in ftypes for future reference. - - RETURNS - - Pointer to a fundamental type. - - */ - -static struct type * -dwarf_fundamental_type (struct objfile *objfile, int typeid) -{ - if (typeid < 0 || typeid >= FT_NUM_MEMBERS) - { - error ("internal error - invalid fundamental type id %d", typeid); - } - - /* Look for this particular type in the fundamental type vector. If one is - not found, create and install one appropriate for the current language - and the current target machine. */ - - if (ftypes[typeid] == NULL) - { - ftypes[typeid] = cu_language_defn->la_fund_type (objfile, typeid); - } - - return (ftypes[typeid]); -} - -/* - - LOCAL FUNCTION - - set_cu_language -- set local copy of language for compilation unit - - SYNOPSIS - - void - set_cu_language (struct dieinfo *dip) - - DESCRIPTION - - Decode the language attribute for a compilation unit DIE and - remember what the language was. We use this at various times - when processing DIE's for a given compilation unit. - - RETURNS - - No return value. - - */ - -static void -set_cu_language (struct dieinfo *dip) -{ - switch (dip->at_language) - { - case LANG_C89: - case LANG_C: - cu_language = language_c; - break; - case LANG_C_PLUS_PLUS: - cu_language = language_cplus; - break; - /* OBSOLETE case LANG_CHILL: */ - /* OBSOLETE cu_language = language_chill; */ - /* OBSOLETE break; */ - case LANG_MODULA2: - cu_language = language_m2; - break; - case LANG_FORTRAN77: - case LANG_FORTRAN90: - cu_language = language_fortran; - break; - case LANG_ADA83: - case LANG_COBOL74: - case LANG_COBOL85: - case LANG_PASCAL83: - /* We don't know anything special about these yet. */ - cu_language = language_unknown; - break; - default: - /* If no at_language, try to deduce one from the filename */ - cu_language = deduce_language_from_filename (dip->at_name); - break; - } - cu_language_defn = language_def (cu_language); -} - -/* - - GLOBAL FUNCTION - - dwarf_build_psymtabs -- build partial symtabs from DWARF debug info - - SYNOPSIS - - void dwarf_build_psymtabs (struct objfile *objfile, - int mainline, file_ptr dbfoff, unsigned int dbfsize, - file_ptr lnoffset, unsigned int lnsize) - - DESCRIPTION - - This function is called upon to build partial symtabs from files - containing DIE's (Dwarf Information Entries) and DWARF line numbers. - - It is passed a bfd* containing the DIES - and line number information, the corresponding filename for that - file, a base address for relocating the symbols, a flag indicating - whether or not this debugging information is from a "main symbol - table" rather than a shared library or dynamically linked file, - and file offset/size pairs for the DIE information and line number - information. - - RETURNS - - No return value. - - */ - -void -dwarf_build_psymtabs (struct objfile *objfile, int mainline, file_ptr dbfoff, - unsigned int dbfsize, file_ptr lnoffset, - unsigned int lnsize) -{ - bfd *abfd = objfile->obfd; - struct cleanup *back_to; - - current_objfile = objfile; - dbsize = dbfsize; - dbbase = xmalloc (dbsize); - dbroff = 0; - if ((bfd_seek (abfd, dbfoff, SEEK_SET) != 0) || - (bfd_bread (dbbase, dbsize, abfd) != dbsize)) - { - xfree (dbbase); - error ("can't read DWARF data from '%s'", bfd_get_filename (abfd)); - } - back_to = make_cleanup (xfree, dbbase); - - /* If we are reinitializing, or if we have never loaded syms yet, init. - Since we have no idea how many DIES we are looking at, we just guess - some arbitrary value. */ - - if (mainline - || (objfile->global_psymbols.size == 0 - && objfile->static_psymbols.size == 0)) - { - init_psymbol_list (objfile, 1024); - } - - /* Save the relocation factor where everybody can see it. */ - - base_section_offsets = objfile->section_offsets; - baseaddr = ANOFFSET (objfile->section_offsets, 0); - - /* Follow the compilation unit sibling chain, building a partial symbol - table entry for each one. Save enough information about each compilation - unit to locate the full DWARF information later. */ - - scan_compilation_units (dbbase, dbbase + dbsize, dbfoff, lnoffset, objfile); - - do_cleanups (back_to); - current_objfile = NULL; -} - -/* - - LOCAL FUNCTION - - read_lexical_block_scope -- process all dies in a lexical block - - SYNOPSIS - - static void read_lexical_block_scope (struct dieinfo *dip, - char *thisdie, char *enddie) - - DESCRIPTION - - Process all the DIES contained within a lexical block scope. - Start a new scope, process the dies, and then close the scope. - - */ - -static void -read_lexical_block_scope (struct dieinfo *dip, char *thisdie, char *enddie, - struct objfile *objfile) -{ - register struct context_stack *new; - - push_context (0, dip->at_low_pc); - process_dies (thisdie + dip->die_length, enddie, objfile); - new = pop_context (); - if (local_symbols != NULL) - { - finish_block (0, &local_symbols, new->old_blocks, new->start_addr, - dip->at_high_pc, objfile); - } - local_symbols = new->locals; -} - -/* - - LOCAL FUNCTION - - lookup_utype -- look up a user defined type from die reference - - SYNOPSIS - - static type *lookup_utype (DIE_REF die_ref) - - DESCRIPTION - - Given a DIE reference, lookup the user defined type associated with - that DIE, if it has been registered already. If not registered, then - return NULL. Alloc_utype() can be called to register an empty - type for this reference, which will be filled in later when the - actual referenced DIE is processed. - */ - -static struct type * -lookup_utype (DIE_REF die_ref) -{ - struct type *type = NULL; - int utypeidx; - - utypeidx = (die_ref - dbroff) / 4; - if ((utypeidx < 0) || (utypeidx >= numutypes)) - { - complain (&bad_die_ref, DIE_ID, DIE_NAME); - } - else - { - type = *(utypes + utypeidx); - } - return (type); -} - - -/* - - LOCAL FUNCTION - - alloc_utype -- add a user defined type for die reference - - SYNOPSIS - - static type *alloc_utype (DIE_REF die_ref, struct type *utypep) - - DESCRIPTION - - Given a die reference DIE_REF, and a possible pointer to a user - defined type UTYPEP, register that this reference has a user - defined type and either use the specified type in UTYPEP or - make a new empty type that will be filled in later. - - We should only be called after calling lookup_utype() to verify that - there is not currently a type registered for DIE_REF. - */ - -static struct type * -alloc_utype (DIE_REF die_ref, struct type *utypep) -{ - struct type **typep; - int utypeidx; - - utypeidx = (die_ref - dbroff) / 4; - typep = utypes + utypeidx; - if ((utypeidx < 0) || (utypeidx >= numutypes)) - { - utypep = dwarf_fundamental_type (current_objfile, FT_INTEGER); - complain (&bad_die_ref, DIE_ID, DIE_NAME); - } - else if (*typep != NULL) - { - utypep = *typep; - complain (&dup_user_type_allocation, DIE_ID, DIE_NAME); - } - else - { - if (utypep == NULL) - { - utypep = alloc_type (current_objfile); - } - *typep = utypep; - } - return (utypep); -} - -/* - - LOCAL FUNCTION - - free_utypes -- free the utypes array and reset pointer & count - - SYNOPSIS - - static void free_utypes (PTR dummy) - - DESCRIPTION - - Called via do_cleanups to free the utypes array, reset the pointer to NULL, - and set numutypes back to zero. This ensures that the utypes does not get - referenced after being freed. - */ - -static void -free_utypes (PTR dummy) -{ - xfree (utypes); - utypes = NULL; - numutypes = 0; -} - - -/* - - LOCAL FUNCTION - - decode_die_type -- return a type for a specified die - - SYNOPSIS - - static struct type *decode_die_type (struct dieinfo *dip) - - DESCRIPTION - - Given a pointer to a die information structure DIP, decode the - type of the die and return a pointer to the decoded type. All - dies without specific types default to type int. - */ - -static struct type * -decode_die_type (struct dieinfo *dip) -{ - struct type *type = NULL; - - if (dip->at_fund_type != 0) - { - type = decode_fund_type (dip->at_fund_type); - } - else if (dip->at_mod_fund_type != NULL) - { - type = decode_mod_fund_type (dip->at_mod_fund_type); - } - else if (dip->at_user_def_type) - { - if ((type = lookup_utype (dip->at_user_def_type)) == NULL) - { - type = alloc_utype (dip->at_user_def_type, NULL); - } - } - else if (dip->at_mod_u_d_type) - { - type = decode_mod_u_d_type (dip->at_mod_u_d_type); - } - else - { - type = dwarf_fundamental_type (current_objfile, FT_VOID); - } - return (type); -} - -/* - - LOCAL FUNCTION - - struct_type -- compute and return the type for a struct or union - - SYNOPSIS - - static struct type *struct_type (struct dieinfo *dip, char *thisdie, - char *enddie, struct objfile *objfile) - - DESCRIPTION - - Given pointer to a die information structure for a die which - defines a union or structure (and MUST define one or the other), - and pointers to the raw die data that define the range of dies which - define the members, compute and return the user defined type for the - structure or union. - */ - -static struct type * -struct_type (struct dieinfo *dip, char *thisdie, char *enddie, - struct objfile *objfile) -{ - struct type *type; - struct nextfield - { - struct nextfield *next; - struct field field; - }; - struct nextfield *list = NULL; - struct nextfield *new; - int nfields = 0; - int n; - struct dieinfo mbr; - char *nextdie; - int anonymous_size; - - if ((type = lookup_utype (dip->die_ref)) == NULL) - { - /* No forward references created an empty type, so install one now */ - type = alloc_utype (dip->die_ref, NULL); - } - INIT_CPLUS_SPECIFIC (type); - switch (dip->die_tag) - { - case TAG_class_type: - TYPE_CODE (type) = TYPE_CODE_CLASS; - break; - case TAG_structure_type: - TYPE_CODE (type) = TYPE_CODE_STRUCT; - break; - case TAG_union_type: - TYPE_CODE (type) = TYPE_CODE_UNION; - break; - default: - /* Should never happen */ - TYPE_CODE (type) = TYPE_CODE_UNDEF; - complain (&missing_tag, DIE_ID, DIE_NAME); - break; - } - /* Some compilers try to be helpful by inventing "fake" names for - anonymous enums, structures, and unions, like "~0fake" or ".0fake". - Thanks, but no thanks... */ - if (dip->at_name != NULL - && *dip->at_name != '~' - && *dip->at_name != '.') - { - TYPE_TAG_NAME (type) = obconcat (&objfile->type_obstack, - "", "", dip->at_name); - } - /* Use whatever size is known. Zero is a valid size. We might however - wish to check has_at_byte_size to make sure that some byte size was - given explicitly, but DWARF doesn't specify that explicit sizes of - zero have to present, so complaining about missing sizes should - probably not be the default. */ - TYPE_LENGTH (type) = dip->at_byte_size; - thisdie += dip->die_length; - while (thisdie < enddie) - { - basicdieinfo (&mbr, thisdie, objfile); - completedieinfo (&mbr, objfile); - if (mbr.die_length <= SIZEOF_DIE_LENGTH) - { - break; - } - else if (mbr.at_sibling != 0) - { - nextdie = dbbase + mbr.at_sibling - dbroff; - } - else - { - nextdie = thisdie + mbr.die_length; - } - switch (mbr.die_tag) - { - case TAG_member: - /* Get space to record the next field's data. */ - new = (struct nextfield *) alloca (sizeof (struct nextfield)); - new->next = list; - list = new; - /* Save the data. */ - list->field.name = - obsavestring (mbr.at_name, strlen (mbr.at_name), - &objfile->type_obstack); - FIELD_TYPE (list->field) = decode_die_type (&mbr); - FIELD_BITPOS (list->field) = 8 * locval (&mbr); - /* Handle bit fields. */ - FIELD_BITSIZE (list->field) = mbr.at_bit_size; - if (BITS_BIG_ENDIAN) - { - /* For big endian bits, the at_bit_offset gives the - additional bit offset from the MSB of the containing - anonymous object to the MSB of the field. We don't - have to do anything special since we don't need to - know the size of the anonymous object. */ - FIELD_BITPOS (list->field) += mbr.at_bit_offset; - } - else - { - /* For little endian bits, we need to have a non-zero - at_bit_size, so that we know we are in fact dealing - with a bitfield. Compute the bit offset to the MSB - of the anonymous object, subtract off the number of - bits from the MSB of the field to the MSB of the - object, and then subtract off the number of bits of - the field itself. The result is the bit offset of - the LSB of the field. */ - if (mbr.at_bit_size > 0) - { - if (mbr.has_at_byte_size) - { - /* The size of the anonymous object containing - the bit field is explicit, so use the - indicated size (in bytes). */ - anonymous_size = mbr.at_byte_size; - } - else - { - /* The size of the anonymous object containing - the bit field matches the size of an object - of the bit field's type. DWARF allows - at_byte_size to be left out in such cases, as - a debug information size optimization. */ - anonymous_size = TYPE_LENGTH (list->field.type); - } - FIELD_BITPOS (list->field) += - anonymous_size * 8 - mbr.at_bit_offset - mbr.at_bit_size; - } - } - nfields++; - break; - default: - process_dies (thisdie, nextdie, objfile); - break; - } - thisdie = nextdie; - } - /* Now create the vector of fields, and record how big it is. We may - not even have any fields, if this DIE was generated due to a reference - to an anonymous structure or union. In this case, TYPE_FLAG_STUB is - set, which clues gdb in to the fact that it needs to search elsewhere - for the full structure definition. */ - if (nfields == 0) - { - TYPE_FLAGS (type) |= TYPE_FLAG_STUB; - } - else - { - TYPE_NFIELDS (type) = nfields; - TYPE_FIELDS (type) = (struct field *) - TYPE_ALLOC (type, sizeof (struct field) * nfields); - /* Copy the saved-up fields into the field vector. */ - for (n = nfields; list; list = list->next) - { - TYPE_FIELD (type, --n) = list->field; - } - } - return (type); -} - -/* - - LOCAL FUNCTION - - read_structure_scope -- process all dies within struct or union - - SYNOPSIS - - static void read_structure_scope (struct dieinfo *dip, - char *thisdie, char *enddie, struct objfile *objfile) - - DESCRIPTION - - Called when we find the DIE that starts a structure or union - scope (definition) to process all dies that define the members - of the structure or union. DIP is a pointer to the die info - struct for the DIE that names the structure or union. - - NOTES - - Note that we need to call struct_type regardless of whether or not - the DIE has an at_name attribute, since it might be an anonymous - structure or union. This gets the type entered into our set of - user defined types. - - However, if the structure is incomplete (an opaque struct/union) - then suppress creating a symbol table entry for it since gdb only - wants to find the one with the complete definition. Note that if - it is complete, we just call new_symbol, which does it's own - checking about whether the struct/union is anonymous or not (and - suppresses creating a symbol table entry itself). - - */ - -static void -read_structure_scope (struct dieinfo *dip, char *thisdie, char *enddie, - struct objfile *objfile) -{ - struct type *type; - struct symbol *sym; - - type = struct_type (dip, thisdie, enddie, objfile); - if (!TYPE_STUB (type)) - { - sym = new_symbol (dip, objfile); - if (sym != NULL) - { - SYMBOL_TYPE (sym) = type; - if (cu_language == language_cplus) - { - synthesize_typedef (dip, objfile, type); - } - } - } -} - -/* - - LOCAL FUNCTION - - decode_array_element_type -- decode type of the array elements - - SYNOPSIS - - static struct type *decode_array_element_type (char *scan, char *end) - - DESCRIPTION - - As the last step in decoding the array subscript information for an - array DIE, we need to decode the type of the array elements. We are - passed a pointer to this last part of the subscript information and - must return the appropriate type. If the type attribute is not - recognized, just warn about the problem and return type int. - */ - -static struct type * -decode_array_element_type (char *scan) -{ - struct type *typep; - DIE_REF die_ref; - unsigned short attribute; - unsigned short fundtype; - int nbytes; - - attribute = target_to_host (scan, SIZEOF_ATTRIBUTE, GET_UNSIGNED, - current_objfile); - scan += SIZEOF_ATTRIBUTE; - if ((nbytes = attribute_size (attribute)) == -1) - { - complain (&bad_array_element_type, DIE_ID, DIE_NAME, attribute); - typep = dwarf_fundamental_type (current_objfile, FT_INTEGER); - } - else - { - switch (attribute) - { - case AT_fund_type: - fundtype = target_to_host (scan, nbytes, GET_UNSIGNED, - current_objfile); - typep = decode_fund_type (fundtype); - break; - case AT_mod_fund_type: - typep = decode_mod_fund_type (scan); - break; - case AT_user_def_type: - die_ref = target_to_host (scan, nbytes, GET_UNSIGNED, - current_objfile); - if ((typep = lookup_utype (die_ref)) == NULL) - { - typep = alloc_utype (die_ref, NULL); - } - break; - case AT_mod_u_d_type: - typep = decode_mod_u_d_type (scan); - break; - default: - complain (&bad_array_element_type, DIE_ID, DIE_NAME, attribute); - typep = dwarf_fundamental_type (current_objfile, FT_INTEGER); - break; - } - } - return (typep); -} - -/* - - LOCAL FUNCTION - - decode_subscript_data_item -- decode array subscript item - - SYNOPSIS - - static struct type * - decode_subscript_data_item (char *scan, char *end) - - DESCRIPTION - - The array subscripts and the data type of the elements of an - array are described by a list of data items, stored as a block - of contiguous bytes. There is a data item describing each array - dimension, and a final data item describing the element type. - The data items are ordered the same as their appearance in the - source (I.E. leftmost dimension first, next to leftmost second, - etc). - - The data items describing each array dimension consist of four - parts: (1) a format specifier, (2) type type of the subscript - index, (3) a description of the low bound of the array dimension, - and (4) a description of the high bound of the array dimension. - - The last data item is the description of the type of each of - the array elements. - - We are passed a pointer to the start of the block of bytes - containing the remaining data items, and a pointer to the first - byte past the data. This function recursively decodes the - remaining data items and returns a type. - - If we somehow fail to decode some data, we complain about it - and return a type "array of int". - - BUGS - FIXME: This code only implements the forms currently used - by the AT&T and GNU C compilers. - - The end pointer is supplied for error checking, maybe we should - use it for that... - */ - -static struct type * -decode_subscript_data_item (char *scan, char *end) -{ - struct type *typep = NULL; /* Array type we are building */ - struct type *nexttype; /* Type of each element (may be array) */ - struct type *indextype; /* Type of this index */ - struct type *rangetype; - unsigned int format; - unsigned short fundtype; - unsigned long lowbound; - unsigned long highbound; - int nbytes; - - format = target_to_host (scan, SIZEOF_FORMAT_SPECIFIER, GET_UNSIGNED, - current_objfile); - scan += SIZEOF_FORMAT_SPECIFIER; - switch (format) - { - case FMT_ET: - typep = decode_array_element_type (scan); - break; - case FMT_FT_C_C: - fundtype = target_to_host (scan, SIZEOF_FMT_FT, GET_UNSIGNED, - current_objfile); - indextype = decode_fund_type (fundtype); - scan += SIZEOF_FMT_FT; - nbytes = TARGET_FT_LONG_SIZE (current_objfile); - lowbound = target_to_host (scan, nbytes, GET_UNSIGNED, current_objfile); - scan += nbytes; - highbound = target_to_host (scan, nbytes, GET_UNSIGNED, current_objfile); - scan += nbytes; - nexttype = decode_subscript_data_item (scan, end); - if (nexttype == NULL) - { - /* Munged subscript data or other problem, fake it. */ - complain (&subscript_data_items, DIE_ID, DIE_NAME); - nexttype = dwarf_fundamental_type (current_objfile, FT_INTEGER); - } - rangetype = create_range_type ((struct type *) NULL, indextype, - lowbound, highbound); - typep = create_array_type ((struct type *) NULL, nexttype, rangetype); - break; - case FMT_FT_C_X: - case FMT_FT_X_C: - case FMT_FT_X_X: - case FMT_UT_C_C: - case FMT_UT_C_X: - case FMT_UT_X_C: - case FMT_UT_X_X: - complain (&unhandled_array_subscript_format, DIE_ID, DIE_NAME, format); - nexttype = dwarf_fundamental_type (current_objfile, FT_INTEGER); - rangetype = create_range_type ((struct type *) NULL, nexttype, 0, 0); - typep = create_array_type ((struct type *) NULL, nexttype, rangetype); - break; - default: - complain (&unknown_array_subscript_format, DIE_ID, DIE_NAME, format); - nexttype = dwarf_fundamental_type (current_objfile, FT_INTEGER); - rangetype = create_range_type ((struct type *) NULL, nexttype, 0, 0); - typep = create_array_type ((struct type *) NULL, nexttype, rangetype); - break; - } - return (typep); -} - -/* - - LOCAL FUNCTION - - dwarf_read_array_type -- read TAG_array_type DIE - - SYNOPSIS - - static void dwarf_read_array_type (struct dieinfo *dip) - - DESCRIPTION - - Extract all information from a TAG_array_type DIE and add to - the user defined type vector. - */ - -static void -dwarf_read_array_type (struct dieinfo *dip) -{ - struct type *type; - struct type *utype; - char *sub; - char *subend; - unsigned short blocksz; - int nbytes; - - if (dip->at_ordering != ORD_row_major) - { - /* FIXME: Can gdb even handle column major arrays? */ - complain (¬_row_major, DIE_ID, DIE_NAME); - } - if ((sub = dip->at_subscr_data) != NULL) - { - nbytes = attribute_size (AT_subscr_data); - blocksz = target_to_host (sub, nbytes, GET_UNSIGNED, current_objfile); - subend = sub + nbytes + blocksz; - sub += nbytes; - type = decode_subscript_data_item (sub, subend); - if ((utype = lookup_utype (dip->die_ref)) == NULL) - { - /* Install user defined type that has not been referenced yet. */ - alloc_utype (dip->die_ref, type); - } - else if (TYPE_CODE (utype) == TYPE_CODE_UNDEF) - { - /* Ick! A forward ref has already generated a blank type in our - slot, and this type probably already has things pointing to it - (which is what caused it to be created in the first place). - If it's just a place holder we can plop our fully defined type - on top of it. We can't recover the space allocated for our - new type since it might be on an obstack, but we could reuse - it if we kept a list of them, but it might not be worth it - (FIXME). */ - *utype = *type; - } - else - { - /* Double ick! Not only is a type already in our slot, but - someone has decorated it. Complain and leave it alone. */ - complain (&dup_user_type_definition, DIE_ID, DIE_NAME); - } - } -} - -/* - - LOCAL FUNCTION - - read_tag_pointer_type -- read TAG_pointer_type DIE - - SYNOPSIS - - static void read_tag_pointer_type (struct dieinfo *dip) - - DESCRIPTION - - Extract all information from a TAG_pointer_type DIE and add to - the user defined type vector. - */ - -static void -read_tag_pointer_type (struct dieinfo *dip) -{ - struct type *type; - struct type *utype; - - type = decode_die_type (dip); - if ((utype = lookup_utype (dip->die_ref)) == NULL) - { - utype = lookup_pointer_type (type); - alloc_utype (dip->die_ref, utype); - } - else - { - TYPE_TARGET_TYPE (utype) = type; - TYPE_POINTER_TYPE (type) = utype; - - /* We assume the machine has only one representation for pointers! */ - /* FIXME: Possably a poor assumption */ - TYPE_LENGTH (utype) = TARGET_PTR_BIT / TARGET_CHAR_BIT; - TYPE_CODE (utype) = TYPE_CODE_PTR; - } -} - -/* - - LOCAL FUNCTION - - read_tag_string_type -- read TAG_string_type DIE - - SYNOPSIS - - static void read_tag_string_type (struct dieinfo *dip) - - DESCRIPTION - - Extract all information from a TAG_string_type DIE and add to - the user defined type vector. It isn't really a user defined - type, but it behaves like one, with other DIE's using an - AT_user_def_type attribute to reference it. - */ - -static void -read_tag_string_type (struct dieinfo *dip) -{ - struct type *utype; - struct type *indextype; - struct type *rangetype; - unsigned long lowbound = 0; - unsigned long highbound; - - if (dip->has_at_byte_size) - { - /* A fixed bounds string */ - highbound = dip->at_byte_size - 1; - } - else - { - /* A varying length string. Stub for now. (FIXME) */ - highbound = 1; - } - indextype = dwarf_fundamental_type (current_objfile, FT_INTEGER); - rangetype = create_range_type ((struct type *) NULL, indextype, lowbound, - highbound); - - utype = lookup_utype (dip->die_ref); - if (utype == NULL) - { - /* No type defined, go ahead and create a blank one to use. */ - utype = alloc_utype (dip->die_ref, (struct type *) NULL); - } - else - { - /* Already a type in our slot due to a forward reference. Make sure it - is a blank one. If not, complain and leave it alone. */ - if (TYPE_CODE (utype) != TYPE_CODE_UNDEF) - { - complain (&dup_user_type_definition, DIE_ID, DIE_NAME); - return; - } - } - - /* Create the string type using the blank type we either found or created. */ - utype = create_string_type (utype, rangetype); -} - -/* - - LOCAL FUNCTION - - read_subroutine_type -- process TAG_subroutine_type dies - - SYNOPSIS - - static void read_subroutine_type (struct dieinfo *dip, char thisdie, - char *enddie) - - DESCRIPTION - - Handle DIES due to C code like: - - struct foo { - int (*funcp)(int a, long l); (Generates TAG_subroutine_type DIE) - int b; - }; - - NOTES - - The parameter DIES are currently ignored. See if gdb has a way to - include this info in it's type system, and decode them if so. Is - this what the type structure's "arg_types" field is for? (FIXME) - */ - -static void -read_subroutine_type (struct dieinfo *dip, char *thisdie, char *enddie) -{ - struct type *type; /* Type that this function returns */ - struct type *ftype; /* Function that returns above type */ - - /* Decode the type that this subroutine returns */ - - type = decode_die_type (dip); - - /* Check to see if we already have a partially constructed user - defined type for this DIE, from a forward reference. */ - - if ((ftype = lookup_utype (dip->die_ref)) == NULL) - { - /* This is the first reference to one of these types. Make - a new one and place it in the user defined types. */ - ftype = lookup_function_type (type); - alloc_utype (dip->die_ref, ftype); - } - else if (TYPE_CODE (ftype) == TYPE_CODE_UNDEF) - { - /* We have an existing partially constructed type, so bash it - into the correct type. */ - TYPE_TARGET_TYPE (ftype) = type; - TYPE_LENGTH (ftype) = 1; - TYPE_CODE (ftype) = TYPE_CODE_FUNC; - } - else - { - complain (&dup_user_type_definition, DIE_ID, DIE_NAME); - } -} - -/* - - LOCAL FUNCTION - - read_enumeration -- process dies which define an enumeration - - SYNOPSIS - - static void read_enumeration (struct dieinfo *dip, char *thisdie, - char *enddie, struct objfile *objfile) - - DESCRIPTION - - Given a pointer to a die which begins an enumeration, process all - the dies that define the members of the enumeration. - - NOTES - - Note that we need to call enum_type regardless of whether or not we - have a symbol, since we might have an enum without a tag name (thus - no symbol for the tagname). - */ - -static void -read_enumeration (struct dieinfo *dip, char *thisdie, char *enddie, - struct objfile *objfile) -{ - struct type *type; - struct symbol *sym; - - type = enum_type (dip, objfile); - sym = new_symbol (dip, objfile); - if (sym != NULL) - { - SYMBOL_TYPE (sym) = type; - if (cu_language == language_cplus) - { - synthesize_typedef (dip, objfile, type); - } - } -} - -/* - - LOCAL FUNCTION - - enum_type -- decode and return a type for an enumeration - - SYNOPSIS - - static type *enum_type (struct dieinfo *dip, struct objfile *objfile) - - DESCRIPTION - - Given a pointer to a die information structure for the die which - starts an enumeration, process all the dies that define the members - of the enumeration and return a type pointer for the enumeration. - - At the same time, for each member of the enumeration, create a - symbol for it with namespace VAR_NAMESPACE and class LOC_CONST, - and give it the type of the enumeration itself. - - NOTES - - Note that the DWARF specification explicitly mandates that enum - constants occur in reverse order from the source program order, - for "consistency" and because this ordering is easier for many - compilers to generate. (Draft 6, sec 3.8.5, Enumeration type - Entries). Because gdb wants to see the enum members in program - source order, we have to ensure that the order gets reversed while - we are processing them. - */ - -static struct type * -enum_type (struct dieinfo *dip, struct objfile *objfile) -{ - struct type *type; - struct nextfield - { - struct nextfield *next; - struct field field; - }; - struct nextfield *list = NULL; - struct nextfield *new; - int nfields = 0; - int n; - char *scan; - char *listend; - unsigned short blocksz; - struct symbol *sym; - int nbytes; - int unsigned_enum = 1; - - if ((type = lookup_utype (dip->die_ref)) == NULL) - { - /* No forward references created an empty type, so install one now */ - type = alloc_utype (dip->die_ref, NULL); - } - TYPE_CODE (type) = TYPE_CODE_ENUM; - /* Some compilers try to be helpful by inventing "fake" names for - anonymous enums, structures, and unions, like "~0fake" or ".0fake". - Thanks, but no thanks... */ - if (dip->at_name != NULL - && *dip->at_name != '~' - && *dip->at_name != '.') - { - TYPE_TAG_NAME (type) = obconcat (&objfile->type_obstack, - "", "", dip->at_name); - } - if (dip->at_byte_size != 0) - { - TYPE_LENGTH (type) = dip->at_byte_size; - } - if ((scan = dip->at_element_list) != NULL) - { - if (dip->short_element_list) - { - nbytes = attribute_size (AT_short_element_list); - } - else - { - nbytes = attribute_size (AT_element_list); - } - blocksz = target_to_host (scan, nbytes, GET_UNSIGNED, objfile); - listend = scan + nbytes + blocksz; - scan += nbytes; - while (scan < listend) - { - new = (struct nextfield *) alloca (sizeof (struct nextfield)); - new->next = list; - list = new; - FIELD_TYPE (list->field) = NULL; - FIELD_BITSIZE (list->field) = 0; - FIELD_BITPOS (list->field) = - target_to_host (scan, TARGET_FT_LONG_SIZE (objfile), GET_SIGNED, - objfile); - scan += TARGET_FT_LONG_SIZE (objfile); - list->field.name = obsavestring (scan, strlen (scan), - &objfile->type_obstack); - scan += strlen (scan) + 1; - nfields++; - /* Handcraft a new symbol for this enum member. */ - sym = (struct symbol *) obstack_alloc (&objfile->symbol_obstack, - sizeof (struct symbol)); - memset (sym, 0, sizeof (struct symbol)); - SYMBOL_NAME (sym) = create_name (list->field.name, - &objfile->symbol_obstack); - SYMBOL_INIT_LANGUAGE_SPECIFIC (sym, cu_language); - SYMBOL_NAMESPACE (sym) = VAR_NAMESPACE; - SYMBOL_CLASS (sym) = LOC_CONST; - SYMBOL_TYPE (sym) = type; - SYMBOL_VALUE (sym) = FIELD_BITPOS (list->field); - if (SYMBOL_VALUE (sym) < 0) - unsigned_enum = 0; - add_symbol_to_list (sym, list_in_scope); - } - /* Now create the vector of fields, and record how big it is. This is - where we reverse the order, by pulling the members off the list in - reverse order from how they were inserted. If we have no fields - (this is apparently possible in C++) then skip building a field - vector. */ - if (nfields > 0) - { - if (unsigned_enum) - TYPE_FLAGS (type) |= TYPE_FLAG_UNSIGNED; - TYPE_NFIELDS (type) = nfields; - TYPE_FIELDS (type) = (struct field *) - obstack_alloc (&objfile->symbol_obstack, sizeof (struct field) * nfields); - /* Copy the saved-up fields into the field vector. */ - for (n = 0; (n < nfields) && (list != NULL); list = list->next) - { - TYPE_FIELD (type, n++) = list->field; - } - } - } - return (type); -} - -/* - - LOCAL FUNCTION - - read_func_scope -- process all dies within a function scope - - DESCRIPTION - - Process all dies within a given function scope. We are passed - a die information structure pointer DIP for the die which - starts the function scope, and pointers into the raw die data - that define the dies within the function scope. - - For now, we ignore lexical block scopes within the function. - The problem is that AT&T cc does not define a DWARF lexical - block scope for the function itself, while gcc defines a - lexical block scope for the function. We need to think about - how to handle this difference, or if it is even a problem. - (FIXME) - */ - -static void -read_func_scope (struct dieinfo *dip, char *thisdie, char *enddie, - struct objfile *objfile) -{ - register struct context_stack *new; - - /* AT_name is absent if the function is described with an - AT_abstract_origin tag. - Ignore the function description for now to avoid GDB core dumps. - FIXME: Add code to handle AT_abstract_origin tags properly. */ - if (dip->at_name == NULL) - { - complain (&missing_at_name, DIE_ID); - return; - } - - if (objfile->ei.entry_point >= dip->at_low_pc && - objfile->ei.entry_point < dip->at_high_pc) - { - objfile->ei.entry_func_lowpc = dip->at_low_pc; - objfile->ei.entry_func_highpc = dip->at_high_pc; - } - new = push_context (0, dip->at_low_pc); - new->name = new_symbol (dip, objfile); - list_in_scope = &local_symbols; - process_dies (thisdie + dip->die_length, enddie, objfile); - new = pop_context (); - /* Make a block for the local symbols within. */ - finish_block (new->name, &local_symbols, new->old_blocks, - new->start_addr, dip->at_high_pc, objfile); - list_in_scope = &file_symbols; -} - - -/* - - LOCAL FUNCTION - - handle_producer -- process the AT_producer attribute - - DESCRIPTION - - Perform any operations that depend on finding a particular - AT_producer attribute. - - */ - -static void -handle_producer (char *producer) -{ - - /* If this compilation unit was compiled with g++ or gcc, then set the - processing_gcc_compilation flag. */ - - if (STREQN (producer, GCC_PRODUCER, strlen (GCC_PRODUCER))) - { - char version = producer[strlen (GCC_PRODUCER)]; - processing_gcc_compilation = (version == '2' ? 2 : 1); - } - else - { - processing_gcc_compilation = - STREQN (producer, GPLUS_PRODUCER, strlen (GPLUS_PRODUCER)); - /* OBSOLETE || STREQN (producer, CHILL_PRODUCER, strlen (CHILL_PRODUCER)); */ - } - - /* Select a demangling style if we can identify the producer and if - the current style is auto. We leave the current style alone if it - is not auto. We also leave the demangling style alone if we find a - gcc (cc1) producer, as opposed to a g++ (cc1plus) producer. */ - - if (AUTO_DEMANGLING) - { - if (STREQN (producer, GPLUS_PRODUCER, strlen (GPLUS_PRODUCER))) - { -#if 0 - /* For now, stay with AUTO_DEMANGLING for g++ output, as we don't - know whether it will use the old style or v3 mangling. */ - set_demangling_style (GNU_DEMANGLING_STYLE_STRING); -#endif - } - else if (STREQN (producer, LCC_PRODUCER, strlen (LCC_PRODUCER))) - { - set_demangling_style (LUCID_DEMANGLING_STYLE_STRING); - } - } -} - - -/* - - LOCAL FUNCTION - - read_file_scope -- process all dies within a file scope - - DESCRIPTION - - Process all dies within a given file scope. We are passed a - pointer to the die information structure for the die which - starts the file scope, and pointers into the raw die data which - mark the range of dies within the file scope. - - When the partial symbol table is built, the file offset for the line - number table for each compilation unit is saved in the partial symbol - table entry for that compilation unit. As the symbols for each - compilation unit are read, the line number table is read into memory - and the variable lnbase is set to point to it. Thus all we have to - do is use lnbase to access the line number table for the current - compilation unit. - */ - -static void -read_file_scope (struct dieinfo *dip, char *thisdie, char *enddie, - struct objfile *objfile) -{ - struct cleanup *back_to; - struct symtab *symtab; - - if (objfile->ei.entry_point >= dip->at_low_pc && - objfile->ei.entry_point < dip->at_high_pc) - { - objfile->ei.entry_file_lowpc = dip->at_low_pc; - objfile->ei.entry_file_highpc = dip->at_high_pc; - } - set_cu_language (dip); - if (dip->at_producer != NULL) - { - handle_producer (dip->at_producer); - } - numutypes = (enddie - thisdie) / 4; - utypes = (struct type **) xmalloc (numutypes * sizeof (struct type *)); - back_to = make_cleanup (free_utypes, NULL); - memset (utypes, 0, numutypes * sizeof (struct type *)); - memset (ftypes, 0, FT_NUM_MEMBERS * sizeof (struct type *)); - start_symtab (dip->at_name, dip->at_comp_dir, dip->at_low_pc); - record_debugformat ("DWARF 1"); - decode_line_numbers (lnbase); - process_dies (thisdie + dip->die_length, enddie, objfile); - - symtab = end_symtab (dip->at_high_pc, objfile, 0); - if (symtab != NULL) - { - symtab->language = cu_language; - } - do_cleanups (back_to); -} - -/* - - LOCAL FUNCTION - - process_dies -- process a range of DWARF Information Entries - - SYNOPSIS - - static void process_dies (char *thisdie, char *enddie, - struct objfile *objfile) - - DESCRIPTION - - Process all DIE's in a specified range. May be (and almost - certainly will be) called recursively. - */ - -static void -process_dies (char *thisdie, char *enddie, struct objfile *objfile) -{ - char *nextdie; - struct dieinfo di; - - while (thisdie < enddie) - { - basicdieinfo (&di, thisdie, objfile); - if (di.die_length < SIZEOF_DIE_LENGTH) - { - break; - } - else if (di.die_tag == TAG_padding) - { - nextdie = thisdie + di.die_length; - } - else - { - completedieinfo (&di, objfile); - if (di.at_sibling != 0) - { - nextdie = dbbase + di.at_sibling - dbroff; - } - else - { - nextdie = thisdie + di.die_length; - } - /* I think that these are always text, not data, addresses. */ - di.at_low_pc = SMASH_TEXT_ADDRESS (di.at_low_pc); - di.at_high_pc = SMASH_TEXT_ADDRESS (di.at_high_pc); - switch (di.die_tag) - { - case TAG_compile_unit: - /* Skip Tag_compile_unit if we are already inside a compilation - unit, we are unable to handle nested compilation units - properly (FIXME). */ - if (current_subfile == NULL) - read_file_scope (&di, thisdie, nextdie, objfile); - else - nextdie = thisdie + di.die_length; - break; - case TAG_global_subroutine: - case TAG_subroutine: - if (di.has_at_low_pc) - { - read_func_scope (&di, thisdie, nextdie, objfile); - } - break; - case TAG_lexical_block: - read_lexical_block_scope (&di, thisdie, nextdie, objfile); - break; - case TAG_class_type: - case TAG_structure_type: - case TAG_union_type: - read_structure_scope (&di, thisdie, nextdie, objfile); - break; - case TAG_enumeration_type: - read_enumeration (&di, thisdie, nextdie, objfile); - break; - case TAG_subroutine_type: - read_subroutine_type (&di, thisdie, nextdie); - break; - case TAG_array_type: - dwarf_read_array_type (&di); - break; - case TAG_pointer_type: - read_tag_pointer_type (&di); - break; - case TAG_string_type: - read_tag_string_type (&di); - break; - default: - new_symbol (&di, objfile); - break; - } - } - thisdie = nextdie; - } -} - -/* - - LOCAL FUNCTION - - decode_line_numbers -- decode a line number table fragment - - SYNOPSIS - - static void decode_line_numbers (char *tblscan, char *tblend, - long length, long base, long line, long pc) - - DESCRIPTION - - Translate the DWARF line number information to gdb form. - - The ".line" section contains one or more line number tables, one for - each ".line" section from the objects that were linked. - - The AT_stmt_list attribute for each TAG_source_file entry in the - ".debug" section contains the offset into the ".line" section for the - start of the table for that file. - - The table itself has the following structure: - - <table length><base address><source statement entry> - 4 bytes 4 bytes 10 bytes - - The table length is the total size of the table, including the 4 bytes - for the length information. - - The base address is the address of the first instruction generated - for the source file. - - Each source statement entry has the following structure: - - <line number><statement position><address delta> - 4 bytes 2 bytes 4 bytes - - The line number is relative to the start of the file, starting with - line 1. - - The statement position either -1 (0xFFFF) or the number of characters - from the beginning of the line to the beginning of the statement. - - The address delta is the difference between the base address and - the address of the first instruction for the statement. - - Note that we must copy the bytes from the packed table to our local - variables before attempting to use them, to avoid alignment problems - on some machines, particularly RISC processors. - - BUGS - - Does gdb expect the line numbers to be sorted? They are now by - chance/luck, but are not required to be. (FIXME) - - The line with number 0 is unused, gdb apparently can discover the - span of the last line some other way. How? (FIXME) - */ - -static void -decode_line_numbers (char *linetable) -{ - char *tblscan; - char *tblend; - unsigned long length; - unsigned long base; - unsigned long line; - unsigned long pc; - - if (linetable != NULL) - { - tblscan = tblend = linetable; - length = target_to_host (tblscan, SIZEOF_LINETBL_LENGTH, GET_UNSIGNED, - current_objfile); - tblscan += SIZEOF_LINETBL_LENGTH; - tblend += length; - base = target_to_host (tblscan, TARGET_FT_POINTER_SIZE (objfile), - GET_UNSIGNED, current_objfile); - tblscan += TARGET_FT_POINTER_SIZE (objfile); - base += baseaddr; - while (tblscan < tblend) - { - line = target_to_host (tblscan, SIZEOF_LINETBL_LINENO, GET_UNSIGNED, - current_objfile); - tblscan += SIZEOF_LINETBL_LINENO + SIZEOF_LINETBL_STMT; - pc = target_to_host (tblscan, SIZEOF_LINETBL_DELTA, GET_UNSIGNED, - current_objfile); - tblscan += SIZEOF_LINETBL_DELTA; - pc += base; - if (line != 0) - { - record_line (current_subfile, line, pc); - } - } - } -} - -/* - - LOCAL FUNCTION - - locval -- compute the value of a location attribute - - SYNOPSIS - - static int locval (struct dieinfo *dip) - - DESCRIPTION - - Given pointer to a string of bytes that define a location, compute - the location and return the value. - A location description containing no atoms indicates that the - object is optimized out. The optimized_out flag is set for those, - the return value is meaningless. - - When computing values involving the current value of the frame pointer, - the value zero is used, which results in a value relative to the frame - pointer, rather than the absolute value. This is what GDB wants - anyway. - - When the result is a register number, the isreg flag is set, otherwise - it is cleared. This is a kludge until we figure out a better - way to handle the problem. Gdb's design does not mesh well with the - DWARF notion of a location computing interpreter, which is a shame - because the flexibility goes unused. - - NOTES - - Note that stack[0] is unused except as a default error return. - Note that stack overflow is not yet handled. - */ - -static int -locval (struct dieinfo *dip) -{ - unsigned short nbytes; - unsigned short locsize; - auto long stack[64]; - int stacki; - char *loc; - char *end; - int loc_atom_code; - int loc_value_size; - - loc = dip->at_location; - nbytes = attribute_size (AT_location); - locsize = target_to_host (loc, nbytes, GET_UNSIGNED, current_objfile); - loc += nbytes; - end = loc + locsize; - stacki = 0; - stack[stacki] = 0; - dip->isreg = 0; - dip->offreg = 0; - dip->optimized_out = 1; - loc_value_size = TARGET_FT_LONG_SIZE (current_objfile); - while (loc < end) - { - dip->optimized_out = 0; - loc_atom_code = target_to_host (loc, SIZEOF_LOC_ATOM_CODE, GET_UNSIGNED, - current_objfile); - loc += SIZEOF_LOC_ATOM_CODE; - switch (loc_atom_code) - { - case 0: - /* error */ - loc = end; - break; - case OP_REG: - /* push register (number) */ - stack[++stacki] - = DWARF_REG_TO_REGNUM (target_to_host (loc, loc_value_size, - GET_UNSIGNED, - current_objfile)); - loc += loc_value_size; - dip->isreg = 1; - break; - case OP_BASEREG: - /* push value of register (number) */ - /* Actually, we compute the value as if register has 0, so the - value ends up being the offset from that register. */ - dip->offreg = 1; - dip->basereg = target_to_host (loc, loc_value_size, GET_UNSIGNED, - current_objfile); - loc += loc_value_size; - stack[++stacki] = 0; - break; - case OP_ADDR: - /* push address (relocated address) */ - stack[++stacki] = target_to_host (loc, loc_value_size, - GET_UNSIGNED, current_objfile); - loc += loc_value_size; - break; - case OP_CONST: - /* push constant (number) FIXME: signed or unsigned! */ - stack[++stacki] = target_to_host (loc, loc_value_size, - GET_SIGNED, current_objfile); - loc += loc_value_size; - break; - case OP_DEREF2: - /* pop, deref and push 2 bytes (as a long) */ - complain (&op_deref2, DIE_ID, DIE_NAME, stack[stacki]); - break; - case OP_DEREF4: /* pop, deref and push 4 bytes (as a long) */ - complain (&op_deref4, DIE_ID, DIE_NAME, stack[stacki]); - break; - case OP_ADD: /* pop top 2 items, add, push result */ - stack[stacki - 1] += stack[stacki]; - stacki--; - break; - } - } - return (stack[stacki]); -} - -/* - - LOCAL FUNCTION - - read_ofile_symtab -- build a full symtab entry from chunk of DIE's - - SYNOPSIS - - static void read_ofile_symtab (struct partial_symtab *pst) - - DESCRIPTION - - When expanding a partial symbol table entry to a full symbol table - entry, this is the function that gets called to read in the symbols - for the compilation unit. A pointer to the newly constructed symtab, - which is now the new first one on the objfile's symtab list, is - stashed in the partial symbol table entry. - */ - -static void -read_ofile_symtab (struct partial_symtab *pst) -{ - struct cleanup *back_to; - unsigned long lnsize; - file_ptr foffset; - bfd *abfd; - char lnsizedata[SIZEOF_LINETBL_LENGTH]; - - abfd = pst->objfile->obfd; - current_objfile = pst->objfile; - - /* Allocate a buffer for the entire chunk of DIE's for this compilation - unit, seek to the location in the file, and read in all the DIE's. */ - - diecount = 0; - dbsize = DBLENGTH (pst); - dbbase = xmalloc (dbsize); - dbroff = DBROFF (pst); - foffset = DBFOFF (pst) + dbroff; - base_section_offsets = pst->section_offsets; - baseaddr = ANOFFSET (pst->section_offsets, 0); - if (bfd_seek (abfd, foffset, SEEK_SET) || - (bfd_bread (dbbase, dbsize, abfd) != dbsize)) - { - xfree (dbbase); - error ("can't read DWARF data"); - } - back_to = make_cleanup (xfree, dbbase); - - /* If there is a line number table associated with this compilation unit - then read the size of this fragment in bytes, from the fragment itself. - Allocate a buffer for the fragment and read it in for future - processing. */ - - lnbase = NULL; - if (LNFOFF (pst)) - { - if (bfd_seek (abfd, LNFOFF (pst), SEEK_SET) || - (bfd_bread ((PTR) lnsizedata, sizeof (lnsizedata), abfd) - != sizeof (lnsizedata))) - { - error ("can't read DWARF line number table size"); - } - lnsize = target_to_host (lnsizedata, SIZEOF_LINETBL_LENGTH, - GET_UNSIGNED, pst->objfile); - lnbase = xmalloc (lnsize); - if (bfd_seek (abfd, LNFOFF (pst), SEEK_SET) || - (bfd_bread (lnbase, lnsize, abfd) != lnsize)) - { - xfree (lnbase); - error ("can't read DWARF line numbers"); - } - make_cleanup (xfree, lnbase); - } - - process_dies (dbbase, dbbase + dbsize, pst->objfile); - do_cleanups (back_to); - current_objfile = NULL; - pst->symtab = pst->objfile->symtabs; -} - -/* - - LOCAL FUNCTION - - psymtab_to_symtab_1 -- do grunt work for building a full symtab entry - - SYNOPSIS - - static void psymtab_to_symtab_1 (struct partial_symtab *pst) - - DESCRIPTION - - Called once for each partial symbol table entry that needs to be - expanded into a full symbol table entry. - - */ - -static void -psymtab_to_symtab_1 (struct partial_symtab *pst) -{ - int i; - struct cleanup *old_chain; - - if (pst != NULL) - { - if (pst->readin) - { - warning ("psymtab for %s already read in. Shouldn't happen.", - pst->filename); - } - else - { - /* Read in all partial symtabs on which this one is dependent */ - for (i = 0; i < pst->number_of_dependencies; i++) - { - if (!pst->dependencies[i]->readin) - { - /* Inform about additional files that need to be read in. */ - if (info_verbose) - { - fputs_filtered (" ", gdb_stdout); - wrap_here (""); - fputs_filtered ("and ", gdb_stdout); - wrap_here (""); - printf_filtered ("%s...", - pst->dependencies[i]->filename); - wrap_here (""); - gdb_flush (gdb_stdout); /* Flush output */ - } - psymtab_to_symtab_1 (pst->dependencies[i]); - } - } - if (DBLENGTH (pst)) /* Otherwise it's a dummy */ - { - buildsym_init (); - old_chain = make_cleanup (really_free_pendings, 0); - read_ofile_symtab (pst); - if (info_verbose) - { - printf_filtered ("%d DIE's, sorting...", diecount); - wrap_here (""); - gdb_flush (gdb_stdout); - } - sort_symtab_syms (pst->symtab); - do_cleanups (old_chain); - } - pst->readin = 1; - } - } -} - -/* - - LOCAL FUNCTION - - dwarf_psymtab_to_symtab -- build a full symtab entry from partial one - - SYNOPSIS - - static void dwarf_psymtab_to_symtab (struct partial_symtab *pst) - - DESCRIPTION - - This is the DWARF support entry point for building a full symbol - table entry from a partial symbol table entry. We are passed a - pointer to the partial symbol table entry that needs to be expanded. - - */ - -static void -dwarf_psymtab_to_symtab (struct partial_symtab *pst) -{ - - if (pst != NULL) - { - if (pst->readin) - { - warning ("psymtab for %s already read in. Shouldn't happen.", - pst->filename); - } - else - { - if (DBLENGTH (pst) || pst->number_of_dependencies) - { - /* Print the message now, before starting serious work, to avoid - disconcerting pauses. */ - if (info_verbose) - { - printf_filtered ("Reading in symbols for %s...", - pst->filename); - gdb_flush (gdb_stdout); - } - - psymtab_to_symtab_1 (pst); - -#if 0 /* FIXME: Check to see what dbxread is doing here and see if - we need to do an equivalent or is this something peculiar to - stabs/a.out format. - Match with global symbols. This only needs to be done once, - after all of the symtabs and dependencies have been read in. - */ - scan_file_globals (pst->objfile); -#endif - - /* Finish up the verbose info message. */ - if (info_verbose) - { - printf_filtered ("done.\n"); - gdb_flush (gdb_stdout); - } - } - } - } -} - -/* - - LOCAL FUNCTION - - add_enum_psymbol -- add enumeration members to partial symbol table - - DESCRIPTION - - Given pointer to a DIE that is known to be for an enumeration, - extract the symbolic names of the enumeration members and add - partial symbols for them. - */ - -static void -add_enum_psymbol (struct dieinfo *dip, struct objfile *objfile) -{ - char *scan; - char *listend; - unsigned short blocksz; - int nbytes; - - if ((scan = dip->at_element_list) != NULL) - { - if (dip->short_element_list) - { - nbytes = attribute_size (AT_short_element_list); - } - else - { - nbytes = attribute_size (AT_element_list); - } - blocksz = target_to_host (scan, nbytes, GET_UNSIGNED, objfile); - scan += nbytes; - listend = scan + blocksz; - while (scan < listend) - { - scan += TARGET_FT_LONG_SIZE (objfile); - add_psymbol_to_list (scan, strlen (scan), VAR_NAMESPACE, LOC_CONST, - &objfile->static_psymbols, 0, 0, cu_language, - objfile); - scan += strlen (scan) + 1; - } - } -} - -/* - - LOCAL FUNCTION - - add_partial_symbol -- add symbol to partial symbol table - - DESCRIPTION - - Given a DIE, if it is one of the types that we want to - add to a partial symbol table, finish filling in the die info - and then add a partial symbol table entry for it. - - NOTES - - The caller must ensure that the DIE has a valid name attribute. - */ - -static void -add_partial_symbol (struct dieinfo *dip, struct objfile *objfile) -{ - switch (dip->die_tag) - { - case TAG_global_subroutine: - add_psymbol_to_list (dip->at_name, strlen (dip->at_name), - VAR_NAMESPACE, LOC_BLOCK, - &objfile->global_psymbols, - 0, dip->at_low_pc, cu_language, objfile); - break; - case TAG_global_variable: - add_psymbol_to_list (dip->at_name, strlen (dip->at_name), - VAR_NAMESPACE, LOC_STATIC, - &objfile->global_psymbols, - 0, 0, cu_language, objfile); - break; - case TAG_subroutine: - add_psymbol_to_list (dip->at_name, strlen (dip->at_name), - VAR_NAMESPACE, LOC_BLOCK, - &objfile->static_psymbols, - 0, dip->at_low_pc, cu_language, objfile); - break; - case TAG_local_variable: - add_psymbol_to_list (dip->at_name, strlen (dip->at_name), - VAR_NAMESPACE, LOC_STATIC, - &objfile->static_psymbols, - 0, 0, cu_language, objfile); - break; - case TAG_typedef: - add_psymbol_to_list (dip->at_name, strlen (dip->at_name), - VAR_NAMESPACE, LOC_TYPEDEF, - &objfile->static_psymbols, - 0, 0, cu_language, objfile); - break; - case TAG_class_type: - case TAG_structure_type: - case TAG_union_type: - case TAG_enumeration_type: - /* Do not add opaque aggregate definitions to the psymtab. */ - if (!dip->has_at_byte_size) - break; - add_psymbol_to_list (dip->at_name, strlen (dip->at_name), - STRUCT_NAMESPACE, LOC_TYPEDEF, - &objfile->static_psymbols, - 0, 0, cu_language, objfile); - if (cu_language == language_cplus) - { - /* For C++, these implicitly act as typedefs as well. */ - add_psymbol_to_list (dip->at_name, strlen (dip->at_name), - VAR_NAMESPACE, LOC_TYPEDEF, - &objfile->static_psymbols, - 0, 0, cu_language, objfile); - } - break; - } -} -/* *INDENT-OFF* */ -/* - -LOCAL FUNCTION - - scan_partial_symbols -- scan DIE's within a single compilation unit - -DESCRIPTION - - Process the DIE's within a single compilation unit, looking for - interesting DIE's that contribute to the partial symbol table entry - for this compilation unit. - -NOTES - - There are some DIE's that may appear both at file scope and within - the scope of a function. We are only interested in the ones at file - scope, and the only way to tell them apart is to keep track of the - scope. For example, consider the test case: - - static int i; - main () { int j; } - - for which the relevant DWARF segment has the structure: - - 0x51: - 0x23 global subrtn sibling 0x9b - name main - fund_type FT_integer - low_pc 0x800004cc - high_pc 0x800004d4 - - 0x74: - 0x23 local var sibling 0x97 - name j - fund_type FT_integer - location OP_BASEREG 0xe - OP_CONST 0xfffffffc - OP_ADD - 0x97: - 0x4 - - 0x9b: - 0x1d local var sibling 0xb8 - name i - fund_type FT_integer - location OP_ADDR 0x800025dc - - 0xb8: - 0x4 - - We want to include the symbol 'i' in the partial symbol table, but - not the symbol 'j'. In essence, we want to skip all the dies within - the scope of a TAG_global_subroutine DIE. - - Don't attempt to add anonymous structures or unions since they have - no name. Anonymous enumerations however are processed, because we - want to extract their member names (the check for a tag name is - done later). - - Also, for variables and subroutines, check that this is the place - where the actual definition occurs, rather than just a reference - to an external. - */ -/* *INDENT-ON* */ - - - -static void -scan_partial_symbols (char *thisdie, char *enddie, struct objfile *objfile) -{ - char *nextdie; - char *temp; - struct dieinfo di; - - while (thisdie < enddie) - { - basicdieinfo (&di, thisdie, objfile); - if (di.die_length < SIZEOF_DIE_LENGTH) - { - break; - } - else - { - nextdie = thisdie + di.die_length; - /* To avoid getting complete die information for every die, we - only do it (below) for the cases we are interested in. */ - switch (di.die_tag) - { - case TAG_global_subroutine: - case TAG_subroutine: - completedieinfo (&di, objfile); - if (di.at_name && (di.has_at_low_pc || di.at_location)) - { - add_partial_symbol (&di, objfile); - /* If there is a sibling attribute, adjust the nextdie - pointer to skip the entire scope of the subroutine. - Apply some sanity checking to make sure we don't - overrun or underrun the range of remaining DIE's */ - if (di.at_sibling != 0) - { - temp = dbbase + di.at_sibling - dbroff; - if ((temp < thisdie) || (temp >= enddie)) - { - complain (&bad_die_ref, DIE_ID, DIE_NAME, - di.at_sibling); - } - else - { - nextdie = temp; - } - } - } - break; - case TAG_global_variable: - case TAG_local_variable: - completedieinfo (&di, objfile); - if (di.at_name && (di.has_at_low_pc || di.at_location)) - { - add_partial_symbol (&di, objfile); - } - break; - case TAG_typedef: - case TAG_class_type: - case TAG_structure_type: - case TAG_union_type: - completedieinfo (&di, objfile); - if (di.at_name) - { - add_partial_symbol (&di, objfile); - } - break; - case TAG_enumeration_type: - completedieinfo (&di, objfile); - if (di.at_name) - { - add_partial_symbol (&di, objfile); - } - add_enum_psymbol (&di, objfile); - break; - } - } - thisdie = nextdie; - } -} - -/* - - LOCAL FUNCTION - - scan_compilation_units -- build a psymtab entry for each compilation - - DESCRIPTION - - This is the top level dwarf parsing routine for building partial - symbol tables. - - It scans from the beginning of the DWARF table looking for the first - TAG_compile_unit DIE, and then follows the sibling chain to locate - each additional TAG_compile_unit DIE. - - For each TAG_compile_unit DIE it creates a partial symtab structure, - calls a subordinate routine to collect all the compilation unit's - global DIE's, file scope DIEs, typedef DIEs, etc, and then links the - new partial symtab structure into the partial symbol table. It also - records the appropriate information in the partial symbol table entry - to allow the chunk of DIE's and line number table for this compilation - unit to be located and re-read later, to generate a complete symbol - table entry for the compilation unit. - - Thus it effectively partitions up a chunk of DIE's for multiple - compilation units into smaller DIE chunks and line number tables, - and associates them with a partial symbol table entry. - - NOTES - - If any compilation unit has no line number table associated with - it for some reason (a missing at_stmt_list attribute, rather than - just one with a value of zero, which is valid) then we ensure that - the recorded file offset is zero so that the routine which later - reads line number table fragments knows that there is no fragment - to read. - - RETURNS - - Returns no value. - - */ - -static void -scan_compilation_units (char *thisdie, char *enddie, file_ptr dbfoff, - file_ptr lnoffset, struct objfile *objfile) -{ - char *nextdie; - struct dieinfo di; - struct partial_symtab *pst; - int culength; - int curoff; - file_ptr curlnoffset; - - while (thisdie < enddie) - { - basicdieinfo (&di, thisdie, objfile); - if (di.die_length < SIZEOF_DIE_LENGTH) - { - break; - } - else if (di.die_tag != TAG_compile_unit) - { - nextdie = thisdie + di.die_length; - } - else - { - completedieinfo (&di, objfile); - set_cu_language (&di); - if (di.at_sibling != 0) - { - nextdie = dbbase + di.at_sibling - dbroff; - } - else - { - nextdie = thisdie + di.die_length; - } - curoff = thisdie - dbbase; - culength = nextdie - thisdie; - curlnoffset = di.has_at_stmt_list ? lnoffset + di.at_stmt_list : 0; - - /* First allocate a new partial symbol table structure */ - - pst = start_psymtab_common (objfile, base_section_offsets, - di.at_name, di.at_low_pc, - objfile->global_psymbols.next, - objfile->static_psymbols.next); - - pst->texthigh = di.at_high_pc; - pst->read_symtab_private = (char *) - obstack_alloc (&objfile->psymbol_obstack, - sizeof (struct dwfinfo)); - DBFOFF (pst) = dbfoff; - DBROFF (pst) = curoff; - DBLENGTH (pst) = culength; - LNFOFF (pst) = curlnoffset; - pst->read_symtab = dwarf_psymtab_to_symtab; - - /* Now look for partial symbols */ - - scan_partial_symbols (thisdie + di.die_length, nextdie, objfile); - - pst->n_global_syms = objfile->global_psymbols.next - - (objfile->global_psymbols.list + pst->globals_offset); - pst->n_static_syms = objfile->static_psymbols.next - - (objfile->static_psymbols.list + pst->statics_offset); - sort_pst_symbols (pst); - /* If there is already a psymtab or symtab for a file of this name, - remove it. (If there is a symtab, more drastic things also - happen.) This happens in VxWorks. */ - free_named_symtabs (pst->filename); - } - thisdie = nextdie; - } -} - -/* - - LOCAL FUNCTION - - new_symbol -- make a symbol table entry for a new symbol - - SYNOPSIS - - static struct symbol *new_symbol (struct dieinfo *dip, - struct objfile *objfile) - - DESCRIPTION - - Given a pointer to a DWARF information entry, figure out if we need - to make a symbol table entry for it, and if so, create a new entry - and return a pointer to it. - */ - -static struct symbol * -new_symbol (struct dieinfo *dip, struct objfile *objfile) -{ - struct symbol *sym = NULL; - - if (dip->at_name != NULL) - { - sym = (struct symbol *) obstack_alloc (&objfile->symbol_obstack, - sizeof (struct symbol)); - OBJSTAT (objfile, n_syms++); - memset (sym, 0, sizeof (struct symbol)); - SYMBOL_NAME (sym) = create_name (dip->at_name, - &objfile->symbol_obstack); - /* default assumptions */ - SYMBOL_NAMESPACE (sym) = VAR_NAMESPACE; - SYMBOL_CLASS (sym) = LOC_STATIC; - SYMBOL_TYPE (sym) = decode_die_type (dip); - - /* If this symbol is from a C++ compilation, then attempt to cache the - demangled form for future reference. This is a typical time versus - space tradeoff, that was decided in favor of time because it sped up - C++ symbol lookups by a factor of about 20. */ - - SYMBOL_LANGUAGE (sym) = cu_language; - SYMBOL_INIT_DEMANGLED_NAME (sym, &objfile->symbol_obstack); - switch (dip->die_tag) - { - case TAG_label: - SYMBOL_VALUE_ADDRESS (sym) = dip->at_low_pc; - SYMBOL_CLASS (sym) = LOC_LABEL; - break; - case TAG_global_subroutine: - case TAG_subroutine: - SYMBOL_VALUE_ADDRESS (sym) = dip->at_low_pc; - SYMBOL_TYPE (sym) = lookup_function_type (SYMBOL_TYPE (sym)); - if (dip->at_prototyped) - TYPE_FLAGS (SYMBOL_TYPE (sym)) |= TYPE_FLAG_PROTOTYPED; - SYMBOL_CLASS (sym) = LOC_BLOCK; - if (dip->die_tag == TAG_global_subroutine) - { - add_symbol_to_list (sym, &global_symbols); - } - else - { - add_symbol_to_list (sym, list_in_scope); - } - break; - case TAG_global_variable: - if (dip->at_location != NULL) - { - SYMBOL_VALUE_ADDRESS (sym) = locval (dip); - add_symbol_to_list (sym, &global_symbols); - SYMBOL_CLASS (sym) = LOC_STATIC; - SYMBOL_VALUE (sym) += baseaddr; - } - break; - case TAG_local_variable: - if (dip->at_location != NULL) - { - int loc = locval (dip); - if (dip->optimized_out) - { - SYMBOL_CLASS (sym) = LOC_OPTIMIZED_OUT; - } - else if (dip->isreg) - { - SYMBOL_CLASS (sym) = LOC_REGISTER; - } - else if (dip->offreg) - { - SYMBOL_CLASS (sym) = LOC_BASEREG; - SYMBOL_BASEREG (sym) = dip->basereg; - } - else - { - SYMBOL_CLASS (sym) = LOC_STATIC; - SYMBOL_VALUE (sym) += baseaddr; - } - if (SYMBOL_CLASS (sym) == LOC_STATIC) - { - /* LOC_STATIC address class MUST use SYMBOL_VALUE_ADDRESS, - which may store to a bigger location than SYMBOL_VALUE. */ - SYMBOL_VALUE_ADDRESS (sym) = loc; - } - else - { - SYMBOL_VALUE (sym) = loc; - } - add_symbol_to_list (sym, list_in_scope); - } - break; - case TAG_formal_parameter: - if (dip->at_location != NULL) - { - SYMBOL_VALUE (sym) = locval (dip); - } - add_symbol_to_list (sym, list_in_scope); - if (dip->isreg) - { - SYMBOL_CLASS (sym) = LOC_REGPARM; - } - else if (dip->offreg) - { - SYMBOL_CLASS (sym) = LOC_BASEREG_ARG; - SYMBOL_BASEREG (sym) = dip->basereg; - } - else - { - SYMBOL_CLASS (sym) = LOC_ARG; - } - break; - case TAG_unspecified_parameters: - /* From varargs functions; gdb doesn't seem to have any interest in - this information, so just ignore it for now. (FIXME?) */ - break; - case TAG_class_type: - case TAG_structure_type: - case TAG_union_type: - case TAG_enumeration_type: - SYMBOL_CLASS (sym) = LOC_TYPEDEF; - SYMBOL_NAMESPACE (sym) = STRUCT_NAMESPACE; - add_symbol_to_list (sym, list_in_scope); - break; - case TAG_typedef: - SYMBOL_CLASS (sym) = LOC_TYPEDEF; - SYMBOL_NAMESPACE (sym) = VAR_NAMESPACE; - add_symbol_to_list (sym, list_in_scope); - break; - default: - /* Not a tag we recognize. Hopefully we aren't processing trash - data, but since we must specifically ignore things we don't - recognize, there is nothing else we should do at this point. */ - break; - } - } - return (sym); -} - -/* - - LOCAL FUNCTION - - synthesize_typedef -- make a symbol table entry for a "fake" typedef - - SYNOPSIS - - static void synthesize_typedef (struct dieinfo *dip, - struct objfile *objfile, - struct type *type); - - DESCRIPTION - - Given a pointer to a DWARF information entry, synthesize a typedef - for the name in the DIE, using the specified type. - - This is used for C++ class, structs, unions, and enumerations to - set up the tag name as a type. - - */ - -static void -synthesize_typedef (struct dieinfo *dip, struct objfile *objfile, - struct type *type) -{ - struct symbol *sym = NULL; - - if (dip->at_name != NULL) - { - sym = (struct symbol *) - obstack_alloc (&objfile->symbol_obstack, sizeof (struct symbol)); - OBJSTAT (objfile, n_syms++); - memset (sym, 0, sizeof (struct symbol)); - SYMBOL_NAME (sym) = create_name (dip->at_name, - &objfile->symbol_obstack); - SYMBOL_INIT_LANGUAGE_SPECIFIC (sym, cu_language); - SYMBOL_TYPE (sym) = type; - SYMBOL_CLASS (sym) = LOC_TYPEDEF; - SYMBOL_NAMESPACE (sym) = VAR_NAMESPACE; - add_symbol_to_list (sym, list_in_scope); - } -} - -/* - - LOCAL FUNCTION - - decode_mod_fund_type -- decode a modified fundamental type - - SYNOPSIS - - static struct type *decode_mod_fund_type (char *typedata) - - DESCRIPTION - - Decode a block of data containing a modified fundamental - type specification. TYPEDATA is a pointer to the block, - which starts with a length containing the size of the rest - of the block. At the end of the block is a fundmental type - code value that gives the fundamental type. Everything - in between are type modifiers. - - We simply compute the number of modifiers and call the general - function decode_modified_type to do the actual work. - */ - -static struct type * -decode_mod_fund_type (char *typedata) -{ - struct type *typep = NULL; - unsigned short modcount; - int nbytes; - - /* Get the total size of the block, exclusive of the size itself */ - - nbytes = attribute_size (AT_mod_fund_type); - modcount = target_to_host (typedata, nbytes, GET_UNSIGNED, current_objfile); - typedata += nbytes; - - /* Deduct the size of the fundamental type bytes at the end of the block. */ - - modcount -= attribute_size (AT_fund_type); - - /* Now do the actual decoding */ - - typep = decode_modified_type (typedata, modcount, AT_mod_fund_type); - return (typep); -} - -/* - - LOCAL FUNCTION - - decode_mod_u_d_type -- decode a modified user defined type - - SYNOPSIS - - static struct type *decode_mod_u_d_type (char *typedata) - - DESCRIPTION - - Decode a block of data containing a modified user defined - type specification. TYPEDATA is a pointer to the block, - which consists of a two byte length, containing the size - of the rest of the block. At the end of the block is a - four byte value that gives a reference to a user defined type. - Everything in between are type modifiers. - - We simply compute the number of modifiers and call the general - function decode_modified_type to do the actual work. - */ - -static struct type * -decode_mod_u_d_type (char *typedata) -{ - struct type *typep = NULL; - unsigned short modcount; - int nbytes; - - /* Get the total size of the block, exclusive of the size itself */ - - nbytes = attribute_size (AT_mod_u_d_type); - modcount = target_to_host (typedata, nbytes, GET_UNSIGNED, current_objfile); - typedata += nbytes; - - /* Deduct the size of the reference type bytes at the end of the block. */ - - modcount -= attribute_size (AT_user_def_type); - - /* Now do the actual decoding */ - - typep = decode_modified_type (typedata, modcount, AT_mod_u_d_type); - return (typep); -} - -/* - - LOCAL FUNCTION - - decode_modified_type -- decode modified user or fundamental type - - SYNOPSIS - - static struct type *decode_modified_type (char *modifiers, - unsigned short modcount, int mtype) - - DESCRIPTION - - Decode a modified type, either a modified fundamental type or - a modified user defined type. MODIFIERS is a pointer to the - block of bytes that define MODCOUNT modifiers. Immediately - following the last modifier is a short containing the fundamental - type or a long containing the reference to the user defined - type. Which one is determined by MTYPE, which is either - AT_mod_fund_type or AT_mod_u_d_type to indicate what modified - type we are generating. - - We call ourself recursively to generate each modified type,` - until MODCOUNT reaches zero, at which point we have consumed - all the modifiers and generate either the fundamental type or - user defined type. When the recursion unwinds, each modifier - is applied in turn to generate the full modified type. - - NOTES - - If we find a modifier that we don't recognize, and it is not one - of those reserved for application specific use, then we issue a - warning and simply ignore the modifier. - - BUGS - - We currently ignore MOD_const and MOD_volatile. (FIXME) - - */ - -static struct type * -decode_modified_type (char *modifiers, unsigned int modcount, int mtype) -{ - struct type *typep = NULL; - unsigned short fundtype; - DIE_REF die_ref; - char modifier; - int nbytes; - - if (modcount == 0) - { - switch (mtype) - { - case AT_mod_fund_type: - nbytes = attribute_size (AT_fund_type); - fundtype = target_to_host (modifiers, nbytes, GET_UNSIGNED, - current_objfile); - typep = decode_fund_type (fundtype); - break; - case AT_mod_u_d_type: - nbytes = attribute_size (AT_user_def_type); - die_ref = target_to_host (modifiers, nbytes, GET_UNSIGNED, - current_objfile); - if ((typep = lookup_utype (die_ref)) == NULL) - { - typep = alloc_utype (die_ref, NULL); - } - break; - default: - complain (&botched_modified_type, DIE_ID, DIE_NAME, mtype); - typep = dwarf_fundamental_type (current_objfile, FT_INTEGER); - break; - } - } - else - { - modifier = *modifiers++; - typep = decode_modified_type (modifiers, --modcount, mtype); - switch (modifier) - { - case MOD_pointer_to: - typep = lookup_pointer_type (typep); - break; - case MOD_reference_to: - typep = lookup_reference_type (typep); - break; - case MOD_const: - complain (&const_ignored, DIE_ID, DIE_NAME); /* FIXME */ - break; - case MOD_volatile: - complain (&volatile_ignored, DIE_ID, DIE_NAME); /* FIXME */ - break; - default: - if (!(MOD_lo_user <= (unsigned char) modifier - && (unsigned char) modifier <= MOD_hi_user)) - { - complain (&unknown_type_modifier, DIE_ID, DIE_NAME, modifier); - } - break; - } - } - return (typep); -} - -/* - - LOCAL FUNCTION - - decode_fund_type -- translate basic DWARF type to gdb base type - - DESCRIPTION - - Given an integer that is one of the fundamental DWARF types, - translate it to one of the basic internal gdb types and return - a pointer to the appropriate gdb type (a "struct type *"). - - NOTES - - For robustness, if we are asked to translate a fundamental - type that we are unprepared to deal with, we return int so - callers can always depend upon a valid type being returned, - and so gdb may at least do something reasonable by default. - If the type is not in the range of those types defined as - application specific types, we also issue a warning. - */ - -static struct type * -decode_fund_type (unsigned int fundtype) -{ - struct type *typep = NULL; - - switch (fundtype) - { - - case FT_void: - typep = dwarf_fundamental_type (current_objfile, FT_VOID); - break; - - case FT_boolean: /* Was FT_set in AT&T version */ - typep = dwarf_fundamental_type (current_objfile, FT_BOOLEAN); - break; - - case FT_pointer: /* (void *) */ - typep = dwarf_fundamental_type (current_objfile, FT_VOID); - typep = lookup_pointer_type (typep); - break; - - case FT_char: - typep = dwarf_fundamental_type (current_objfile, FT_CHAR); - break; - - case FT_signed_char: - typep = dwarf_fundamental_type (current_objfile, FT_SIGNED_CHAR); - break; - - case FT_unsigned_char: - typep = dwarf_fundamental_type (current_objfile, FT_UNSIGNED_CHAR); - break; - - case FT_short: - typep = dwarf_fundamental_type (current_objfile, FT_SHORT); - break; - - case FT_signed_short: - typep = dwarf_fundamental_type (current_objfile, FT_SIGNED_SHORT); - break; - - case FT_unsigned_short: - typep = dwarf_fundamental_type (current_objfile, FT_UNSIGNED_SHORT); - break; - - case FT_integer: - typep = dwarf_fundamental_type (current_objfile, FT_INTEGER); - break; - - case FT_signed_integer: - typep = dwarf_fundamental_type (current_objfile, FT_SIGNED_INTEGER); - break; - - case FT_unsigned_integer: - typep = dwarf_fundamental_type (current_objfile, FT_UNSIGNED_INTEGER); - break; - - case FT_long: - typep = dwarf_fundamental_type (current_objfile, FT_LONG); - break; - - case FT_signed_long: - typep = dwarf_fundamental_type (current_objfile, FT_SIGNED_LONG); - break; - - case FT_unsigned_long: - typep = dwarf_fundamental_type (current_objfile, FT_UNSIGNED_LONG); - break; - - case FT_long_long: - typep = dwarf_fundamental_type (current_objfile, FT_LONG_LONG); - break; - - case FT_signed_long_long: - typep = dwarf_fundamental_type (current_objfile, FT_SIGNED_LONG_LONG); - break; - - case FT_unsigned_long_long: - typep = dwarf_fundamental_type (current_objfile, FT_UNSIGNED_LONG_LONG); - break; - - case FT_float: - typep = dwarf_fundamental_type (current_objfile, FT_FLOAT); - break; - - case FT_dbl_prec_float: - typep = dwarf_fundamental_type (current_objfile, FT_DBL_PREC_FLOAT); - break; - - case FT_ext_prec_float: - typep = dwarf_fundamental_type (current_objfile, FT_EXT_PREC_FLOAT); - break; - - case FT_complex: - typep = dwarf_fundamental_type (current_objfile, FT_COMPLEX); - break; - - case FT_dbl_prec_complex: - typep = dwarf_fundamental_type (current_objfile, FT_DBL_PREC_COMPLEX); - break; - - case FT_ext_prec_complex: - typep = dwarf_fundamental_type (current_objfile, FT_EXT_PREC_COMPLEX); - break; - - } - - if (typep == NULL) - { - typep = dwarf_fundamental_type (current_objfile, FT_INTEGER); - if (!(FT_lo_user <= fundtype && fundtype <= FT_hi_user)) - { - complain (&unexpected_fund_type, DIE_ID, DIE_NAME, fundtype); - } - } - - return (typep); -} - -/* - - LOCAL FUNCTION - - create_name -- allocate a fresh copy of a string on an obstack - - DESCRIPTION - - Given a pointer to a string and a pointer to an obstack, allocates - a fresh copy of the string on the specified obstack. - - */ - -static char * -create_name (char *name, struct obstack *obstackp) -{ - int length; - char *newname; - - length = strlen (name) + 1; - newname = (char *) obstack_alloc (obstackp, length); - strcpy (newname, name); - return (newname); -} - -/* - - LOCAL FUNCTION - - basicdieinfo -- extract the minimal die info from raw die data - - SYNOPSIS - - void basicdieinfo (char *diep, struct dieinfo *dip, - struct objfile *objfile) - - DESCRIPTION - - Given a pointer to raw DIE data, and a pointer to an instance of a - die info structure, this function extracts the basic information - from the DIE data required to continue processing this DIE, along - with some bookkeeping information about the DIE. - - The information we absolutely must have includes the DIE tag, - and the DIE length. If we need the sibling reference, then we - will have to call completedieinfo() to process all the remaining - DIE information. - - Note that since there is no guarantee that the data is properly - aligned in memory for the type of access required (indirection - through anything other than a char pointer), and there is no - guarantee that it is in the same byte order as the gdb host, - we call a function which deals with both alignment and byte - swapping issues. Possibly inefficient, but quite portable. - - We also take care of some other basic things at this point, such - as ensuring that the instance of the die info structure starts - out completely zero'd and that curdie is initialized for use - in error reporting if we have a problem with the current die. - - NOTES - - All DIE's must have at least a valid length, thus the minimum - DIE size is SIZEOF_DIE_LENGTH. In order to have a valid tag, the - DIE size must be at least SIZEOF_DIE_TAG larger, otherwise they - are forced to be TAG_padding DIES. - - Padding DIES must be at least SIZEOF_DIE_LENGTH in length, implying - that if a padding DIE is used for alignment and the amount needed is - less than SIZEOF_DIE_LENGTH, then the padding DIE has to be big - enough to align to the next alignment boundry. - - We do some basic sanity checking here, such as verifying that the - length of the die would not cause it to overrun the recorded end of - the buffer holding the DIE info. If we find a DIE that is either - too small or too large, we force it's length to zero which should - cause the caller to take appropriate action. - */ - -static void -basicdieinfo (struct dieinfo *dip, char *diep, struct objfile *objfile) -{ - curdie = dip; - memset (dip, 0, sizeof (struct dieinfo)); - dip->die = diep; - dip->die_ref = dbroff + (diep - dbbase); - dip->die_length = target_to_host (diep, SIZEOF_DIE_LENGTH, GET_UNSIGNED, - objfile); - if ((dip->die_length < SIZEOF_DIE_LENGTH) || - ((diep + dip->die_length) > (dbbase + dbsize))) - { - complain (&malformed_die, DIE_ID, DIE_NAME, dip->die_length); - dip->die_length = 0; - } - else if (dip->die_length < (SIZEOF_DIE_LENGTH + SIZEOF_DIE_TAG)) - { - dip->die_tag = TAG_padding; - } - else - { - diep += SIZEOF_DIE_LENGTH; - dip->die_tag = target_to_host (diep, SIZEOF_DIE_TAG, GET_UNSIGNED, - objfile); - } -} - -/* - - LOCAL FUNCTION - - completedieinfo -- finish reading the information for a given DIE - - SYNOPSIS - - void completedieinfo (struct dieinfo *dip, struct objfile *objfile) - - DESCRIPTION - - Given a pointer to an already partially initialized die info structure, - scan the raw DIE data and finish filling in the die info structure - from the various attributes found. - - Note that since there is no guarantee that the data is properly - aligned in memory for the type of access required (indirection - through anything other than a char pointer), and there is no - guarantee that it is in the same byte order as the gdb host, - we call a function which deals with both alignment and byte - swapping issues. Possibly inefficient, but quite portable. - - NOTES - - Each time we are called, we increment the diecount variable, which - keeps an approximate count of the number of dies processed for - each compilation unit. This information is presented to the user - if the info_verbose flag is set. - - */ - -static void -completedieinfo (struct dieinfo *dip, struct objfile *objfile) -{ - char *diep; /* Current pointer into raw DIE data */ - char *end; /* Terminate DIE scan here */ - unsigned short attr; /* Current attribute being scanned */ - unsigned short form; /* Form of the attribute */ - int nbytes; /* Size of next field to read */ - - diecount++; - diep = dip->die; - end = diep + dip->die_length; - diep += SIZEOF_DIE_LENGTH + SIZEOF_DIE_TAG; - while (diep < end) - { - attr = target_to_host (diep, SIZEOF_ATTRIBUTE, GET_UNSIGNED, objfile); - diep += SIZEOF_ATTRIBUTE; - if ((nbytes = attribute_size (attr)) == -1) - { - complain (&unknown_attribute_length, DIE_ID, DIE_NAME); - diep = end; - continue; - } - switch (attr) - { - case AT_fund_type: - dip->at_fund_type = target_to_host (diep, nbytes, GET_UNSIGNED, - objfile); - break; - case AT_ordering: - dip->at_ordering = target_to_host (diep, nbytes, GET_UNSIGNED, - objfile); - break; - case AT_bit_offset: - dip->at_bit_offset = target_to_host (diep, nbytes, GET_UNSIGNED, - objfile); - break; - case AT_sibling: - dip->at_sibling = target_to_host (diep, nbytes, GET_UNSIGNED, - objfile); - break; - case AT_stmt_list: - dip->at_stmt_list = target_to_host (diep, nbytes, GET_UNSIGNED, - objfile); - dip->has_at_stmt_list = 1; - break; - case AT_low_pc: - dip->at_low_pc = target_to_host (diep, nbytes, GET_UNSIGNED, - objfile); - dip->at_low_pc += baseaddr; - dip->has_at_low_pc = 1; - break; - case AT_high_pc: - dip->at_high_pc = target_to_host (diep, nbytes, GET_UNSIGNED, - objfile); - dip->at_high_pc += baseaddr; - break; - case AT_language: - dip->at_language = target_to_host (diep, nbytes, GET_UNSIGNED, - objfile); - break; - case AT_user_def_type: - dip->at_user_def_type = target_to_host (diep, nbytes, - GET_UNSIGNED, objfile); - break; - case AT_byte_size: - dip->at_byte_size = target_to_host (diep, nbytes, GET_UNSIGNED, - objfile); - dip->has_at_byte_size = 1; - break; - case AT_bit_size: - dip->at_bit_size = target_to_host (diep, nbytes, GET_UNSIGNED, - objfile); - break; - case AT_member: - dip->at_member = target_to_host (diep, nbytes, GET_UNSIGNED, - objfile); - break; - case AT_discr: - dip->at_discr = target_to_host (diep, nbytes, GET_UNSIGNED, - objfile); - break; - case AT_location: - dip->at_location = diep; - break; - case AT_mod_fund_type: - dip->at_mod_fund_type = diep; - break; - case AT_subscr_data: - dip->at_subscr_data = diep; - break; - case AT_mod_u_d_type: - dip->at_mod_u_d_type = diep; - break; - case AT_element_list: - dip->at_element_list = diep; - dip->short_element_list = 0; - break; - case AT_short_element_list: - dip->at_element_list = diep; - dip->short_element_list = 1; - break; - case AT_discr_value: - dip->at_discr_value = diep; - break; - case AT_string_length: - dip->at_string_length = diep; - break; - case AT_name: - dip->at_name = diep; - break; - case AT_comp_dir: - /* For now, ignore any "hostname:" portion, since gdb doesn't - know how to deal with it. (FIXME). */ - dip->at_comp_dir = strrchr (diep, ':'); - if (dip->at_comp_dir != NULL) - { - dip->at_comp_dir++; - } - else - { - dip->at_comp_dir = diep; - } - break; - case AT_producer: - dip->at_producer = diep; - break; - case AT_start_scope: - dip->at_start_scope = target_to_host (diep, nbytes, GET_UNSIGNED, - objfile); - break; - case AT_stride_size: - dip->at_stride_size = target_to_host (diep, nbytes, GET_UNSIGNED, - objfile); - break; - case AT_src_info: - dip->at_src_info = target_to_host (diep, nbytes, GET_UNSIGNED, - objfile); - break; - case AT_prototyped: - dip->at_prototyped = diep; - break; - default: - /* Found an attribute that we are unprepared to handle. However - it is specifically one of the design goals of DWARF that - consumers should ignore unknown attributes. As long as the - form is one that we recognize (so we know how to skip it), - we can just ignore the unknown attribute. */ - break; - } - form = FORM_FROM_ATTR (attr); - switch (form) - { - case FORM_DATA2: - diep += 2; - break; - case FORM_DATA4: - case FORM_REF: - diep += 4; - break; - case FORM_DATA8: - diep += 8; - break; - case FORM_ADDR: - diep += TARGET_FT_POINTER_SIZE (objfile); - break; - case FORM_BLOCK2: - diep += 2 + target_to_host (diep, nbytes, GET_UNSIGNED, objfile); - break; - case FORM_BLOCK4: - diep += 4 + target_to_host (diep, nbytes, GET_UNSIGNED, objfile); - break; - case FORM_STRING: - diep += strlen (diep) + 1; - break; - default: - complain (&unknown_attribute_form, DIE_ID, DIE_NAME, form); - diep = end; - break; - } - } -} - -/* - - LOCAL FUNCTION - - target_to_host -- swap in target data to host - - SYNOPSIS - - target_to_host (char *from, int nbytes, int signextend, - struct objfile *objfile) - - DESCRIPTION - - Given pointer to data in target format in FROM, a byte count for - the size of the data in NBYTES, a flag indicating whether or not - the data is signed in SIGNEXTEND, and a pointer to the current - objfile in OBJFILE, convert the data to host format and return - the converted value. - - NOTES - - FIXME: If we read data that is known to be signed, and expect to - use it as signed data, then we need to explicitly sign extend the - result until the bfd library is able to do this for us. - - FIXME: Would a 32 bit target ever need an 8 byte result? - - */ - -static CORE_ADDR -target_to_host (char *from, int nbytes, int signextend, /* FIXME: Unused */ - struct objfile *objfile) -{ - CORE_ADDR rtnval; - - switch (nbytes) - { - case 8: - rtnval = bfd_get_64 (objfile->obfd, (bfd_byte *) from); - break; - case 4: - rtnval = bfd_get_32 (objfile->obfd, (bfd_byte *) from); - break; - case 2: - rtnval = bfd_get_16 (objfile->obfd, (bfd_byte *) from); - break; - case 1: - rtnval = bfd_get_8 (objfile->obfd, (bfd_byte *) from); - break; - default: - complain (&no_bfd_get_N, DIE_ID, DIE_NAME, nbytes); - rtnval = 0; - break; - } - return (rtnval); -} - -/* - - LOCAL FUNCTION - - attribute_size -- compute size of data for a DWARF attribute - - SYNOPSIS - - static int attribute_size (unsigned int attr) - - DESCRIPTION - - Given a DWARF attribute in ATTR, compute the size of the first - piece of data associated with this attribute and return that - size. - - Returns -1 for unrecognized attributes. - - */ - -static int -attribute_size (unsigned int attr) -{ - int nbytes; /* Size of next data for this attribute */ - unsigned short form; /* Form of the attribute */ - - form = FORM_FROM_ATTR (attr); - switch (form) - { - case FORM_STRING: /* A variable length field is next */ - nbytes = 0; - break; - case FORM_DATA2: /* Next 2 byte field is the data itself */ - case FORM_BLOCK2: /* Next 2 byte field is a block length */ - nbytes = 2; - break; - case FORM_DATA4: /* Next 4 byte field is the data itself */ - case FORM_BLOCK4: /* Next 4 byte field is a block length */ - case FORM_REF: /* Next 4 byte field is a DIE offset */ - nbytes = 4; - break; - case FORM_DATA8: /* Next 8 byte field is the data itself */ - nbytes = 8; - break; - case FORM_ADDR: /* Next field size is target sizeof(void *) */ - nbytes = TARGET_FT_POINTER_SIZE (objfile); - break; - default: - complain (&unknown_attribute_form, DIE_ID, DIE_NAME, form); - nbytes = -1; - break; - } - return (nbytes); -} |