aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2004-02-23 19:26:14 +0000
committerJeff Johnston <jjohnstn@redhat.com>2004-02-23 19:26:14 +0000
commitcbdeadcaa3b68c48146dd26b5c812d2439cfb0ec (patch)
tree6bff818f38b09d8c76eff97fff0aa81f1f675697 /gdb/defs.h
parent8ee9a8b2e70a9b650d1a60aa71b61936efa67c6a (diff)
downloadgdb-cbdeadcaa3b68c48146dd26b5c812d2439cfb0ec.zip
gdb-cbdeadcaa3b68c48146dd26b5c812d2439cfb0ec.tar.gz
gdb-cbdeadcaa3b68c48146dd26b5c812d2439cfb0ec.tar.bz2
2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
* defs.h (nquery, yquery): New prototypes. * breakpoint.c (break_command_1): Use new nquery interface. * utils.c (defaulted_query, nquery, yquery): New functions.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index e6d2fec..e49f9e0 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -405,6 +405,8 @@ extern void null_cleanup (void *);
extern int myread (int, char *, int);
extern int query (const char *, ...) ATTR_FORMAT (printf, 1, 2);
+extern int nquery (const char *, ...) ATTR_FORMAT (printf, 1, 2);
+extern int yquery (const char *, ...) ATTR_FORMAT (printf, 1, 2);
extern void init_page_info (void);