diff options
author | Christian Biesinger <cbiesinger@google.com> | 2019-09-19 13:33:35 +0900 |
---|---|---|
committer | Christian Biesinger <cbiesinger@google.com> | 2019-09-20 09:17:49 +0900 |
commit | c7ae7675cf726c343a1db3e27e3e5665cb485271 (patch) | |
tree | 5f0ff73706acb373dc2dbef03f9b4df43964343e /gdb/arm-linux-tdep.c | |
parent | e86f08d28f469b9400e91bbaf1b0a5e7f697732a (diff) | |
download | gdb-c7ae7675cf726c343a1db3e27e3e5665cb485271.zip gdb-c7ae7675cf726c343a1db3e27e3e5665cb485271.tar.gz gdb-c7ae7675cf726c343a1db3e27e3e5665cb485271.tar.bz2 |
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-linux-tdep.c')
-rw-r--r-- | gdb/arm-linux-tdep.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c index 31ea456..54ea851 100644 --- a/gdb/arm-linux-tdep.c +++ b/gdb/arm-linux-tdep.c @@ -56,7 +56,6 @@ #include "user-regs.h" #include <ctype.h> #include "elf/common.h" -extern bool arm_apcs_32; /* Under ARM GNU/Linux the traditional way of performing a breakpoint is to execute a particular software interrupt, rather than use a |