chrisb@tektronix.tek.com (Chris Benenati) (11/22/88)
More bugs in remote.c (in both versions 2.5 and 2.8 of GDB) in addition to the ones I reported earlier today. In remote_store_registers(): for (i = 0; i < REGISTER_BYTES; i++) { *p++ = (regs[i] > 4) & 0xf; *p++ = regs[i] & 0xf; } should be: for (i = 0; i < REGISTER_BYTES; i++) { *p++ = tohex( (regs[i] >> 4) & 0xf ); *p++ = tohex( regs[i] & 0xf ); } Same thing in remote_write_bytes()