From c91ecb25c3d04094aafd260522f8d85e2286ff87 Mon Sep 17 00:00:00 2001 From: Nicholas Duffek Date: Mon, 3 Apr 2000 03:39:09 +0000 Subject: * 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. --- gdb/wrapper.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/wrapper.h') 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 */ -- cgit v1.1