From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8295 invoked by alias); 7 Dec 2001 00:41:34 -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 8274 invoked from network); 7 Dec 2001 00:41:33 -0000 Received: from unknown (HELO mail-out1.apple.com) (17.254.0.52) by sources.redhat.com with SMTP; 7 Dec 2001 00:41:33 -0000 Received: from mailgate1.apple.com (A17-128-100-225.apple.com [17.128.100.225]) by mail-out1.apple.com (8.11.3/8.11.3) with ESMTP id fB70fXu23890 for ; Thu, 6 Dec 2001 16:41:33 -0800 (PST) Received: from scv1.apple.com (scv1.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Thu, 6 Dec 2001 16:41:17 -0800 Received: from [64.220.144.98] (vpn-scv-x1-53.apple.com [17.219.193.53]) by scv1.apple.com (8.11.3/8.11.3) with ESMTP id fB70fVk08396; Thu, 6 Dec 2001 16:41:31 -0800 (PST) User-Agent: Microsoft-Entourage/10.0.0.1309 Date: Thu, 06 Dec 2001 16:41:00 -0000 Subject: Re: Bug with lists in tables in ui-out.c From: Jim Ingham To: Andrew Cagney CC: GDB Patches Message-ID: In-Reply-To: <3C0FF9D9.4010607@cygnus.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-SW-Source: 2001-12/txt/msg00186.txt.bz2 On 12/6/01 3:06 PM, "Andrew Cagney" wrote: > >> 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? Sounds fine. If you are going to check this in, will you check the doc patch too? Thanks. Jim -- ++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++= Jim Ingham jingham@apple.com Developer Tools - gdb