diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-05-14 16:48:01 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-05-14 16:48:01 +0000 |
commit | 3bf5260a080ef3f8b317a7897dbfffb463014aed (patch) | |
tree | c82544e5b1ddf163283ccf70934db14c39ce4e51 /gdb/remote.c | |
parent | 6434158f71793450db3d9a9eab5ad690c64a09bf (diff) | |
download | gdb-3bf5260a080ef3f8b317a7897dbfffb463014aed.tar.gz |
* remote.c (remote_write_bytes): Set nr_bytes before returning it.
* solib.h (no_shared_libraries): Declare.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index 7cbe878c1dd..60d462c166a 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -3630,6 +3630,7 @@ remote_write_bytes (CORE_ADDR memaddr, char *myaddr, int len) increasing byte addresses. Each byte is encoded as a two hex value. */ bin2hex (myaddr, p, todo); + nr_bytes = todo; break; case PACKET_SUPPORT_UNKNOWN: internal_error (__FILE__, __LINE__, |