This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

patch to add wdebug instruction for coldfire and fix few other opcodes


hi, 

please accept this patch to added the wdebug instruction for coldfire
and fix wddata instruction opcode, i was also able to use wdebug to do
data access breakpoints, and the code can be easily extended to use
use other cool features of the coldfire debug unit, if anybody is interested 
in the code, send email

regards
niraj gupta

diff -ru ./opcodes/m68k-opc.c ../binutils/binutils-2.11.2/opcodes/m68k-opc.c
--- ./opcodes/m68k-opc.c        Mon Jun 11 03:05:18 2001
+++ ../binutils/binutils-2.11.2/opcodes/m68k-opc.c      Wed Oct 31 16:35:25 
2001@@ -1951,9 +1951,10 @@
 {"unpk",       one(0100600),   one(0170770), "DsDd#w", m68020up },
 {"unpk",       one(0100610),   one(0170770), "-s-d#w", m68020up },

-{"wddatab",    one(0172000),   one(0177700), "~s", mcf },
-{"wddataw",    one(0172100),   one(0177700), "~s", mcf },
-{"wddatal",    one(0172200),   one(0177700), "~s", mcf },
+{"wddatab",    one(0175400),   one(0177700), "~s", mcf },
+{"wddataw",    one(0175500),   one(0177700), "~s", mcf },
+{"wddatal",    one(0175600),   one(0177700), "~s", mcf },
+{"wdebug",      two(0175700, 0000003),   two(0177700, 0177777), "~s", mcf },

 };


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