summaryrefslogtreecommitdiff
path: root/gdb/wrapper.h
diff options
context:
space:
mode:
authorNicholas Duffek <nsd@redhat.com>2000-04-03 03:39:09 +0000
committerNicholas Duffek <nsd@redhat.com>2000-04-03 03:39:09 +0000
commit47a8481b5ec9b61d6e8ea8e7111ccf4e40a89a2b (patch)
tree8a3435e0edf441c1ac10131c540e3839de06e3e5 /gdb/wrapper.h
parentd5b2a8fb53d2e9eb6e4b66fb1637aa02b8efb4e6 (diff)
downloadgdb-47a8481b5ec9b61d6e8ea8e7111ccf4e40a89a2b.tar.gz
* gdbtypes.c (safe_parse_type): New wrapper function to ignore
error() during parse_and_eval_type(). (check_stub_method): Call safe_parse_type instead of parse_and_eval_type(). * wrapper.c (gdb_parse_and_eval_type): New wrapper function. (wrap_parse_and_eval_type): New support function. * wrapper.h (gdb_parse_and_eval_type): Prototype. (wrap_parse_and_eval_type): Prototype.
Diffstat (limited to 'gdb/wrapper.h')
-rw-r--r--gdb/wrapper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/wrapper.h b/gdb/wrapper.h
index 401cad8a0c5..0345b89623e 100644
--- a/gdb/wrapper.h
+++ b/gdb/wrapper.h
@@ -38,4 +38,7 @@ extern int wrap_value_equal PARAMS ((char *));
extern int gdb_value_ind PARAMS ((value_ptr val, value_ptr * rval));
extern int wrap_value_ind PARAMS ((char *opaque_arg));
+extern int gdb_parse_and_eval_type (char *, int, struct type **);
+extern int wrap_parse_and_eval_type (char *);
+
#endif /* WRAPPER_H */