aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
2009-10-15 * config/djgpp/fnchange.lst: Add translations for cpu-microblaze.c,Michael Eager1-0/+13
elf32-microblaze.c, microblaze-rom.c, microblaze-linux-tdep.c, microblaze-tdep.h, microblaze-tdep.c, microblaze-opc.h, microblaze-opcm.h, microblaze-dis.c, microblaze-dis.h, sim/microblaze, microblaze.h, and microblaze.isa. * configure.tgt: Add targets microblaze*-linux-*, microblaze*-xilinx-*. * Makefile.in: Build microblaze-tdep.o, microblaze-linux-tdep.o. HFILES_NO_SRCDIR: Add microblaze-tdep.h. * microblaze-linux-tdep.c: New. * microblaze-tdep.c: New. * microblaze-tdep.h: New. * NEWS: Announce Xilinx MicroBlaze support.
2009-09-19 * config/djgpp/fnchange.lst: Add missing edits.Eli Zaretskii1-0/+38
2009-09-05 * config/djgpp/djconfig.sh: Fix for Autoconf 2.64.Eli Zaretskii2-20/+21
* config/djgpp/config.sed: Fix for Autoconf 2.64.
2009-07-31ChangeLog:Ulrich Weigand1-0/+6
* features/Makefile: Allow sub-platform specific expedite settings. (WHICH): Add rs6000/powerpc-cell32l and rs6000/powerpc-cell64l. (rs6000/powerpc-cell32l-expedite): Define. (rs6000/powerpc-cell64l-expedite): Likewise. * features/rs6000/powerpc-cell32l.xml: New file. * features/rs6000/powerpc-cell64l.xml: New file. * features/rs6000/powerpc-cell32l.c: New generated file. * features/rs6000/powerpc-cell64l.c: New generated file. * regformats/rs6000/powerpc-cell32l.dat: New generated file. * regformats/rs6000/powerpc-cell64l.dat: New generated file. * config/djgpp/fnchange.lst: Add mappings for new files. * ppc-linux-tdep.h (tdesc_powerpc_cell32l): Add prototype. (tdesc_powerpc_cell64l): Likewise. * ppc-linux-tdep.c: Include "features/rs6000/powerpc-cell32l.c" and "features/rs6000/powerpc-cell64l.c". (_initialize_ppc_linux_tdep): Initialize target descriptions. (ppc_linux_spu_section): New function. (ppc_linux_core_read_description): Detect Cell/B.E. core files. * ppc-linux-nat.c (PPC_FEATURE_CELL): Define. (ppc_linux_read_description): Detect Cell/B.E. architecture. * rs6000-tdep.c (rs6000_gdbarch_init): Do not trust BFD wordsize if exec file is not PowerPC architecture. gdbserver/ChangeLog: * configure.srv (powerpc*-*-linux*): Add powerpc-cell32l.o and powerpc-cell64l.o to srv_regobj. Add rs6000/powerpc-cell32l.xml and rs6000/powerpc-cell64l.xml to srv_xmlfiles. * Makefile.in (powerpc-cell32l.o, powerpc-cell32l.c): New rules. (powerpc-cell64l.o, powerpc-cell64l.c): Likewise. (clean): Handle powerpc-cell32l.c and powerpc-cell64l.c. * linux-ppc-low.c (PPC_FEATURE_CELL): Define. (init_registers_powerpc_cell32l): Add prototype. (init_registers_powerpc_cell64l): Likewise. (ppc_arch_setup): Detect Cell/B.E. architecture.
2009-07-072009-07-07 Tristan Gingold <gingold@adacore.com>Tristan Gingold1-7/+1
* config/i386/darwin.mh (NATDEPFILES): Remove excServer.o. Remove excServer.c target. Remove _all target. * darwin.defs: Removed.
2009-06-072009-06-07 Pedro Alves <pedro@codesourcery.com>Pedro Alves5-34/+0
* procfs.h: New. * proc-utils.h (procfs_first_available): Don't declare here. * sol-thread.c: Include procfs.h instead of sys/procfs.h and proc-utils.h. * procfs.c: Include procfs.h. (procfs_target): Make it public. Don't register procfs_can_use_hw_breakpoint here. (proc_set_watchpoint): Check for PCWATCH or PIOCSWATCH being defined instead of TARGET_HAS_HARDWARE_WATCHPOINTS. (procfs_can_use_hw_breakpoint): Remove check of TARGET_HAS_HARDWARE_WATCHPOINTS. (procfs_use_watchpoints): Register procfs_can_use_hw_breakpoint here. (_initialize_procfs): Don't add the procfs target here. * i386-sol2-nat.c: Include target.h and procfs.h. (_initialize_amd64_sol2_nat): Install the procfs target here, customized with watchpoints support. * irix5-nat.c: Include target.h. (_initialize_core_irix5): Rename to ... (_initialize_irix5_nat): ... this. Install the procfs target here, customized with watchpoints support. * alpha-nat.c: Include procfs.h. (_initialize_core_alpha): Rename to... (_initialize_alpha_nat): ... this. Install the procfs target here, customized with watchpoints support. * sparc-sol2-nat.c: Include target.h and procfs.h. (_initialize_sparc_sol2_nat): New. * config/i386/nm-i386sol2.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete. * config/sparc/nm-sol2.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete. * config/mips/irix5.mh (NAT_FILE): Delete. * config/mips/irix6.mh (NAT_FILE): Delete. * config/mips/nm-irix5.h: Delete. 2009-06-07 Pedro Alves <pedro@codesourcery.com> * gdbint.texinfo (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete all references.
2009-05-24 * symfile.c (add_shared_symbol_files_command): RemovePierre Muller5-42/+0
prototype and function. (_initialize _symfile): Move "add-shared-symbol-files" command and "assf" alias. * windows-nat.c (_initialize_windows_nat): to here. Change "add-shared-symbol-files" to alias. * config/i386/cygwin.mh: Remove NAT_FILE. * config/i386/mingw.mh: Remove NAT_FILE. * config/i386/mingw64.mh: Remove NAT_FILE. * config/i386/nm-cygwin.h: Remove file. * config/i386/nm-cygwin64.h: Remove file.
2009-05-14 Remove all i386 debug register low level macros in config nm files.Pierre Muller9-244/+1
(I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR): Remove. (I386_DR_LOW_GET_STATUS, I386_DR_LOW_SET_CONTROL): Remove. (I386_USE_GENERIC_WATCHPOIINTS): Remove. * i386-nat.h: New file (adapted from config/i386/nm-i386.h). (struct i386_dr_low_type): New type. (i386_dr_low): New global variable. * i386-nat.c (TARGET_HAS_DR_LEN_8): Update macro. (i386_insert_aligned_watchpoint): Replace i386 dr low macros by i386_dr_low struct variable fields. (i386_remove_aligned_watchpoint): Likewise. (i386_stopped_data_address): Likewise. (i386_stopped_by_hwbp): Likewise. (show_debug_regs_command_added): New static variable. (add_show_debug_regs_command): New static function. (i386_use_watchpoints): Call add_show_debug_regs_command if not done. (i386_set_debug_register_length): New function. (_initialize_i386_nat): Delete. * amd64-linux-nat.c: Include "i386-nat.h". (amd64_linux_dr_set_control): Change to static. (amd64_linux_dr_get_status): Change to static. (amd64_linux_dr_set_addr,amd64_linux_dr_reset_addr): Likewise. (_initialize_amd64_linux_nat): Set i386_dr_low variable fields. * go32-nat.c: Include "i386-nat.h". (go32_set_addr): Change to static. (go32_set_dr7): Change to static. Change arg type to unisgned long. (go32_get_dr6): Change to static. Change return type to unisnged long. (init_go32_ops): Set i386_dr_low variable fields. * i386-linux-nat.c: Include "i386-nat.h". (i386_linux_dr_set_control, i386_linux_dr_get_status): Change to static. (i386_linux_dr_set_addr, i386_linux_dr_reset_addr): Idem. (_initialize_i386_linux_nat): Set i386_dr_low variable fields. * i386bsd-nat.h: Declare functions used for i386_dr_low fields in i386fbsd-nat.c. * i386fbsd-nat.c: Include "i386-nat.h". (_initialize_i386fbsd_nat): Set i386_dr_low variable fields. * windows-nat.c: Include "i386-nat.h". (cygwin_set_dr, cygwin_get_dr6, cygwin_set_dr7): Add prototypes. Change to static. (cygwin_get_dr6): Change return type to unisnged long. (cygwin_set_dr7): Change arg type to unisgned long. (init_windows_ops): Set i386_dr_low function fields. * amd64-windows-nat.c (_initialize_amd64_windows_nat): Call i386_set_debug_register_length. * i386-windows-nat.c (_initialize_i386_windows_nat): Likewise. * config/i386/nm-cygwin.h: Remove all I386_* macros. * config/i386/nm-cygwin64.h: Likewise. * config/i386/nm-fbsd.h: Likewise. * config/i386/nm-linux.h: Likewise. * config/i386/nm-i386.h: Remove completely. * config/i386/nm-go32.h: Remove completely. * config/i386/nm-linux64.h: Remove completely. * config/i386/go32.mh (NAT_FILE): Remove entry. * config/i386/linux64.h (NAT_FILE): Change to config/nm-linux.h.
2009-05-06 * procfs.c (procfs_insert_watchpoint, procfs_remove_watchpoint)Pedro Alves3-72/+0
(procfs_region_ok_for_hw_watchpoint, procfs_use_watchpoints): New functions. (procfs_stopped_by_watchpoint): Made static, ptid argument removed. (_initialize_procfs): Register new watchpoint related target functions. * config/i386/nm-i386sol2.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT) (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT, STOPPED_BY_WATCHPOINT) (HAVE_CONTINUABLE_WATCHPOINT): Delete. (target_insert_watchpoint, target_remove_watchpoint): Delete. (procfs_stopped_by_watchpoint, procfs_set_watchpoint): Delete declarations. * config/mips/nm-irix5.h (STOPPED_BY_WATCHPOINT) (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete. (target_insert_watchpoint, target_remove_watchpoint): Delete. (procfs_stopped_by_watchpoint, procfs_set_watchpoint): Delete declarations. * config/sparc/nm-sol2.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT) (HAVE_CONTINUABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT): Delete. (target_insert_watchpoint, target_remove_watchpoint): Delete. (procfs_stopped_by_watchpoint, procfs_set_watchpoint): Delete declarations.
2009-04-19 * config/djgpp/fnchange.lst: Fix typos.Eli Zaretskii1-3/+3
2009-04-19 Set default host and target charsets in the DJGPP port.Eli Zaretskii4-1/+69
* config/djgpp/config.sed (am_cv_langinfo_codeset) (bash_cv_langinfo_codeset, ac_cv_header_nl_types_h): Set to "yes" in all configure scripts that define ac_cv_env_CPP_value. * go32-nat.c (dos_codepage, nl_langinfo): New functions. Include langinfo.h. * config/djgpp/nl_types.h: New file. * config/djgpp/langinfo.h: New file. * config/i386/go32.mh (MH_CFLAGS): Add $(srcdir)/config/djgpp.
2009-04-14config/djgpp/djconfig.sh (DEPDIR): Define to "_deps", if undefined.Eli Zaretskii1-0/+4
2009-04-11 * config/djgpp/config.sed: Tweak ac_config_files in intl/configureEli Zaretskii1-0/+1
to be consistent with renaming config.intl.h into config_intl.h.
2009-03-27Add one more tweak for readline/examples.Eli Zaretskii1-0/+1
2009-03-27 * config/djgpp/fnchange.lst: Update to fix ARI-reported problems.Eli Zaretskii1-2/+162
2009-03-26 * config/i386/nm-i386.h: Remove code withinPierre Muller7-62/+3
I386_WATCHPOINTS_IN_TARGET_VECTOR conditional. * config/i386/nm-cygwin.h: Remove I386_WATCHPOINTS_IN_TARGET_VECTOR macro. * config/i386/nm-cygwin64.h: Ditto. * config/i386/nm-fbsd.h: Ditto. * config/i386/nm-go32.h: Ditto. * config/i386/nm-linux.h: Ditto. * config/i386/nm-linux64.h: Ditto.
2009-02-20 * Extend use of i386_use_watchpoints to all i386 native filesPierre Muller4-0/+4
using hardware watchpoints. go32-nat.c (init_go32_ops): Call i386_use_watchpoints. i386fbsd-nat.c (_initialize_i386fbsd_nat): Ditto. windows-nat.c (init_windows_ops): Ditto. config/i386/nm-cygwin.h: Define I386_WATCHPOINTS_IN_TARGET_VECTOR. config/i386/nm-cygwin64.h: Ditto. config/i386/nm-fbsd.h: Ditto. config/i386/nm-go32.h: Ditto.
2009-01-13* amd64-windows-nat.c Rename gdb-specific win32_* to windows_* throughout.Christopher Faylor1-0/+8
* i386-cygwin-tdep.c: Ditto. * i386-windows-nat.c: Ditto. * windows-nat.h: Ditto. * windows-tdep.c: Ditto. * windows-tdep.h: Ditto. * windows-nat.c: Ditto. (cygwin_load_start): Redefine as CORE_ADDR. (cygwin_load_end): Ditto. (windows_make_so): Coerce result of address arithmetic to to uintptr_t before coercing to CORE_ADDR to avoid a compiler warning. (handle_exception): Define addr as CORE_ADDR and coerce ExceptionAddress to uintptr_t before assigining to avoid a compiler warning. * config/djgpp/fnchange.lst: Add mappings for recently renamed windows files.
2009-01-12Fix linking with --enable-targets=all:Christopher Faylor3-3/+3
* Makefile.in (ALL_TARGET_OBS): Add windows-tdep.o. (HFILES_NO_SRCDIR): Add windows-tdep.h. (ALLDEPFILES): Add windows-tdep.c. * win32-tdep.h: Delete. * windows-tdep.h: Rename from win32-tdep.h. * win32-nat.h: Delete. * windows-nat.h: Rename from win32-nat.h. * win32-nat.c: Delete. * windows-nat.c: Rename from win32-nat.c. * win32-termcap.c: Delete. * windows-termcap.c: Rename from win32-termcap.c. * amd64-windows-nat.c: Handle rename from win32-nat.h -> windows-nat.h. * configure.ac: Handle rename from win32-termcap.c -> windows-termcap.c. * configure: Regenerate. * gdb_curses.h: Change comment to reflect rename from win32-termcap.c -> windows-termcap.c. * i386-cygwin-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h. * i386-windows-nat.c: Refect rename from win32-nat.h -> windows-nat.h. * windows-nat.c: Ditto. Also reflect rename from from win32-tdep.h -> windows-tdep.h. (win32_make_so): Handle cygwin compiler warning due to change of load_addr from DWORD to LPVOID. (handle_load_dll): Use %p in format string to properly print address and avoid a compiler warning. (DEBUG_EXCEPTION_SIMPLE): Ditto. (handle_exception): Ditto. * windows-tdep.c: Handle rename from win32-tdep.h -> windows-tdep.h. * config/i386/cygwin.mh: Handle rename from win32-nat.o -> windows-nat.o. * config/i386/mingw.mh: Ditto. * config/i386/mingw64.mh: Ditto.
2009-01-11 * amd64-windows-nat.c, amd64-windows-tdep.c: New files.Joel Brobecker3-0/+40
* config/i386/mingw64.mh, config/i386/nm-cygwin64.h: New files. * configure.host, configure.tgt: Add handling for x86_64/windows. * config/djgpp/fnchange.lst: Add entries for amd64-windows-nat.c and amd64-windows-tdep.c.
2009-01-11 * win32-nat.h: New file.Joel Brobecker2-2/+2
* win32-nat.c (mappings): Initialize to NULL. (win32_set_context_register_offsets): New function. * i386-windows-nat.c: New file. (mappings): Moved here from win32-nat.c. (_initialize_i386_windows_nat): New function. * config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o. * config/i386/cygwin.mh (NATDEPFILES): Likewise.
2009-01-07 * config/pa/linux.mh (XDEPFILES): Remove.Stan Shebs1-1/+0
2009-01-03 Updated copyright notices for most files.Joel Brobecker15-15/+17
2009-01-03 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2008.Joel Brobecker1-0/+1
2008-11-27gdb:Tristan Gingold1-0/+10
2008-11-27 Tristan Gingold <gingold@adacore.com> * NEWS: Add entry for new native configuration: Darwin. * configure.host: Add Darwin host. * configure.tgt: Add Darwin target. * defs.h (enum gdb_osabi): Add GDB_OSABI_DARWIN. * osabi.c (gdb_osabi_names): Add name for Darwin abi. * i386-darwin-nat.c: New file. * i386-darwin-tdep.c: New file. * machoread.c: New file. * darwin-nat-info.c: New file. * darwin-nat.c: New file. * darwin-nat.h: New file. * darwin.defs: New file. * config/i386/darwin.mh: New file. gdb/doc: 2008-11-27 Tristan Gingold <gingold@adacore.com> * gdb.texinfo (Darwin): Document Darwin specific features.
2008-10-20 * dec-thread.c: New file.Joel Brobecker1-1/+2
* config/alpha/alpha-osf3.mh (NATDEPFILES): Add dec-thread.o. (NAT_CLIBS): Define.
2008-09-12gdb/Pedro Alves1-0/+5
* Makefile.in (generated_files): Add $(NAT_GENERATED_FILES). * config/i386/i386gnu.mh (NAT_GENERATED_FILES): New. gdb/doc/ * gdbint.texinfo (Native Debugging): Mention NAT_GENERATED_FILES.
2008-07-22 Scrub remnants of IN_SOLIB_DYNSYM_RESOLVE_CODE.Stan Shebs1-2/+0
* gdbarch.sh: Adjust comment to refer to in_solib_dynsym_resolve_code(). * gdbarch.h, gdbarch.c: Update. * solib-osf.c: Ditto. * infrun.c: Ditto. (handle_inferior_event): Use in_solib_dynsym_resolve_code unconditionally. * config/mips/nm-irix5.h: Remove undef of IN_SOLIB_DYNSYM_RESOLVE_CODE. * gdbint.texinfo: Refer to target_so_ops.in_dynsym_resolve_code instead of IN_SOLIB_DYNSYM_RESOLVE_CODE.
2008-07-03 * config/i386/nm-cygwin.h (ATTACH_NO_WAIT): Delete.Pedro Alves2-4/+0
* config/i386/nm-i386gnu.h (ATTACH_NO_WAIT): Delete. * target.h (struct target_ops): Add to_attach_no_wait member. (target_attach_no_wait): New. * target.c (update_current_target): Inherit to_attach_no_wait. * infcmd.c: Replace ATTACH_NO_WAIT compile time check by target_attach_no_wait runtime check. * gnu-nat.c (init_gnu_ops): Set to_attach_no_wait in gnu_ops. * win32-nat.c (init_win32_ops): Set to_attach_no_wait in win32_ops.
2008-03-16 * Makefile.in (amd64nbsd-nat.o): New dependency.Nick Hudson1-1/+1
* amd64nbsd-nat.c: Include "nbsd-nat.h". (_initialize_amd64nbsd_nat): Update target vector to use nbsd_pid_to_exec_file. * config/i386/nbsd64.mh (NATDEPFILES): Add nbsd-nat.o.
2008-03-01 * Makefile.in (i386-nat.o): Update.Daniel Jacobowitz3-4/+16
* amd64-linux-nat.c (_initialize_amd64_linux_nat): Call i386_use_watchpoints. * i386-linux-nat.c (_initialize_i386_linux_nat): Call i386_use_watchpoints. * i386-nat.c (i386_stopped_data_address): Take two arguments. (i386_stopped_by_watchpoint): Update call. (i386_can_use_hw_breakpoint, i386_use_watchpoints): New. * config/i386/nm-i386.h: Conditionalize definitions on ! I386_WATCHPOINTS_IN_TARGET_VECTOR. (i386_use_watchpoints): Declare. (i386_stopped_data_address): Update. * config/i386/nm-linux.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define. * config/i386/nm-linux64.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define.
2008-02-112008-02-11 Maxim Grigoriev <maxim2405@gmail.com>Maxim Grigoriev1-0/+8
* NEWS (New native configurations): Xtensa GNU/Linux. (New targets): Xtensa GNU/Linux. * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and xtensa-linux-tdep.o (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies. * configure.tgt (xtensa*-*-linux*): New entry. * xtensa-config.c (xtensa_tdep): New variable. (xtensa_config_byte_order, xtensa_config_tdep): Removed. (rmap): Change format based on new macro XTREG. (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h. * xtensa-linux-nat.c: New. * xtensa-linux-tdep.c: New. * xtensa-xtregs.c: New. * xtensa-tdep.h (xtensa_elf_gregset_t): Update. (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE) (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros. (xtensa_register_t): New field coprocessor. (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected. * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed. (xtensa_pseudo_register_read, xtensa_pseudo_register_write): Update to handle privileged registers. (xtensa_supply_gregset) Remove exccause and excvaddr registers. (xtensa_push_dummy_call): Set windowstart register correctly. (call0_analyze_prologue): Initialize xtensa_default_isa. (xtensa_derive_tdep): New. (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead. Call xtensa_derive_tdep(). * config/xtensa/linux.mh: New. * regformats/reg-xtensa.dat: New.
2008-01-19 Add NetBSD/hppa target and host support.Nick Hudson1-0/+2
* hppabsd-tdep.c (hppabsd_supply_gregset): Move to ... (hppabsd_gregset): Move to ... (hppabsd_regset_from_core_section): Rename hppaobsd_regset_from_core_section and move to ... (hppabsd_find_global_pointer): Update comment. (hppabsd_init_abi): Make global. Do not register hppabsd_regset_from_core_section. (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and move to ... (_initialize_hppabsd_tdep): Move to ... * hppaobsd-tdep.c: ... here. New file. * hppnbsd-tdep.c: New file. * hppnbsd-nat.c: New file. * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o. (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c. (hppabsd-nat.o, hppabsd-tdep.o): New dependencies. (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies. * configure.host (hppa*-*-netbsd*): New entry. * configure.tgt (hppa*-*-netbsd*): New entry. (hppa*-*-openbsd*): Update. * NEWS (New native configuration): Mention NetBSD/hppa. (New targets): Mention NetBSD/hppa.
2008-01-01 Updated copyright notices for most files.Daniel Jacobowitz15-16/+19
2008-01-01 * ChangeLog-2007: New ChangeLog rotation.Joel Brobecker1-0/+2
* ChangeLog: Reset for 2008. * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and ChangeLog-2007.
2007-11-17Fix broken check-in -- forgot to cvs remove file.Ulrich Weigand1-5/+0
2007-11-17 * config/alpha/alpha-linux.mt: Remove file.Ulrich Weigand87-218/+0
* config/alpha/alpha.mt: Remove file. * config/alpha/alpha-osf1.mt: Remove file. * config/alpha/fbsd.mt: Remove file. * config/alpha/nbsd.mt: Remove file. * config/alpha/obsd.mt: Remove file. * config/arm/embed.mt: Remove file. * config/arm/linux.mt: Remove file. * config/arm/nbsd.mt: Remove file. * config/arm/obsd.mt: Remove file. * config/arm/wince.mt: Remove file. * config/avr/avr.mt: Remove file. * config/cris/cris.mt: Remove file. * config/frv/frv.mt: Remove file. * config/h8300/h8300.mt: Remove file. * config/i386/cygwin.mt: Remove file. * config/i386/fbsd64.mt: Remove file. * config/i386/fbsd.mt: Remove file. * config/i386/i386gnu.mt: Remove file. * config/i386/i386.mt: Remove file. * config/i386/i386sol2.mt: Remove file. * config/i386/linux64.mt: Remove file. * config/i386/linux.mt: Remove file. * config/i386/mingw.mt: Remove file. * config/i386/nbsd64.mt: Remove file. * config/i386/nbsd.mt: Remove file. * config/i386/nto.mt: Remove file. * config/i386/obsd64.mt: Remove file. * config/i386/obsd.mt: Remove file. * config/i386/sol2-64.mt: Remove file. * config/ia64/ia64.mt: Remove file. * config/ia64/linux.mt: Remove file. * config/iq2000/iq2000.mt: Remove file. * config/m32c/m32c.mt: Remove file. * config/m32r/linux.mt: Remove file. * config/m32r/m32r.mt: Remove file. * config/m68hc11/m68hc11.mt: Remove file. * config/m68k/linux.mt: Remove file. * config/m68k/monitor.mt: Remove file. * config/m68k/nbsd.mt: Remove file. * config/m68k/obsd.mt: Remove file. * config/m88k/obsd.mt: Remove file. * config/mep/mep.mt: Remove file. * config/mips/embed.mt: Remove file. * config/mips/irix5.mt: Remove file. * config/mips/irix6.mt: Remove file. * config/mips/linux.mt: Remove file. * config/mips/nbsd.mt: Remove file. * config/mips/obsd64.mt: Remove file. * config/mn10300/linux.mt: Remove file. * config/mn10300/mn10300.mt: Remove file. * config/mt/mt.mt: Remove file. * config/pa/hppahpux.mt: Remove file. * config/pa/hppa.mt: Remove file. * config/pa/linux.mt: Remove file. * config/pa/obsd.mt: Remove file. * config/powerpc/aix.mt: Remove file. * config/powerpc/linux.mt: Remove file. * config/powerpc/nbsd.mt: Remove file. * config/powerpc/obsd.mt: Remove file. * config/powerpc/ppc-eabi.mt: Remove file. * config/s390/s390.mt: Remove file. * config/score/embed.mt: Remove file. * config/sh/embed.mt: Remove file. * config/sh/linux.mt: Remove file. * config/sh/nbsd.mt: Remove file. * config/sh/obsd.mt: Remove file. * config/sh/sh64.mt: Remove file. * config/sparc/embed.mt: Remove file. * config/sparc/fbsd.mt: Remove file. * config/sparc/linux64.mt: Remove file. * config/sparc/linux.mt: Remove file. * config/sparc/nbsd64.mt: Remove file. * config/sparc/nbsd.mt: Remove file. * config/sparc/obsd64.mt: Remove file. * config/sparc/obsd.mt: Remove file. * config/sparc/sol2-64.mt: Remove file. * config/sparc/sol2.mt: Remove file. * config/sparc/sparc64.mt: Remove file. * config/sparc/sparc.mt: Remove file. * config/spu/spu.mt: Remove file. * config/v850/v850.mt: Remove file. * config/vax/nbsd.mt: Remove file. * config/vax/obsd.mt: Remove file. * config/vax/vax.mt: Remove file. * config/xstormy16/xstormy16.mt: Remove file. * config/xtensa/xtensa.mt: Remove file. * configure.tgt (gdb_target_cpu): Remove. Do not set anywhere. (gdb_target): Likewise. (gdb_target_obs): Document. Set for every target to contents of TDEPFILES in former .mt makefile fragment. * configure.ac (TARGET_OBS): Define. (target_makefile_frag, gdb_target_cpu): Do not define. * configure: Regenerate. * Makefile.in (MT_FLAGS): Remove. (GLOBAL_CFLAGS): Update. (TARGET_OBS): Substitute from configure. (DEPFILES): Remove TDEPFILES, add TARGET_OBS. (@target_makefile_frag@): Remove. doc/ChangeLog: * Makefile.in (Makefile): Do not depend on target_makefile_frag. testsuite/ChangeLog: * Makefile.in (Makefile): Do not depend on target_makefile_frag. (target_cpu): Remove.
2007-11-17 * config/arm/embed.mt (SIM_OBS, SIM): Remove.Ulrich Weigand22-69/+0
* config/avr/avr.mt (SIM_OBS, SIM): Remove. * config/frv/frv.mt (SIM_OBS, SIM): Remove. * config/h8300/h8300.mt (SIM_OBS, SIM): Remove. * config/iq2000/iq2000.mt (SIM_OBS, SIM): Remove. * config/m32c/m32c.mt (SIM_OBS, SIM): Remove. * config/m32r/linux.mt (SIM_OBS, SIM): Remove. * config/m32r/m32r.mt (SIM_OBS, SIM): Remove. * config/m68hc11/m68hc11.mt (SIM_OBS, SIM): Remove. * config/mips/embed.mt (SIM_OBS, SIM): Remove. * config/mips/linux.mt (SIM_OBS, SIM): Remove. * config/mips/nbsd.mt (SIM_OBS, SIM): Remove. * config/mn10300/mn10300.mt (SIM_OBS, SIM): Remove. * config/powerpc/linux.mt (SIM_OBS, SIM): Remove. * config/powerpc/nbsd.mt (SIM_OBS, SIM): Remove. * config/powerpc/ppc-sim.mt: Remove file. * config/sh/embed.mt (SIM_OBS, SIM): Remove. * config/sh/linux.mt (SIM_OBS, SIM): Remove. * config/sh/nbsd.mt (SIM_OBS, SIM): Remove. * config/sh/sh64.mt (SIM_OBS, SIM): Remove. * config/sparc/embed.mt (SIM_OBS, SIM): Remove. * config/v850/v850.mt (SIM_OBS, SIM): Remove. * config/xstormy16/xstormy16.mt (SIM_OBS, SIM): Remove. * configure.tgt (gdb_sim): Document variable. (arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*): Set it. (avr-*-*): Likewise. (frv-*-*): Likewise. (h8300-*-*): Likewise. (iq2000-*-*): Likewise. (m32c-*-*): Likewise. (m32r*-*-linux*): Likewise. (m32r*-*-*): Likewise. (m68hc11*-*-*|m6811*-*-*): Likewise. (mips*-*-*): Likewise. (mips*-*-linux*): Likewise. (mips*-*-netbsd* | mips*-*-knetbsd*-gnu): Likewise. (mn10300-*-*): Likewise. (powerpc-*-linux* | powerpc64-*-linux*): Likewise. (powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu): Likewise. (powerpc*-*-*): Use ppc-eabi target. Conditionally set gdb_sim. (sh*): Set gdb_sim. (sh-*-linux*): Likewise. (sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu): Likewise. (sh64-*-elf*): Likewise. (sparc-*-rtems*): Likewise. (v850*-*-elf): Likewise. (xstormy16-*-*): Likewise. * configure.ac (IGNORE_SIM, IGNORE_SIM_OBS): Do not set. (SIM, SIM_OBS): Set depending on ${ignore_sim} and ${gdb_sim}. * configure: Regenerate. * Makefile.in (SIM, SIM_OBS): Substitute from configure. (@IGNORE_SIM@, @IGNORE_SIM_OBS@): Remove.
2007-11-17 * configure.ac (hostfile, targetfile): Remove.Ulrich Weigand1-1/+0
(GDB_XM_FILE, GDB_TM_FILE): Do not define. (xm_h, tm_h): Likewise. (DEPRECATED_TM_FILE, XM_FILE): Do not substitute into Makefile. * configure, config.in: Regenerate. * Makefile.in (xm_h, tm_h): Remove. Update dependencies. (TAGS): Do not consider DEPRECATED_TM_FILE or XM_FILE. (clean, local-maintainer-clean): Do not remove xm.h or tm.h. * defs.h: Do not include "xm.h" or "tm.h". * gdbarch.sh (verify_gdbarch): Do not dump GDB_XM_FILE or GDB_TM_FILE. * gdbarch.c: Regenerate. * config/score/embed.mt: Remove obsolete comment.
2007-10-24 * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets): CallUlrich Weigand2-3/+2
set_solib_ops to install SVR4 operations. (_initialize_svr4_solib): Do not set current_target_so_ops. * config/i386/i386gnu.mh (NATDEPFILES): Move solib.o, solib-svr4.o ... * config/i386/i386gnu.mt (TDEPFILES): ... to here.
2007-10-24 * solib-svr4.c (legacy_svr4_fetch_link_map_offsets_hook): Remove.Ulrich Weigand7-9/+7
(solib_svr4_init): Initialize fetch_link_map_offsets to NULL. * solib-svr4.h (legacy_svr4_fetch_link_map_offsets_hook): Remove. * solib-legacy.c: Remove file. * config/alpha/alpha-linux.mt (TDEPFILES): Remove solib-legacy.o. * config/arm/linux.mt (TDEPFILES): Likewise. * config/i386/i386gnu.mh (NATDEPFILES): Likewise. * config/ia64/linux.mt (TDEPFILES): Likewise. * config/m32r/linux.mt (TDEPFILES): Likewise. * config/powerpc/linux.mt (TDEPFILES): Likewise. * config/s390/s390.mt (TDEPFILES): Likewise. * alpha-linux-tdep.c (alpha_linux_init_abi): Call set_solib_svr4_fetch_link_map_offsets. * i386gnu-tdep.c (i386gnu_init_abi): Likewise. * ia64-linux-tdep.c (ia64_linux_init_abi): Likewise. * i386gnu-tdep.c: Include "solib-svr4.h". * Makefile.in: Update dependencies.
2007-10-24 * configure.tgt: Remove hppa*64*-*-hpux11* special case.Ulrich Weigand3-5/+2
* config/pa/hppa64.mt: Delete file. * config/pa/hppahpux.mt (MT_CFLAGS): Remove. (TDEPFILES): Move somread.o to ... * config/pa/hpux.mh (NATDEPFILES): ... here. * configure.ac: Add check for elf_hp.h header. Search libdl and libxpdl for dlgetmodinfo. * config.in, configure: Regenerate. * solib-pa64.c: Conditionalize compilation on #ifdef HAVE_ELF_HP_H instead of #ifndef PA_SOM_ONLY. Include "solib.h". (pa64_solib_select): Take gdbarch instead of tdep argument. Call set_solib_ops instead of modifying current_target_so_ops. * solib-pa64.h (pa64_solib_select): Update prototype. * solib-som.c: Remove include of "som.h". Include "solib.h". (som_solib_select): Take gdbarch instead of tdep argument. Call set_solib_ops instead of modifying current_target_so_ops. * solib-som.h (som_solib_select): Update prototype. * hppa-hpux-tdep.c (hppa_hpux_som_init_abi): Pass gdbarch instead of tdep to som_solib_select call. (hppa_hpux_elf_init_abi): Pass gdbarch instead of tdep to pa64_solib_select call. * Makefile.in: Update dependencies.
2007-10-24 * config/frv/frv.mt (DEPRECATED_TM_FILE): Remove.Ulrich Weigand2-41/+0
* config/frv-tm-frv.h: Delete file.
2007-10-19 * gdbarch.sh (sofun_address_maybe_missing): New gdbarch variable.Ulrich Weigand13-120/+0
* gdbarch.c, gdbarch.h: Regenerate. * dbxread.c (find_stab_function_addr): Define unconditionally. (read_dbx_symtab): Use gdbarch_sofun_address_maybe_missing instead of SOFUN_ADDRESS_MAYBE_MISSING. (end_psymtab): Likewise. (process_one_symbol): Likewise. * mdebugread.c (parse_partial_symbols): Likewise. * symtab.h (struct minimal_symbol): Always define "filename" member. * elfread.c (elf_symtab_read): Use msym->filename unconditionally. * minsyms.c (lookup_minimal_symbol): Likewise. * symmisc.c (dump_msymbols): Likewise. * config/i386/i386sol2.mt (DEPRECATED_TM_FILE): Remove. * config/i386/linux.mt (DEPRECATED_TM_FILE): Remove. * config/i386/tm-i386sol2.h: Remove file. * config/i386/tm-linux.h: Remove file. * i386-linux-tdep.c (i386_linux_init_abi): Add call to set_gdbarch_sofun_address_maybe_missing. * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Remove. * config/powerpc/nbsd.mt (DEPRECATED_TM_FILE): Remove. * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Remove. * config/powerpc/ppc-eabi.mt (DEPRECATED_TM_FILE): Remove. * config/powerpc/ppc-sim.mt (DEPRECATED_TM_FILE): Remove. * config/powerpc/tm-ppc-eabi.h: Remove file. * rs6000-tdep.c (rs6000_gdbarch_init): Add call to set_gdbarch_sofun_address_maybe_missing. * config/sparc/sol2-64.mt (DEPRECATED_TM_FILE): Remove. * config/sparc/sol2.mt (DEPRECATED_TM_FILE): Remove. * config/sparc/tm-sol2.h: Remove file. * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Add call to set_gdbarch_sofun_address_maybe_missing. * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise. doc/ChangeLog: * gdbarch.texi (Target Conditionals): Remove documentation of SOFUN_ADDRESS_MAYBE_MISSING, replaced by ... (Compiler Characteristics): ... documentation of set_gdbarch_sofun_address_maybe_missing.
2007-10-19 * gdbarch.sh (static_transform_name): New gdbarch callback.Ulrich Weigand2-12/+0
* gdbarch.c, gdbarch.h: Regenerate. * dbxread.c (read_dbx_symtab): Use gdbarch_static_transform_name instead of STATIC_TRANSFORM_NAME. * mdebugread.c (parse_partial_symbols): Likewise. * stabsread.c (define_symbol): Likewise. * xcoffread.c (scan_xcoff_symtab): Likewise. * config/i368/tm-i386sol2.h (STATIC_TRANSFORM_NAME): Remove. (IS_STATIC_TRANSFORM_NAME): Remove. * i386-tdep.c (sunpro_static_transform_name): Remove, move to ... * i386-sol2-tdep.c (i386_sol2_static_transform_name): ... here. (i386_sol2_init_abi): Install it. * config/sparc/tm-sol2.h (STATIC_TRANSFORM_NAME): Remove. (IS_STATIC_TRANSFORM_NAME): Remove. * sparc-tdep.c (sparc_stabs_unglobalize_name): Remove, move to ... * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): ... here. (sparc32_sol2_init_abi): Install it. * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise. * sparc-tdep.h (sparc_sol2_static_transform_name): Add prototype.
2007-10-16 * config/i386/mingw.mh, config/i386/mingw.mt: New files.Pedro Alves2-0/+7
* configure.tgt (i[34567]86-*-mingw32*): Set gdb_target = mingw. * win32-nat.c: Only include cygwin.h on Cygwin host. Don't include procfs.h. (cygwin_load_start, cygwin_load_end, cygwin_exceptions): Disable if not building on Cygwin. (win32_make_so, handle_output_debug_string, handle_exception) (do_initial_win32_stuff): Wrap Cygwin specific code in __CYGWIN__. (win32_attach): Only fallback to Cygwin pids if building on Cygwin. (win32_pid_to_exec_file): Disable Cygwin specific code, if not building on Cygwin. (win32_create_inferior): Disable starting the inferior through a shell, environment var processing and tty handling if not building on Cygwin. (cygwin_pid_to_str): Rename to ... (win32_pid_to_str): ... this. (init_win32_ops): Update use of win32_pid_to_str. Disable "shell" and "cygwin-exceptions" commands if not building on Cygwin.
2007-10-15 * target-descriptions.c (tdesc_predefined_types): New.Daniel Jacobowitz2-13/+0
(tdesc_named_type): Use it. (tdesc_type_id, maint_print_c_tdesc_cmd): New functions. (_intialize_target_descriptions): Register "maint print c-tdesc". * features/Makefile (XMLTOC, CFILES, GDB): New macros. (cfiles, %.c): New rules. * features/arm-with-iwmmxt.c, features/mips-linux.c, features/mips64-linux.c: New generated files. * arm-linux-nat.c: Include preparsed description instead of "xml-support.h". (super_xfer_partial, arm_linux_xfer_partial): Remove. (arm_linux_read_description): New function. (_initialize_arm_linux_nat): Set to_read_description instead of to_xfer_partial. Initialize preparsed description. * config/arm/linux.mh (TDEP_XML): Delete. * mips-linux-nat.c: Include preparsed descriptions instead of "xml-support.h". (super_xfer_partial, mips_linux_xfer_partial): Remove. (mips_linux_read_description): New function. (_initialize_mips_linux_nat): Set to_read_description instead of to_xfer_partial. Initialize preparsed description. * config/mips/linux.mh (TDEP_XML): Delete. * Makefile.in (XMLFILES): Remove $(TDEP_XML). (features_headers, arm_with_iwmmxt_c, mips_linux_c) (mips64_linux_c): New macros. (arm-linux-nat.o, mips-linux-nat.o): Update. * gdb.texinfo (Maintenance Commands): Document "maint print c-tdesc".
2007-10-12 * alpha-mdebug-tdep.c: Include "gdb_string.h".Ulrich Weigand5-31/+0
(find_proc_desc): Add fix-up code for setjmp procedure descriptor. * mdebugread.c (parse_procedure): Remove setjmp fix-up code. * Makefile.in (alpha-mdebug-tdep.o): Update dependencies. * config/alpha/alpha.mt (DEPRECATED_TM_FILE): Remove. * config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Remove. * config/alpha/alpha-osf1.mt (DEPRECATED_TM_FILE): Remove. * config/alpha/fbsd.mt (DEPRECATED_TM_FILE): Remove. * config/alpha/tm-alpha.h: Remove file.
2007-10-12 * breakpoint.c (breakpoint_sals_to_pc): Do not check forUlrich Weigand5-31/+0
DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE. * config/pa/tm-hppa.h: Delete file. * config/pa/hppa64.mt: Do not set DEPRECATED_TM_FILE. * config/pa/hppahpux.mt: Likewise. * config/pa/hppa.mt: Likewise. * config/pa/linux.mt: Likewise. * hppa-tdep.c (hppa_pc_requires_run_before_use): Delete.
2007-10-12 * config/arm/nm-nbsdaout.h: Remove file.Ulrich Weigand3-119/+0
* config/nm-nbsdaout.h: Likewise. * config/nm-nbsd.h: Likewise.