summaryrefslogtreecommitdiff
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
commit5e34b31fd3f3b31711f8b5bc2e4bc5e8569e7928 (patch)
treebfae196ecde15e9156ce7f5b95ee73a6db7a81ff /gdb/i386-linux-tdep.c
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/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 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);
}