* i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
authorMark Kettenis <kettenis@gnu.org>
Tue, 17 Apr 2001 09:38:52 +0000 (09:38 +0000)
committerMark Kettenis <kettenis@gnu.org>
Tue, 17 Apr 2001 09:38:52 +0000 (09:38 +0000)
read_memory_unsigned_integer instead of read_memory_integer.

gdb/ChangeLog
gdb/i386-linux-tdep.c

index 6d2e4b33e4386d25a1944f58b56ff228d4d71a3d..56a1a2f6358dce13a6109a7e1c54849c1eb649e6 100644 (file)
@@ -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.
index f98801b4d0ca14912473682be8dc2e2705efb2b8..1949b0e203c0ab597126e7dda1f888a7384fda4c 100644 (file)
@@ -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);
 }
 \f