[RFA] Remove wrapper.[ch]
Keith Seitz
keiths@redhat.com
Fri Jan 6 21:57:00 GMT 2012
Hi,
I've been sitting on this cleanup for a while. It simply removes
wrapper.c and wrapper.h.
libgdb is history. The introduction of TRY_CATCH is now the standard way
to do these sorts of tasks. There seems little point to support yet
another ancient/nearly unused API to gdb's internals.
Keith
ChangeLog
2012-01-06 Keith Seitz <keiths@redhat.com>
* Makefile.in (SFILES): Remove wrapper.c.
(HFILES_NO_SRCDIR): Remove wrapper.h.
(COMMON_OBS): Remove wrapper.o.
* cli/cli-interp.c: Don't inlude wrapper.h.
* corelow.c: Likewise.
(core_open): Replace gdb_target_find_new_threads with
TRY_CATCH around target_find_new_threads.
* eval.c (fetch_subexp_value): Likewise for value_fetch_lazy.
* gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type.
* varobj.c (varobj_create): Likewise for parse_exp_1 and
evaluate_expression.
(varobj_set_value): Likewise for evaluate_expression and
value_assign.
(install_new_variable): Likewise for value_fetch_lazy.
(adjust_value_for_child_access): Likewise for value_ind.
(c_describe_child): Likewise for value_subscript and
value_ind.
(c_value_of_root): Likewise for evaluate_expression.
* wrapper.c: Remove.
* wrapper.h: Remove.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-wrapper.patch
Type: text/x-patch
Size: 16543 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20120106/ac6d676d/attachment.bin>
More information about the Gdb-patches
mailing list