This is the mail archive of the gdb-patches@sourceware.org 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]

Bug in i386_process_record


Hi Hui,

This line in i386-tdep.c causes 4 failures in machinestate.exp.

diff -u -p -r1.283 i386-tdep.c
--- i386-tdep.c 10 Aug 2009 03:02:39 -0000      1.283
+++ i386-tdep.c 16 Aug 2009 01:07:48 -0000
@@ -3283,7 +3283,7 @@ i386_process_record (struct gdbarch *gdb
         case 0x40:
         case 0x41:
         case 0x42:
-        case 0x43:
+         //        case 0x43:
         case 0x44:
         case 0x45:
         case 0x46:

0x43 is "inc %ebx", and this line causes it to be treated as a prefix,
consuming the instruction without recording the register change.

I don't want to change it myself, because I'm not sure what other
side effects the change might have.  Could you fix it please?  ;-)

Thanks,
Michael


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