aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-05-14 16:48:01 +0000
committerAndrew Cagney <cagney@redhat.com>2001-05-14 16:48:01 +0000
commit1dd1751e96170e8faa8f3ac8cdb8325c4b961707 (patch)
tree80d9d5cf97a836a303009445974e142b13e17f0c
parentb732d07d86411216a0913c95f55bfc1d2c59ee90 (diff)
downloadgdb-1dd1751e96170e8faa8f3ac8cdb8325c4b961707.zip
gdb-1dd1751e96170e8faa8f3ac8cdb8325c4b961707.tar.gz
gdb-1dd1751e96170e8faa8f3ac8cdb8325c4b961707.tar.bz2
* remote.c (remote_write_bytes): Set nr_bytes before returning it.
* solib.h (no_shared_libraries): Declare.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote.c1
-rw-r--r--gdb/solib.h2
3 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7ba3416..f1f8a44 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-14 Andrew Cagney <ac131313@redhat.com>
+
+ * remote.c (remote_write_bytes): Set nr_bytes before returning it.
+ * solib.h (no_shared_libraries): Declare.
+
2001-05-12 Andrew Cagney <ac131313@redhat.com>
* gdbarch.sh (struct gdbarch_info): Delete field bfd_architecture.
diff --git a/gdb/remote.c b/gdb/remote.c
index 7cbe878..60d462c 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__,
diff --git a/gdb/solib.h b/gdb/solib.h
index e99aba9..05e0cb7 100644
--- a/gdb/solib.h
+++ b/gdb/solib.h
@@ -193,3 +193,5 @@ extern char *solib_address (CORE_ADDR); /* solib.c */
#define IN_SOLIB_DYNSYM_RESOLVE_CODE(pc) in_solib_dynsym_resolve_code (pc)
extern int in_solib_dynsym_resolve_code (CORE_ADDR); /* solib.c */
+
+extern int no_shared_libraries (char *ignored, int from_tty);