Changeset 21
- Timestamp:
- 08/20/06 23:48:44 (2 years ago)
- Files:
-
- trunk/mkpatch.sh (modified) (1 diff)
- trunk/mod/gdb/Makefile.in (modified) (67 diffs)
- trunk/mod/gdb/c-lang.c (modified) (2 diffs)
- trunk/mod/gdb/defs.h (modified) (7 diffs)
- trunk/mod/gdb/dwarf2read.c (modified) (91 diffs)
- trunk/mod/gdb/language.c (modified) (2 diffs)
- trunk/mod/gdb/symfile.c (modified) (24 diffs)
- trunk/mod/gdb/symtab.c (modified) (3 diffs)
- trunk/mod/include (deleted)
- trunk/orig/gdb/Makefile.in (modified) (67 diffs)
- trunk/orig/gdb/c-lang.c (modified) (2 diffs)
- trunk/orig/gdb/defs.h (modified) (7 diffs)
- trunk/orig/gdb/dwarf2read.c (modified) (91 diffs)
- trunk/orig/gdb/language.c (modified) (2 diffs)
- trunk/orig/gdb/symfile.c (modified) (24 diffs)
- trunk/orig/gdb/symtab.c (modified) (3 diffs)
- trunk/orig/include (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/mkpatch.sh
r18 r21 2 2 3 3 rm 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 4 diff -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. 4 4 5 5 # This file is part of GDB. … … 17 17 # You should have received a copy of the GNU General Public License 18 18 # 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. 20 21 21 22 prefix = @prefix@ … … 131 132 GDB_WARN_CFLAGS = $(WARN_CFLAGS) 132 133 GDB_WERROR_CFLAGS = $(WERROR_CFLAGS) 134 135 GDB_WARN_CFLAGS_NO_FORMAT = `echo " $(GDB_WARN_CFLAGS) " | sed "s/ -Wformat-nonliteral / /g"` 133 136 134 137 # Where is the INTL library? Typically in ../intl. … … 344 347 345 348 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. 346 INTERNAL_ WARN_CFLAGS= \349 INTERNAL_CFLAGS_BASE = \ 347 350 $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \ 348 351 $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \ 349 352 $(BFD_CFLAGS) $(INCLUDE_CFLAGS) \ 350 $(INTL_CFLAGS) $(ENABLE_CFLAGS) \351 $(GDB_WARN_CFLAGS)353 $(INTL_CFLAGS) $(ENABLE_CFLAGS) 354 INTERNAL_WARN_CFLAGS = $(INTERNAL_CFLAGS_BASE) $(GDB_WARN_CFLAGS) 352 355 INTERNAL_CFLAGS = $(INTERNAL_WARN_CFLAGS) $(GDB_WERROR_CFLAGS) 353 356 … … 540 543 objfiles.c osabi.c observer.c \ 541 544 p-exp.y p-lang.c p-typeprint.c p-valprint.c parse.c printcmd.c \ 545 prologue-value.c \ 542 546 regcache.c reggroups.c remote.c remote-fileio.c \ 543 547 scm-exp.c scm-lang.c scm-valprint.c \ … … 573 577 coff_internal_h = $(INCLUDE_DIR)/coff/internal.h 574 578 dis_asm_h = $(INCLUDE_DIR)/dis-asm.h $(bfd_h) 579 elf_common_h = $(INCLUDE_DIR)/elf/common.h 575 580 elf_reloc_macros_h = $(INCLUDE_DIR)/elf/reloc-macros.h 576 581 elf_sh_h = $(INCLUDE_DIR)/elf/sh.h … … 578 583 elf_bfd_h = $(BFD_SRC)/elf-bfd.h 579 584 elf_frv_h = $(INCLUDE_DIR)/elf/frv.h $(elf_reloc_macros_h) 585 elf_m32c_h = $(INCLUDE_DIR)/elf/m32c.h $(elf_reloc_macros_h) 580 586 libaout_h = $(BFD_SRC)/libaout.h 581 587 libiberty_h = $(INCLUDE_DIR)/libiberty.h … … 594 600 gdb_sim_d10v_h = $(INCLUDE_DIR)/gdb/sim-d10v.h 595 601 gdb_sim_frv_h = $(INCLUDE_DIR)/gdb/sim-frv.h 602 gdb_sim_m32c_h = $(INCLUDE_DIR)/gdb/sim-m32c.h 596 603 gdb_sim_ppc_h = $(INCLUDE_DIR)/gdb/sim-ppc.h 597 604 gdb_sim_sh_h = $(INCLUDE_DIR)/gdb/sim-sh.h … … 693 700 gdb_ptrace_h = gdb_ptrace.h 694 701 gdb_regex_h = gdb_regex.h $(xregex_h) 702 gdb_select_h = gdb_select.h 695 703 gdb_stabs_h = gdb-stabs.h 696 704 gdb_stat_h = gdb_stat.h … … 698 706 gdb_thread_db_h = gdb_thread_db.h 699 707 gdbthread_h = gdbthread.h $(breakpoint_h) $(frame_h) 700 gdbtypes_h = gdbtypes.h 708 gdbtypes_h = gdbtypes.h $(hashtab_h) 701 709 gdb_vfork_h = gdb_vfork.h 702 710 gdb_wait_h = gdb_wait.h … … 724 732 libunwind_frame_h = libunwind-frame.h $(libunwind_h) 725 733 linespec_h = linespec.h 734 linux_fork_h = linux-fork.h 726 735 linux_nat_h = linux-nat.h $(target_h) 727 736 m2_lang_h = m2-lang.h … … 735 744 mdebugread_h = mdebugread.h $(coff_sym_h) $(coff_symconst_h) 736 745 memattr_h = memattr.h 746 mips_linux_tdep_h = mips-linux-tdep.h 737 747 mips_mdebug_tdep_h = mips-mdebug-tdep.h 738 748 mipsnbsd_tdep_h = mipsnbsd-tdep.h … … 744 754 objc_lang_h = objc-lang.h 745 755 objfiles_h = objfiles.h $(gdb_obstack_h) $(symfile_h) 756 obsd_tdep_h = obsd-tdep.h 746 757 ocd_h = ocd.h 747 758 osabi_h = osabi.h … … 752 763 ppc_tdep_h = ppc-tdep.h 753 764 proc_utils_h = proc-utils.h 765 prologue_value_h = prologue-value.h 754 766 regcache_h = regcache.h 755 767 reggroups_h = reggroups.h … … 758 770 remote_h = remote.h 759 771 remote_utils_h = remote-utils.h $(target_h) 772 rs6000_tdep_h = rs6000-tdep.h $(defs_h) 760 773 s390_tdep_h = s390-tdep.h 761 774 scm_lang_h = scm-lang.h $(scm_tags_h) … … 764 777 serial_h = serial.h 765 778 ser_base_h = ser-base.h 779 ser_tcp_h = ser-tcp.h 766 780 ser_unix_h = ser-unix.h 767 781 shnbsd_tdep_h = shnbsd-tdep.h 768 782 sh_tdep_h = sh-tdep.h 769 783 sim_regno_h = sim-regno.h 784 sol2_tdep_h = sol2-tdep.h 770 785 solib_h = solib.h 771 786 solib_pa64_h = solib-pa64.h … … 859 874 xcoffsolib.h \ 860 875 macrotab.h macroexp.h macroscope.h \ 876 prologue-value.h \ 861 877 ada-lang.h c-lang.h f-lang.h \ 862 878 jv-lang.h \ … … 940 956 trad-frame.o \ 941 957 tramp-frame.o \ 942 solib.o solib-null.o 958 solib.o solib-null.o \ 959 prologue-value.o 943 960 944 961 TSOBS = inflow.o … … 1195 1212 $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES) 1196 1213 1197 nlm: force1198 rootme=`pwd`; export rootme; $(MAKE) $(TARGET_FLAGS_TO_PASS) DO=all DODIRS=nlm subdir_do1199 1200 1214 # Create a library of the gdb object files and build GDB by linking 1201 1215 # against that. … … 1377 1391 ALLDEPFILES = \ 1378 1392 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 \ 1380 1394 alpha-tdep.c alpha-linux-tdep.c alphabsd-tdep.c alphanbsd-tdep.c \ 1381 1395 alpha-osf1-tdep.c alphafbsd-tdep.c alpha-mdebug-tdep.c \ … … 1421 1435 m68klinux-nat.c m68klinux-tdep.c \ 1422 1436 m88k-tdep.c m88kbsd-nat.c \ 1437 mingw-hdep.c \ 1423 1438 mips-linux-nat.c mips-linux-tdep.c \ 1424 1439 mips-irix-tdep.c \ … … 1426 1441 mipsnbsd-nat.c mipsnbsd-tdep.c \ 1427 1442 mips64obsd-nat.c mips64obsd-tdep.c \ 1428 nbsd-tdep.c \1443 nbsd-tdep.c obsd-tdep.c \ 1429 1444 solib-osf.c \ 1430 1445 somread.c solib-som.c $(HPREAD_SOURCE) \ 1446 posix-hdep.c \ 1431 1447 ppc-sysv-tdep.c ppc-linux-nat.c ppc-linux-tdep.c \ 1432 1448 ppcnbsd-nat.c ppcnbsd-tdep.c \ … … 1439 1455 rs6000-nat.c rs6000-tdep.c \ 1440 1456 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 \ 1442 1458 sh-tdep.c sh64-tdep.c shnbsd-tdep.c shnbsd-nat.c \ 1459 sol2-tdep.c \ 1443 1460 solib-irix.c solib-svr4.c solib-sunos.c \ 1444 1461 sparc-linux-nat.c \ … … 1477 1494 # conflict. 1478 1495 gnu-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 1481 1497 1482 1498 # FIXME: cagney/2003-08-10: "monitor.c" gets -Wformat-nonliteral … … 1487 1503 # it doesn't use format strings and instead uses callbacks. 1488 1504 monitor.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. 1495 1509 printcmd.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 1497 1512 1498 1513 # FIXME: Procfs.o gets -Wformat errors because things like pid_t don't 1499 1514 # match output format strings. 1500 1515 procfs.o: $(srcdir)/procfs.c 1501 $(CC) -c $(INTERNAL_WARN_CFLAGS) $( NO_WERROR_CFLAGS) $(srcdir)/procfs.c1516 $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/procfs.c 1502 1517 1503 1518 # FIXME: Thread-db.o gets warnings because the definitions of the register 1504 1519 # sets are different from kernel to kernel. 1505 1520 linux-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 1508 1522 1509 1523 v850ice.o: $(srcdir)/v850ice.c … … 1671 1685 $(alphabsd_tdep_h) 1672 1686 alphafbsd-tdep.o: alphafbsd-tdep.c $(defs_h) $(value_h) $(osabi_h) \ 1673 $(alpha_tdep_h) 1687 $(alpha_tdep_h) $(solib_svr4_h) 1674 1688 alpha-linux-nat.o: alpha-linux-nat.c $(defs_h) $(target_h) $(linux_nat_h) 1675 1689 alpha-linux-tdep.o: alpha-linux-tdep.c $(defs_h) $(frame_h) $(gdb_assert_h) \ … … 1717 1731 $(target_h) $(gdb_assert_h) $(amd64_tdep_h) $(amd64_nat_h) \ 1718 1732 $(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) 1733 amd64obsd-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) 1723 1738 amd64-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 $(sol ib_svr4_h)1739 $(regcache_h) $(osabi_h) $(symtab_h) $(gdb_string_h) \ 1740 $(sol2_tdep_h) $(amd64_tdep_h) $(solib_svr4_h) 1726 1741 amd64-tdep.o: amd64-tdep.c $(defs_h) $(arch_utils_h) $(block_h) \ 1727 1742 $(dummy_frame_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \ … … 1741 1756 $(gdbtypes_h) $(floatformat_h) $(gdbcore_h) $(frame_h) $(regcache_h) \ 1742 1757 $(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) 1744 1759 armnbsd-nat.o: armnbsd-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) \ 1745 1760 $(regcache_h) $(target_h) $(gdb_string_h) $(arm_tdep_h) $(inf_ptrace_h) … … 1828 1843 $(inferior_h) $(symtab_h) $(command_h) $(bfd_h) $(target_h) \ 1829 1844 $(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) \ 1831 1846 $(exceptions_h) $(solib_h) 1832 1847 core-regset.o: core-regset.c $(defs_h) $(command_h) $(gdbcore_h) \ … … 1920 1935 $(parser_defs_h) $(cp_support_h) 1921 1936 event-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) 1923 1938 event-top.o: event-top.c $(defs_h) $(top_h) $(inferior_h) $(target_h) \ 1924 1939 $(terminal_h) $(event_loop_h) $(event_top_h) $(interps_h) \ … … 1959 1974 frame-unwind.o: frame-unwind.c $(defs_h) $(frame_h) $(frame_unwind_h) \ 1960 1975 $(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) 1976 frv-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) 1964 1980 frv-tdep.o: frv-tdep.c $(defs_h) $(gdb_string_h) $(inferior_h) $(gdbcore_h) \ 1965 1981 $(arch_utils_h) $(regcache_h) $(frame_h) $(frame_unwind_h) \ … … 1984 2000 $(symfile_h) $(objfiles_h) $(gdbtypes_h) $(expression_h) \ 1985 2001 $(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) 1987 2003 glibc-tdep.o: glibc-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(symfile_h) \ 1988 2004 $(objfiles_h) $(glibc_tdep_h) … … 2026 2042 $(target_h) $(objfiles_h) $(solib_svr4_h) $(glibc_tdep_h) \ 2027 2043 $(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) 2029 2045 hppa-tdep.o: hppa-tdep.c $(defs_h) $(bfd_h) $(inferior_h) $(regcache_h) \ 2030 2046 $(completer_h) $(osabi_h) $(gdb_assert_h) $(arch_utils_h) \ … … 2076 2092 i386obsd-nat.o: i386obsd-nat.c $(defs_h) $(i386_tdep_h) 2077 2093 i386obsd-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) 2081 2098 i386-sol2-nat.o: i386-sol2-nat.c $(defs_h) $(regcache_h) $(gregset_h) \ 2082 2099 $(amd64_nat_h) $(amd64_tdep_h) 2083 2100 i386-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) 2085 2102 i386-stub.o: i386-stub.c 2086 2103 i386-tdep.o: i386-tdep.c $(defs_h) $(arch_utils_h) $(command_h) \ … … 2121 2138 $(objfiles_h) $(completer_h) $(ui_out_h) $(event_top_h) \ 2122 2139 $(parser_defs_h) $(regcache_h) $(reggroups_h) $(block_h) \ 2123 $(solib_h) $(gdb_assert_h) 2140 $(solib_h) $(gdb_assert_h) $(observer_h) 2124 2141 inf-loop.o: inf-loop.c $(defs_h) $(inferior_h) $(target_h) $(event_loop_h) \ 2125 2142 $(event_top_h) $(inf_loop_h) $(remote_h) $(exceptions_h) 2126 2143 inflow.o: inflow.c $(defs_h) $(frame_h) $(inferior_h) $(command_h) \ 2127 2144 $(serial_h) $(terminal_h) $(target_h) $(gdbthread_h) $(gdb_string_h) \ 2128 $(inflow_h) 2145 $(inflow_h) $(gdb_select_h) 2129 2146 inf-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) \ 2131 2148 $(gdb_string_h) $(gdb_ptrace_h) $(gdb_wait_h) $(inf_child_h) 2132 2149 infptrace.o: infptrace.c $(defs_h) $(command_h) $(frame_h) $(gdbcore_h) \ … … 2140 2157 $(mi_common_h) $(main_h) 2141 2158 inftarg.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) \ 2143 2160 $(inflow_h) 2144 2161 inf-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) \ 2146 2163 $(gdb_assert_h) $(gdb_string_h) $(inf_child_h) $(inf_ttrace_h) 2147 2164 interps.o: interps.c $(defs_h) $(gdbcmd_h) $(ui_out_h) $(event_loop_h) \ … … 2181 2198 $(completer_h) $(cp_abi_h) $(parser_defs_h) $(block_h) \ 2182 2199 $(objc_lang_h) $(linespec_h) $(exceptions_h) 2200 linux-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) 2183 2203 linux-nat.o: linux-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdb_string_h) \ 2184 2204 $(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) 2187 2208 linux-thread-db.o: linux-thread-db.c $(defs_h) $(gdb_assert_h) \ 2188 2209 $(gdb_proc_service_h) $(gdb_thread_db_h) $(bfd_h) $(exceptions_h) \ 2189 2210 $(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) 2191 2212 lynx-nat.o: lynx-nat.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \ 2192 2213 $(gdbcore_h) $(regcache_h) … … 2201 2222 m2-valprint.o: m2-valprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \ 2202 2223 $(m2_lang_h) $(c_lang_h) 2224 m32c-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) 2203 2229 m32r-linux-nat.o: m32r-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \ 2204 2230 $(regcache_h) $(linux_nat_h) $(gdb_assert_h) $(gdb_string_h) \ … … 2277 2303 mem-break.o: mem-break.c $(defs_h) $(symtab_h) $(breakpoint_h) $(inferior_h) \ 2278 2304 $(target_h) 2305 mingw-hdep.o: mingw-hdep.c $(defs_h) $(serial_h) $(gdb_assert_h) \ 2306 $(gdb_select_h) $(gdb_string_h) 2279 2307 minsyms.o: minsyms.c $(defs_h) $(gdb_string_h) $(symtab_h) $(bfd_h) \ 2280 2308 $(symfile_h) $(objfiles_h) $(demangle_h) $(value_h) $(cp_abi_h) … … 2286 2314 mips-irix-tdep.o: mips-irix-tdep.c $(defs_h) $(osabi_h) $(elf_bfd_h) 2287 2315 mips-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) 2289 2318 mips-linux-tdep.o: mips-linux-tdep.c $(defs_h) $(gdbcore_h) $(target_h) \ 2290 2319 $(solib_svr4_h) $(osabi_h) $(mips_tdep_h) $(gdb_string_h) \ 2291 2320 $(gdb_assert_h) $(frame_h) $(regcache_h) $(trad_frame_h) \ 2292 $(tramp_frame_h) 2321 $(tramp_frame_h) $(floatformat_h) $(mips_linux_tdep_h) 2293 2322 mips-mdebug-tdep.o: mips-mdebug-tdep.c $(defs_h) $(frame_h) $(mips_tdep_h) \ 2294 2323 $(trad_frame_h) $(block_h) $(symtab_h) $(objfiles_h) $(elf_mips_h) \ … … 2317 2346 mn10300-linux-tdep.o: mn10300-linux-tdep.c $(defs_h) $(gdbcore_h) \ 2318 2347 $(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) 2320 2350 mn10300-tdep.o: mn10300-tdep.c $(defs_h) $(arch_utils_h) $(dis_asm_h) \ 2321 2351 $(gdbtypes_h) $(regcache_h) $(gdb_string_h) $(gdb_assert_h) \ 2352 $(gdbcore_h) $(value_h) $(gdbtypes_h) \ 2322 2353 $(frame_h) $(frame_unwind_h) $(frame_base_h) $(trad_frame_h) \ 2323 2354 $(symtab_h) $(dwarf2_frame_h) $(osabi_h) $(mn10300_tdep_h) 2324 2325 2355 monitor.o: monitor.c $(defs_h) $(gdbcore_h) $(target_h) $(exceptions_h) \ 2326 2356 $(gdb_string_h) $(command_h) $(serial_h) $(monitor_h) $(gdbcmd_h) \ … … 2353 2383 $(objfiles_h) $(gdb_stabs_h) $(target_h) $(bcache_h) $(mdebugread_h) \ 2354 2384 $(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) 2356 2386 observer.o: observer.c $(defs_h) $(observer_h) $(command_h) $(gdbcmd_h) \ 2357 2387 $(observer_inc) 2388 obsd-tdep.o: obsd-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(obsd_tdep_h) 2358 2389 ocd.o: ocd.c $(defs_h) $(gdbcore_h) $(gdb_string_h) $(frame_h) $(inferior_h) \ 2359 2390 $(bfd_h) $(symfile_h) $(target_h) $(exceptions_h) $(gdbcmd_h) \ … … 2363 2394 parse.o: parse.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \ 2364 2395 $(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) 2367 2398 p-exp.o: p-exp.c $(defs_h) $(gdb_string_h) $(expression_h) $(value_h) \ 2368 2399 $(parser_defs_h) $(language_h) $(p_lang_h) $(bfd_h) $(symfile_h) \ … … 2371 2402 $(expression_h) $(parser_defs_h) $(language_h) $(p_lang_h) \ 2372 2403 $(valprint_h) $(value_h) 2404 posix-hdep.o: posix-hdep.c $(defs_h) $(gdb_string_h) $(gdb_select_h) 2373 2405 ppc-bdm.o: ppc-bdm.c $(defs_h) $(gdbcore_h) $(gdb_string_h) $(frame_h) \ 2374 2406 $(inferior_h) $(bfd_h) $(symfile_h) $(target_h) $(gdbcmd_h) \ … … 2389 2421 $(gdbcore_h) $(regcache_h) $(bsd_kvm_h) $(ppc_tdep_h) \ 2390 2422 $(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)2423 ppcnbsd-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) 2395 2427 ppcobsd-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) 2398 2430 ppcobsd-tdep.o: ppcobsd-tdep.c $(defs_h) $(arch_utils_h) $(floatformat_h) \ 2399 2431 $(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 $(ppc obsd_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) 2402 2434 ppc-sysv-tdep.o: ppc-sysv-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \ 2403 2435 $(regcache_h) $(value_h) $(gdb_string_h) $(gdb_assert_h) \ … … 2415 2447 $(elf_bfd_h) $(gdbcmd_h) $(gdbthread_h) $(gdb_wait_h) \ 2416 2448 $(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) 2418 2450 proc-service.o: proc-service.c $(defs_h) $(gdb_proc_service_h) $(inferior_h) \ 2419 2451 $(symtab_h) $(target_h) $(gregset_h) 2420 2452 proc-why.o: proc-why.c $(defs_h) $(proc_utils_h) 2453 prologue-value.o: prologue-value.c $(defs_h) $(gdb_string_h) $(gdb_assert_h) \ 2454 $(prologue_value_h) $(regcache_h) 2421 2455 p-typeprint.o: p-typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) $(symtab_h) \ 2422 2456 $(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) $(target_h) \ … … 2437 2471 $(gdb_stabs_h) $(gdbthread_h) $(remote_h) $(regcache_h) $(value_h) \ 2438 2472 $(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) 2440 2475 remote-e7000.o: remote-e7000.c $(defs_h) $(gdbcore_h) $(gdbarch_h) \ 2441 2476 $(inferior_h) $(target_h) $(value_h) $(command_h) $(gdb_string_h) \ … … 2455 2490 $(remote_utils_h) $(gdb_string_h) $(gdb_stat_h) $(regcache_h) \ 2456 2491 $(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)2462 2492 remote-rdp.o: remote-rdp.c $(defs_h) $(inferior_h) $(value_h) \ 2463 2493 $(gdb_callback_h) $(command_h) $(symfile_h) $(remote_utils_h) \ … … 2470 2500 $(gdb_string_h) $(terminal_h) $(target_h) $(gdbcore_h) \ 2471 2501 $(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) 2473 2504 remote-st.o: remote-st.c $(defs_h) $(gdbcore_h) $(target_h) $(gdb_string_h) \ 2474 2505 $(serial_h) $(regcache_h) … … 2489 2520 $(coff_xcoff_h) $(libxcoff_h) $(elf_bfd_h) $(solib_svr4_h) \ 2490 2521 $(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) 2523 rs6000-aix-tdep.o: rs6000-aix-tdep.c $(defs_h) $(osabi_h) $(rs6000_tdep_h) 2492 2524 s390-nat.o: s390-nat.c $(defs_h) $(tm_h) $(regcache_h) $(inferior_h) \ 2493 2525 $(s390_tdep_h) $(target_h) $(linux_nat_h) 2494 2526 s390-tdep.o: s390-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) $(inferior_h) \ 2495 2527 $(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) 2500 2532 scm-exp.o: scm-exp.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \ 2501 2533 $(parser_defs_h) $(language_h) $(value_h) $(c_lang_h) $(scm_lang_h) \ … … 2513 2545 serial.o: serial.c $(defs_h) $(serial_h) $(gdb_string_h) $(gdbcmd_h) 2514 2546 ser-base.o: ser-base.c $(defs_h) $(serial_h) $(ser_base_h) $(event_loop_h) \ 2515 $(gdb_s tring_h)2547 $(gdb_select_h) $(gdb_string_h) 2516 2548 ser-pipe.o: ser-pipe.c $(defs_h) $(serial_h) $(ser_base_h) $(ser_unix_h) \ 2517 2549 $(gdb_vfork_h) $(gdb_string_h) 2518 ser-tcp.o: ser-tcp.c $(defs_h) $(serial_h) $(ser_base_h) $(ser_ unix_h) \2550 ser-tcp.o: ser-tcp.c $(defs_h) $(serial_h) $(ser_base_h) $(ser_tcp_h) \ 2519 2551 $(gdb_string_h) 2520 2552 ser-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) 2554 ser-mingw.o: ser-mingw.c $(defs_h) $(serial_h) $(ser_base_h) \ 2555 $(ser_tcp_h) $(gdb_assert_h) $(gdb_string_h) 2522 2556 sh3-rom.o: sh3-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \ 2523 2557 $(serial_h) $(srec_h) $(arch_utils_h) $(regcache_h) $(gdb_string_h) \ … … 2540 2574 $(gdb_assert_h) $(arch_utils_h) $(floatformat_h) $(regcache_h) \ 2541 2575 $(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) 2577 sol2-tdep.o: sol2-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(sol2_tdep_h) 2543 2578 solib-aix5.o: solib-aix5.c $(defs_h) $(gdb_string_h) $(elf_external_h) \ 2544 2579 $(symtab_h) $(bfd_h) $(symfile_h) $(objfiles_h) $(gdbcore_h) \ … … 2571 2606 $(elf_mips_h) $(symtab_h) $(bfd_h) $(symfile_h) $(objfiles_h) \ 2572 2607 $(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) 2574 2610 sol-thread.o: sol-thread.c $(defs_h) $(gdbthread_h) $(target_h) \ 2575 2611 $(inferior_h) $(gdb_stat_h) $(gdbcmd_h) $(gdbcore_h) $(regcache_h) \ … … 2590 2626 $(target_h) $(trad_frame_h) $(gdb_assert_h) $(gdb_string_h) \ 2591 2627 $(sparc64_tdep_h) $(solib_svr4_h) 2592 sparc64-linux-nat.o: sparc64-linux-nat.c $(defs_h) $(sparc64_tdep_h) \ 2628 sparc64-linux-nat.o: sparc64-linux-nat.c $(defs_h) $(regcache_h) \ 2629 $(gregset_h) $(sparc64_tdep_h) $(sparc_tdep_h) \ 2593 2630 $(sparc_nat_h) $(inferior_h) $(target_h) $(linux_nat_h) 2594 2631 sparc64-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) 2597 2635 sparc64-nat.o: sparc64-nat.c $(defs_h) $(gdbarch_h) $(sparc64_tdep_h) \ 2598 2636 $(sparc_nat_h) … … 2604 2642 $(gdb_assert_h) $(gdb_string_h) $(sparc64_tdep_h) $(nbsd_tdep_h) 2605 2643 sparc64obsd-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) 2608 2647 sparc64-sol2-tdep.o: sparc64-sol2-tdep.c $(defs_h) $(frame_h) \ 2609 2648 $(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) 2611 2651 sparc64-tdep.o: sparc64-tdep.c $(defs_h) $(arch_utils_h) $(dwarf2_frame_h) \ 2612 2652 $(floatformat_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \ … … 2614 2654 $(osabi_h) $(regcache_h) $(target_h) $(value_h) $(gdb_assert_h) \ 2615 2655 $(gdb_string_h) $(sparc64_tdep_h) 2616 sparc-linux-nat.o: sparc-linux-nat.c $(defs_h) $(inferior_h) $(target_h) \ 2656 sparc-linux-nat.o: sparc-linux-nat.c $(defs_h) $(regcache_h) $(gregset_h) \ 2657 $(sparc_tdep_h) $(sparc_nat_h) $(inferior_h) $(target_h) \ 2617 2658 $(linux_nat_h) 2618 sparc-linux-tdep.o: sparc-linux-tdep.c $(defs_h) $( floatformat_h) $(frame_h) \2619 $(f rame_unwind_h) $(gdbarch_h) $(gdbcore_h) $(osabi_h) $(regcache_h) \2620 $( solib_svr4_h) $(symtab_h) $(trad_frame_h) $(tramp_frame_h) \2621 $(s parc_tdep_h)2659 sparc-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) 2622 2663 sparc-nat.o: sparc-nat.c $(defs_h) $(inferior_h) $(regcache_h) $(target_h) \ 2623 2664 $(gdb_assert_h) $(gdb_string_h) $(gdb_wait_h) $(sparc_tdep_h) \ … … 2630 2671 $(gdb_string_h) $(sparc_tdep_h) $(nbsd_tdep_h) 2631 2672 sparcobsd-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) 2634 2676 sparc-sol2-nat.o: sparc-sol2-nat.c $(defs_h) $(regcache_h) $(gregset_h) \ 2635 2677 $(sparc_tdep_h) $(sparc64_tdep_h) … … 2637 2679 $(gdbcore_h) $(symtab_h) $(objfiles_h) $(osabi_h) $(regcache_h) \ 2638 2680 $(target_h) $(trad_frame_h) $(gdb_assert_h) $(gdb_string_h) \ 2639 $(s parc_tdep_h) $(solib_svr4_h)2681 $(sol2_tdep_h) $(sparc_tdep_h) $(solib_svr4_h) 2640 2682 sparc-stub.o: sparc-stub.c 2641 2683 sparc-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) 2646 2688 stabsread.o: stabsread.c $(defs_h) $(gdb_string_h) $(bfd_h) $(gdb_obstack_h) \ 2647 2689 $(symtab_h) $(gdbtypes_h) $(expression_h) $(symfile_h) $(objfiles_h) \ … … 2654 2696 $(annotate_h) $(ui_out_h) $(block_h) $(stack_h) $(dictionary_h) \ 2655 2697 $(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) 2657 2699 std-regs.o: std-regs.c $(defs_h) $(user_regs_h) $(frame_h) $(gdbtypes_h) \ 2658 2700 $(value_h) $(gdb_string_h) … … 2671 2713 $(symfile_h) $(objfiles_h) $(breakpoint_h) $(command_h) \ 2672 2714 $(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) 2675 2717 symtab.o: symtab.c $(defs_h) $(d_lang_h) $(symtab_h) $(gdbtypes_h) $(gdbcore_h) \ 2676 2718 $(frame_h) $(target_h) $(value_h) $(symfile_h) $(objfiles_h) \ … … 2718 2760 $(exceptions_h) $(tui_h) $(gdbcmd_h) $(serial_h) $(bfd_h) \ 2719 2761 $(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) 2722 2764 uw-thread.o: uw-thread.c $(defs_h) $(gdbthread_h) $(target_h) $(inferior_h) \ 2723 2765 $(regcache_h) $(gregset_h) … … 2741 2783 $(language_h) $(scm_lang_h) $(demangle_h) $(doublest_h) \ 2742 2784 $(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) 2785 varobj.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) 2745 2788 vaxbsd-nat.o: vaxbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) $(target_h) \ 2746 2789 $(vax_tdep_h) $(inf_ptrace_h) $(bsd_kvm_h) … … 2749 2792 vaxnbsd-tdep.o: vaxnbsd-tdep.c $(defs_h) $(arch_utils_h) $(osabi_h) \ 2750 2793 $(vax_tdep_h) $(solib_svr4_h) $(gdb_string_h) 2751 vaxobsd-tdep.o: vaxobsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \2794 vaxobsd-tdep.o: vaxobsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \ 2752 2795 $(frame_unwind_h) $(osabi_h) $(symtab_h) $(trad_frame_h) \ 2753 2796 $(vax_tdep_h) $(gdb_string_h) 2754 2797 vax-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) \ 2756 2799 $(gdbcore_h) $(gdbtypes_h) $(osabi_h) $(regcache_h) $(regset_h) \ 2757 2800 $(trad_frame_h) $(value_h) $(gdb_string_h) $(vax_tdep_h) … … 2759 2802 $(exceptions_h) $(gdbcore_h) $(command_h) $(completer_h) \ 2760 2803 $(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) 2763 2806 wince.o: wince.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \ 2764 2807 $(exceptions_h) $(gdbcore_h) $(command_h) $(buildsym_h) $(symfile_h) \ … … 2796 2839 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-cmds.c 2797 2840 cli-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) 2800 2843 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-decode.c 2801 2844 cli-dump.o: $(srcdir)/cli/cli-dump.c $(defs_h) $(gdb_string_h) \ … … 3027 3070 $(symtab_h) $(ui_out_h) 3028 3071 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-symbol-cmds.c 3029 mi-common.o: $(srcdir)/mi/mi-common.c $( mi_common_h)3072 mi-common.o: $(srcdir)/mi/mi-common.c $(defs_h) $(mi_common_h) 3030 3073 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-common.c 3031 3032 #3033 # rdi-share sub-directory3034 #3035 # Need to explicitly specify the compile rule as make will do nothing3036 # or try to compile the object file into the mi directory.3037 3038 rdi-share/libangsd.a: force3039 @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 fi3047 3074 3048 3075 # … … 3092 3119 tui-interp.o: $(srcdir)/tui/tui-interp.c $(defs_h) $(interps_h) $(top_h) \ 3093 3120 $(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) 3095 3123 $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-interp.c 3096 3124 tui-io.o: $(srcdir)/tui/tui-io.c $(defs_h) $(target_h) \ trunk/mod/gdb/c-lang.c
r19 r21 1 1 /* C language support routines for GDB, the GNU debugger. 2 2 3 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2002,3 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2002, 4 4 2003, 2004, 2005 Free Software Foundation, Inc. 5 5 … … 18 18 You should have received a copy of the GNU General Public License 19 19 along with this program; if not, write to the Free Software 20 Foundation, Inc., 5 9 Temple Place - Suite 330,21 Boston, MA 0211 1-1307, USA. */20 Foundation, Inc., 51 Franklin Street, Fifth Floor, 21 Boston, MA 02110-1301, USA. */ 22 22 23 23 #include "defs.h" trunk/mod/gdb/defs.h
r18 r21 1 1 /* *INDENT-OFF* */ /* ATTR_FORMAT confuses indent, avoid running it for now */ 2 2 /* 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, 4 4 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 5 5 Free Software Foundation, Inc. … … 19 19 You should have received a copy of the GNU General Public License 20 20 along with this program; if not, write to the Free Software 21 Foundation, Inc., 5 9 Temple Place - Suite 330,22 Boston, MA 0211 1-1307, USA. */21 Foundation, Inc., 51 Franklin Street, Fifth Floor, 22 Boston, MA 02110-1301, USA. */ 23 23 24 24 #ifndef DEFS_H … … 40 40 #endif 41 41 42 #include <fcntl.h> 43 42 44 /* First include ansidecl.h so we can use the various macro definitions 43 45 here and in all subsequent file inclusions. */ … … 57 59 #ifndef SEEK_CUR 58 60 #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 59 71 #endif 60 72 … … 613 625 extern void directory_command (char *, int); 614 626 627 extern void directory_switch (char *, int); 628 615 629 extern char *source_path; 616 630 … … 965 979 966 980 GDB_OSABI_CYGWIN, 981 GDB_OSABI_AIX, 967 982 968 983 GDB_OSABI_INVALID /* keep this last */ … … 1219 1234 extern ULONGEST align_down (ULONGEST v, int n); 1220 1235 1236 /* Allocation and deallocation functions for the libiberty hash table 1237 which use obstacks. */ 1238 void *hashtab_obstack_allocate (void *data, size_t size, size_t count); 1239 void dummy_obstack_deallocate (void *object, void *data); 1240 1221 1241 #endif /* #ifndef DEFS_H */ trunk/mod/gdb/dwarf2read.c
r19 r21 1 1 /* DWARF 2 debugging format support for GDB. 2 2 3 Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,4 2004, 20053 Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 4 2002, 2003, 2004, 2005, 2006 5 5 Free Software Foundation, Inc. 6 6 … … 26 26 You should have received a copy of the GNU General Public License 27 27 along with this program; if not, write to the Free Software 28 Foundation, Inc., 5 9 Temple Place - Suite 330,29 Boston, MA 0211 1-1307, USA. */28 Foundation, Inc., 51 Franklin Street, Fifth Floor, 29 Boston, MA 02110-1301, USA. */ 30 30 31 31 #include "defs.h" … … 163 163 164 164 /* 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; 172 172 173 173 /* A list of all the compilation units. This is used to locate … … 240 240 /* Pointer to this compilation unit header in the .debug_info 241 241 section. */ 242 char*cu_head_ptr;242 gdb_byte *cu_head_ptr; 243 243 244 244 /* Pointer to the first die of this compilation unit. This will be 245 245 the first byte following the compilation unit header. */ 246 char*first_die_ptr;246 gdb_byte *first_die_ptr; 247 247 248 248 /* Pointer to the next compilation unit header in the program. */ … … 361 361 struct dwarf2_per_cu_data 362 362 { 363 /* The start offset and length of this compilation unit. 2**3 1-1363 /* The start offset and length of this compilation unit. 2**30-1 364 364 bytes should suffice to store the length of any compilation unit 365 365 - if it doesn't, GDB will fall over anyway. */ 366 366 unsigned long offset; 367 unsigned long length : 3 1;367 unsigned long length : 30; 368 368 369 369 /* Flag indicating this compilation unit will be read in before 370 370 any of the current compilation units are processed. */ 371 371 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; 372 378 373 379 /* Set iff currently read in. */ … … 426 432 /* The start and end of the statement program following this 427 433 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; 429 435 }; 430 436 … … 476 482 /* Pointer into the info_buffer pointing at the target of 477 483 DW_AT_sibling, if any. */ 478 char*sibling;484 gdb_byte *sibling; 479
