Hi, I have found a bug occuring with version 3.0 of IDP rom, concerning the readout of registers from the board. I attach the patches to the 5.1 sources for this case. I am afraid, that monitor.c patch may break other targets.
*** /nishome/gwj/gdb-5.1/gdb/monitor.c Sun Jul 15 22:34:13 2001 --- monitor.c Sat Dec 8 18:44:14 2001 *************** *** 908,914 **** if (isspace (*p)) { p++; ! continue; } if (!isxdigit (*p) && *p != 'x') { --- 908,914 ---- if (isspace (*p)) { p++; ! break; } if (!isxdigit (*p) && *p != 'x') { *** /nishome/gwj/gdb-5.1/gdb/rom68k-rom.c Tue Mar 6 09:21:16 2001 --- rom68k-rom.c Sat Dec 8 18:47:41 2001 *************** *** 58,65 **** if (regname[1] != 'R') break; regno = A0_REGNUM; ! numregs = 7; break; } else if (regnamelen == 3) switch (regname[0]) --- 58,72 ---- if (regname[1] != 'R') break; regno = A0_REGNUM; ! numregs = 6; break; + case 'F': + if (regname[1] != 'P') + break; + regno = FP_REGNUM; + break; + + } else if (regnamelen == 3) switch (regname[0]) ------------------------------------------------------------------------------ Grzegorz W. Jablonski Department of Microelectronics and Computer Science Technical University of Lodz +------------------------------------------ Politechniki 11 | 93-590 Lodz, Poland | Onet.pl - portal degeneracji [EMAIL PROTECTED] | ----------------------------------------------------------------------------- _______________________________________________ Bug-gdb mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gdb