From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7682 invoked by alias); 21 Oct 2002 22:31:07 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 7674 invoked from network); 21 Oct 2002 22:31:07 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 21 Oct 2002 22:31:07 -0000 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by touchme.toronto.redhat.com (Postfix) with ESMTP id A73C3800084; Mon, 21 Oct 2002 18:31:06 -0400 (EDT) Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 0E54E3E12; Mon, 21 Oct 2002 18:31:06 -0400 (EDT) Message-ID: <3DB48029.9040908@redhat.com> Date: Mon, 21 Oct 2002 15:31:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Snyder , Adam Fedor Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Objective-C language support. References: <3D889A97.90202@doc.com> <3DA370CE.78089D15@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-10/txt/msg00360.txt.bz2 > +/* Print input string to gdb_stdout, filtered, with wrap, >> + arranging strings in columns of n chars. String can be >> + right or left justified in the column. Never prints >> + trailing spaces. String should never be longer than >> + width. FIXME: this could be useful for the EXAMINE >> + command, which currently doesn't tabulate very well */ >> + >> +void >> +puts_filtered_tabular (char *string, int width, int right) >> +{ FYI, this should also take an explicit UI_FILE parameter (making the function fputs_....(). Andrew