aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
2003-09-282003-09-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-1/+4
* config/pa/tm-hppa.h (DEPRECATED_VALUE_RETURNED_FROM_STACK): Rename VALUE_RETURNED_FROM_STACK. * infcmd.c (print_return_value): Update. * infcall.c (call_function_by_hand): Update.
2003-09-272003-09-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-2/+2
* arch-utils.c (deprecated_init_frame_pc_default): Rename "init_frame_pc_default". * arch-utils.h (deprecated_init_frame_pc_default): Update. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * vax-tdep.c (vax_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sh64-tdep.c (sh64_gdbarch_init): Update. * s390-tdep.c (s390_gdbarch_init): Update. * ns32k-tdep.c (ns32k_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * h8300-tdep.c (h8300_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * config/pa/tm-hppa.h (DEPRECATED_INIT_FRAME_PC): Update.
2003-09-222003-09-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-11/+0
* arch-utils.h (init_frame_pc_noop): Delete declaration. * arch-utils.c (init_frame_pc_noop): Delete function. * mn10300-tdep.c (mn10300_gdbarch_init): Do not set "init_frame_pc". * mips-tdep.c (mips_gdbarch_init): Ditto. * i386-interix-tdep.c (i386_interix_init_abi): Ditto. * config/sparc/tm-sparc.h (init_frame_pc_noop): Delete declaration. (DEPRECATED_INIT_FRAME_PC): Delete macro. * config/rs6000/tm-rs6000.h (init_frame_pc_noop): Delete declaration. (DEPRECATED_INIT_FRAME_PC): Delete macro.
2003-09-202003-09-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-1/+1
* cli/cli-script.c: Remove "register" attributes. * config/pa/tm-hppa.h: Ditto. * cli/cli-decode.c: Ditto. * cli/cli-cmds.c: Ditto.
2003-09-192003-09-19 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-3/+6
* config/pa/nm-hppah.h (NEED_TEXT_START_END): Delete. (DEPRECATED_HPUX_TEXT_END): Define. (deprecated_hpux_text_end): Declare. (struct target_ops): Declare opaque. * hppah-nat.c (text_end): Make static. (deprecated_hpux_text_end): New function. * exec.c (text_end): Delete global variable. (NEED_TEXT_START_END): Do not define. (exec_file_attach): Replace code computing "text_end" code with call to DEPRECATED_HPUX_TEXT_END. 2003-09-19 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete documentation for NEED_TEXT_START_END.
2003-09-172003-09-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-4/+4
* gdbarch.sh (DEPRECATED_REGISTER_BYTE): Rename REGISTER_BYTE. * gdbarch.h, gdbarch.c: Regenerate. * arm-linux-tdep.c, core-sol2.c, cris-tdep.c: Update. * d10v-tdep.c, frame.c: Update. * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update. * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update. * ia64-linux-nat.c, irix5-nat.c, lynx-nat.c, m68knbsd-nat.c: Update. * mcore-tdep.c, mips-linux-tdep.c, mips-tdep.c: Update. * mipsv4-nat.c, mn10300-tdep.c, ns32k-tdep.c: Update. * ns32knbsd-nat.c, ppc-bdm.c, regcache.c, remote-sds.c: Update. * remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Update. * remote.c, rs6000-tdep.c, s390-tdep.c, sh64-tdep.c: Update. * sparc-nat.c, sparc-tdep.c, sun3-nat.c, v850-tdep.c: Update. * v850ice.c, vax-tdep.c, xstormy16-tdep.c: Update. * config/m68k/tm-cisco.h, config/m68k/tm-delta68.h: Update. * config/pa/nm-hppah.h: Update. 2003-09-17 Andrew Cagney <cagney@redhat.com> * mi/mi-main.c: Rename REGISTER_BYTE to DEPRECATED_REGISTER_BYTE.
2003-09-152003-09-14 Michael Chastain <mec@shout.net>Michael Chastain2-63/+0
* config/m68k/nm-apollo68v.h: Delete. * config/m68k/xm-apollo68v.h: Delete.
2003-09-142003-09-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-2/+2
* config/djgpp/fnchange.lst: Rename "amd64fbsd-tdep.c" and "amd64fbsd-nat.c" to "a64fb-tdep.c" and "a64fb-nat.c".
2003-09-142003-09-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+2
* config/pa/tm-hppa64.h (struct frame_info): Declare opaque. * ppc-tdep.h (struct regcache): Declare opaque. * objfiles.h (struct objfile_data): Declare opaque. * cp-support.h (struct objfile): Declare opaque. * linux-nat.h (target_waitstatus): Declare opaque.
2003-09-13* win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for SSEChristopher Faylor1-7/+0
registers since gdb will not operate correctly without this. Restore include file ordering munged in previous change. * config/i386/tm-cygwin.h: Remove HAVE_SSE_REGS define.
2003-09-13* win32-nat.c: Reorganize so that defines used by target headers are actuallyChristopher Faylor1-1/+1
defined by the system headers. * config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather than HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists.
2003-09-112003-09-11 Andrew Cagney <cagney@redhat.com>Andrew Cagney9-254/+47
Since the IRIX 4 configuration was forcing K&R mode it hasn't been buildable since GDB 5.0. * NEWS: Mention that IRIX 3 and IRIX 4 support were removed. * configure.host: Delete "mips-sgi-irix3*" and "mips-sgi-irix4*". * configure.tgt: Delete "mips*-sgi-*" a.k.a. irix3. * irix4-nat.c: Delete file. * config/mips/irix4.mh: Delete file. * config/mips/irix3.mh: Delete file. * config/mips/irix3.mt: Delete file. * config/mips/tm-irix3.h: Delete file. * config/mips/nm-irix3.h: Delete file. * config/mips/xm-irix3.h: Delete file. * config/mips/nm-irix4.h: Delete file. * config/mips/xm-irix4.h: Delete file. * config/mips/tm-irix5.h: Inline contents of "tm-irix3.h".
2003-09-08 * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-VKevin Buettner1-2/+2
target.
2003-09-08 * Makefile.in (ALLDEPFILES): Add sh64-tdep.c.Corinna Vinschen5-6/+4
(sh64-tdep.o): Add dependencies. * configure.tgt: Add FIXME to sh-*-linux*. * sh-tdep.c: Move sh64 support to sh64-tdep.c. (sh_gdbarch_init): Always set correct sh_show_regs function pointer. Call sh64_gdbarch_init() if machine type is sh5. * sh-tdep.h: Move sh64 support to sh64-tdep.c. * sh64-tdep.c: New file, containing all sh64 related code from sh-tdep.c. * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o. * config/sh/linux.mt (TDEPFILES): Ditto. * config/sh/nbsd.mt (TDEPFILES): Ditto. * config/sh/tm-sh.h: Drop REGISTER_TYPE definition. * config/sh/wince.mt (TDEPFILES): Ditto.
2003-09-042003-09-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-43/+1
* configure.tgt: Add "mips64*-*-*" target. Delete mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*, mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*, mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*, mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*, mips*-sony-*, and mips64*-*-elf* targets. * config/mips/embedl.mt: Delete file. * config/mips/embedl64.mt: Delete file. * config/mips/mips.mt: Delete file. * config/mips/mips64.mt: Delete file. * config/mips/tm-embed.h: Delete file. * config/mips/embed.mt (TM_FILE): Set to "tm-mips.h". * config/mips/embed64.mt: Delete out-of-date comment.
2003-09-042003-09-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-21/+0
* hppa-tdep.c (hppa_gdbarch_init): Set "have_nonsteppable_watchpoint". * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. * mips-tdep.c (mips_dump_tdep): Do not print HAVE_NONSTEPPABLE_WATCHPOINT. (mips_gdbarch_init): Set "have_nonsteppable_watchpoint". * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete. * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
2003-09-032003-09-03 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+4
* config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch].
2003-09-032003-09-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-11/+3
* config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition. * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define. * symfile.c (syms_from_objfile): Update. (reread_symbols): `Update * exec.c (exec_file_attach): Update. (exec_file_attach): Update. * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert 2003-08-29 change. * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET.
2003-09-032003-09-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-7/+3
* config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS. * config/mips/wince.mt (TM_CLIBS): Ditto. * config/sh/wince.mt (TM_CLIBS): Ditto. * config/pa/hppa64.mt (TM_CLIBS): Delete. * config/sparc/sp64.mt (CC): Delete.
2003-09-032003-09-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney18-32/+0
* defs.h: Do not include "arch-utils.h". (GDB_MULTI_ARCH): If not defined, set to GDB_MULTI_ARCH_PARTIAL or GDB_MULTI_ARCH_PURE. * configure.in (GDB_MULTI_ARCH): Do not define. * configure, config.in: Regenerate. * configure.tgt: Do not set variable "gdb_multi_arch". * config/s390/s390x.mt (GDB_MULTI_ARCH): Delete. * config/s390/s390.mt (GDB_MULTI_ARCH): Delete. * config/i386/x86-64linux.mt (GDB_MULTI_ARCH): Delete. * config/v850/v850.mt (TM_FILE): Delete disabled definition. * config/m68hc11/m68hc11.mt (TM_FILE): Delete definition. * config/vax/tm-vax.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-nbsd.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Delete definition. * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Delete definition. * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Delete definition. * config/ns32k/tm-ns32k.h (GDB_MULTI_ARCH): Delete definition. * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Delete definition. * config/i386/tm-i386.h (GDB_MULTI_ARCH): Delete definition. * config/h8300/tm-h8300.h (GDB_MULTI_ARCH): Delete definition. * config/frv/tm-frv.h (GDB_MULTI_ARCH): Delete definition. * config/alpha/tm-alpha.h (GDB_MULTI_ARCH): Delete definition.
2003-09-012003-08-30 Michael Chastain <mec@shout.net>Michael Chastain5-324/+0
* Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h. * config/m68k/nm-hp300hpux.h: Delete. * config/m68k/tm-hp300hpux.h: Delete. * config/m68k/xm-hp300hpux.h: Delete. * config/m68k/xm-hp300bsd.h: Delete. * config/djgpp/fnchange.lst: Remove nm-hp300hpux.h, tm-hp300hpux.h, xm-hp300hpux.h. * somsolib.c: Remove comment about hp300 shared libraries.
2003-08-29* i386-linux-tdep.h (I386_LINUX_NUM_REGS): New define.Mark Kettenis1-1/+1
* x86-64-linux-nat.c: Include "i386-linux-tdep.h" and "amd64.h". Change "register array" to "register cache" in comments. (x86_64_linux_gregset64_reg_offset): New variable. (GETREGS_SUPPLIES): Remove macro. (supply_gregset): Call amd64_supply_native_gregset instead of x86_64_linux_supply_gregset. (fill_gregset): Rename `regno' to `regnum'. Call amd64_collect_native_gregset instead of x86_64_linux_fill_gregset. (store_regs): Rename `regno' to `regnum'. (store_fpregs): Rename `regno' to `regnum'. (fetch_inferior_registers): Rename `regno' to `regnum'. Use amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. Reorganize function a bit. (store_inferior_registers): Rename `regno' to `regnum'. Use amd64_native_gregset_supplies_p instead of GREGSET_SUPPLIES. Reorganize function a bit. (_initialize_x86_64_linux_nat): New function. * config/i386/x86-64linux.mh.
2003-08-292003-08-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-22/+7
* config/mips/tm-embed.h (STOPPED_BY_WATCHPOINT): Delete macro. (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Delete macro. (target_remove_watchpoint): Delete macro. (target_insert_watchpoint): Delete macro. (remote_mips_can_use_hardware_watchpoint): Delete declaration. (remote_mips_stopped_by_watchpoint): Delete declaration. (remote_mips_remove_watchpoint): Delete declaration. (remote_mips_set_watchpoint): Delete declaration. (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete macro. * remote-mips.c (_initialize_remote_mips): Set "to_insert_watchpoint", "to_stopped_by_watchpoint", "to_can_use_hardware_watchpoint", and "to_remove_watchpoint". (mips_insert_watchpoint): Rename remote_mips_set_watchpoint. (mips_remove_watchpoint): Rename remote_mips_remove_watchpoint. (mips_stopped_by_watchpoint): Rename remote_mips_stopped_by_watchpoint. (mips_can_hardware_watchpoint): Rename remote_mips_can_use_hardware_watchpoint, update function signature.
2003-08-29* amd64-nat.h: New file.Mark Kettenis1-1/+1
* amd64-nat.c: New file. * amd64fbsd-nat.c: Include "amd64-nat.h". (REG_ADDR, GETREGS_SUPPLIES): Remove macros. (amd64fbsd32_r_reg_offset): New variable. (supply_gregset): Simply call amd64_supply_native_gregset. (fill_gregset): Rename `regno' to `regnum'. Simply call amd64_collect_native_gregset. (fill_fpregset): Rename `regno' to `regnum'. (fetch_inferior_registers): Rename `regno' to `regnum'. Replace usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. Use `struct reg' and `struct fpreg' instead of `gregset_t' and `fpregset_t'. Call amd64_supply_native_gregset instead of supply_gregset. Call x86_64_supply_fxsave instead of supply_fpregset. (store_inferior_registers): Rename `regno' to `regnum'. Replace usage of GETREGS_SUPPLIES with amd64_native_gregset_supplies_p. Use `struct reg' and `struct fpreg' instead of `gregset_t' and `fpregset_t'. Call amd64_collect_native_gregset instead of fill_gregset. Call x86_64_collect_fxsave instead of fill_fpregset. (_initialize_am64fbsd_nat): Initialize amd64_native_gregset32_reg_offset and amd64_native_gregset64_reg_offset. * config/i386/fbsd64.mh (NATDEPFILES): Add amd64-nat.o.
2003-08-28 * config/powerpc/tm-nbsd.h: Undefine IBM6000_TARGET. SuggestedDaniel Jacobowitz1-1/+5
by Nathan J. Williams.
2003-08-272003-08-27 Michael Chastain <mec@shout.net>Michael Chastain1-0/+4
* config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*.
2003-08-232003-08-22 Michael Chastain <mec@shout.net>Michael Chastain1-80/+2
* config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*. Add lines for files in gdb/testsuite/gdb.cp/* that are still not 8.3 unique.
2003-08-222003-08-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-711/+0
* config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code. * config/sparc/tm-sparc.h: Ditto. * config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH unconditionally. * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto.
2003-08-21Rewrite FreeBSD/sparc64 native configuration.Mark Kettenis4-85/+10
* sparcbsd-nat.c, sparcbsd-nat.h: New files. * sparc64fbsd-nat.c: New file. * sparc64fbsd-tdep.c: New file. * sparc64-tdep.c sparc64-tdep.h: New files. * Makefile.in (sparcbsd-nat.o, sparc64fbsd-nat.o, sparc64-tdep.o, sparc64fbsd-tdep.o): New dependencies. (SFILES): Add sparcbsd-nat.c, sparc64fbsd-nat.c, sparc64-tdep.c and sparc64fbsd-tdep.c. (sparc64_tdep_h, sparcbsd_nat_h): New variables. * config/sparc/fbsd.mh: Remove copyright notice. (NATDEPFILES): Remove sparc-nat.o, add sparc64fbsd-nat.o and sparcbsd-nat.o. * config/sparc/fbsd.mt: Remove copyright notice. (TDEPFILES): Remove sparc-tdep.o, solib.o solib-svr4.o, solib-legacy.o. Add sparc64-tdep.o and sparc64fbsd-tdep.o. * config/sparc/nm-fbsd.h: Don't include "elf/common.h". (SVR4_SHARED_LIBS, PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS, GDB_GREGSET_T, GDB_FPREGSET_T, regs, r_g1, r_ps, r_pc, r_npc, r_y, FPU_FSR_TYPE, fp_status, fpu, fpu_regs, fp_fr, fpu_fsr, Fpu_fsr): Remove defines. * config/sparc/tm-fbsd.h: Don't include "solib.h" and "sparc/tm-sp64.h". (SVR4_SHARED_LIBS, START_INFERIOR_TRAPS_EXPECTED): Remove defines. (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_TM.
2003-08-20 * frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include.Kevin Buettner1-14/+0
(frv_frame_init_saved_regs): Add declaration. (frame_extra_info): Add new field ``saved_regs''. (frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue) (frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular): Update frame related code. (frv_extract_struct_value_address): Adjust formatting. * Makefile.in (frv-tdep.o): Update dependencies. * config/frv/tm-frv.h (target_insert_watchpoint) (target_remove_watchpoint, target_insert_hw_breakpoint) (target_remove_hw_breakpoint): Delete these macros. (remote_insert_watchpoint, remote_remove_watchpoint) (remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove these declarations.
2003-08-182003-08-18 Michal Ludvig <mludvig@suse.cz>Michal Ludvig1-0/+5
* config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define. * i386-linux-nat.c: Include "linux-nat.h". (child_post_startup_inferior): New function.
2003-08-17 * Makefile.in (i386-linux-nat.o): Update dependencies.Daniel Jacobowitz2-0/+13
* config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define. * config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH) (CHILD_FOLLOW_FORK, KILL_INFERIOR): Define. * i386-linux-nat.c: Include "linux-nat.h". (child_post_startup_inferior): New function. * i386-nat.c (child_post_startup_inferior): Wrap in #ifdef. * infptrace.c (kill_inferior): Wrap in #ifdef. * lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after attaching to each LWP. (child_wait, lin_lwp_wait): Call linux_handle_extended_wait. (init_lin_lwp_ops): Fill in some more operations. * linux-nat.h (linux_enable_event_reporting) (linux_handle_extended_wait, linux_child_post_startup_inferior): New prototypes. * linux-nat.c (linux_enable_event_reporting): New function. (child_post_attach, linux_child_post_startup_inferior) (child_post_startup_inferior, child_follow_fork) (linux_handle_extended_wait, kill_inferior): New functions.
2003-08-16* config/alpha/nm-fbsd.h (SVR4_SHARED_LIBS): Remove define.Mark Kettenis1-2/+0
2003-08-15 Further multiarching work mostly for hppa64-*-hpux11:Joel Brobecker2-196/+13
* hppa-tdep.h: New file. * hppa-tdep.c: #include hppa-tdep.c. (hppa32_num_regs): Renamed from hppa_num_regs. (hppa64_num_regs): New constant. (hppa64_call_dummy_breakpoint_offset): New constant. (hppa32_call_dummy_length): New constant. (hppa64_call_dummy_length): New constant. (hppa32_stack_align): Make name 32bit explicit. (hppa32_register_virtual_type): Likewise. (hppa32_extract_return_value): Likewise. (hppa32_use_struct_convention): Likewise. (hppa32_store_return_value): Likewise. (hppa64_register_virtual_type): New function. (hppa64_extract_return_value): New function. (hppa64_use_struct_convention): New function. (hppa64_store_return_value): New function. (hppa_frame_locals_address): Remove declaration, function does not exist anymore. (hppa_register_byte): Add support for PA64 ABI. (hppa_gdbarch_init): Add support for PA64 ABI. * hppa-hpux-tdep.c (hppa32_hpux_frame_saved_pc_in_sigtramp): Make name 32bit explicit. (hppa32_hpux_frame_base_before_sigtramp): Likewise. (hppa32_hpux_frame_find_saved_regs_in_sigtramp): Likewise. (hppa64_hpux_frame_saved_pc_in_sigtramp): New function. (hppa64_hpux_frame_base_before_sigtramp): New function. (hppa64_hpux_frame_find_saved_regs_in_sigtramp): New function. * config/pa/tm-hppa64.h: Remove macros that are no longer necessary now that the gdbarch vector is properly setup. Transform some macros into function calls. Some minor cleanup. * config/pa/tm-hppah.h: Update function calls in macros following the function renaming in hppa-hpux-tdep.c. * Makefile.in (hppa_tdep_h): New variable. (hppa-tdep.o): Add dependency over hppa_tdep_h.
2003-08-13 * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used.Joel Brobecker1-5/+0
(ADDR_BITS_REMOVE): Remove, redundant.
2003-08-10From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de):Mark Kettenis1-0/+1
* config/i386/nm-i386sol2.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one.
2003-08-08 * config/pa/tm-hppa64.h: Remove lots of macros that are noJoel Brobecker1-309/+1
longer necessary now that hppa64 is partially multiarch'ed.
2003-08-032003-08-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+4
* config/djgpp/fnchange.lst: Fix up testsuite/gdb.c++/annota3.cc, gdb/testsuite/gdb.c++/annota3.exp, amd64fbsd-tdep.c and amd64fbsd-nat.c.
2003-08-012003-08-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-236/+4
* NEWS: Mention that m32r is multi-arch. From 2003-07-28 Kei Sakamoto <sakamoto.kei@renesas.com>: * configure.tgt: Recognize m32r-*-*. * config/m32r/tm-m32r.h: Delete file. * config/m32r/m32r.mt: New file. * m32r-rom.c (m32r_upload_command): Use hostent only when gethostname succeeds, in order to avoid a compilation warning. * m32r-tdep.c (m32r_store_return_value): Add a cast to remove a compiler warning.
2003-07-272003-07-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+3
* config/pa/tm-hppa.h (init_frame_pc_default): Declare. * infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update REAL_PC and not the pointer. * hppa-hpux-tdep.c: Include frame.h
2003-07-272003-07-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-3/+8
* config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to GDB_MULTI_ACH_PARTIAL.
2003-07-222003-07-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-10/+6
* config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use get_frame_base. (FRAME_BASE_BEFORE_SIGTRAMP): Ditto. (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto. (struct value): Add opaque declaration. (DEPRECATED_FRAME_ARGS_ADDRESS): Delete.
2003-07-172003-07-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+2
* defs.h (GDB_MULTI_ARCH): Delete conditional define. Handled by configure. * sparc-tdep.c (sparc_intreg_size): Make non-static. * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_PARTIAL.
2003-07-152003-07-15 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2-3/+3
* x86-64-linux-nat.c (regmap): Removed. (supply_gregset, fill_gregset): Call x86_64_linux_(fill,supply)_gregset functions. * x86-64-linux-tdep.c (USER_*): New defines. (user_to_gdb_regmap, x86_64_core_fns): New structure. (x86_64_linux_supply_gregset, x86_64_linux_fill_gregset): New functions. (fetch_core_registers): Ditto. (_initialize_x86_64_linux_tdep): Call add_core_fns(). * x86-64-linux-tdep.h: New file. * config/i386/x86-64linux.mh (NATDEPFILES): Remove corelow.o and core-regset.o. * config/i386/x86-64linux.mt (TDEPFILES): Add corelow.o.
2003-07-13* configure.host: Add x86_64-*-freebsd*.Mark Kettenis3-0/+51
* configure.tgt: Add x86_64-*-freebsd*. * Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets. * amd64fbsd-nat.c: New file. * amd64fbsd-tdep.c: New file. * config/i386/nm-fbsd64.h: New file. * config/i386/fbsd64.mh: New file. * config/i386/fbsd64.mt: New file.
2003-07-07 * config/mips/tm-irix6.h (MIPS_REGISTER_TYPE): Add comment.Joel Brobecker1-0/+4
2003-07-07 * Makefile.in (sparc_tdep_h): New.Daniel Jacobowitz1-2/+0
(sparc-linux-nat.o, sparc-nat.o, sparc-tdep.o, sparc64nbsd-nat.o) (sparcnbsd-nat.o, sparcnbsd-tdep.o): Depend on $(sparc_tdep_h). * sparc-linux-nat.c: Include "sparc-tdep.h". * sparc-nat.c: Likewise. * sparc-tdep.c: Likewise. * sparc64nbsd-nat.c: Likewise. * sparcnbsd-nat.c: Likewise. * sparcnbsd-tdep.c: Likewise. * sparc-tdep.h: New file. * config/sparc/tm-sparc.h: Remove prototypes for sparc_y_regnum and sparc_npc_regnum.
2003-07-042003-07-04 Kris Warkentin <kewarken@qnx.com>Kris Warkentin1-0/+2
* config/i386/nto.mh: Set XM_FILE to xm-i386.h
2003-07-042003-07-04 Kris Warkentin <kewarken@qnx.com>Kris Warkentin2-0/+11
* nto-procfs.c: New file. Native procfs support for QNX Neutrino. * config/i386/nto.mh: New file. * config/i386/nm-nto.h: New file. * configure.host: Add i[3456]86-*-nto*.
2003-07-032003-07-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-36/+6
* gdbarch.sh (REGISTER_NAME): Do not supply a default. * gdbarch.h, gdbarch.c: Re-generate. * config/sparc/tm-sparc.h (REGISTER_NAME): Define. (legacy_register_name): Declare. * config/sparc/tm-sp64.h (legacy_register_name): Declare. (REGISTER_NAME): Define. * sparc-tdep.c (legacy_register_name): New function. * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro. (REGISTER_NAME): Define. (hppa64_register_name): Declare. * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro. * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name. (hppa64_register_name): New function. (hppa_register_name): New function. * arch-utils.c (legacy_register_name): Delete. * arch-utils.h (legacy_register_name): Delete.