aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/arm
diff options
context:
space:
mode:
authorRichard Earnshaw <richard.earnshaw@arm.com>2002-02-19 14:29:00 +0000
committerRichard Earnshaw <richard.earnshaw@arm.com>2002-02-19 14:29:00 +0000
commitfdf39c9a14a48d065b90eddcb449b3970eba23d7 (patch)
tree5c83245e1ef287ad1fd6f6f3a25ac185d6967692 /gdb/config/arm
parent93247f887c418796bf1fd70262567928e681d5cd (diff)
downloadgdb-fdf39c9a14a48d065b90eddcb449b3970eba23d7.zip
gdb-fdf39c9a14a48d065b90eddcb449b3970eba23d7.tar.gz
gdb-fdf39c9a14a48d065b90eddcb449b3970eba23d7.tar.bz2
* arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
kernel. * arm-linux-tdep.c: Likewise. * config/arm/tm-linux.h: Likewise.
Diffstat (limited to 'gdb/config/arm')
-rw-r--r--gdb/config/arm/tm-linux.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/gdb/config/arm/tm-linux.h b/gdb/config/arm/tm-linux.h
index 11de4fa..9b73816 100644
--- a/gdb/config/arm/tm-linux.h
+++ b/gdb/config/arm/tm-linux.h
@@ -63,29 +63,31 @@ extern void arm_linux_extract_return_value (struct type *, char[], char *);
extern CORE_ADDR arm_linux_push_arguments (int, struct value **, CORE_ADDR,
int, CORE_ADDR);
-/* The first page is not writeable in ARM Linux. */
+/* The first page is not writeable in ARM GNU/Linux. */
#undef LOWEST_PC
#define LOWEST_PC 0x8000
-/* Define NO_SINGLE_STEP if ptrace(PT_STEP,...) fails to function correctly
- on ARM Linux. This is the case on 2.0.x kernels, 2.1.x kernels and some
- 2.2.x kernels. This will include the implementation of single_step()
- in armlinux-tdep.c. See armlinux-ss.c for more details. */
+/* Define NO_SINGLE_STEP if ptrace(PT_STEP,...) fails to function
+ correctly on ARM Linux kernel. This is the case on 2.0.x kernels,
+ 2.1.x kernels and some 2.2.x kernels. This will include the
+ implementation of single_step() in armlinux-tdep.c. See
+ armlinux-ss.c for more details. */
/* #define NO_SINGLE_STEP 1 */
/* Offset to saved PC in sigcontext structure, from <asm/sigcontext.h> */
#define SIGCONTEXT_PC_OFFSET (sizeof(unsigned long) * 18)
-/* On ARM Linux, each call to a library routine goes through a small piece
- of trampoline code in the ".plt" section. The wait_for_inferior()
- routine uses this macro to detect when we have stepped into one of
- these fragments. We do not use lookup_solib_trampoline_symbol_by_pc,
- because we cannot always find the shared library trampoline symbols. */
+/* On ARM GNU/Linux, each call to a library routine goes through a
+ small piece of trampoline code in the ".plt" section. The
+ wait_for_inferior() routine uses this macro to detect when we have
+ stepped into one of these fragments. We do not use
+ lookup_solib_trampoline_symbol_by_pc, because we cannot always find
+ the shared library trampoline symbols. */
extern int in_plt_section (CORE_ADDR, char *);
#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) in_plt_section((pc), (name))
-/* On ARM Linux, a call to a library routine does not have to go through
- any trampoline code. */
+/* On ARM GNU/Linux, a call to a library routine does not have to go
+ through any trampoline code. */
#define IN_SOLIB_RETURN_TRAMPOLINE(pc, name) 0
/* If PC is in a shared library trampoline code, return the PC