Article View: gnu.gdb.bug
Article #620MORE bugs in V2.5 and V2.8 of gdb
From: Chris Benenati
Date: Tue, 22 Nov 1988 00:35
Date: Tue, 22 Nov 1988 00:35
21 lines
915 bytes
915 bytes
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()
Technical Details
Message-ID:
<m0eLR0Z-0001fFC@mipon2.intel.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!bu-cs!bloom-beacon!tut.cis.ohio-state.edu!tektronix.tek.com!mipon2.intel.com!ogccse!chrisbShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <m0eLR0Z-0001fFC@mipon2.intel.com> Date: 22 Nov 88 00:35:50 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 21