summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-04-17 09:38:52 +0000
committerMark Kettenis <kettenis@gnu.org>2001-04-17 09:38:52 +0000
commit5e34b31fd3f3b31711f8b5bc2e4bc5e8569e7928 (patch)
treebfae196ecde15e9156ce7f5b95ee73a6db7a81ff /gdb
parentd15da51a594382737fc4739da332de6995d9e1a8 (diff)
downloadgdb-5e34b31fd3f3b31711f8b5bc2e4bc5e8569e7928.tar.gz
* i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
read_memory_unsigned_integer instead of read_memory_integer.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/i386-linux-tdep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6d2e4b33e43..56a1a2f6358 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2001-04-17 Mark Kettenis <kettenis@gnu.org>
+
+ * i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
+ read_memory_unsigned_integer instead of read_memory_integer.
+
2001-04-16 Kevin Buettner <kevinb@redhat.com>
* solib-aix5.c (map_index_vs_section_name_okay): New function.
diff --git a/gdb/i386-linux-tdep.c b/gdb/i386-linux-tdep.c
index f98801b4d0c..1949b0e203c 100644
--- a/gdb/i386-linux-tdep.c
+++ b/gdb/i386-linux-tdep.c
@@ -340,7 +340,7 @@ i386_linux_saved_pc_after_call (struct frame_info *frame)
if (frame->signal_handler_caller)
return i386_linux_sigtramp_saved_pc (frame);
- return read_memory_integer (read_register (SP_REGNUM), 4);
+ return read_memory_unsigned_integer (read_register (SP_REGNUM), 4);
}