diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-05-13 13:02:54 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-05-13 13:02:54 +0000 |
commit | 0bae79f1381943e3d739cf1cb9c60f0feffb54fb (patch) | |
tree | 31f6e372eed4f24604f13bf677209cdff503c946 /gdb/hppa-tdep.c | |
parent | 83de048fa71f0cf66aad16a8841ac3db8e6af7d4 (diff) | |
download | gdb-0bae79f1381943e3d739cf1cb9c60f0feffb54fb.tar.gz |
* 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.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 382c712088e..806651c98e2 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -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]; } |