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.
+2013-09-16 Pierre Muller <muller@sourceware.org>
+
+ * 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.
+
2013-09-14 Pierre Muller <muller@sourceware.org>
Tom Tromey <tromey@redhat.com>
Pedro Alves <palves@redhat.com>
#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
#include "user-regs.h"
#include "cli/cli-utils.h"
#include <ctype.h>
-#include <elf.h>
+#include "elf/common.h"
#include "features/s390-linux32.c"
#include "features/s390-linux32v1.c"
asection *v1 = bfd_get_section_by_name (abfd, ".reg-s390-last-break");
asection *v2 = bfd_get_section_by_name (abfd, ".reg-s390-system-call");
asection *section = bfd_get_section_by_name (abfd, ".reg");
- unsigned long hwcap = 0;
+ CORE_ADDR hwcap = 0;
target_auxv_search (target, AT_HWCAP, &hwcap);
if (!section)