summaryrefslogtreecommitdiff
path: root/gdb/arm-linux-tdep.c
diff options
context:
space:
mode:
authorPierre Muller <muller@ics.u-strasbg.fr>2013-09-16 11:28:53 +0000
committerPierre Muller <muller@ics.u-strasbg.fr>2013-09-16 11:28:53 +0000
commit7af1e62f1d2c029da105d972b2bf0efa6e59a0be (patch)
tree85048fa970debd0dd08aa82e4a87db55df2d8aec /gdb/arm-linux-tdep.c
parent21e593044c7895bec4757b83fd83e31a3405e6ec (diff)
downloadgdb-7af1e62f1d2c029da105d972b2bf0efa6e59a0be.tar.gz
* arm-linux-tdep.c: Add "elf/common.h" header.
Remove AT_HWCAP macro definintion as it is provided in added include file. * s390-tdep.c: Remove system header <elf.h> Add "elf/common.h" header for AT_HWCAP definition. (s390_core_read_description): Use correct CORE_ADDR for hwcap local variable used as third parameter of function target_auxv_search.
Diffstat (limited to 'gdb/arm-linux-tdep.c')
-rw-r--r--gdb/arm-linux-tdep.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c
index 6ac61cc1a14..7546d34a1bb 100644
--- a/gdb/arm-linux-tdep.c
+++ b/gdb/arm-linux-tdep.c
@@ -49,12 +49,9 @@
#include "parser-defs.h"
#include "user-regs.h"
#include <ctype.h>
-
+#include "elf/common.h"
#include "gdb_string.h"
-/* This is defined in <elf.h> on ARM GNU/Linux systems. */
-#define AT_HWCAP 16
-
extern int arm_apcs_32;
/* Under ARM GNU/Linux the traditional way of performing a breakpoint