From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6539 invoked by alias); 4 Jul 2011 18:54:53 -0000 Received: (qmail 6526 invoked by uid 22791); 4 Jul 2011 18:54:52 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e24smtp01.br.ibm.com (HELO e24smtp01.br.ibm.com) (32.104.18.85) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 04 Jul 2011 18:54:39 +0000 Received: from mailhub3.br.ibm.com (mailhub3.br.ibm.com [9.18.232.110]) by e24smtp01.br.ibm.com (8.14.4/8.13.1) with ESMTP id p64K22m9004023 for ; Mon, 4 Jul 2011 16:02:02 -0400 Received: from d24av04.br.ibm.com (d24av04.br.ibm.com [9.8.31.97]) by mailhub3.br.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p64IufYU1118230 for ; Mon, 4 Jul 2011 15:56:42 -0300 Received: from d24av04.br.ibm.com (loopback [127.0.0.1]) by d24av04.br.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p64IsJ0o019482 for ; Mon, 4 Jul 2011 15:54:19 -0300 Received: from [9.8.1.40] ([9.8.1.40]) by d24av04.br.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id p64IsI21019468 for ; Mon, 4 Jul 2011 15:54:18 -0300 Subject: [commit] Document ui_out_field_core_addr. From: Thiago Jung Bauermann To: gdb-patches ml Content-Type: text/plain; charset="UTF-8" Date: Mon, 04 Jul 2011 18:56:00 -0000 Message-ID: <1309805674.4471.6.camel@hactar> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00111.txt.bz2 Hi, $SUBJECT. -- []'s Thiago Jung Bauermann IBM Linux Technology Center 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. diff --git a/gdb/ui-out.c b/gdb/ui-out.c index a2abf57..0b4ef54 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 5265902..244a145 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);