Path: utzoo!utgpu!watmath!uunet!bu-cs!bloom-beacon!tut.cis.ohio-state.edu!tektronix.tek.com!mipon2.intel.com!ogccse!chrisb From: mipon2.intel.com!ogccse!chrisb@tektronix.tek.com (Chris Benenati) Newsgroups: gnu.gdb.bug Subject: MORE bugs in V2.5 and V2.8 of gdb Message-ID: Date: 22 Nov 88 00:35:50 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 21 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()