aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2011-07-04 18:50:17 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2011-07-04 18:50:17 +0000
commit15230f37454a641eaafb72882eb020f42d8a5178 (patch)
tree48f1cc8611b4b7d1b35ef70bf9b43fceb97a9e0c
parent65743aba62ae276dfb203e8771201e912545b0b5 (diff)
downloadgdb-15230f37454a641eaafb72882eb020f42d8a5178.zip
gdb-15230f37454a641eaafb72882eb020f42d8a5178.tar.gz
gdb-15230f37454a641eaafb72882eb020f42d8a5178.tar.bz2
* 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.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/ui-out.c2
-rw-r--r--gdb/ui-out.h2
3 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6dab64c..7b89a0f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2011-07-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
+ * 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 <bauerman@br.ibm.com>
+
* ui-out.c (ui_out_get_field_separator): Remove unused function.
* ui-out.h (ui_out_get_field_separator): Remove prototype.
diff --git a/gdb/ui-out.c b/gdb/ui-out.c
index b022cae..2994828 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 71026e0..ee6d98f 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);