From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14215 invoked by alias); 6 Dec 2001 23:06:09 -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 14117 invoked from network); 6 Dec 2001 23:06:05 -0000 Received: from unknown (HELO localhost.cygnus.com) (216.138.202.10) by sources.redhat.com with SMTP; 6 Dec 2001 23:06:05 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id DA6863D5E; Thu, 6 Dec 2001 18:06:01 -0500 (EST) Message-ID: <3C0FF9D9.4010607@cygnus.com> Date: Thu, 06 Dec 2001 15:06:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.3) Gecko/20011020 X-Accept-Language: en-us MIME-Version: 1.0 To: Jim Ingham Cc: GDB Patches Subject: Re: Bug with lists in tables in ui-out.c References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2001-12/txt/msg00180.txt.bz2 > Andrew, > > The example is the table that "info break" makes. In FSF gdb, you only emit > table headers for the first 6 columns, and if there are commands, they are > added to the bkpt tuple (and so formally should be other columns in the > table), but there is no equivalent entry in the header list. The table code > doesn't require that all data in a table row have an equivalent header > entry, so this works, but this is just a bit bogus... Somebody here got > annoyed by this and added table headers for the other columns - mostly so > users could see what the columns mean. In this case, the list that is being > added to the table is the list of breakpoint commands. Ah, yes. Ok, got it (head butts table). I think I'll check it in slightly different though - add the code that advances the headings to the ..._begin() instead of ..._end() function. I think that will sit better with the other logic already handling tables. Make sense? Andrew