* mips-tdep.c (print_gp_register_row): Print the GPR's register
MOD NUM_REGS.
+2003-07-28 Andrew Cagney <cagney@redhat.com>
+
+ * mips-tdep.c (print_gp_register_row): Print the GPR's register
+ MOD NUM_REGS.
+
2003-07-28 Daniel Jacobowitz <drow@mvista.com>
* thread.c (info_threads_command): Use get_selected_frame ().
col++;
}
/* print the R0 to R31 names */
- fprintf_filtered (file,
- (start_regnum % NUM_REGS) < MIPS_NUMREGS
- ? "\n R%-4d" : "\n ",
- start_regnum);
+ if ((start_regnum % NUM_REGS) < MIPS_NUMREGS)
+ fprintf_filtered (file, "\n R%-4d", start_regnum % NUM_REGS);
+ else
+ fprintf_filtered (file, "\n ");
/* now print the values in hex, 4 or 8 to the row */
for (col = 0, regnum = start_regnum;