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] |
+ return -1; + } + } + else if ((iregnum >= I387_ST0_REGNUM (tdep)) && + (iregnum <= I387_FOP_REGNUM(tdep)))
case 3: + if ((3 <= (ir.reg & 7)) && (6 <= (ir.reg & 7))) + { + /* For fistp, fbld, fild, fbstp. */ + if (i386_record_floats(gdbarch, &ir, \ + I386_SAVE_FPU_REGS))
Space after function name.
+ return -1; + } default: if (record_arch_list_add_mem (addr, 2)) return -1;
If not, ie. if case 3 is supposed to "fall through" into the default case, we like to put a comment there, just to make sure it is clear that the lack of a "break" is intentional.
/* Fall through. */ default:
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |