aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/target.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9f2956d..8db9b6b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2001-12-05 Andrew Cagney <cagney@redhat.com>
+
+ * target.c (cleanup_target): Do not initialize to_query to
+ return_zero.
+
2001-12-05 Jim Blandy <jimb@redhat.com>
* s390-tdep.c (s390_get_frame_info): Recognize argument register
diff --git a/gdb/target.c b/gdb/target.c
index c4d0f81..1a8723c 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -488,9 +488,6 @@ cleanup_target (struct target_ops *t)
de_fault (to_stop,
(void (*) (void))
target_ignore);
- de_fault (to_query,
- (int (*) (int, char *, char *, int *))
- return_zero);
de_fault (to_rcmd,
(void (*) (char *, struct ui_file *))
tcomplain);