aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-linux-tdep.c
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/i386-linux-tdep.c
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/i386-linux-tdep.c')
-rw-r--r--gdb/i386-linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
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);
}