* hppa-hpux-tdep.c: Include "regcache.h".

* hppa-linux-tdep.c: Likewise.
	* hppa-tdep.c: Include "gdb_stdint.h".
	(find_unwind_entry): Cast host pointer to uintptr_t before passing
	it to paddr_nz.
	* Makefile.in: Update dependencies.
This commit is contained in:
Ulrich Weigand 2007-05-13 13:02:54 +00:00
parent 7157eed432
commit e7b178235e
5 changed files with 20 additions and 8 deletions

View file

@ -1,3 +1,12 @@
2007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
* hppa-hpux-tdep.c: Include "regcache.h".
* hppa-linux-tdep.c: Likewise.
* hppa-tdep.c: Include "gdb_stdint.h".
(find_unwind_entry): Cast host pointer to uintptr_t before passing
it to paddr_nz.
* Makefile.in: Update dependencies.
2007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
* blockframe.c: Remove obsolete comments.

View file

@ -2065,19 +2065,19 @@ hppa-hpux-tdep.o: hppa-hpux-tdep.c $(defs_h) $(arch_utils_h) $(gdbcore_h) \
$(osabi_h) $(frame_h) $(frame_unwind_h) $(trad_frame_h) $(symtab_h) \
$(objfiles_h) $(inferior_h) $(infcall_h) $(observer_h) \
$(hppa_tdep_h) $(solib_som_h) $(solib_pa64_h) $(regset_h) \
$(exceptions_h) $(gdb_string_h)
$(regcache_h) $(exceptions_h) $(gdb_string_h)
hppa-linux-nat.o: hppa-linux-nat.c $(defs_h) $(gdbcore_h) $(regcache_h) \
$(gdb_string_h) $(inferior_h) $(hppa_tdep_h) $(gregset_h) \
$(target_h) $(linux_nat_h)
hppa-linux-tdep.o: hppa-linux-tdep.c $(defs_h) $(gdbcore_h) $(osabi_h) \
$(target_h) $(objfiles_h) $(solib_svr4_h) $(glibc_tdep_h) \
$(frame_unwind_h) $(trad_frame_h) $(dwarf2_frame_h) $(value_h) \
$(hppa_tdep_h) $(elf_common_h) $(regset_h)
$(hppa_tdep_h) $(elf_common_h) $(regset_h) $(regcache_h)
hppa-tdep.o: hppa-tdep.c $(defs_h) $(bfd_h) $(inferior_h) $(regcache_h) \
$(completer_h) $(osabi_h) $(gdb_assert_h) $(arch_utils_h) \
$(symtab_h) $(dis_asm_h) $(trad_frame_h) $(frame_unwind_h) \
$(frame_base_h) $(gdbcore_h) $(gdbcmd_h) $(objfiles_h) \
$(hppa_tdep_h) $(gdbtypes_h)
$(completer_h) $(osabi_h) $(gdb_assert_h) $(gdb_stdint_h) \
$(arch_utils_h) $(symtab_h) $(dis_asm_h) $(trad_frame_h) \
$(frame_unwind_h) $(frame_base_h) $(gdbcore_h) $(gdbcmd_h) \
$(objfiles_h) $(hppa_tdep_h) $(gdbtypes_h)
hpux-thread.o: hpux-thread.c $(defs_h) $(gdbthread_h) $(target_h) \
$(inferior_h) $(regcache_h) $(gdb_stat_h) $(gdbcore_h) \
$(hppa_tdep_h) $(observer_h)

View file

@ -35,6 +35,7 @@
#include "solib-som.h"
#include "solib-pa64.h"
#include "regset.h"
#include "regcache.h"
#include "exceptions.h"
#include "gdb_string.h"

View file

@ -31,6 +31,7 @@
#include "dwarf2-frame.h"
#include "value.h"
#include "regset.h"
#include "regcache.h"
#include "hppa-tdep.h"
#include "elf/common.h"

View file

@ -31,6 +31,7 @@
#include "completer.h"
#include "osabi.h"
#include "gdb_assert.h"
#include "gdb_stdint.h"
#include "arch-utils.h"
/* For argument passing to the inferior */
#include "symtab.h"
@ -502,7 +503,7 @@ find_unwind_entry (CORE_ADDR pc)
{
if (hppa_debug)
fprintf_unfiltered (gdb_stdlog, "0x%s (cached) }\n",
paddr_nz ((CORE_ADDR) ui->cache));
paddr_nz ((uintptr_t) ui->cache));
return ui->cache;
}
@ -520,7 +521,7 @@ find_unwind_entry (CORE_ADDR pc)
ui->cache = &ui->table[middle];
if (hppa_debug)
fprintf_unfiltered (gdb_stdlog, "0x%s }\n",
paddr_nz ((CORE_ADDR) ui->cache));
paddr_nz ((uintptr_t) ui->cache));
return &ui->table[middle];
}