From a91b6ec8f0ec8c1cd48cea43c91962704260b739 Mon Sep 17 00:00:00 2001 From: Peter Schauer Date: Mon, 3 Oct 1994 12:13:46 +0000 Subject: [PATCH] * corelow.c (core_open): Copy the modified to_sections_end vector from current_target to core_ops too. * gdbserver/server.c (main): Silently accept query requests and send back a zero length acknowledge. --- gdb/ChangeLog | 8 ++++++++ gdb/corelow.c | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 21df7de6a50..62e3c40417e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +Mon Oct 3 05:11:47 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * corelow.c (core_open): Copy the modified to_sections_end + vector from current_target to core_ops too. + + * gdbserver/server.c (main): Silently accept query requests + and send back a zero length acknowledge. + Fri Sep 30 17:17:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com) * nlm/Makefile.in: Get rid of NWINCLUDES. diff --git a/gdb/corelow.c b/gdb/corelow.c index 6567eadf2a6..4b0a7c35762 100644 --- a/gdb/corelow.c +++ b/gdb/corelow.c @@ -202,8 +202,10 @@ core_open (filename, from_tty) /* solib_add_stub usually modifies current_target.to_sections, which has to be reflected in core_ops to enable proper freeing of - of the to_sections vector in core_close. */ + the to_sections vector in core_close and correct section + mapping in xfer_memory and core_files_info. */ core_ops.to_sections = current_target.to_sections; + core_ops.to_sections_end = current_target.to_sections_end; #endif /* Now, set up the frame cache, and print the top of stack */ -- 2.30.2