From: Thiago Jung Bauermann Date: Mon, 4 Jul 2011 18:50:17 +0000 (+0000) Subject: * ui-out.c (ui_out_field_core_addr): Mention that the function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15230f37454a641eaafb72882eb020f42d8a5178;p=binutils-gdb.git * ui-out.c (ui_out_field_core_addr): Mention that the function description is in the header file. * ui-out.h (ui_out_field_core_addr): Document function. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6dab64cbcdb..7b89a0fa7bb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2011-07-04 Thiago Jung Bauermann + + * ui-out.c (ui_out_field_core_addr): Mention that the function + description is in the header file. + * ui-out.h (ui_out_field_core_addr): Document function. + 2011-07-04 Thiago Jung Bauermann * ui-out.c (ui_out_get_field_separator): Remove unused function. diff --git a/gdb/ui-out.c b/gdb/ui-out.c index b022cae0d19..2994828da2f 100644 --- a/gdb/ui-out.c +++ b/gdb/ui-out.c @@ -486,6 +486,8 @@ ui_out_field_fmt_int (struct ui_out *uiout, uo_field_int (uiout, fldno, input_width, input_align, fldname, value); } +/* Documented in ui-out.h. */ + void ui_out_field_core_addr (struct ui_out *uiout, const char *fldname, diff --git a/gdb/ui-out.h b/gdb/ui-out.h index 71026e02d3c..ee6d98fb3ec 100644 --- a/gdb/ui-out.h +++ b/gdb/ui-out.h @@ -113,6 +113,8 @@ extern void ui_out_field_fmt_int (struct ui_out *uiout, int width, enum ui_align align, const char *fldname, int value); +/* Output a field containing an addresses. */ + extern void ui_out_field_core_addr (struct ui_out *uiout, const char *fldname, struct gdbarch *gdbarch, CORE_ADDR address);