aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-12-05 22:32:57 +0000
committerAndrew Cagney <cagney@redhat.com>2001-12-05 22:32:57 +0000
commit09227b3ec80f3cb9657dfdbc6199b37523906a5a (patch)
treea652a65d1eb7a56099a9bfd665c8183d9c95cd4a
parent12bffad7cc26991a622f9e90e11e5da31424feef (diff)
downloadgdb-09227b3ec80f3cb9657dfdbc6199b37523906a5a.zip
gdb-09227b3ec80f3cb9657dfdbc6199b37523906a5a.tar.gz
gdb-09227b3ec80f3cb9657dfdbc6199b37523906a5a.tar.bz2
* target.c (cleanup_target): Do not initialize to_query to
return_zero.
-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);