aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
2001-04-06 * config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.Geoffrey Keating1-3/+0
(PTRACE_DETACH): Don't define.
2001-04-06Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platformsAndrew Cagney11-256/+255
and powerpc-*-netware* target.
2001-04-05Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.Andrew Cagney6-340/+339
2001-04-03Obsolete w65-*-* target.Andrew Cagney2-222/+220
2001-04-03Obsolete tic80.Andrew Cagney2-262/+262
2001-04-02Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* andAndrew Cagney12-573/+573
ns32k-utek-*.
2001-04-02 * config/djgpp/fnchange.lst: Tweak due toEli Zaretskii1-0/+1
expect/example/chesslib.c.
2001-04-02Make --target=m88k buildable again.Kevin Buettner1-1/+0
2001-04-01* i386-tdep.c (i386_extract_struct_value_address): New function.Mark Kettenis1-4/+7
* config/i386/tm-i386.h (EXTRACT_STRUCT_VALUE_ADDRESS): Redefine in terms of i386_extract_struct_value_address. (i386_extract_struct_value_address): New prototype.
2001-04-01* i386-linux-nat.c (i386_linux_dr_get): Change type of returnMark Kettenis1-2/+2
value to `unsigned long'. Change type of `value' to `unsigned long'. (i386_linux_dr_set): Change type of second argument to `unsigned long'. (i386_linux_dr_set_control): Change type of first argument to `unsigned long'. (i386_linux_dr_get_status): Change type of return value to unsigned long. * config/i386/nm-linux.h (i386_linux_dr_set_control, i386_linux_dr_get_status): Adjust prototypes accordingly.
2001-03-31Revert change to config/ia64/linux.mh in which core-regset.h wasKevin Buettner1-1/+2
removed from NATDEPFILES.
2001-03-31 * config/ia64/linux.mh (NATDEPFILES): Remove core-regset.oKevin Buettner1-2/+1
from list.
2001-03-31* i386bsd-nat.c: Include "gdb_assert.h".Mark Kettenis1-1/+26
[HAVE_PT_GETDBREGS] (DBREG_DRX): Define if not already defined. [HAVE_PT_GETDBREGS] (i386bsd_dr_set, i386bsd_dr_set_control, i386bsd_dr_set_addr, i386bsd_dr_reset_addr, i386bsd_dr_get_status): New functions. * config/i386/nm-fbsd.h [HAVE_PT_GETDBREGS] (I386_USE_GENERIC_WATCHPOINTS): Define. Include "i386/nm-i386.h". (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros. (i386bsd_dr_set_control, i386bsd_dr_set_addr, i386bsd_dr_reset_addr, i386bsd_dr_get_status): New prototypes. * acconfig.h (HAVE_PT_GETDBREGS): New configure macro. * configure.in: Cleanup a few comments. Check for PT_GETDBREGS ptrace request. * config.in, configure: Regenerate.
2001-03-28* config/pa/xm-hppah.h (malloc): Really delete declarationAndrew Cagney1-7/+0
(MALLOC_INCOMPATIBLE): Really delete macro. * cli/cli-cmds.c (apropos_command): Use xcalloc.
2001-03-28Fix -Werror probs for ns32k.Andrew Cagney1-0/+4
2001-03-28* i386-linux-tdep.c (FRAMELESS_SIGNAL): Moved here fromMark Kettenis1-34/+2
config/i386/nm-linux.h (including comment). (i386_linux_frame_chain): New function implementing guts of the former FRAME_CHAIN macro, but using read_memory_unsigned_integer instead of read_memory_integer. (i386_linux_frame_saved_pc): Removed doc pointing to i386/tm-linux.h for an explanation of FRAMELESS_SIGNAL since that now lives in this file. * config/i386/tm-linux.h (FRAMELESS_SIGNAL): Moved to i386-linux-tdep.c (including comment). (FRAME_CHAIN): Redefined in terms of i386_linux_frame_chain. (i386_linux_frame_chain): New prototype.
2001-03-26* i386-linux-tdep.c (i386_linux_sigtramp_saved_pc,Mark Kettenis1-14/+2
i386_linux_sigtramp_saved_sp): Make static. (i386_linux_frame_saved_pc): New function based on the old FRAME_SAVED_PC macro, but use read_memory_unsigned_integer instead of read_memory_integer. * config/i386/tm-linux.h (sigtramp_saved_pc): Remove definition. (i386_linux_sigtramp_saved_pc): Remove prototype. (FRAME_SAVED_PC): Redefine in terms of i386_linux_frame_saved_pc. (i386_linux_frame_saved_pc): New prototype.
2001-03-26* config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.Mark Kettenis1-0/+1
2001-03-26* i386-tdep.c (i386_push_arguments, i386_store_struct_return): NewMark Kettenis2-14/+11
functions. * config/i386/tm-i386.h (PUSH_ARGUMENTS): New macro. (STORE_STRUCT_RETURN): Redefine in terms of i386_store_struct_return. (i386_push_arguments, i386_store_struct_return): New prototypes. * config/i386/tm-i386v.h (STORE_STRUCT_RETURN): Remove. It's definition was identical to the definition in "i386/tm-i386.h" so the new definition should suffice too.
2001-03-26 * config/djgpp/djconfig.sh: Add copyright notice.Eli Zaretskii1-3/+23
* ser-go32.c (rawclock): Remove prototype; include time.h instead. (ISR, dos_hookirq, isr_t): Convert K&R definition to ANSI C. (top level) <string.h>: Include gdb_string.h instead. (dos_noop, dos_raw, dos_noflush_set_tty_state) (dos_print_tty_state, dos_info): Remove ATTRIBUTE_UNUSED. * go32-nat.c (go32_create_inferior): Move the declaration of `environ' to here from the top level. (top level) <_initialize_go32_nat>: Remove redundant prototype. <gdb_string.h>: Include it instead of string.h. (store_register): Call register_buffer instead of accessing registers[] directly. (redir_cmdline_delete, redir_cmdline_parse, redir_to_debugger) (redir_to_debugger, redir_debug_init) [__DJGPP_MINOR__ < 3]: Put the function names at the start of the line. (go32_set_dr): Throw internal_error if the argument is not a valid debug register number. (go32_open, go32_close, go32_attach, go32_detach, go32_resume) (go32_wait, go32_xfer_memory, go32_files_info) (go32_terminal_info): Remove ATTRIBUTE_UNUSED.
2001-03-24* config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Down grade toAndrew Cagney1-1/+1
GDB_MULTI_ARCH_PARTIAL from two. SOFTWARE_SINGLE_STEP is not multi-arch. * gdbarch.sh (SOFTWARE_SINGLE_STEP): Add. * gdbarch.h, gdbarch.c: Re-generate. * target.h (SOFTWARE_SINGLE_STEP_P) (SOFTWARE_SINGLE_STEP): Delete macro definitions.
2001-03-23* config/i386/nm-i386.h: Fix formatting and change reference toMark Kettenis1-24/+22
i386-tdep.c to i386-nat.c.
2001-03-23* config/pa/xm-hppah.h (HPPA_COMPILER_BUG): Delete. GDB onlyAndrew Cagney1-5/+0
compiles using an ISO-C compiler. (MALLOC_INCOMPATIBLE): Ditto. * linespec.c (decode_line_1): Delete hack to work around HPPA_COMPILER_BUG.
2001-03-22 * config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,Eli Zaretskii2-59/+13
include nm-i386.h instead. (TARGET_HAS_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT) (TARGET_CAN_USE_HARDWARE_WATCHPOINT, STOPPED_BY_WATCHPOINT) (TARGET_REGION_OK_FOR_HW_WATCHPOINT, DECR_PC_AFTER_HW_BREAK) (target_stopped_data_address, target_insert_watchpoint) (target_remove_watchpoint, target_insert_hw_breakpoint) (target_remove_hw_breakpoint): Don't define. (I386_USE_GENERIC_WATCHPOINTS, I386_DR_LOW_SET_CONTROL) (I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR) (I386_DR_LOW_GET_STATUS): Define to call appropriate go32_* functions from go32-nat.c. * config/i386/go32.mh (NATDEPFILES): Add i386-nat.o. * go32-nat.c <top level>: Remove prototypes for watchpoint- related functions. Remove definitions of watchpoint-related macros. (go32_mourn_inferior): Call i386_cleanup_dregs instead of the private cleanup_dregs function. (cleanup_dregs, go32_insert_watchpoint) (go32_insert_aligned_watchpoint, go32_handle_nonaligned_watchpoint) (go32_remove_watchpoint, go32_remove_aligned_watchpoint) (go32_region_ok_for_watchpoint, go32_stopped_by_watchpoint) (go32_remove_hw_breakpoint, go32_insert_hw_breakpoint): Remove. (go32_set_dr, go32_set_dr7, go32_get_dr6): New functions.
2001-03-21Make Linux use the new unified support for hardware breakpointsMark Kettenis2-31/+31
and watchpoints on x86 targets. * i386-linux-nat.c: Doc fixes. Include "gdb_assert.h". [HAVE_SYS_DEBUGREG_H]: Include <sys/debugreg.h>. (DR_FIRSTADDR, DR_LASTADDR, DR_STATUS, DR_CONTROL): Define to appropriate value if not already defined. (register_u_addr): New function. (kernel_u_size): New function. (i386_linux_dr_get, i386_linux_dr_set): New functions. (i386_linux_dr_set_control, i386_linux_dr_set_addr, i386_linux_reset_addr, i386_linux_dr_get_status): New functions. * config/i386/nm-linux.h: Don't include "nm-i386v.h". (I386_USE_GENERIC_WATCHPOINTS): Define and include "nm-i386.h". (TARGET_HAS_HARDWARE_WATCHPOINTS, TARGET_CAN_USE_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT, target_insert_watchpoint, target_remove_watchpoint): Remove macros. (i386_stopped_by_watchpoint, i386_insert_watchpoint, i386_remove_watchpoint): Remove prototypes. (register_u_addr): New prototype. (REGISTER_U_ADDR): Define in terms of register_u_addr. (i386_linux_dr_set_control, i386_linux_dr_set_addr, i386_linux_reset_addr, i386_linux_dr_get_status): New prototypes. (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros. * config/i386/linux.mh (NATDEPFILES): Replace i386v-nat.o with i386-nat.o.
2001-03-21* target.h (enum target_signal): Move definition from here.Andrew Cagney3-3/+3
* defs.h (enum target_signal): To here. * config/arc/tm-arc.h (arc_software_single_step): Change type of first parameter to enum target_signal. * config/rs6000/tm-rs6000.h (rs6000_software_single_step): Ditto. * config/sparc/tm-sparc.h (sparc_software_single_step): Ditto. * rs6000-tdep.c (rs6000_software_single_step): Update.
2001-03-21 Unified support for hardware breakpoints and watchpoints onEli Zaretskii1-0/+122
x86 targets: * config/i386/nm-i386.h: New file. * config/i386/nm-i386.h: (i386_cleanup_dregs) (i386_insert_watchpoint, i386_remove_watchpoint) (i386_region_ok_for_watchpoint, i386_stopped_by_hwbp) (i386_stopped_data_address, i386_insert_hw_breakpoint) (i386_remove_hw_breakpoint): Declare prototypes. [I386_USE_GENERIC_WATCHPOINTS] (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define if not already defined. (TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT) (STOPPED_BY_WATCHPOINT, target_stopped_data_address) (target_insert_watchpoint, target_remove_watchpoint) (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Define to call the appropriate i386_* functions. * i386-nat.c: New file. * i386-nat.c (I386_DR_CONTROL_MASK, I386_DR_LOCAL_ENABLE) (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN) (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): New macros. (dr_mirror, dr_status_mirror, dr_control_mirror, dr_ref_count) (maint_show_dr): New variables. (i386_cleanup_dregs, i386_show_dr, i386_length_and_rw_bits) (i386_insert_aligned_watchpoint, i386_remove_aligned_watchpoint) (i386_handle_nonaligned_watchpoint, i386_insert_watchpoint) (i386_remove_watchpoint, i386_region_ok_for_watchpoint) (i386_stopped_data_address, i386_stopped_by_hwbp) (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): New functions. (_initialize_i386_nat): New function. [I386_USE_GENERIC_WATCHPOINTS]: Add new maint command `show-debug-regs', sets maint_show_dr to non-zero value and activates debugging print-outs in functions which insert, remove, and test watchpoints and hardware breakpoints. * Makefile.in (i386-nat.o): New target. (ALLDEPFILES): Add i386-nat.o.
2001-03-20Update Linux/Alpha port to use new Linux threads support.Kevin Buettner2-1/+17
2001-03-20Change SOFTWARE_SINGLE_STEP_P into SOFTWARE_SINGLE_STEP_P().Andrew Cagney8-8/+8
2001-03-20Replace abort() with internal_error().Andrew Cagney1-1/+1
2001-03-20Fix ``make'' problems when building cross debugger.Kevin Buettner1-3/+8
2001-03-20Move realoc() decl to utils.c. s/realloc()/xrealloc()/.Andrew Cagney1-2/+0
2001-03-20Move free() decl to utils.c.Andrew Cagney1-2/+0
2001-03-20Add proc-service.o to NATDEPFILES.Kevin Buettner1-1/+2
2001-03-19Zap __STDC__ references.Andrew Cagney1-1/+1
2001-03-19Fix NetBSD 1.4 build problem.Kevin Buettner1-2/+9
2001-03-17* config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It'sMark Kettenis1-29/+1
no longer used. Also remove associated FIXME.
2001-03-16* config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to useJ.T. Conklin1-3/+10
h8300_frame_args_address from frame_args_address. (FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address from frame_locals_address. (PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook from print_register_hook. (h8300_frame_args_address): Declare. (h8300_frame_find_saved_regs): Declare. (h8300_frame_locals_address): Declare. (h8300_frame_saved_pc): Declare. (h8300_pop_frame): Declare. (h8300_print_register_hook): Declare. * h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration. (h8300_frame_args_address): Renamed from frame_args_address. (h8300_frame_locals_address): Renamed from frame_locals_address. (h8300_pop_frame): Renamed from pop_frame. (h8300_print_register_hook): Renamed from print_register_hook. -------------------------------------------------------------------
2001-03-14Include regcache.hAndrew Cagney44-0/+80
2001-03-14Add entry of ia64-aix-nat.c.Kevin Buettner1-0/+1
2001-03-10Cleanup solib-svr4.c by moving legacy code out to its own file.Kevin Buettner35-38/+48
2001-03-09Obsolete harris 88k target.Andrew Cagney5-169/+169
2001-03-06Update/correct copyright notices.Kevin Buettner245-249/+347
2001-03-03From 2001-03-01 Tom Rix <trix@redhat.com>:Andrew Cagney1-0/+5
* mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc'' parameter to mn10200_analyze_prologue. * config/mn10200/tm-mn10200.h: Include "regcache.h". * MAINTAINERS: Document that mn10200-elf target is buildable.
2001-03-03Move GDB_GREGSET_T, GDB_FPREGSET_T defines from config/ia64/xm-aix.hKevin Buettner2-5/+5
to config/ia64/nm-aix.h.
2001-03-022001-03-02 Matt Hiller <hiller@redhat.com>Matthew Hiller1-1/+1
* config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
2001-03-02* defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__J.T. Conklin2-2/+18
if __CYGWIN32__ is set from here. * config/i386/xm-cygwin.h: To here. * config/powerpc/xm-cygwin.h: To here.
2001-02-27* config/sparc/sp64linux.mt: New file.Andrew Cagney2-0/+40
* configure.tgt: Recognize sparc64-*-linux* as a sp64linux target. * configure.host: Recognize sparc64-*-linux* as a linux host. From 2000-03-17 Jakub Jelinek <jakub@redhat.com>: * config/sparc/tm-sp64linux.h: New file.
2001-02-25Replace calls to abort() with calls to internal_error().Kevin Buettner5-7/+7
2001-02-22Made changes to shared library support and added more of the support neededKevin Buettner6-1/+113
for AIX/IA-64.