aboutsummaryrefslogtreecommitdiff
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
commitc91ecb25c3d04094aafd260522f8d85e2286ff87 (patch)
treefd5eb6d3a6c6a2e5da10b43f1fecafa6158b842f /gdb/wrapper.h
parentf9e73361c87cb43b864ae542a5e1a1dd7669de86 (diff)
downloadgdb-c91ecb25c3d04094aafd260522f8d85e2286ff87.zip
gdb-c91ecb25c3d04094aafd260522f8d85e2286ff87.tar.gz
gdb-c91ecb25c3d04094aafd260522f8d85e2286ff87.tar.bz2
* 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 401cad8..0345b89 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 */