Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Bug in i386_process_record
@ 2009-08-16 12:45 Michael Snyder
  2009-08-16 18:55 ` Hui Zhu
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Snyder @ 2009-08-16 12:45 UTC (permalink / raw)
  To: Hui Zhu, gdb-patches

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-08-18  9:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-16 12:45 Bug in i386_process_record Michael Snyder
2009-08-16 18:55 ` Hui Zhu
2009-08-17  6:36   ` Hui Zhu
2009-08-17 14:37     ` Hui Zhu
2009-08-17 18:34       ` Michael Snyder
2009-08-18  3:03         ` Hui Zhu
2009-08-18  9:11           ` Hui Zhu
2009-08-18  9:22             ` Hui Zhu
2009-08-17 18:17     ` Michael Snyder

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