summaryrefslogtreecommitdiff
path: root/gdb/corelow.c
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1994-10-03 12:13:46 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1994-10-03 12:13:46 +0000
commita91b6ec8f0ec8c1cd48cea43c91962704260b739 (patch)
tree5852fa72d5df270c40ca1ddb2f1b7045bdcab24a /gdb/corelow.c
parent7a6c910ea14ab1639b8e2c5f643741b36a43b8d3 (diff)
downloadbinutils-gdb-a91b6ec8f0ec8c1cd48cea43c91962704260b739.tar.gz
* 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.
Diffstat (limited to 'gdb/corelow.c')
-rw-r--r--gdb/corelow.c4
1 files changed, 3 insertions, 1 deletions
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 */