aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Biesinger <cbiesinger@google.com>2019-09-19 13:33:35 +0900
committerChristian Biesinger <cbiesinger@google.com>2019-09-20 09:17:49 +0900
commitc7ae7675cf726c343a1db3e27e3e5665cb485271 (patch)
tree5f0ff73706acb373dc2dbef03f9b4df43964343e /gdb/arm-tdep.c
parentDeclare dwarf_always_disassemble in dwarf2read.h (diff)
downloadbinutils-gdb-c7ae7675cf726c343a1db3e27e3e5665cb485271.tar.gz
binutils-gdb-c7ae7675cf726c343a1db3e27e3e5665cb485271.tar.bz2
binutils-gdb-c7ae7675cf726c343a1db3e27e3e5665cb485271.zip
Move arm_apcs_32 extern declaration to header
Instead of having several extern declarations for arm_apcs_32 in a few .c files, declare it in arm-tdep.h. This file is already included from these .c files. gdb/ChangeLog: 2019-09-19 Christian Biesinger <cbiesinger@google.com> * arm-linux-nat.c: Remove extern declaration for arm_apcs_32. * arm-linux-tdep.c: Likewise. * arm-nbsd-nat.c: Likewise. * arm-tdep.h: Declare arm_apcs_32.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index e17550fed77..c2470521480 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -294,7 +294,7 @@ static CORE_ADDR arm_analyze_prologue (struct gdbarch *gdbarch,
#define DISPLACED_STEPPING_ARCH_VERSION 5
-/* Set to true if the 32-bit mode is in use. */
+/* See arm-tdep.h. */
bool arm_apcs_32 = true;