This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix typo in i386bsd-nat.c


Quite embarrassing since I wrote this code in the first place.
Anyway, FreeBSD and OpenBSD users can now enjoy the real value of
%ebx.

Mark


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* i386bsd-nat.c (reg_offset): Fix typo.

Index: i386bsd-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/i386bsd-nat.c,v
retrieving revision 1.9
diff -u -p -r1.9 i386bsd-nat.c
--- i386bsd-nat.c 2001/07/21 20:16:44 1.9
+++ i386bsd-nat.c 2001/12/29 20:12:37
@@ -71,7 +71,7 @@ static int reg_offset[] =
   REG_OFFSET (r_eax),
   REG_OFFSET (r_ecx),
   REG_OFFSET (r_edx),
-  REG_OFFSET (r_edx),
+  REG_OFFSET (r_ebx),
   REG_OFFSET (r_esp),
   REG_OFFSET (r_ebp),
   REG_OFFSET (r_esi),


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]