Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jim Ingham <jingham@apple.com>
To: <gdb-patches@sources.redhat.com>
Subject: Re: gdb-patches Digest 9 Dec 2001 19:14:34 -0000 Issue 896
Date: Fri, 14 Dec 2001 10:44:00 -0000	[thread overview]
Message-ID: <B83F888B.3BEB%jingham@apple.com> (raw)
In-Reply-To: <1007925274.29498.ezmlm@sources.redhat.com>

Andrew,

This works fine for me.  Looks better too.

I always thought it was kind of odd that when you were emitting a table, you
still sent the tags for each item, rather than just emitting the table as a
list of rows, each row being just a simple list of entries.  Then the client
of the MI could use the header to identify the elements of each row.  We
could still pass in the column name into ui_out_field_x, and use it to
sanity check the table as we were building it, but just not emit the tag
when we are emitting the element.

This would be a lot more efficient for big tables.  We use a table for the
shared library info on X, and it can get very big - one developer had 600
shared libraries/plugins in his app!

However, PB uses the current form of the table, so I am not in a big hurry
to fix this.  Just something to think about.

Jim

> Hello,
> 
> Hopefully (?) the attached addresses the problem JimI found with the
> ui-out table code.  It keeps track of the table.entry_level and uses
> that to decide what to do.
> 
> That should restrict it to updating header fields for table row entries
> and not all fields.
> 
> It doesn't cause any regressions.  I need to think of a way of testing
> it.  Perhaphs I'll just hack my local breakpoint.c a bit.
> 
> Andrew
> 

-- 
++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=
Jim Ingham                              jingham@apple.com
Developer Tools - gdb


       reply	other threads:[~2001-12-14 18:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1007925274.29498.ezmlm@sources.redhat.com>
2001-12-14 10:44 ` Jim Ingham [this message]
2001-12-14 21:50   ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B83F888B.3BEB%jingham@apple.com \
    --to=jingham@apple.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox