This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH]: Linux/x86 fix
- To: gdb-patches at sources dot redhat dot com
- Subject: [PATCH]: Linux/x86 fix
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Tue, 17 Apr 2001 11:39:16 +0200
Index: ChangeLog
from 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.
Index: i386-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-linux-tdep.c,v
retrieving revision 1.7
diff -u -p -r1.7 i386-linux-tdep.c
--- i386-linux-tdep.c 2001/03/28 11:36:21 1.7
+++ i386-linux-tdep.c 2001/04/17 09:03:54
@@ -340,7 +340,7 @@ i386_linux_saved_pc_after_call (struct f
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);
}