* 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.
This commit is contained in:
Pierre Muller 2013-09-16 11:28:53 +00:00
parent 1d50d57ca2
commit 04a83fee11
3 changed files with 14 additions and 6 deletions

View file

@ -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