From e5434c3d1a4cffba60c138697cad28e269850949 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Tue, 17 Apr 2001 09:38:52 +0000 Subject: [PATCH] * i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use read_memory_unsigned_integer instead of read_memory_integer. --- gdb/ChangeLog | 5 +++++ gdb/i386-linux-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * 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 * 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); } -- 2.30.2