aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-05-13 13:02:54 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-05-13 13:02:54 +0000
commite7b178235ec369a54ed8c056ec89fb10e8272b2e (patch)
tree1c3fd4002f70d96fdbb46b3e10fdd2f44238bd22 /gdb/hppa-tdep.c
parent7157eed4324fedd80185646d58e92887e442f7a9 (diff)
downloadfsf-binutils-gdb-e7b178235ec369a54ed8c056ec89fb10e8272b2e.zip
fsf-binutils-gdb-e7b178235ec369a54ed8c056ec89fb10e8272b2e.tar.gz
fsf-binutils-gdb-e7b178235ec369a54ed8c056ec89fb10e8272b2e.tar.bz2
* 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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index 382c712..806651c 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];
}