Changeset 21

Show
Ignore:
Timestamp:
08/20/06 23:48:44 (2 years ago)
Author:
teqdruid
Message:

Update to GDB 6.5

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/mkpatch.sh

    r18 r21  
    22 
    33rm mod/gdb/*~ 
    4 rm mod/include/*~ 
    5 rm mod/include/elf/*~ 
    6 diff -Naur -X ignore.pattern orig mod > d-gdb6.4.patch 
    7 # Then go into gdb main dir and run patch -p1 < d-gdb6.3.patch 
     4diff -Naur -X ignore.pattern orig mod > d-gdb6.5.patch 
     5# Then go into gdb main dir and run patch -p1 < d-gdb6.5.patch 
  • trunk/mod/gdb/Makefile.in

    r18 r21  
    1 # Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 
    2 # 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, 
    3 # Inc. 
     1# Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 
     2# 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 
     3# Free Software Foundation, Inc. 
    44 
    55# This file is part of GDB. 
     
    1717# You should have received a copy of the GNU General Public License 
    1818# along with this program; if not, write to the Free Software 
    19 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
     19# Foundation, Inc., 51 Franklin Street, Fifth Floor, 
     20# Boston, MA 02110-1301, USA. 
    2021 
    2122prefix = @prefix@ 
     
    131132GDB_WARN_CFLAGS = $(WARN_CFLAGS) 
    132133GDB_WERROR_CFLAGS = $(WERROR_CFLAGS) 
     134 
     135GDB_WARN_CFLAGS_NO_FORMAT = `echo " $(GDB_WARN_CFLAGS) " | sed "s/ -Wformat-nonliteral / /g"` 
    133136 
    134137# Where is the INTL library?  Typically in ../intl. 
     
    344347 
    345348# INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. 
    346 INTERNAL_WARN_CFLAGS = \ 
     349INTERNAL_CFLAGS_BASE = \ 
    347350    $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \ 
    348351    $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \ 
    349352    $(BFD_CFLAGS) $(INCLUDE_CFLAGS) \ 
    350     $(INTL_CFLAGS) $(ENABLE_CFLAGS) \ 
    351    $(GDB_WARN_CFLAGS) 
     353    $(INTL_CFLAGS) $(ENABLE_CFLAGS) 
     354INTERNAL_WARN_CFLAGS = $(INTERNAL_CFLAGS_BASE) $(GDB_WARN_CFLAGS) 
    352355INTERNAL_CFLAGS = $(INTERNAL_WARN_CFLAGS) $(GDB_WERROR_CFLAGS) 
    353356 
     
    540543    objfiles.c osabi.c observer.c \ 
    541544    p-exp.y p-lang.c p-typeprint.c p-valprint.c parse.c printcmd.c \ 
     545    prologue-value.c \ 
    542546    regcache.c reggroups.c remote.c remote-fileio.c \ 
    543547    scm-exp.c scm-lang.c scm-valprint.c \ 
     
    573577coff_internal_h =   $(INCLUDE_DIR)/coff/internal.h 
    574578dis_asm_h = $(INCLUDE_DIR)/dis-asm.h $(bfd_h) 
     579elf_common_h =  $(INCLUDE_DIR)/elf/common.h 
    575580elf_reloc_macros_h =    $(INCLUDE_DIR)/elf/reloc-macros.h 
    576581elf_sh_h =  $(INCLUDE_DIR)/elf/sh.h 
     
    578583elf_bfd_h = $(BFD_SRC)/elf-bfd.h 
    579584elf_frv_h = $(INCLUDE_DIR)/elf/frv.h $(elf_reloc_macros_h) 
     585elf_m32c_h =    $(INCLUDE_DIR)/elf/m32c.h $(elf_reloc_macros_h) 
    580586libaout_h = $(BFD_SRC)/libaout.h 
    581587libiberty_h =   $(INCLUDE_DIR)/libiberty.h 
     
    594600gdb_sim_d10v_h = $(INCLUDE_DIR)/gdb/sim-d10v.h 
    595601gdb_sim_frv_h = $(INCLUDE_DIR)/gdb/sim-frv.h 
     602gdb_sim_m32c_h = $(INCLUDE_DIR)/gdb/sim-m32c.h 
    596603gdb_sim_ppc_h = $(INCLUDE_DIR)/gdb/sim-ppc.h 
    597604gdb_sim_sh_h =  $(INCLUDE_DIR)/gdb/sim-sh.h 
     
    693700gdb_ptrace_h = gdb_ptrace.h 
    694701gdb_regex_h = gdb_regex.h $(xregex_h) 
     702gdb_select_h = gdb_select.h 
    695703gdb_stabs_h = gdb-stabs.h 
    696704gdb_stat_h = gdb_stat.h 
     
    698706gdb_thread_db_h = gdb_thread_db.h 
    699707gdbthread_h = gdbthread.h $(breakpoint_h) $(frame_h) 
    700 gdbtypes_h = gdbtypes.h 
     708gdbtypes_h = gdbtypes.h $(hashtab_h) 
    701709gdb_vfork_h = gdb_vfork.h 
    702710gdb_wait_h = gdb_wait.h 
     
    724732libunwind_frame_h = libunwind-frame.h $(libunwind_h) 
    725733linespec_h = linespec.h 
     734linux_fork_h = linux-fork.h 
    726735linux_nat_h = linux-nat.h $(target_h) 
    727736m2_lang_h = m2-lang.h 
     
    735744mdebugread_h = mdebugread.h $(coff_sym_h) $(coff_symconst_h) 
    736745memattr_h = memattr.h 
     746mips_linux_tdep_h = mips-linux-tdep.h 
    737747mips_mdebug_tdep_h = mips-mdebug-tdep.h 
    738748mipsnbsd_tdep_h = mipsnbsd-tdep.h 
     
    744754objc_lang_h = objc-lang.h 
    745755objfiles_h = objfiles.h $(gdb_obstack_h) $(symfile_h) 
     756obsd_tdep_h = obsd-tdep.h 
    746757ocd_h = ocd.h 
    747758osabi_h = osabi.h 
     
    752763ppc_tdep_h = ppc-tdep.h 
    753764proc_utils_h = proc-utils.h 
     765prologue_value_h = prologue-value.h 
    754766regcache_h = regcache.h 
    755767reggroups_h = reggroups.h 
     
    758770remote_h = remote.h 
    759771remote_utils_h = remote-utils.h $(target_h) 
     772rs6000_tdep_h = rs6000-tdep.h $(defs_h) 
    760773s390_tdep_h = s390-tdep.h 
    761774scm_lang_h = scm-lang.h $(scm_tags_h) 
     
    764777serial_h = serial.h 
    765778ser_base_h = ser-base.h 
     779ser_tcp_h = ser-tcp.h 
    766780ser_unix_h = ser-unix.h 
    767781shnbsd_tdep_h = shnbsd-tdep.h 
    768782sh_tdep_h = sh-tdep.h 
    769783sim_regno_h = sim-regno.h 
     784sol2_tdep_h = sol2-tdep.h 
    770785solib_h = solib.h 
    771786solib_pa64_h = solib-pa64.h 
     
    859874    xcoffsolib.h \ 
    860875    macrotab.h macroexp.h macroscope.h \ 
     876    prologue-value.h \ 
    861877    ada-lang.h c-lang.h f-lang.h \ 
    862878    jv-lang.h \ 
     
    940956    trad-frame.o \ 
    941957    tramp-frame.o \ 
    942     solib.o solib-null.o 
     958    solib.o solib-null.o \ 
     959    prologue-value.o 
    943960 
    944961TSOBS = inflow.o 
     
    11951212        $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES) 
    11961213 
    1197 nlm:    force 
    1198     rootme=`pwd`; export rootme; $(MAKE) $(TARGET_FLAGS_TO_PASS) DO=all DODIRS=nlm subdir_do 
    1199  
    12001214# Create a library of the gdb object files and build GDB by linking 
    12011215# against that. 
     
    13771391ALLDEPFILES = \ 
    13781392    aix-thread.c \ 
    1379     alpha-nat.c alphabsd-nat.c alpha-linux-nat.c
     1393    alpha-nat.c alphabsd-nat.c alpha-linux-nat.c linux-fork.c
    13801394    alpha-tdep.c alpha-linux-tdep.c alphabsd-tdep.c alphanbsd-tdep.c \ 
    13811395    alpha-osf1-tdep.c alphafbsd-tdep.c alpha-mdebug-tdep.c \ 
     
    14211435    m68klinux-nat.c m68klinux-tdep.c \ 
    14221436    m88k-tdep.c m88kbsd-nat.c \ 
     1437    mingw-hdep.c \ 
    14231438    mips-linux-nat.c mips-linux-tdep.c \ 
    14241439    mips-irix-tdep.c \ 
     
    14261441    mipsnbsd-nat.c mipsnbsd-tdep.c \ 
    14271442    mips64obsd-nat.c mips64obsd-tdep.c \ 
    1428     nbsd-tdep.c
     1443    nbsd-tdep.c obsd-tdep.c
    14291444    solib-osf.c \ 
    14301445    somread.c solib-som.c $(HPREAD_SOURCE) \ 
     1446    posix-hdep.c \ 
    14311447    ppc-sysv-tdep.c ppc-linux-nat.c ppc-linux-tdep.c \ 
    14321448    ppcnbsd-nat.c ppcnbsd-tdep.c \ 
     
    14391455    rs6000-nat.c rs6000-tdep.c \ 
    14401456    s390-tdep.c s390-nat.c \ 
    1441     ser-go32.c ser-pipe.c ser-tcp.c
     1457    ser-go32.c ser-pipe.c ser-tcp.c ser-mingw.c
    14421458    sh-tdep.c sh64-tdep.c shnbsd-tdep.c shnbsd-nat.c \ 
     1459    sol2-tdep.c \ 
    14431460    solib-irix.c solib-svr4.c solib-sunos.c \ 
    14441461    sparc-linux-nat.c \ 
     
    14771494# conflict. 
    14781495gnu-v3-abi.o: $(srcdir)/gnu-v3-abi.c 
    1479     $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) \ 
    1480         $(srcdir)/gnu-v3-abi.c 
     1496    $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/gnu-v3-abi.c 
    14811497 
    14821498# FIXME: cagney/2003-08-10: "monitor.c" gets -Wformat-nonliteral 
     
    14871503# it doesn't use format strings and instead uses callbacks. 
    14881504monitor.o: $(srcdir)/monitor.c 
    1489     $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/monitor.c 
    1490  
    1491 # FIXME: cagney/2003-08-10: Do not try to build "printcmd.c" with 
    1492 # -Wformat-nonliteral.  It needs to be overhauled so that it doesn't 
    1493 # pass user input strings as the format parameter to host printf 
    1494 # function calls. 
     1505    $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/monitor.c 
     1506 
     1507# Do not try to build "printcmd.c" with -Wformat-nonliteral.  It manually 
     1508# checks format strings. 
    14951509printcmd.o: $(srcdir)/printcmd.c 
    1496     $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/printcmd.c 
     1510    $(CC) -c $(INTERNAL_CFLAGS_BASE) $(GDB_WARN_CFLAGS_NO_FORMAT) \ 
     1511       $(GDB_WERROR_CFLAGS) $(srcdir)/printcmd.c 
    14971512 
    14981513# FIXME: Procfs.o gets -Wformat errors because things like pid_t don't 
    14991514# match output format strings. 
    15001515procfs.o: $(srcdir)/procfs.c 
    1501     $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/procfs.c 
     1516    $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/procfs.c 
    15021517 
    15031518# FIXME: Thread-db.o gets warnings because the definitions of the register 
    15041519# sets are different from kernel to kernel. 
    15051520linux-thread-db.o: $(srcdir)/linux-thread-db.c 
    1506     $(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) \ 
    1507         $(srcdir)/linux-thread-db.c 
     1521    $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/linux-thread-db.c 
    15081522 
    15091523v850ice.o: $(srcdir)/v850ice.c 
     
    16711685    $(alphabsd_tdep_h) 
    16721686alphafbsd-tdep.o: alphafbsd-tdep.c $(defs_h) $(value_h) $(osabi_h) \ 
    1673     $(alpha_tdep_h) 
     1687    $(alpha_tdep_h) $(solib_svr4_h) 
    16741688alpha-linux-nat.o: alpha-linux-nat.c $(defs_h) $(target_h) $(linux_nat_h) 
    16751689alpha-linux-tdep.o: alpha-linux-tdep.c $(defs_h) $(frame_h) $(gdb_assert_h) \ 
     
    17171731    $(target_h) $(gdb_assert_h) $(amd64_tdep_h) $(amd64_nat_h) \ 
    17181732    $(bsd_kvm_h) 
    1719 amd64obsd-tdep.o: amd64obsd-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \ 
    1720     $(symtab_h) $(objfiles_h) $(osabi_h) $(regset_h) $(target_h) \ 
    1721     $(gdb_assert_h) $(gdb_string_h) $(amd64_tdep_h) $(i387_tdep_h) \ 
    1722     $(solib_svr4_h) 
     1733amd64obsd-tdep.o: amd64obsd-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \ 
     1734    $(gdbcore_h) $(symtab_h) $(objfiles_h) $(osabi_h) $(regcache_h) \ 
     1735    $(regset_h) $(target_h) $(trad_frame_h) $(gdb_assert_h) \ 
     1736    $(gdb_string_h) $(amd64_tdep_h) $(i387_tdep_h) $(solib_svr4_h) \ 
     1737    $(bsd_uthread_h) 
    17231738amd64-sol2-tdep.o: amd64-sol2-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \ 
    1724     $(regcache_h) $(osabi_h) $(symtab_h) $(gdb_string_h) $(amd64_tdep_h)
    1725     $(solib_svr4_h) 
     1739    $(regcache_h) $(osabi_h) $(symtab_h) $(gdb_string_h)
     1740    $(sol2_tdep_h) $(amd64_tdep_h) $(solib_svr4_h) 
    17261741amd64-tdep.o: amd64-tdep.c $(defs_h) $(arch_utils_h) $(block_h) \ 
    17271742    $(dummy_frame_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \ 
     
    17411756    $(gdbtypes_h) $(floatformat_h) $(gdbcore_h) $(frame_h) $(regcache_h) \ 
    17421757    $(doublest_h) $(solib_svr4_h) $(osabi_h) $(arm_tdep_h) \ 
    1743     $(glibc_tdep_h) 
     1758    $(glibc_tdep_h) $(trad_frame_h) $(tramp_frame_h) $(gdb_string_h) 
    17441759armnbsd-nat.o: armnbsd-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) \ 
    17451760    $(regcache_h) $(target_h) $(gdb_string_h) $(arm_tdep_h) $(inf_ptrace_h) 
     
    18281843    $(inferior_h) $(symtab_h) $(command_h) $(bfd_h) $(target_h) \ 
    18291844    $(gdbcore_h) $(gdbthread_h) $(regcache_h) $(regset_h) $(symfile_h) \ 
    1830     $(exec_h) $(readline_h) $(observer_h) $(gdb_assert_h) \ 
     1845    $(exec_h) $(readline_h) $(gdb_assert_h) \ 
    18311846    $(exceptions_h) $(solib_h) 
    18321847core-regset.o: core-regset.c $(defs_h) $(command_h) $(gdbcore_h) \ 
     
    19201935    $(parser_defs_h) $(cp_support_h) 
    19211936event-loop.o: event-loop.c $(defs_h) $(event_loop_h) $(event_top_h) \ 
    1922     $(gdb_string_h) $(exceptions_h) $(gdb_assert_h) 
     1937    $(gdb_string_h) $(exceptions_h) $(gdb_assert_h) $(gdb_select_h) 
    19231938event-top.o: event-top.c $(defs_h) $(top_h) $(inferior_h) $(target_h) \ 
    19241939    $(terminal_h) $(event_loop_h) $(event_top_h) $(interps_h) \ 
     
    19591974frame-unwind.o: frame-unwind.c $(defs_h) $(frame_h) $(frame_unwind_h) \ 
    19601975    $(gdb_assert_h) $(dummy_frame_h) $(gdb_obstack_h) 
    1961 frv-linux-tdep.o: frv-linux-tdep.c $(defs_h) $(target_h) $(frame_h) \ 
    1962     $(osabi_h) $(elf_bfd_h) $(elf_frv_h) $(frv_tdep_h) $(trad_frame_h) \ 
    1963     $(frame_unwind_h) 
     1976frv-linux-tdep.o: frv-linux-tdep.c $(defs_h) $(gdbcore_h) $(target_h) \ 
     1977    $(frame_h) $(osabi_h) $(regcache_h) $(elf_bfd_h) $(elf_frv_h) \ 
     1978    $(frv_tdep_h) $(trad_frame_h) $(frame_unwind_h) $(regset_h) \ 
     1979    $(gdb_string_h) 
    19641980frv-tdep.o: frv-tdep.c $(defs_h) $(gdb_string_h) $(inferior_h) $(gdbcore_h) \ 
    19651981    $(arch_utils_h) $(regcache_h) $(frame_h) $(frame_unwind_h) \ 
     
    19842000    $(symfile_h) $(objfiles_h) $(gdbtypes_h) $(expression_h) \ 
    19852001    $(language_h) $(target_h) $(value_h) $(demangle_h) $(complaints_h) \ 
    1986     $(gdbcmd_h) $(wrapper_h) $(cp_abi_h) $(gdb_assert_h) 
     2002    $(gdbcmd_h) $(wrapper_h) $(cp_abi_h) $(gdb_assert_h) $(hashtab_h) 
    19872003glibc-tdep.o: glibc-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(symfile_h) \ 
    19882004    $(objfiles_h) $(glibc_tdep_h) 
     
    20262042    $(target_h) $(objfiles_h) $(solib_svr4_h) $(glibc_tdep_h) \ 
    20272043    $(frame_unwind_h) $(trad_frame_h) $(dwarf2_frame_h) $(value_h) \ 
    2028     $(hppa_tdep_h) $(elf_common_h) 
     2044    $(hppa_tdep_h) $(elf_common_h) $(regset_h) 
    20292045hppa-tdep.o: hppa-tdep.c $(defs_h) $(bfd_h) $(inferior_h) $(regcache_h) \ 
    20302046    $(completer_h) $(osabi_h) $(gdb_assert_h) $(arch_utils_h) \ 
     
    20762092i386obsd-nat.o: i386obsd-nat.c $(defs_h) $(i386_tdep_h) 
    20772093i386obsd-tdep.o: i386obsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \ 
    2078     $(gdbcore_h) $(regcache_h) $(regset_h) $(symtab_h) $(objfiles_h) \ 
    2079     $(osabi_h) $(target_h) $(gdb_assert_h) $(gdb_string_h) \ 
    2080     $(i386_tdep_h) $(i387_tdep_h) $(solib_svr4_h) $(bsd_uthread_h) 
     2094    $(frame_unwind_h) $(gdbcore_h) $(regcache_h) $(regset_h) $(symtab_h) \ 
     2095    $(objfiles_h) $(osabi_h) $(target_h) $(trad_frame_h) $(gdb_assert_h) \ 
     2096    $(gdb_string_h) $(i386_tdep_h) $(i387_tdep_h) $(solib_svr4_h) \ 
     2097    $(bsd_uthread_h) 
    20812098i386-sol2-nat.o: i386-sol2-nat.c $(defs_h) $(regcache_h) $(gregset_h) \ 
    20822099    $(amd64_nat_h) $(amd64_tdep_h) 
    20832100i386-sol2-tdep.o: i386-sol2-tdep.c $(defs_h) $(value_h) $(osabi_h) \ 
    2084     $(gdb_string_h) $(i386_tdep_h) $(solib_svr4_h) 
     2101    $(gdb_string_h) $(sol2_tdep_h) $(i386_tdep_h) $(solib_svr4_h) 
    20852102i386-stub.o: i386-stub.c 
    20862103i386-tdep.o: i386-tdep.c $(defs_h) $(arch_utils_h) $(command_h) \ 
     
    21212138    $(objfiles_h) $(completer_h) $(ui_out_h) $(event_top_h) \ 
    21222139    $(parser_defs_h) $(regcache_h) $(reggroups_h) $(block_h) \ 
    2123     $(solib_h) $(gdb_assert_h) 
     2140    $(solib_h) $(gdb_assert_h) $(observer_h) 
    21242141inf-loop.o: inf-loop.c $(defs_h) $(inferior_h) $(target_h) $(event_loop_h) \ 
    21252142    $(event_top_h) $(inf_loop_h) $(remote_h) $(exceptions_h) 
    21262143inflow.o: inflow.c $(defs_h) $(frame_h) $(inferior_h) $(command_h) \ 
    21272144    $(serial_h) $(terminal_h) $(target_h) $(gdbthread_h) $(gdb_string_h) \ 
    2128     $(inflow_h) 
     2145    $(inflow_h) $(gdb_select_h) 
    21292146inf-ptrace.o: inf-ptrace.c $(defs_h) $(command_h) $(inferior_h) $(inflow_h) \ 
    2130     $(gdbcore_h) $(observer_h) $(regcache_h) $(gdb_assert_h) \ 
     2147    $(gdbcore_h) $(regcache_h) $(gdb_assert_h) \ 
    21312148    $(gdb_string_h) $(gdb_ptrace_h) $(gdb_wait_h) $(inf_child_h) 
    21322149infptrace.o: infptrace.c $(defs_h) $(command_h) $(frame_h) $(gdbcore_h) \ 
     
    21402157    $(mi_common_h) $(main_h) 
    21412158inftarg.o: inftarg.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \ 
    2142     $(gdbcore_h) $(command_h) $(gdb_stat_h) $(observer_h) $(gdb_wait_h) \ 
     2159    $(gdbcore_h) $(command_h) $(gdb_stat_h) $(gdb_wait_h) \ 
    21432160    $(inflow_h) 
    21442161inf-ttrace.o: inf-ttrace.c $(defs_h) $(command_h) $(gdbcore_h) \ 
    2145     $(gdbthread_h) $(inferior_h) $(observer_h) $(target_h) \ 
     2162    $(gdbthread_h) $(inferior_h) $(target_h) \ 
    21462163    $(gdb_assert_h) $(gdb_string_h) $(inf_child_h) $(inf_ttrace_h) 
    21472164interps.o: interps.c $(defs_h) $(gdbcmd_h) $(ui_out_h) $(event_loop_h) \ 
     
    21812198    $(completer_h) $(cp_abi_h) $(parser_defs_h) $(block_h) \ 
    21822199    $(objc_lang_h) $(linespec_h) $(exceptions_h) 
     2200linux-fork.o: linux-fork.c $(defs_h) $(inferior_h) $(regcache_h) $(gdbcmd_h) \ 
     2201    $(infcall_h) $(gdb_assert_h) $(gdb_string_h) $(linux_fork_h) \ 
     2202    $(linux_nat_h) 
    21832203linux-nat.o: linux-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdb_string_h) \ 
    21842204    $(gdb_wait_h) $(gdb_assert_h) $(linux_nat_h) $(gdbthread_h) \ 
    2185     $(gdbcmd_h) $(regcache_h) $(inf_ptrace.h) $(auxv.h) $(elf_bfd_h) \ 
    2186     $(gregset_h) $(gdbcore_h) $(gdbthread_h) $(gdb_stat_h) 
     2205    $(gdbcmd_h) $(regcache_h) $(regset_h) $(inf_ptrace_h) $(auxv_h) \ 
     2206    $(elf_bfd_h) $(gregset_h) $(gdbcore_h) $(gdbthread_h) $(gdb_stat_h) \ 
     2207    $(linux_fork_h) 
    21872208linux-thread-db.o: linux-thread-db.c $(defs_h) $(gdb_assert_h) \ 
    21882209    $(gdb_proc_service_h) $(gdb_thread_db_h) $(bfd_h) $(exceptions_h) \ 
    21892210    $(gdbthread_h) $(inferior_h) $(symfile_h) $(objfiles_h) $(target_h) \ 
    2190     $(regcache_h) $(solib_svr4_h) $(gdbcore_h) 
     2211    $(regcache_h) $(solib_svr4_h) $(gdbcore_h) $(linux_nat_h) 
    21912212lynx-nat.o: lynx-nat.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \ 
    21922213    $(gdbcore_h) $(regcache_h) 
     
    22012222m2-valprint.o: m2-valprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \ 
    22022223    $(m2_lang_h) $(c_lang_h) 
     2224m32c-tdep.o: m32c-tdep.c $(defs_h) $(gdb_assert_h) $(elf_bfd_h)     \ 
     2225    $(elf_m32c_h) $(gdb_sim_m32c_h) $(dis_asm_h) $(gdbtypes_h)  \ 
     2226    $(regcache_h) $(arch_utils_h) $(frame_h) $(frame_unwind_h)  \ 
     2227    $(dwarf2_frame_h) $(dwarf2expr_h) $(symtab_h) $(gdbcore_h)  \ 
     2228    $(value_h) $(reggroups_h) $(prologue_value_h) $(target_h) 
    22032229m32r-linux-nat.o: m32r-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \ 
    22042230    $(regcache_h) $(linux_nat_h) $(gdb_assert_h) $(gdb_string_h) \ 
     
    22772303mem-break.o: mem-break.c $(defs_h) $(symtab_h) $(breakpoint_h) $(inferior_h) \ 
    22782304    $(target_h) 
     2305mingw-hdep.o: mingw-hdep.c $(defs_h) $(serial_h) $(gdb_assert_h) \ 
     2306    $(gdb_select_h) $(gdb_string_h) 
    22792307minsyms.o: minsyms.c $(defs_h) $(gdb_string_h) $(symtab_h) $(bfd_h) \ 
    22802308    $(symfile_h) $(objfiles_h) $(demangle_h) $(value_h) $(cp_abi_h) 
     
    22862314mips-irix-tdep.o: mips-irix-tdep.c $(defs_h) $(osabi_h) $(elf_bfd_h) 
    22872315mips-linux-nat.o: mips-linux-nat.c $(defs_h) $(mips_tdep_h) $(target_h) \ 
    2288     $(linux_nat_h) 
     2316    $(linux_nat_h) $(gdb_proc_service_h) $(mips_linux_tdep_h) \ 
     2317    $(inferior_h) 
    22892318mips-linux-tdep.o: mips-linux-tdep.c $(defs_h) $(gdbcore_h) $(target_h) \ 
    22902319    $(solib_svr4_h) $(osabi_h) $(mips_tdep_h) $(gdb_string_h) \ 
    22912320    $(gdb_assert_h) $(frame_h) $(regcache_h) $(trad_frame_h) \ 
    2292     $(tramp_frame_h) 
     2321    $(tramp_frame_h) $(floatformat_h) $(mips_linux_tdep_h) 
    22932322mips-mdebug-tdep.o: mips-mdebug-tdep.c $(defs_h) $(frame_h) $(mips_tdep_h) \ 
    22942323    $(trad_frame_h) $(block_h) $(symtab_h) $(objfiles_h) $(elf_mips_h) \ 
     
    23172346mn10300-linux-tdep.o: mn10300-linux-tdep.c $(defs_h) $(gdbcore_h) \ 
    23182347    $(gdb_string_h) $(regcache_h) $(mn10300_tdep_h) $(gdb_assert_h) \ 
    2319     $(bfd_h) $(elf_bfd_h) $(osabi_h) $(regset_h) $(solib_svr4_h) 
     2348    $(bfd_h) $(elf_bfd_h) $(osabi_h) $(regset_h) $(solib_svr4_h) \ 
     2349    $(frame_h) $(trad_frame_h) $(tramp_frame_h) 
    23202350mn10300-tdep.o: mn10300-tdep.c $(defs_h) $(arch_utils_h) $(dis_asm_h) \ 
    23212351    $(gdbtypes_h) $(regcache_h) $(gdb_string_h) $(gdb_assert_h) \ 
     2352    $(gdbcore_h) $(value_h) $(gdbtypes_h) \ 
    23222353    $(frame_h) $(frame_unwind_h) $(frame_base_h) $(trad_frame_h) \ 
    23232354    $(symtab_h) $(dwarf2_frame_h) $(osabi_h) $(mn10300_tdep_h) 
    2324  
    23252355monitor.o: monitor.c $(defs_h) $(gdbcore_h) $(target_h) $(exceptions_h) \ 
    23262356    $(gdb_string_h) $(command_h) $(serial_h) $(monitor_h) $(gdbcmd_h) \ 
     
    23532383    $(objfiles_h) $(gdb_stabs_h) $(target_h) $(bcache_h) $(mdebugread_h) \ 
    23542384    $(gdb_assert_h) $(gdb_stat_h) $(gdb_obstack_h) $(gdb_string_h) \ 
    2355     $(hashtab_h) $(breakpoint_h) $(block_h) $(dictionary_h) 
     2385    $(hashtab_h) $(breakpoint_h) $(block_h) $(dictionary_h) $(source_h) 
    23562386observer.o: observer.c $(defs_h) $(observer_h) $(command_h) $(gdbcmd_h) \ 
    23572387    $(observer_inc) 
     2388obsd-tdep.o: obsd-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(obsd_tdep_h) 
    23582389ocd.o: ocd.c $(defs_h) $(gdbcore_h) $(gdb_string_h) $(frame_h) $(inferior_h) \ 
    23592390    $(bfd_h) $(symfile_h) $(target_h) $(exceptions_h) $(gdbcmd_h) \ 
     
    23632394parse.o: parse.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \ 
    23642395    $(frame_h) $(expression_h) $(value_h) $(command_h) $(language_h) \ 
    2365     $(parser_defs_h) $(gdbcmd_h) $(symfile_h) $(inferior_h) \ 
    2366     $(doublest_h) $(gdb_assert_h) $(block_h) 
     2396    $(f_lang_h) $(parser_defs_h) $(gdbcmd_h) $(symfile_h) $(inferior_h) \ 
     2397    $(doublest_h) $(gdb_assert_h) $(block_h) $(source_h) 
    23672398p-exp.o: p-exp.c $(defs_h) $(gdb_string_h) $(expression_h) $(value_h) \ 
    23682399    $(parser_defs_h) $(language_h) $(p_lang_h) $(bfd_h) $(symfile_h) \ 
     
    23712402    $(expression_h) $(parser_defs_h) $(language_h) $(p_lang_h) \ 
    23722403    $(valprint_h) $(value_h) 
     2404posix-hdep.o: posix-hdep.c $(defs_h) $(gdb_string_h) $(gdb_select_h) 
    23732405ppc-bdm.o: ppc-bdm.c $(defs_h) $(gdbcore_h) $(gdb_string_h) $(frame_h) \ 
    23742406    $(inferior_h) $(bfd_h) $(symfile_h) $(target_h) $(gdbcmd_h) \ 
     
    23892421    $(gdbcore_h) $(regcache_h) $(bsd_kvm_h) $(ppc_tdep_h) \ 
    23902422    $(ppcnbsd_tdep_h) $(inf_ptrace_h) 
    2391 ppcnbsd-tdep.o: ppcnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) \ 
    2392     $(target_h) $(breakpoint_h) $(value_h) $(osabi_h) $(ppc_tdep_h) \ 
    2393     $(ppcnbsd_tdep_h) $(nbsd_tdep_h) $(tramp_frame_h) $(trad_frame_h) \ 
    2394     $(gdb_assert_h) $(solib_svr4_h) 
     2423ppcnbsd-tdep.o: ppcnbsd-tdep.c $(defs_h) $(gdbcore_h) $(gdb_types_h) \ 
     2424    $(osabi_h) $(regcache_h) $(regset_h) $(trad_frame_h) \ 
     2425    $(tramp_frame_h) $(gdb_assert_h) $(gdb_string_h) \ 
     2426    $(ppc_tdep_h) $(ppcnbsd_tdep_h) $(solib_svr4_h) 
    23952427ppcobsd-nat.o: ppcobsd-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) \ 
    2396     $(regcache_h) $(ppc_tdep_h) $(ppcobsd_tdep_h) $(inf_ptrace_h) \ 
    2397     $(bsd_kvm_h) 
     2428    $(regcache_h) $(ppc_tdep_h) $(ppcobsd_tdep_h) $(bsd_kvm_h) \ 
     2429    $(inf_ptrace_h) 
    23982430ppcobsd-tdep.o: ppcobsd-tdep.c $(defs_h) $(arch_utils_h) $(floatformat_h) \ 
    23992431    $(frame_h) $(frame_unwind_h) $(osabi_h) $(regcache_h) $(regset_h) \ 
    2400     $(trad_frame_h) $(gdb_assert_h) $(gdb_string_h) $(ppc_tdep_h) \ 
    2401     $(ppcobsd_tdep_h) $(solib_svr4_h) 
     2432    $(symtab_h) $(trad_frame_h) $(gdb_assert_h) $(gdb_string_h) \ 
     2433    $(ppc_tdep_h) $(ppcobsd_tdep_h) $(solib_svr4_h) 
    24022434ppc-sysv-tdep.o: ppc-sysv-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \ 
    24032435    $(regcache_h) $(value_h) $(gdb_string_h) $(gdb_assert_h) \ 
     
    24152447    $(elf_bfd_h) $(gdbcmd_h) $(gdbthread_h) $(gdb_wait_h) \ 
    24162448    $(gdb_string_h) $(gdb_assert_h) $(inflow_h) $(auxv_h) \ 
    2417     $(gdb_dirent_h) $(X_OK) $(gdb_stat_h) $(proc_utils_h) $(gregset_h) 
     2449    $(gdb_dirent_h) $(gdb_stat_h) $(proc_utils_h) $(gregset_h) 
    24182450proc-service.o: proc-service.c $(defs_h) $(gdb_proc_service_h) $(inferior_h) \ 
    24192451    $(symtab_h) $(target_h) $(gregset_h) 
    24202452proc-why.o: proc-why.c $(defs_h) $(proc_utils_h) 
     2453prologue-value.o: prologue-value.c $(defs_h) $(gdb_string_h) $(gdb_assert_h) \ 
     2454    $(prologue_value_h) $(regcache_h) 
    24212455p-typeprint.o: p-typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) $(symtab_h) \ 
    24222456    $(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) $(target_h) \ 
     
    24372471    $(gdb_stabs_h) $(gdbthread_h) $(remote_h) $(regcache_h) $(value_h) \ 
    24382472    $(gdb_assert_h) $(event_loop_h) $(event_top_h) $(inf_loop_h) \ 
    2439     $(serial_h) $(gdbcore_h) $(remote_fileio_h) $(solib_h) $(observer_h) 
     2473    $(serial_h) $(gdbcore_h) $(remote_fileio_h) $(solib_h) $(observer_h) \ 
     2474    $(cli_decode_h) $(cli_setshow_h) 
    24402475remote-e7000.o: remote-e7000.c $(defs_h) $(gdbcore_h) $(gdbarch_h) \ 
    24412476    $(inferior_h) $(target_h) $(value_h) $(command_h) $(gdb_string_h) \ 
     
    24552490    $(remote_utils_h) $(gdb_string_h) $(gdb_stat_h) $(regcache_h) \ 
    24562491    $(mips_tdep_h) 
    2457 remote-rdi.o: remote-rdi.c $(defs_h) $(gdb_string_h) $(frame_h) \ 
    2458     $(inferior_h) $(bfd_h) $(symfile_h) $(target_h) $(gdbcmd_h) \ 
    2459     $(objfiles_h) $(gdb_stabs_h) $(gdbthread_h) $(gdbcore_h) \ 
    2460     $(breakpoint_h) $(completer_h) $(regcache_h) $(arm_tdep_h) \ 
    2461     $(rdi_share_ardi_h) $(rdi_share_adp_h) $(rdi_share_hsys_h) 
    24622492remote-rdp.o: remote-rdp.c $(defs_h) $(inferior_h) $(value_h) \ 
    24632493    $(gdb_callback_h) $(command_h) $(symfile_h) $(remote_utils_h) \ 
     
    24702500    $(gdb_string_h) $(terminal_h) $(target_h) $(gdbcore_h) \ 
    24712501    $(gdb_callback_h) $(gdb_remote_sim_h) $(remote_utils_h) $(command_h) \ 
    2472     $(regcache_h) $(gdb_assert_h) $(sim_regno_h) $(arch_utils_h) 
     2502    $(regcache_h) $(gdb_assert_h) $(sim_regno_h) $(arch_utils_h) \ 
     2503    $(readline_h) 
    24732504remote-st.o: remote-st.c $(defs_h) $(gdbcore_h) $(target_h) $(gdb_string_h) \ 
    24742505    $(serial_h) $(regcache_h) 
     
    24892520    $(coff_xcoff_h) $(libxcoff_h) $(elf_bfd_h) $(solib_svr4_h) \ 
    24902521    $(ppc_tdep_h) $(gdb_assert_h) $(dis_asm_h) $(trad_frame_h) \ 
    2491     $(frame_unwind_h) $(frame_base_h) $(reggroups_h) 
     2522    $(frame_unwind_h) $(frame_base_h) $(rs6000_tdep_h) 
     2523rs6000-aix-tdep.o: rs6000-aix-tdep.c $(defs_h) $(osabi_h) $(rs6000_tdep_h) 
    24922524s390-nat.o: s390-nat.c $(defs_h) $(tm_h) $(regcache_h) $(inferior_h) \ 
    24932525    $(s390_tdep_h) $(target_h) $(linux_nat_h) 
    24942526s390-tdep.o: s390-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) $(inferior_h) \ 
    24952527    $(symtab_h) $(target_h) $(gdbcore_h) $(gdbcmd_h) $(objfiles_h) \ 
    2496     $(tm_h) $(__bfd_bfd_h) $(floatformat_h) $(regcache_h) \ 
    2497     $(trad_frame_h) $(frame_base_h) $(frame_unwind_h) $(dwarf2_frame_h) \ 
    2498     $(reggroups_h) $(regset_h) $(value_h) $(gdb_assert_h) $(dis_asm_h) \ 
    2499     $(solib_svr4_h) $(s390_tdep_h) 
     2528    $(floatformat_h) $(regcache_h) $(trad_frame_h) $(frame_base_h) \ 
     2529    $(frame_unwind_h) $(dwarf2_frame_h) $(reggroups_h) $(regset_h) \ 
     2530    $(value_h) $(gdb_assert_h) $(dis_asm_h) $(solib_svr4_h) \ 
     2531    $(prologue_value_h) $(s390_tdep_h) 
    25002532scm-exp.o: scm-exp.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \ 
    25012533    $(parser_defs_h) $(language_h) $(value_h) $(c_lang_h) $(scm_lang_h) \ 
     
    25132545serial.o: serial.c $(defs_h) $(serial_h) $(gdb_string_h) $(gdbcmd_h) 
    25142546ser-base.o: ser-base.c $(defs_h) $(serial_h) $(ser_base_h) $(event_loop_h) \ 
    2515     $(gdb_string_h) 
     2547    $(gdb_select_h) $(gdb_string_h) 
    25162548ser-pipe.o: ser-pipe.c $(defs_h) $(serial_h) $(ser_base_h) $(ser_unix_h) \ 
    25172549    $(gdb_vfork_h) $(gdb_string_h) 
    2518 ser-tcp.o: ser-tcp.c $(defs_h) $(serial_h) $(ser_base_h) $(ser_unix_h) \ 
     2550ser-tcp.o: ser-tcp.c $(defs_h) $(serial_h) $(ser_base_h) $(ser_tcp_h) \ 
    25192551    $(gdb_string_h) 
    25202552ser-unix.o: ser-unix.c $(defs_h) $(serial_h) $(ser_base_h) $(ser_unix_h) \ 
    2521     $(terminal_h) $(gdb_string_h) 
     2553    $(terminal_h) $(gdb_select_h) $(gdb_string_h) 
     2554ser-mingw.o: ser-mingw.c $(defs_h) $(serial_h) $(ser_base_h) \ 
     2555    $(ser_tcp_h) $(gdb_assert_h) $(gdb_string_h) 
    25222556sh3-rom.o: sh3-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \ 
    25232557    $(serial_h) $(srec_h) $(arch_utils_h) $(regcache_h) $(gdb_string_h) \ 
     
    25402574    $(gdb_assert_h) $(arch_utils_h) $(floatformat_h) $(regcache_h) \ 
    25412575    $(doublest_h) $(osabi_h) $(sh_tdep_h) $(elf_bfd_h) $(solib_svr4_h) \ 
    2542     $(elf_sh_h) $(gdb_sim_sh_h) 
     2576    $(elf_sh_h) $(gdb_sim_sh_h) $(reggroups_h) 
     2577sol2-tdep.o: sol2-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(sol2_tdep_h) 
    25432578solib-aix5.o: solib-aix5.c $(defs_h) $(gdb_string_h) $(elf_external_h) \ 
    25442579    $(symtab_h) $(bfd_h) $(symfile_h) $(objfiles_h) $(gdbcore_h) \ 
     
    25712606    $(elf_mips_h) $(symtab_h) $(bfd_h) $(symfile_h) $(objfiles_h) \ 
    25722607    $(gdbcore_h) $(target_h) $(inferior_h) $(gdb_assert_h) \ 
    2573     $(solist_h) $(solib_h) $(solib_svr4_h) $(bfd_target_h) $(exec_h) 
     2608    $(solist_h) $(solib_h) $(solib_svr4_h) $(bfd_target_h) $(elf_bfd_h) \ 
     2609    $(exec_h) 
    25742610sol-thread.o: sol-thread.c $(defs_h) $(gdbthread_h) $(target_h) \ 
    25752611    $(inferior_h) $(gdb_stat_h) $(gdbcmd_h) $(gdbcore_h) $(regcache_h) \ 
     
    25902626    $(target_h) $(trad_frame_h) $(gdb_assert_h) $(gdb_string_h) \ 
    25912627    $(sparc64_tdep_h) $(solib_svr4_h) 
    2592 sparc64-linux-nat.o: sparc64-linux-nat.c $(defs_h) $(sparc64_tdep_h) \ 
     2628sparc64-linux-nat.o: sparc64-linux-nat.c $(defs_h) $(regcache_h) \ 
     2629    $(gregset_h) $(sparc64_tdep_h) $(sparc_tdep_h) \ 
    25932630    $(sparc_nat_h) $(inferior_h) $(target_h) $(linux_nat_h) 
    25942631sparc64-linux-tdep.o: sparc64-linux-tdep.c $(defs_h) $(frame_h) \ 
    2595     $(frame_unwind_h) $(gdbarch_h) $(osabi_h) $(solib_svr4_h) \ 
    2596     $(symtab_h) $(trad_frame_h) $(tramp_frame_h) $(sparc64_tdep_h) 
     2632    $(frame_unwind_h) $(dwarf2-frame_h) $(regset_h) $(regcache_h) \ 
     2633    $(gdbarch_h) $(gdbcore_h) $(osabi_h) $(solib_svr4_h) $(symtab_h) \ 
     2634    $(trad_frame_h) $(tramp_frame_h) $(sparc64_tdep_h) 
    25972635sparc64-nat.o: sparc64-nat.c $(defs_h) $(gdbarch_h) $(sparc64_tdep_h) \ 
    25982636    $(sparc_nat_h) 
     
    26042642    $(gdb_assert_h) $(gdb_string_h) $(sparc64_tdep_h) $(nbsd_tdep_h) 
    26052643sparc64obsd-tdep.o: sparc64obsd-tdep.c $(defs_h) $(frame_h) \ 
    2606     $(frame_unwind_h) $(osabi_h) $(regset_h) $(symtab_h) $(objfiles_h) \ 
    2607     $(solib_svr4_h) $(trad_frame_h) $(gdb_assert_h) $(sparc64_tdep_h) 
     2644    $(frame_unwind_h) $(gdbcore_h) $(osabi_h) $(regcache_h) $(regset_h) \ 
     2645    $(symtab_h) $(objfiles_h) $(trad_frame_h) $(gdb_assert_h) \ 
     2646    $(obsd_tdep_h) $(sparc64_tdep_h) $(solib_svr4_h) $(bsd_uthread_h) 
    26082647sparc64-sol2-tdep.o: sparc64-sol2-tdep.c $(defs_h) $(frame_h) \ 
    26092648    $(frame_unwind_h) $(gdbarch_h) $(symtab_h) $(objfiles_h) $(osabi_h) \ 
    2610     $(trad_frame_h) $(gdb_assert_h) $(sparc64_tdep_h) $(solib_svr4_h) 
     2649    $(trad_frame_h) $(gdb_assert_h) $(sol2_tdep_h) $(sparc64_tdep_h) \ 
     2650    $(solib_svr4_h) 
    26112651sparc64-tdep.o: sparc64-tdep.c $(defs_h) $(arch_utils_h) $(dwarf2_frame_h) \ 
    26122652    $(floatformat_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \ 
     
    26142654    $(osabi_h) $(regcache_h) $(target_h) $(value_h) $(gdb_assert_h) \ 
    26152655    $(gdb_string_h) $(sparc64_tdep_h) 
    2616 sparc-linux-nat.o: sparc-linux-nat.c $(defs_h) $(inferior_h) $(target_h) \ 
     2656sparc-linux-nat.o: sparc-linux-nat.c $(defs_h) $(regcache_h) $(gregset_h) \ 
     2657    $(sparc_tdep_h) $(sparc_nat_h) $(inferior_h) $(target_h) \ 
    26172658    $(linux_nat_h) 
    2618 sparc-linux-tdep.o: sparc-linux-tdep.c $(defs_h) $(floatformat_h) $(frame_h) \ 
    2619     $(frame_unwind_h) $(gdbarch_h) $(gdbcore_h) $(osabi_h) $(regcache_h) \ 
    2620     $(solib_svr4_h) $(symtab_h) $(trad_frame_h) $(tramp_frame_h) \ 
    2621     $(sparc_tdep_h) 
     2659sparc-linux-tdep.o: sparc-linux-tdep.c $(defs_h) $(dwarf2_frame_h) \ 
     2660    $(floatformat_h) $(frame_h) $(frame_unwind_h) $(regset_h) \ 
     2661    $(gdbarch_h) $(gdbcore_h) $(osabi_h) $(regcache_h) $(solib_svr4_h) \ 
     2662    $(symtab_h) $(trad_frame_h) $(tramp_frame_h) $(sparc_tdep_h) 
    26222663sparc-nat.o: sparc-nat.c $(defs_h) $(inferior_h) $(regcache_h) $(target_h) \ 
    26232664    $(gdb_assert_h) $(gdb_string_h) $(gdb_wait_h) $(sparc_tdep_h) \ 
     
    26302671    $(gdb_string_h) $(sparc_tdep_h) $(nbsd_tdep_h) 
    26312672sparcobsd-tdep.o: sparcobsd-tdep.c $(defs_h) $(floatformat_h) $(frame_h) \ 
    2632     $(frame_unwind_h) $(osabi_h) $(solib_svr4_h) $(symtab_h) \ 
    2633     $(trad_frame_h) $(gdb_assert_h) $(sparc_tdep_h) 
     2673    $(frame_unwind_h) $(gdbcore_h) $(osabi_h) $(regcache_h) \ 
     2674    $(symtab_h) $(trad_frame_h) $(gdb_assert_h) $(obsd_tdep_h) \ 
     2675    $(sparc_tdep_h) $(solib_svr4_h) $(bsd_uthread_h) 
    26342676sparc-sol2-nat.o: sparc-sol2-nat.c $(defs_h) $(regcache_h) $(gregset_h) \ 
    26352677    $(sparc_tdep_h) $(sparc64_tdep_h) 
     
    26372679    $(gdbcore_h) $(symtab_h) $(objfiles_h) $(osabi_h) $(regcache_h) \ 
    26382680    $(target_h) $(trad_frame_h) $(gdb_assert_h) $(gdb_string_h) \ 
    2639     $(sparc_tdep_h) $(solib_svr4_h) 
     2681    $(sol2_tdep_h) $(sparc_tdep_h) $(solib_svr4_h) 
    26402682sparc-stub.o: sparc-stub.c 
    26412683sparc-tdep.o: sparc-tdep.c $(defs_h) $(arch_utils_h) $(dis_asm_h) \ 
    2642     $(floatformat_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \ 
    2643     $(gdbcore_h) $(gdbtypes_h) $(inferior_h) $(symtab_h) $(objfiles_h) \ 
    2644     $(osabi_h) $(regcache_h) $(target_h) $(value_h) $(gdb_assert_h) \ 
    2645     $(gdb_string_h) $(sparc_tdep_h) 
     2684    $(dwarf2_frame_h) $(floatformat_h) $(frame_h) $(frame_base_h) \ 
     2685    $(frame_unwind_h) $(gdbcore_h) $(gdbtypes_h) $(inferior_h) \ 
     2686    $(symtab_h) $(objfiles_h) $(osabi_h) $(regcache_h) $(target_h) \ 
     2687    $(value_h) $(gdb_assert_h) $(gdb_string_h) $(sparc_tdep_h) 
    26462688stabsread.o: stabsread.c $(defs_h) $(gdb_string_h) $(bfd_h) $(gdb_obstack_h) \ 
    26472689    $(symtab_h) $(gdbtypes_h) $(expression_h) $(symfile_h) $(objfiles_h) \ 
     
    26542696    $(annotate_h) $(ui_out_h) $(block_h) $(stack_h) $(dictionary_h) \ 
    26552697    $(exceptions_h) $(reggroups_h) $(regcache_h) $(solib_h) \ 
    2656     $(valprint.h)$(gdb_assert_h) $(gdb_string_h) 
     2698    $(valprint_h) $(gdb_assert_h) $(gdb_string_h) 
    26572699std-regs.o: std-regs.c $(defs_h) $(user_regs_h) $(frame_h) $(gdbtypes_h) \ 
    26582700    $(value_h) $(gdb_string_h) 
     
    26712713    $(symfile_h) $(objfiles_h) $(breakpoint_h) $(command_h) \ 
    26722714    $(gdb_obstack_h) $(exceptions_h) $(language_h) $(bcache_h) \ 
    2673     $(block_h) $(gdb_regex_h) $(dictionary_h) $(gdb_string_h) \ 
    2674     $(readline_h) 
     2715    $(block_h) $(gdb_regex_h) $(gdb_stat_h) $(dictionary_h) \ 
     2716    $(gdb_string_h) $(readline_h) 
    26752717symtab.o: symtab.c $(defs_h) $(d_lang_h) $(symtab_h) $(gdbtypes_h) $(gdbcore_h) \ 
    26762718    $(frame_h) $(target_h) $(value_h) $(symfile_h) $(objfiles_h) \ 
     
    27182760    $(exceptions_h) $(tui_h) $(gdbcmd_h) $(serial_h) $(bfd_h) \ 
    27192761    $(target_h) $(demangle_h) $(expression_h) $(language_h) $(charset_h) \ 
    2720     $(annotate_h) $(filenames_h) $(symfile_h) $(inferior_h)
    2721     $(gdb_curses_h) $(readline_h) 
     2762    $(annotate_h) $(filenames_h) $(symfile_h) $(inferior_h) $(top_h)
     2763    $(gdb_curses_h) $(readline_h) $(gdb_obstack_h) 
    27222764uw-thread.o: uw-thread.c $(defs_h) $(gdbthread_h) $(target_h) $(inferior_h) \ 
    27232765    $(regcache_h) $(gregset_h) 
     
    27412783    $(language_h) $(scm_lang_h) $(demangle_h) $(doublest_h) \ 
    27422784    $(gdb_assert_h) $(regcache_h) $(block_h) 
    2743 varobj.o: varobj.c $(defs_h) $(value_h) $(expression_h) $(frame_h) \ 
    2744     $(language_h) $(wrapper_h) $(gdbcmd_h) $(gdb_string_h) $(varobj_h) 
     2785varobj.o: varobj.c $(defs_h) $(exceptions_h) $(value_h) $(expression_h) \ 
     2786    $(frame_h) $(language_h) $(wrapper_h) $(gdbcmd_h) $(gdb_assert_h) \ 
     2787    $(gdb_string_h) $(varobj_h) 
    27452788vaxbsd-nat.o: vaxbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) $(target_h) \ 
    27462789    $(vax_tdep_h) $(inf_ptrace_h) $(bsd_kvm_h) 
     
    27492792vaxnbsd-tdep.o: vaxnbsd-tdep.c $(defs_h) $(arch_utils_h) $(osabi_h) \ 
    27502793    $(vax_tdep_h) $(solib_svr4_h) $(gdb_string_h) 
    2751 vaxobsd-tdep.o: vaxobsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \ 
     2794vaxobsd-tdep.o: vaxobsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \ 
    27522795    $(frame_unwind_h) $(osabi_h) $(symtab_h) $(trad_frame_h) \ 
    27532796    $(vax_tdep_h) $(gdb_string_h) 
    27542797vax-tdep.o: vax-tdep.c $(defs_h) $(arch_utils_h) $(dis_asm_h) \ 
    2755     $(float_format_h)$(frame_h) $(frame_base_h) $(frame_unwind_h) \ 
     2798    $(float_format_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \ 
    27562799    $(gdbcore_h) $(gdbtypes_h) $(osabi_h) $(regcache_h) $(regset_h) \ 
    27572800    $(trad_frame_h) $(value_h) $(gdb_string_h) $(vax_tdep_h) 
     
    27592802    $(exceptions_h) $(gdbcore_h) $(command_h) $(completer_h) \ 
    27602803    $(regcache_h) $(top_h) $(buildsym_h) $(symfile_h) $(objfiles_h) \ 
    2761     $(gdb_string_h) $(gdbthread_h) $(gdbcmd_h) $(exec_h) $(i386_tdep_h) \ 
    2762     $(i387_tdep_h) 
     2804    $(gdb_string_h) $(gdbthread_h) $(gdbcmd_h) $(exec_h) $(solist_h) \ 
     2805    $(solib_h) $(i386_tdep_h) $(i387_tdep_h) 
    27632806wince.o: wince.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \ 
    27642807    $(exceptions_h) $(gdbcore_h) $(command_h) $(buildsym_h) $(symfile_h) \ 
     
    27962839    $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-cmds.c 
    27972840cli-decode.o: $(srcdir)/cli/cli-decode.c $(defs_h) $(symtab_h) \ 
    2798     $(gdb_regex_h) $(gdb_string_h) $(ui_out_h) $(cli_cmds_h) \ 
    2799     $(cli_decode_h) $(tui_h) $(gdb_assert_h) 
     2841    $(gdb_regex_h) $(gdb_string_h) $(completer_h) $(ui_out_h) \ 
     2842    $(cli_cmds_h) $(cli_decode_h) $(tui_h) $(gdb_assert_h) 
    28002843    $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-decode.c 
    28012844cli-dump.o: $(srcdir)/cli/cli-dump.c $(defs_h) $(gdb_string_h) \ 
     
    30273070    $(symtab_h) $(ui_out_h) 
    30283071    $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-symbol-cmds.c 
    3029 mi-common.o: $(srcdir)/mi/mi-common.c $(mi_common_h) 
     3072mi-common.o: $(srcdir)/mi/mi-common.c $(defs_h) $(mi_common_h) 
    30303073    $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-common.c 
    3031  
    3032 # 
    3033 # rdi-share sub-directory 
    3034 # 
    3035 # Need to explicitly specify the compile rule as make will do nothing 
    3036 # or try to compile the object file into the mi directory. 
    3037  
    3038 rdi-share/libangsd.a:   force 
    3039     @dir=rdi-share; \ 
    3040     if [ -f ./$${dir}/Makefile ] ; then \ 
    3041       r=`pwd`; export r; \ 
    3042       srcroot=`cd $(srcdir); pwd`; export srcroot; \ 
    3043       (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \ 
    3044     else \ 
    3045       true; \ 
    3046     fi 
    30473074 
    30483075# 
     
    30923119tui-interp.o: $(srcdir)/tui/tui-interp.c $(defs_h) $(interps_h) $(top_h) \ 
    30933120    $(event_top_h) $(event_loop_h) $(ui_out_h) $(cli_out_h) \ 
    3094     $(tui_data_h) $(readline_h) $(tui_win_h) $(tui_h) $(tui_io_h) 
     3121    $(tui_data_h) $(readline_h) $(tui_win_h) $(tui_h) $(tui_io_h) \ 
     3122    $(exceptions_h) 
    30953123    $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-interp.c 
    30963124tui-io.o: $(srcdir)/tui/tui-io.c $(defs_h) $(target_h) \ 
  • trunk/mod/gdb/c-lang.c

    r19 r21  
    11/* C language support routines for GDB, the GNU debugger. 
    22 
    3    Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2002, 
     3   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2002, 
    44   2003, 2004, 2005 Free Software Foundation, Inc. 
    55 
     
    1818   You should have received a copy of the GNU General Public License 
    1919   along with this program; if not, write to the Free Software 
    20    Foundation, Inc., 59 Temple Place - Suite 330
    21    Boston, MA 02111-1307, USA.  */ 
     20   Foundation, Inc., 51 Franklin Street, Fifth Floor
     21   Boston, MA 02110-1301, USA.  */ 
    2222 
    2323#include "defs.h" 
  • trunk/mod/gdb/defs.h

    r18 r21  
    11/* *INDENT-OFF* */ /* ATTR_FORMAT confuses indent, avoid running it for now */ 
    22/* Basic, host-specific, and target-specific definitions for GDB. 
    3    Copyright 1986, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 
     3   Copyright (C) 1986, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 
    44   1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 
    55   Free Software Foundation, Inc. 
     
    1919   You should have received a copy of the GNU General Public License 
    2020   along with this program; if not, write to the Free Software 
    21    Foundation, Inc., 59 Temple Place - Suite 330
    22    Boston, MA 02111-1307, USA.  */ 
     21   Foundation, Inc., 51 Franklin Street, Fifth Floor
     22   Boston, MA 02110-1301, USA.  */ 
    2323 
    2424#ifndef DEFS_H 
     
    4040#endif 
    4141 
     42#include <fcntl.h> 
     43 
    4244/* First include ansidecl.h so we can use the various macro definitions 
    4345   here and in all subsequent file inclusions.  */ 
     
    5759#ifndef SEEK_CUR 
    5860#define SEEK_CUR 1 
     61#endif 
     62 
     63/* The O_BINARY flag is defined in fcntl.h on some non-Posix platforms. 
     64   It is used as an access modifier in calls to open(), where it acts 
     65   similarly to the "b" character in fopen()'s MODE argument. On Posix 
     66   platforms it should be a no-op, so it is defined as 0 here. This  
     67   ensures that the symbol may be used freely elsewhere in gdb. */ 
     68 
     69#ifndef O_BINARY 
     70#define O_BINARY 0 
    5971#endif 
    6072 
     
    613625extern void directory_command (char *, int); 
    614626 
     627extern void directory_switch (char *, int); 
     628 
    615629extern char *source_path; 
    616630 
     
    965979 
    966980  GDB_OSABI_CYGWIN, 
     981  GDB_OSABI_AIX, 
    967982 
    968983  GDB_OSABI_INVALID     /* keep this last */ 
     
    12191234extern ULONGEST align_down (ULONGEST v, int n); 
    12201235 
     1236/* Allocation and deallocation functions for the libiberty hash table 
     1237   which use obstacks.  */ 
     1238void *hashtab_obstack_allocate (void *data, size_t size, size_t count); 
     1239void dummy_obstack_deallocate (void *object, void *data); 
     1240 
    12211241#endif /* #ifndef DEFS_H */ 
  • trunk/mod/gdb/dwarf2read.c

    r19 r21  
    11/* DWARF 2 debugging format support for GDB. 
    22 
    3    Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    4    2004, 2005 
     3   Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
     4                 2002, 2003, 2004, 2005, 2006 
    55   Free Software Foundation, Inc. 
    66 
     
    2626   You should have received a copy of the GNU General Public License 
    2727   along with this program; if not, write to the Free Software 
    28    Foundation, Inc., 59 Temple Place - Suite 330
    29    Boston, MA 02111-1307, USA.  */ 
     28   Foundation, Inc., 51 Franklin Street, Fifth Floor
     29   Boston, MA 02110-1301, USA.  */ 
    3030 
    3131#include "defs.h" 
     
    163163 
    164164  /* Loaded data from the sections.  */ 
    165   char *info_buffer; 
    166   char *abbrev_buffer; 
    167   char *line_buffer; 
    168   char *str_buffer; 
    169   char *macinfo_buffer; 
    170   char *ranges_buffer; 
    171   char *loc_buffer; 
     165  gdb_byte *info_buffer; 
     166  gdb_byte *abbrev_buffer; 
     167  gdb_byte *line_buffer; 
     168  gdb_byte *str_buffer; 
     169  gdb_byte *macinfo_buffer; 
     170  gdb_byte *ranges_buffer; 
     171  gdb_byte *loc_buffer; 
    172172 
    173173  /* A list of all the compilation units.  This is used to locate 
     
    240240  /* Pointer to this compilation unit header in the .debug_info 
    241241     section.  */ 
    242   char *cu_head_ptr; 
     242  gdb_byte *cu_head_ptr; 
    243243 
    244244  /* Pointer to the first die of this compilation unit.  This will be 
    245245     the first byte following the compilation unit header.  */ 
    246   char *first_die_ptr; 
     246  gdb_byte *first_die_ptr; 
    247247 
    248248  /* Pointer to the next compilation unit header in the program.  */ 
     
    361361struct dwarf2_per_cu_data 
    362362{ 
    363   /* The start offset and length of this compilation unit.  2**31-1 
     363  /* The start offset and length of this compilation unit.  2**30-1 
    364364     bytes should suffice to store the length of any compilation unit 
    365365     - if it doesn't, GDB will fall over anyway.  */ 
    366366  unsigned long offset; 
    367   unsigned long length : 31
     367  unsigned long length : 30
    368368 
    369369  /* Flag indicating this compilation unit will be read in before 
    370370     any of the current compilation units are processed.  */ 
    371371  unsigned long queued : 1; 
     372 
     373  /* This flag will be set if we need to load absolutely all DIEs 
     374     for this compilation unit, instead of just the ones we think 
     375     are interesting.  It gets set if we look for a DIE in the 
     376     hash table and don't find it.  */ 
     377  unsigned int load_all_dies : 1; 
    372378 
    373379  /* Set iff currently read in.  */ 
     
    426432  /* The start and end of the statement program following this 
    427433     header.  These point into dwarf2_per_objfile->line_buffer.  */ 
    428   char *statement_program_start, *statement_program_end; 
     434  gdb_byte *statement_program_start, *statement_program_end; 
    429435}; 
    430436 
     
    476482    /* Pointer into the info_buffer pointing at the target of 
    477483       DW_AT_sibling, if any.  */ 
    478     char *sibling; 
     484    gdb_byte *sibling; 
    479