aboutsummaryrefslogtreecommitdiff
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
commite5434c3d1a4cffba60c138697cad28e269850949 (patch)
treebe3747d1a59da93f73397254e43f91f2bed5ecb7 /gdb
parent00c7912d777d959789c742cdc01ca20a5443fbca (diff)
downloadgdb-e5434c3d1a4cffba60c138697cad28e269850949.zip
gdb-e5434c3d1a4cffba60c138697cad28e269850949.tar.gz
gdb-e5434c3d1a4cffba60c138697cad28e269850949.tar.bz2
* 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 6d2e4b3..56a1a2f 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 f98801b..1949b0e 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);
}