* gdbtypes.c (safe_parse_type): New wrapper function to ignore
authorNicholas Duffek <nsd@redhat.com>
Mon, 3 Apr 2000 03:39:09 +0000 (03:39 +0000)
committerNicholas Duffek <nsd@redhat.com>
Mon, 3 Apr 2000 03:39:09 +0000 (03:39 +0000)
commitc91ecb25c3d04094aafd260522f8d85e2286ff87
treefd5eb6d3a6c6a2e5da10b43f1fecafa6158b842f
parentf9e73361c87cb43b864ae542a5e1a1dd7669de86
* 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/ChangeLog
gdb/gdbtypes.c
gdb/wrapper.c
gdb/wrapper.h