diff options
author | Richard Earnshaw <richard.earnshaw@arm.com> | 2002-02-15 16:12:24 +0000 |
---|---|---|
committer | Richard Earnshaw <richard.earnshaw@arm.com> | 2002-02-15 16:12:24 +0000 |
commit | 66e810cd098c57a4483f33cedc272486506eb485 (patch) | |
tree | 4f63c94878bbbe7303466f05708c5915015e2c33 /gdb/config/arm/tm-linux.h | |
parent | 97e03143bb83533b4cf4fcd9d283b05722b4c128 (diff) | |
download | gdb-66e810cd098c57a4483f33cedc272486506eb485.zip gdb-66e810cd098c57a4483f33cedc272486506eb485.tar.gz gdb-66e810cd098c57a4483f33cedc272486506eb485.tar.bz2 |
* arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
descriptions.
* arm-tdep.c (arm_default_arm_le_breakpoint)
(arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint)
(arm_default_thumb_be_breakpoint): New. Initialize them from
traditional breakpoint defines.
(arm_breakpoint_from_pc): Use new gdbarch_tdep entries.
(arm_gdbarch_init): Initialize new breakpoint variables.
* arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New.
(arm_linux_init_abi): Initialize linux-specific breakpoint.
* armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New.
(arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common
code out to ...
(arm_netbsd_init_abi_common): ... here; new function.
* config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT)
(THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete.
* config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete.
* config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
Diffstat (limited to 'gdb/config/arm/tm-linux.h')
-rw-r--r-- | gdb/config/arm/tm-linux.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/config/arm/tm-linux.h b/gdb/config/arm/tm-linux.h index 7e3a80c..aa3fa52 100644 --- a/gdb/config/arm/tm-linux.h +++ b/gdb/config/arm/tm-linux.h @@ -34,16 +34,6 @@ extern struct link_map_offsets *arm_linux_svr4_fetch_link_map_offsets (void); #define SVR4_FETCH_LINK_MAP_OFFSETS() arm_linux_svr4_fetch_link_map_offsets () -/* Under ARM Linux the traditional way of performing a breakpoint is to - execute a particular software interrupt, rather than use a particular - undefined instruction to provoke a trap. Upon exection of the software - interrupt the kernel stops the inferior with a SIGTRAP, and wakes the - debugger. Since ARM Linux is little endian, and doesn't support Thumb - at the moment we redefined ARM_LE_BREAKPOINT to use the correct software - interrupt. */ -#undef ARM_LE_BREAKPOINT -#define ARM_LE_BREAKPOINT {0x01,0x00,0x9f,0xef} - #undef CALL_DUMMY_WORDS #define CALL_DUMMY_WORDS arm_linux_call_dummy_words extern LONGEST arm_linux_call_dummy_words[]; |