Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH]: Linux/x86 fix
@ 2001-04-17  2:39 Mark Kettenis
  0 siblings, 0 replies; only message in thread
From: Mark Kettenis @ 2001-04-17  2:39 UTC (permalink / raw)
  To: gdb-patches

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);
 }
 \f
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-17  2:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-17  2:39 [PATCH]: Linux/x86 fix Mark Kettenis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox