This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH]: Set nr_bytes in remote_write_bytes
- To: Michael Snyder <msnyder at cygnus dot com>
- Subject: Re: [PATCH]: Set nr_bytes in remote_write_bytes
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 14 May 2001 16:22:44 -0400
- Cc: gdb-patches at sources dot redhat dot com, cagney at cygnus dot com
- References: <3B002606.5B737A04@cygnus.com>
2001-05-14 Michael Snyder <msnyder@redhat.com>
* remote.c (remote_write_bytes): Set nr_bytes to return value of
bin2hex.
as far as I can tell the code:
> ! bin2hex (myaddr, p, todo);
> ! nr_bytes = todo;
> break;
is identical to:
> ! nr_bytes = bin2hex (myaddr, p, todo);
Although to be honest, I was having trouble figuring out what bin2hex()
returned.
Andrew