aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-12-03 18:03:09 +0000
committerMark Kettenis <kettenis@gnu.org>2004-12-03 18:03:09 +0000
commitdd515450aae7d58869110173117a0c9ec3a7a362 (patch)
tree8d960cf151219b39675f10044c26563c5da5b594
parente1d9786917a23d4d4fb0f093d019a37af46f4a36 (diff)
downloadgdb-dd515450aae7d58869110173117a0c9ec3a7a362.zip
gdb-dd515450aae7d58869110173117a0c9ec3a7a362.tar.gz
gdb-dd515450aae7d58869110173117a0c9ec3a7a362.tar.bz2
* hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Use ULONGEST as
type of `gp' variable.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/hppa-hpux-tdep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 63dcbd5..0da9f3b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-03 Mark Kettenis <kettenis@gnu.org>
+
+ * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Use ULONGEST as
+ type of `gp' variable.
+
2004-12-03 Richard Sandiford <rsandifo@redhat.com>
* README: Remove config.if from directory listing.
diff --git a/gdb/hppa-hpux-tdep.c b/gdb/hppa-hpux-tdep.c
index 08c2ece..50e5c9e 100644
--- a/gdb/hppa-hpux-tdep.c
+++ b/gdb/hppa-hpux-tdep.c
@@ -1390,7 +1390,7 @@ hppa_hpux_push_dummy_code (struct gdbarch *gdbarch, CORE_ADDR sp,
}
else
{
- unsigned int gp;
+ ULONGEST gp;
/* Use __d_plt_call as a fallback; __d_plt_call expects to be called
with a plabel, so we need to build one. */