aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
2004-11-07* m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Rename fromMark Kettenis4-36/+7
fetch_inferior_registers. Make static. (m68kbsd_store_inferior_registers): Rename from store_inferior_registers. Make static. (_initialize_m68kbsd_nat): Construct and add target vector. * config/m68k/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-ptrace.o. (NAT_FILE): Set to tm-solib.h. (LOADLIBES): New variable. * config/m68k/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-ptrace.o. (NAT_FILE): Delete variable. * config/m68k/obsd.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-ptrace.o. (NAT_FILE): Set to tm-solib.h. * config/m68k/nm-nbsdaout.h: Remove file.
2004-11-01 * Makefile.in (ALLDEPFILES): Add amd64-sol2-tdep.c.Joseph Myers2-0/+7
(amd64-sol2-tdep.o): Add dependencies. * amd64-sol2-tdep.c, config/i386/sol2-64.mh, config/i386/sol2-64.mt: New files. * i386-sol2-nat.c (amd64_sol2_gregset64_reg_offset, amd64_sol2_gregset32_reg_offset, _initialize_amd64_sol2_nat): New. (supply_gregset): Correct order of arguments to amd64_supply_native_gregset. (fill_gregset): Correct order of arguments to amd64_collect_native_gregset. * configure.host (i[34567]86-*-solaris2.1[0-9]*): Add new case. * configure.tgt (i[34567]86-*-solaris2.1[0-9]*): Likewise. * configure.in (*-*-solaris2.[[6789]]): Add *-*-solaris2.1[[0-9]] for definition of NEW_PROC_API. * configure: Regenerate.
2004-11-012004-11-01 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-4/+4
* configure.tgt: Mark d10v-*-* as obsolete. * config/d10v/d10v.mt, d10v-tdep.c: Obsolete files.
2004-11-012004-10-31 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-12/+0
* config/pa/tm-linux.h: Delete #undef IN_SOLIB_CALL_TRAMPOLINE. * config/tm-sysv4.h (IN_SOLIB_CALL_TRAMPOLINE): Delete. (in_plt_section): Delete.
2004-10-31* mipsnbsd-nat.c: Include "target.h" and "inf-ptrace.h".Mark Kettenis1-4/+2
(mipsnbsd_fetch_inferior_registers): Rename from fetch_inferior_registers. Make static. (mipsnbsd_store_inferior_registers): Rename from store_inferior_registers. Make static. (_initialize_mipsnbsd_nat): New function and prototype. * Makefile.in (mipsnbsd-nat.o): Update dependencies. * config/mips/nbsd.mh (NAT_CLIBS, NAT_FILE): Remove variables. (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-ptrace.o.
2004-10-312004-10-31 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-12/+0
* xstormy16-tdep.c (xstormy16_in_solib_call_trampoline) (xstormy16_gdbarch_init): Do not set in_solib_call_trampoline, delete corresponding unused function. * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Really do not set in_solib_call_trampoline. * config/arm/tm-embed.h (IN_SOLIB_CALL_TRAMPOLINE): Delete. * config/powerpc/tm-linux.h: Delete #undef IN_SOLIB_CALL_TRAMPOLINE. * config/mips/tm-nbsd.h: Ditto. * config/arm/tm-linux.h: Ditto. * config/mips/tm-linux.h: Ditto.
2004-10-312004-10-31 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+0
* config/mips/obsd64.mt (DEPRECATED_TM_FILE): Delete.
2004-10-312004-10-31 Andrew Cagney <cagney@gnu.org>Andrew Cagney8-50/+0
* config/mips/tm-mips.h: Delete file. * remote-mips.c: Delete tm-mips.h from comment. * config/mips/embed.mt (DEPRECATED_TM_FILE): Delete. * config/mips/tm-nbsd.h: Don't include tm-mips.h. * config/mips/irix6.mt (DEPRECATED_TM_FILE): Delete. * config/mips/tm-linux.h: Don't include tm-mips.h. * config/mips/tm-vxmips.h: Don't include tm-mips.h. * config/mips/irix5.mt (DEPRECATED_TM_FILE): * config/mips/tm-wince.h: Don't include.
2004-10-312004-10-31 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-10/+0
* mdebugread.h (MDEBUG_EFI_SYMBOL_NAME): Define. * mdebugread.c (MDEBUG_EFI_SYMBOL_NAME): Delete. * config/alpha/tm-alpha.h (MDEBUG_EFI_SYMBOL_NAME): Delete. * config/mips/tm-mips.h (MDEBUG_EFI_SYMBOL_NAME): Delete.
2004-10-312004-10-31 Orjan Friberg <organ.friberg@axis.com>Andrew Cagney1-6/+0
Andrew Cagney <cagney@gnu.org> * gdbarch.sh (single_step_through_delay): Add. * gdbarch.h, gdbarch.c: Re-generate. * config/mips/tm-mips.h (STEP_SKIPS_DELAY_P, STEP_SKIPS_DELAY) (mips_step_skips_delay): Delete. * mips-tdep.c (mips_single_step_through_delay): Replace mips_step_skips_delay. (mips_gdbarch_init): Set single_step_through_delay. (mips_dump_tdep): Do not print STEP_SKIPS_DELAY.
2004-10-312004-10-31 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-4/+0
* mips-tdep.c (mips_ignore_helper): Delete. * config/mips/tm-mips.h (DEPRECATED_IGNORE_HELPER_CALL): Delete. * infrun.c (handle_inferior_event): Delete #ifdef DEPRECATED_IGNORE_HELPER_CALL code.
2004-10-312004-10-31 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-2/+0
* config/mips/tm-mips.h (RA_REGNUM): Delete.
2004-10-31* i386v4-nat.c (supply_gregset, supply_fpregset, fill_gregset)Mark Kettenis1-1/+1
(fill_fpregset): Do not compile for 64-bit systems. * i386-sol2-nat.c: Don't include "i386v4-nat.c". * Makefile.in (i386-sol2-nat.o): Update dependencies. * config/i386/i386sol2.mh (NATDEPFILES): Add back i386v4-nat.c.
2004-10-312004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-31/+0
* mdebugread.h: Include "coff/sym.h" and "coff/symconst.h". (struct mdebug_extra_func_info): Define. * config/alpha/tm-alpha.h: Delete same. * config/mips/tm-mips.h: Delete same. * mdebugread.c: Delete same. * Makefile.in: Update dependencies. * mips-mdebug-tdep.c: Include "mdebugread.h".
2004-10-312004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-2/+0
* objfiles.c: Include "mdebugread.h". * mdebugread.c: Include "mdebugread.h". (ecoff_relocate_cfi): Delete. * config/alpha/tm-alpha.h (ecoff_relcate_cfi): Delete. * config/mips/tm-mips.h (ecoff_relcate_cfi): Delete. * mdebugread.h (ecoff_relocate_efi): New file. * Makefile.in: Update dependencies.
2004-10-312004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-23/+14
* config/alpha/tm-alpha.h (MDEBUG_EFI_SYMBOL_NAME): Rename MIPS_EFI_SYMBOL_NAME. (mips_extra_func_info_t, mips_extra_func_info): Delete. (struct mdebug_extra_func_info): Replace struct alpha_extra_func_info and alpha_extra_func_info_t. * config/mips/tm-mips.h (MDEBUG_EFI_SYMBOL_NAME): Rename MIPS_EFI_SYMBOL_NAME. (struct mdebug_extra_func_info): Replace struct alpha_extra_func_info and alpha_extra_func_info_t. * objfiles.c, mips-tdep.c, mips-mdebug-tdep.c: Update. * mdebugread.c, alpha-mdebug-tdep.c:
2004-10-312004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-2/+0
Suggested by Mark Kettenis. * config/mips/tm-mips.h (struct mips_extra_func_info): Delete fields frame_adjust and high_addr. * mips-mdebug-tdep.c (PROC_HIGH_ADDR, PROC_FRAME_ADJUST): Delete. (non_heuristic_proc_desc): Delete references.
2004-10-302004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+0
* mips-tdep.h (MIPS_PRID_REGNUM): Add. * config/mips/tm-mips.h (PRID_REGNUM): Delete. * mips-tdep.c: Update.
2004-10-302004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-2/+0
* mips-tdep.h (MIPS_FIRST_EMBED_REGNUM) (MIPS_LAST_EMBED_REGNUM): Add. * config/mips/tm-mips.h (FIRST_EMBED_REGNUM) (LAST_EMBED_REGNUM): Delete. * mipsv4-nat.c, mips-tdep.c, mips-linux-tdep.c: Update.
2004-10-302004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+0
* config/mips/tm-mips.h (PS_REGNUM): Delete. * mips-tdep.h (MIPS_PS_REGNUM): Add. * remote-vxmips.c, mipsv4-nat.c, mips-tdep.c: Update. * mips-linux-nat.c: Update.
2004-10-302004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-12/+0
* mips-tdep.h: Add comments on registers. (MIPS_UNUSED_REGNUM): Define. * config/mips/tm-mips.h (ZERO_REGNUM, UNUSED_REGNUM) (T9_REGNUM, V0_REGNUM, A0_REGNUM): Delete. * irix5-nat.c, mipsv4-nat.c, mips-linux-tdep.c: Update. * mips-linux-nat.c, remote-mips.c: Update.
2004-10-302004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-3/+0
* config/mips/tm-mips.h (t_insn): Delete. * mips-tdep.c (mips_fetch_instruction, mips_skip_trampoline_code): Replace t_insn with ULONGEST.
2004-10-302004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-30/+0
* alpha-tdep.c (alpha_setup_arbitrary_frame): Delete. * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Delete. (alpha_setup_arbitrary_frame): Delete. * mips-tdep.c (setup_arbitrary_frame): Delete. * config/mips/tm-mips.h (SETUP_ARBITRARY_FRAME): Delete. (setup_arbitrary_frame): Delete. * stack.c (parse_frame_specification_1): When specified, call create_new_frame with two parameters. Delete #ifdef SETUP_ARBITRARY_FRAME.
2004-10-302004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-3/+0
* config/mips/tm-mips.h (MIPS16_INSTLEN, MIPS_NUMREGS) (MIPS_INSTLEN): Delete. * mips-tdep.h (enum mips_insn_size): Rename MIPS32_INSN_SIZE and MIPS16_INSN_SIZE to MIPS_INSN32_SIZE and MIPS_INSN16_SIZE. * remote-mips.c, mips-tdep.c: Update.
2004-10-302004-10-30 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+1
* config/mips/embed.mt (TDEPFILES): Add mips-mdebug-tdep.o. * mips-mdebug-tdep.h, mips-mdebug-tdep.c: New files. * mips-tdep.c (mips_mdebug_frame_cache) (mips_mdebug_frame_this_id, mips_mdebug_frame_prev_register) (mips_mdebug_frame_unwind, mips_mdebug_frame_sniffer) (mips_mdebug_frame_base_address, mips_mdebug_frame_sniffer) (mips_mdebug_frame_base_sniffer, non_heuristic_proc_desc) (compare_pdr_entries, the_bfd, mips16_fetch_instruction): Delete. (mips_gdbarch_init): Do not append mdebug sniffers. (PROC_LOW_ADDR, PROC_HIGH_ADDR, PROC_FRAME_OFFSET) (PROC_FRAME_REG, PROC_FRAME_ADJUST, PROC_REG_MASK) (PROC_FREG_MASK, PROC_REG_OFFSET, PROC_FREG_OFFSET, PROC_PC_REG) (PROC_SYMBOL, _PROC_MAGIC_): Delete. * Makefile.in: Update dependencies.
2004-10-30* i386-sol2-nat.c: New file.Mark Kettenis1-1/+1
* Makefile.in (ALLDEPFILES): Add i386-sol2-nat.c and i386-sol2-tdep.c. (i386-sol2-nat.o): Update dependencies. * config/i386/i386sol2.mh (NATDEPFILES): Remove i386v4.o, add i386-sol2-nat.o.
2004-10-262004-10-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+0
* config/mips/tm-linux.h: Delete #undef SKIP_TRAMPOLINE_CODE. * mips-tdep.c (mips_skip_trampoline_code): Rename mips_skip_stub. (mips_gdbarch_init): Update. (mips_dump_tdep): Do not print SKIP_TRAMPOLINE_CODE.
2004-10-262004-10-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-6/+0
* config/arm/tm-linux.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete. * config/mips/tm-nbsd.h, config/mips/tm-linux.h: Delete #undef IN_SOLIB_RETURN_TRAMPOLINE. * mips-tdep.c (mips_dump_tdep): Do not print IN_SOLIB_RETURN_TRAMPOLINE. (mips_in_solib_return_trampoline): Rename mips_in_return_stub. (mips_gdbarch_init): Update.
2004-10-262004-10-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-8/+0
* mips-tdep.h (mips_software_single_step): Move to here ... * config/mips/tm-mips.h: ... from here. * config/mips/tm-linux.h (SOFTWARE_SINGLE_STEP_P) (SOFTWARE_SINGLE_STEP): Delete. * mips-linux-tdep.c (mips_linux_init_abi): Set software_single_step.
2004-10-23* mips64obsd-nat.c, mips64obsd-tdep.c: New files.Mark Kettenis2-0/+6
* configure.host: Add mips64*-*-openbsd*. * configure.tgt: Add mips64*-*-openbsd*. * Makefile.in (ALLDEPFILES): Add mips64obsd-nat.o, mips64obsd-tdep.c. (mips64obsd-nat.o, mips64obsd-tdep.o): New dependecies. * config/mips/obsd64.mh, config/mips/obsd64.mt: New files.
2004-10-12* sparc-nat.c: Include "inf-ptrace.h".Mark Kettenis6-10/+12
(sparc_target): New function. * sparc-nat.h: Update copyright year. (sparc_target): New prototype. * sparcnbsd-nat.c: Don't include "gdbcore.h", include "target.h". (_initialize_sparcnbsd_nat): Construct and add target vector. * sparc64nbsd-nat.c: Include "target.h". (_initialize_sparc64nbsd_nat): Construct and add target vector. * Makefile.in (sparc-nat.o, sparcnbsd-nat.o, sparc64nbsd-nat.o): Update dependencies. * config/sparc/nbsd64.mh (NATDEPFILES): Remove infptrace.o and inftarg.o, add inf-ptrace.o. * config/sparc/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and inftarg.o, add inf-ptrace.o and bsd-kvm.o. (NAT_FILE): Set to nm-bsd.h. (LOADLIBES): New variable. * config/sparc/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and infarg.o, add inf-ptrace.o. * config/sparc/nm-nbsdaout.h: Remove file. * config/sparc/fbsd.mh (NATDEPFILES): Add inf-ptrace.o. * config/sparc/linux.mh (NATDEPFILES): Add inf-ptrace.o. * config/sparc/linux64.mh (NATDEPFILES): Add inf-ptrace.o.
2004-10-09* config/i386/nbsdaout.mh (NAT_FILE): Set to solib.h.Mark Kettenis5-143/+2
* config/i386/nbsdelf.mh (NAT_FILE): Set to solib.h. * config/i386/nm-nbsdaout.h: Remove file. * config/i386/nm-fbsd.h (link_object, lo_name, lo_library) (lo_unused, lo_major, lo_minor, lo_next, link_map, lm_addr) (lm_name, lm_next, lm_lop, lm_lob, lm_rwt, lm_ld, lm_lpd) (link_dynamic_2, ld_loaded, ld_need, ld_rules, ld_got, ld_plt) (ld_rel, ld_hash, ld_stab, ld_stab_hash, ld_buckets, ld_symbols) (ld_symb_size, ld_text, ld_plt_sz, rtc_symb, rtc_sp, rtc_next) (ld_debug, ldd_version, ldd_in_debugger, ldd_sym_loaded) (ldd_bp_addr, ldd_bp_inst, ldd_cp, link_dynamic, ld_version) (ldd, ld_un, ld_2): Remove defines. * config/i386/nm-obsd.h: Likewise.
2004-10-082004-10-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-12/+19
* target.h (to_stopped_data_address): Change prototype to take a CORE_ADDR pointer and return an int. * target.c (update_current_target): Change to_stopped_data_address to match new prototype. (debug_to_stopped_data_address): Change appropriately. * breakpoint.c (bpstat_stop_status): Change call to target_stopped_data_address to use new prototype. * frv-tdep.c (frv_have_stopped_data_address): New function. (frv_stopped_data_address): Change to new prototype and functionality. * ia64-linux-nat.c (ia64_stopped_data_address): Change to new prototype and functionality. (ia64_stopped_by_watchpoint): New function. * i386-nat.c (i386_stopped_data_address): Change to new prototype and functionality. (i386_stopped_by_watchpoint): New function. * remote.c (remote_stopped_data_address): Change to new prototype and functionality. * remote-m32r-sdi.c (m32r_stopped_data_address): Ditto. * config/frv/tm-frv.h (frv_stopped_data_address): Change prototype. (STOPPED_BY_WATCHPOINT): Change to use frv_have_stopped_data_address. * config/i386/nm-i386.h (STOPPED_BY_WATCHPOINT): Change to use new i386_stopped_by_watchpoint function. (i386_stopped_by_watchpoint): New prototype. (i386_stoppped_data_address): Change to new prototype. * config/ia64/nm-linux.h (STOPPED_BY_WATCHPOINT): Change to use new ia64_stopped_by_watchpoint function. (ia64_stopped_by_watchpoint): New prototype. (ia64_stopped_data_address): Ditto.
2004-10-012004-10-01 Andrew Cagney <cagney@gnu.org>Andrew Cagney13-13/+13
* Makefile.in (COMMON_OBS): Add inf-child.o. * config/vax/obsd.mh (NATDEPFILES): Remove inf-child.o. * config/vax/nbsdelf.mh (NATDEPFILES): Remove inf-child.o. * config/vax/nbsdaout.mh (NATDEPFILES): Remove inf-child.o. * config/powerpc/nbsd.mh (NATDEPFILES): Remove inf-child.o. * config/m88k/obsd.mh (NATDEPFILES): Remove inf-child.o. * config/i386/obsdaout.mh (NATDEPFILES): Remove inf-child.o. * config/i386/obsd64.mh (NATDEPFILES): Remove inf-child.o. * config/i386/obsd.mh (NATDEPFILES): Remove inf-child.o. * config/i386/nbsdelf.mh (NATDEPFILES): Remove inf-child.o. * config/i386/nbsdaout.mh (NATDEPFILES): Remove inf-child.o. * config/i386/nbsd64.mh (NATDEPFILES): Remove inf-child.o. * config/i386/fbsd64.mh (NATDEPFILES): Remove inf-child.o. * config/i386/fbsd.mh (NATDEPFILES): Remove inf-child.o.
2004-10-012004-09-30 Kei Sakamoto <sakamoto.kei@renesas.com>Kazuhiro Inaoka4-0/+45
Add m32r-linux support. * configure.tgt: Add m32r*-*-linux*. * Makefile.in (ALLDEPFILES): Add m32r-tdep.c, m32r-linux-nat.c and m32r-linux-tdep.c. (m32r-linux-nat.o, m32r-linux-tdep.o): New dependencies. * m32r-tdep.c: Move some definitions to m32r-tdep.h. * config/djgpp/fnchange.lst: Add m32r-linux-nat.c and m32r-linux-tdep.c. * m32r-tdep.h, m32r-linux-nat.c, m32r-linux-tdep.c, config/m32r/linux.mh, config/m32r/linux.mt, config/m32r/nm-linux.h: New files.
2004-09-30* vaxbsd-nat.c: Include "target,h" and "inf-ptrace.h".Mark Kettenis3-5/+6
(vaxbsd_fetch_inferior_registers): Rename from fetch_inferior_registers. Make static. (vaxbsd_store_inferior_registers): Rename from store_inferior_registers. Make static. (_initialize_vaxbsd_nat): Construct and add target vector. * config/vax/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-child.o and inf-ptrace.o. * config/vax/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-child.o and inf-ptrace.o. (NAT_FILE): Remove. * config/vax/obsd.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-child.o and inf-ptrace.o. (NAT_FILE): Remove. * Makefile.in (vaxbsd-nat.o): Update dependencies.
2004-09-30* m88kbsd-nat.c: Include "target.h" and "inf-ptrace.h".Mark Kettenis1-2/+1
(m88kbsd_fetch_inferior_registers): Rename from fetch_inferior_registers. Make static. (m88kbsd_store_inferior_registers): Rename from store_inferior_registers. Make static. (_initialize_m88kbsd_nat): New prototype and function. * config/m88k/obsd.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-child.o and inf-ptrace.o. (NAT_FILE): Remove. * Makefile.in (m88kbsd-nat.o): Update dependencies.
2004-09-282004-09-28 Andrew Cagney <cagney@gnu.org>Andrew Cagney13-14/+14
* linux-proc.c: Delete file. * Makefile.in: Update. * config/sparc/linux64.mh (NATDEPFILES): * config/sparc/linux.mh (NATDEPFILES): Update. * config/s390/s390.mh (NATDEPFILES): Update. * config/powerpc/ppc64-linux.mh (NATDEPFILES): Update. * config/powerpc/linux.mh (NATDEPFILES): Update. * config/pa/linux.mh (NATDEPFILES): Update. * config/mips/linux.mh (NATDEPFILES): Update. * config/m68k/linux.mh (NATDEPFILES): Update. * config/ia64/linux.mh (NATDEPFILES): Update. * config/i386/linux64.mh (NATDEPFILES): Update. * config/i386/linux.mh (NATDEPFILES): Update. * config/arm/linux.mh (NATDEPFILES): Update. * config/alpha/alpha-linux.mh (NATDEPFILES): Update. * linux-nat.c: Update copyright. Include <sys/param.h>, <sys/procfs.h>, "elf-bfd.h", "gregset.h", <ctype.h>, "gdbthread.h", "gdb_stat.h", <fcntl.h>. (O_LARGEFILE): Possibly define. (_initialize_linux_nat, linux_proc_pending_signals) (add_line_to_sigset, linux_proc_xfer_memory) (linux_nat_info_proc_cmd, linux_nat_make_corefile_notes) (linux_nat_do_registers, linux_nat_corefile_thread_callback) (struct linux_corefile_thread_data) (linux_nat_do_thread_registers, linux_nat_find_memory_regions) (child_pid_to_exec_file): Insert code previously in linux-proc.c.
2004-09-272004-09-16 Andrew Cagney <cagney@gnu.org>Andrew Cagney13-13/+13
* lin-lwp.c: Delete file. * linux-nat.c: Include "gdb_assert.h", "gdb_string.h", <unistd.h>, <sys/syscall.h>, "gdbthread.h", "gdbcmd.h", "regcache.h". (status_to_str, init_lwp_list, add_lwp, delete_lwp) (find_lwp_pid, iterate_over_lwps, lin_lwp_attach_lwp) (linux_nat_attach, detach_callback, linux_nat_detach) (resume_callback, resume_clear_callback, linux_nat_resume) (kill_lwp, linux_nat_handle_extended, wait_lwp, stop_callback) (stop_wait_callback, linux_nat_has_pending, flush_callback) (status_callback, running_callback, count_events_callback) (select_singlestep_lwp_callback, select_event_lwp_callback) (cancel_breakpoints_callback, select_event_lwp, resumed_callback) (child_wait, stop_and_resume_callback, linux_nat_wait) (kill_callback, kill_wait_callback, linux_nat_kill) (linux_nat_create_inferior, linux_nat_mourn_inferior) (linux_nat_xfer_memory, linux_nat_thread_alive) (linux_nat_pid_to_str, init_linux_nat_ops, sigchld_handler) (_initialize_linux_nat): New functions. * Makefile.in: Update all dependencies. * config/sparc/linux64.mh (NATDEPFILES): Remove lin-lwp.o. * config/sparc/linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/s390/s390.mh (NATDEPFILES): Remove lin-lwp.o. * config/powerpc/ppc64-linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/powerpc/linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/pa/linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/mips/linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/m68k/linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/ia64/linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/i386/linux64.mh (NATDEPFILES): Remove lin-lwp.o. * config/i386/linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/arm/linux.mh (NATDEPFILES): Remove lin-lwp.o. * config/alpha/alpha-linux.mh (NATDEPFILES): Remove lin-lwp.o.
2004-09-27* config/i386/fbsd64.mh, config/i386/nbsd64.mh,Mark Kettenis3-3/+0
config/i386/obsd64.mh (NAT_FILE): Remove variable.
2004-09-26* config/i386/nm-fbsd64.h: Remove file.Mark Kettenis2-29/+1
* config/i386/fbsd64.mh (NAT_FILE): Set to config/nm-nbsd.h.
2004-09-26* amd64-nat.h: Update copyright year.Mark Kettenis4-8/+5
(amd64bsd_target): New prototype. * amd64bsd-nat.c: Include "target.h" and "inf-ptrace.h". (amd64bsd_target): New function. (amd64bsd_fetch_inferior_registers): Rename from fetch_inferior_registers. Make static. (amd64bsd_store_inferior_registers): Rename from store_inferior_registers. Make static. * amd64fbsd-nat.c: Include "target.h" and "fbsd-nat.h". (_initialize_amd64fbsd_nat): Construct and add target vector. * amd64nbsd-nat.o: Include "target.h". (_initialize_amd64nbsd_nat): Construct and add target vector. * amd64obsd-nat.c: Include "target.h". (_initialize_amd64obsd_nat): Construct and add target vector. * config/i386/nm-fbsd64.h (CHILD_PID_TO_EXEC_FILE): Remove define. * config/i386/fbsd64.mh (NATDEPFILES): Remove infptrace.o, inftarg.o and fbsd-proc.o. Add inf-child.o, inf-ptrace.o and fbsd-nat.o. * config/i386/nbsd64.mh, config/i386/obsd64.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-child.o and inf-ptrace.o. * Makefile.in (amd64bsd-nat.o, amd64fbsd-nat.o, amd64nbsd-nat.o) (amd64obsd-nat.o): Update dependencies.
2004-09-25* config/i386/fbsd.mh (NATDEPFILES): Remove infptrace.o.Mark Kettenis5-5/+5
* config/i386/nbsdaout.mh (NATDEPFILES): Remove infptrace.o. * config/i386/nbsdelf.mh (NATDEPFILES): Remove infptrace.o. * config/i386/obsd.mh (NATDEPFILES): Remove infptrace.o. * config/i386/obsdaout.mh (NATDEPFILES): Remove infptrace.o.
2004-09-202004-09-20 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-3/+3
* config/nm-lynx.h (DEPRECATED_CHILD_RESUME): Deprecate CHILD_RESUME. * config/i386/nm-linux.h (DEPRECATED_CHILD_RESUME): Ditto. * config/nm-linux.h (DEPRECATED_KILL_INFERIOR): Deprecate KILL_INFERIOR. * infptrace.c: Update.
2004-09-19* config/i386/nm-fbsd.h, config/i386/nm-obsd.h: Don't includeMark Kettenis2-20/+0
<machine/vmparam.h>. (KERNEL_U_ADDR, REGISTER_U_ADDR): Remove defines. (register_u_addr): Remove prototype.
2004-09-19* i386bsd-nat.c: Include "i386bsd-nat.h" and "inf-ptrace.h".Mark Kettenis6-14/+13
(i386bsd_fetch_inferior_registers): Rename from fetch_inferior_registers. Make static. (i386bsd_store_inferior_registers): Rename from store_inferior_registers. Make static. (i386bsd_target): New function. * i386bsd-nat.h: New file. * i386fbsd-nat.c: Include "target.h", "fbsd-nat.h" and "i386bsd-nat.h". (i386fbsd_resume): Rename from child_resume. Make static. (_initialize_i386fbsd_nat): Construct and add target vector. * i386nbsd-nat.c: Include "target.h" and "i386bsd-nat.h". (_initialize_i386nbsd_nat): Construct and add target vector. * config/i386/nm-fbsd.h: (CHILD_RESUME, CHILD_PID_TO_EXEC_FILE): Remove defines. * config/i386/fbsd.mh (NATDEPFILES): Add inf-child.o, inf-ptrace.o and fbsd-nat.o. Remove inftarg.o and fbsd-proc.o. * config/i386/nbsdaout.mh (NATDEPFILES): Add inf-child.o, inf-ptrace.o, i386bsd-nat.o and bsd-kvm.o. Remove inftarg.o. (LOADLIBES): New variable. * config/i386/nbsdelf.mh (NATDEPFILES): Add inf-child.o and inf-ptrace.o. Remove inftarg.o. * config/i386/obsd.mh (NATDEPFILES): Add inf-child.o and inf-ptrace.o. Remove inftarg.o. * config/i386/obsdaout.mh (NATDEPFILES): Add inf-child.o, inf-ptrace.o, i386nbsd-nat.o and bsd-kvm.o. Remove inftarg.o. (LOADLIBES): New variable. * Makefile.in (i386bsd_nat_h): New variable. (i386bsd-nat.o, i386fbsd-nat.o, i386nbsd-nat.o): Update dependencies.
2004-09-19* config/sparc/nbsd64.mt, config/sparc/obsd.mt,Mark Kettenis3-3/+3
config/sparc/obsd64.mt (DEPRECATED_TM_FILE): Set to solib.h.
2004-09-18* config/pa/hpux1020.mh (MH_CFLAGS): Remove -D__HP_CURSES.Mark Kettenis3-3/+3
* config/pa/hpux11.mh (MH_CFLAGS): Likewise. * config/pa/hpux11w.mh (MH_CFLAGS): Likewise. * configure.in: Improve checks for curses library by checking for mvwaddstr instead of initscr. Drop HP curses in favour of standard curses on HP-UX. * configure: Regenerated.
2004-09-13Index: ChangeLogAndrew Cagney73-73/+74
2004-09-13 Andrew Cagney <cagney@gnu.org> * configure.in (frags): Replace TM_FILE with DEPRECATED_TM_FILE. * configure: Re-generate. * nlm/Makefile.in (TAGS): Update. * Makefile.in (TAGS): Update. * config/vax/nbsd.mt (TM_FILE): Update. * config/sparc/vxworks.mt (TM_FILE): Update. * config/sparc/sol2.mt (TM_FILE): Update. * config/sparc/sol2-64.mt (TM_FILE): Update. * config/sparc/obsd64.mt (TM_FILE): Update. * config/sparc/obsd.mt (TM_FILE): Update. * config/sparc/nbsd64.mt (TM_FILE): Update. * config/sparc/nbsd.mt (TM_FILE): Update. * config/sparc/linux64.mt (TM_FILE): Update. * config/sparc/linux.mt (TM_FILE): Update. * config/sparc/fbsd.mt (TM_FILE): Update. * config/sh/wince.mt (TM_FILE): Update. * config/sh/nbsd.mt (TM_FILE): Update. * config/sh/linux.mt (TM_FILE): Update. * config/sh/embed.mt (TM_FILE): Update. * config/s390/s390.mt (TM_FILE): Update. * config/rs6000/rs6000lynx.mt (TM_FILE): Update. * config/rs6000/rs6000.mt (TM_FILE): Update. * config/rs6000/aix4.mt (TM_FILE): Update. * config/powerpc/vxworks.mt (TM_FILE): Update. * config/powerpc/ppc-sim.mt (TM_FILE): Update. * config/powerpc/ppc-eabi.mt (TM_FILE): Update. * config/powerpc/obsd.mt (TM_FILE): Update. * config/powerpc/nbsd.mt (TM_FILE): Update. * config/powerpc/linux.mt (TM_FILE): Update. * config/powerpc/aix.mt (TM_FILE): Update. * config/pa/obsd.mt (TM_FILE): Update. * config/pa/linux.mt (TM_FILE): Update. * config/pa/hppahpux.mt (TM_FILE): Update. * config/pa/hppa64.mt (TM_FILE): Update. * config/pa/hppa.mt (TM_FILE): Update. * config/ns32k/nbsdaout.mt (TM_FILE): Update. * config/mips/wince.mt (TM_FILE): Update. * config/mips/vxmips.mt (TM_FILE): Update. * config/mips/nbsd.mt (TM_FILE): Update. * config/mips/linux.mt (TM_FILE): Update. * config/mips/irix6.mt (TM_FILE): Update. * config/mips/irix5.mt (TM_FILE): Update. * config/mips/embed.mt (TM_FILE): Update. * config/m68k/vxworks68.mt (TM_FILE): Update. * config/m68k/st2000.mt (TM_FILE): Update. * config/m68k/os68k.mt (TM_FILE): Update. * config/m68k/obsd.mt (TM_FILE): Update. * config/m68k/nbsd.mt (TM_FILE): Update. * config/m68k/monitor.mt (TM_FILE): Update. * config/m68k/linux.mt (TM_FILE): Update. * config/m68k/cisco.mt (TM_FILE): Update. * config/ia64/linux.mt (TM_FILE): Update. * config/ia64/aix.mt (TM_FILE): Update. * config/ia64/ia64.mt (TM_FILE): Update. * config/i386/vxworks.mt (TM_FILE): Update. * config/i386/obsd64.mt (TM_FILE): Update. * config/i386/obsd.mt (TM_FILE): Update. * config/i386/nto.mt (TM_FILE): Update. * config/i386/nbsd64.mt (TM_FILE): Update. * config/i386/nbsd.mt (TM_FILE): Update. * config/i386/linux64.mt (TM_FILE): Update. * config/i386/linux.mt (TM_FILE): Update. * config/i386/i386sol2.mt (TM_FILE): Update. * config/i386/i386lynx.mt (TM_FILE): Update. * config/i386/fbsd64.mt (TM_FILE): Update. * config/i386/fbsd.mt (TM_FILE): Update. * config/i386/cygwin.mt (TM_FILE): Update. * config/h8300/h8300.mt (TM_FILE): Update. * config/frv/frv.mt (TM_FILE): Update. * config/cris/cris.mt (TM_FILE): Update. * config/arm/wince.mt (TM_FILE): Update. * config/arm/nbsd.mt (TM_FILE): Update. * config/arm/linux.mt (TM_FILE): Update. * config/arm/embed.mt (TM_FILE): Update. * config/alpha/nbsd.mt (TM_FILE): Update. * config/alpha/fbsd.mt (TM_FILE): Update. * config/alpha/alpha.mt (TM_FILE): Update. * config/alpha/alpha-osf1.mt (TM_FILE): Update. * config/alpha/alpha-linux.mt (TM_FILE): Update. Index: gdbserver/ChangeLog 2004-09-02 Andrew Cagney <cagney@gnu.org> * Makefile.in (TAGS): Replace TM_FILE with DEPRECATED_TM_FILE.
2004-09-132004-09-13 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-11/+0
* config/i386/nm-i386.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete. * config/s390/nm-linux.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete. * config/pa/nm-hppah.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete. * config/ia64/nm-linux.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete. * config/frv/tm-frv.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete. * mips-tdep.c (mips_dump_tdep): Do not print same.