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: RFA: Breakpoint infrastructure cleanups [0/8]
Date: Thu, 09 Oct 2003 20:01:00 -0000	[thread overview]
Message-ID: <73A52B89-FA93-11D7-BB88-000A958F4C44@apple.com> (raw)
In-Reply-To: <1065728983.12011.ezmlm@sources.redhat.com>


On Oct 9, 2003, at 12:49 PM, gdb-patches-digest-help@sources.redhat.com 
wrote:

> From: Michael Snyder <msnyder@redhat.com>
> Date: October 9, 2003 12:33:14 PM PDT
> To: Daniel Jacobowitz <drow@mvista.com>
> Cc: gdb-patches@sources.redhat.com
> Subject: Re: RFA: Breakpoint infrastructure cleanups [0/8]
>
>
> Daniel Jacobowitz wrote:
>> On Thu, Oct 09, 2003 at 08:10:46AM +0200, Eli Zaretskii wrote:
>>>> Date: Wed, 8 Oct 2003 15:05:02 -0400
>>>> From: Daniel Jacobowitz <drow@mvista.com>
>>>>
>>>>> (gdb) info break
>>>>> Num Type           Disp Enb Address    What
>>>>> 1   breakpoint     keep y   0x08048354 in foo::foo (in-charge) at 
>>>>> hello.c:8
>>>>>                            0x08048364 in foo::foo (not-in-charge) 
>>>>> at hello.c:8
>>>>> (gdb)
>>>>
>>>> Here's the problem that I see.
>>>>
>>>> For foo::foo, there are two of these things.  Having them both in 
>>>> the
>>>> list would be nice.  Really nice.
>>>>
>>>> For inline_accessor_fn there are 3.8 million.  In addition to 
>>>> needing
>>>> to do a whole lot of work on GDB internals before we could survive 
>>>> this
>>>> (memory usage; ptrace thrashing inserting and removing them; linked
>>>> lists of breakpoints; and that's just the beginning) this has some
>>>> severe user interface implications.  We don't want to print out all
>>>> those addresses by default!
>>>>
>>>> I'm open to suggestions on how to deal with this.
>>>
>>> How about a switch to "info break"?  By default, show only the
>>> in-charge breakpoint, but if the user says "info break -all" or some
>>> such, show the other 3.8 million minus one.
>>> From a user interface perspective, I got a really strong negative
>> pushback the last time I tried to add a switch to any GDB command.
>
> OK, how about modeling after "info reg" vs. "info all-reg"?
> Giving us "info break" and a new "info all-break".
>

This seems a little odd, because then if I want to see the 
implementations for one user breakpoint - like where were all the 
template instantiations for a file:line breakpoint in a C++ template 
(*) then I say:

info all-break 5

Not sure what a better word is but "all" doesn't convey that you want 
more details about each...  Maybe "full" is better, like "info 
break-full"?

Jim

(*) Yes, I know that we can't do this yet, but...
--
Jim Ingham                                   jingham@apple.com
Developer Tools
Apple Computer


       reply	other threads:[~2003-10-09 20:01 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1065728983.12011.ezmlm@sources.redhat.com>
2003-10-09 20:01 ` Jim Ingham [this message]
     [not found] <1066321046.18949.ezmlm@sources.redhat.com>
2003-10-16 18:58 ` Jim Ingham
2003-10-16 23:30   ` Michael Snyder
2003-10-16 19:02 ` Jim Ingham
2003-10-17  7:04   ` Eli Zaretskii
2003-10-17 16:55     ` Jim Ingham
2003-10-15 22:14 Michael Elizabeth Chastain
2003-10-15 22:36 ` Michael Snyder
  -- strict thread matches above, loose matches on Subject: below --
2003-10-15 19:48 Michael Elizabeth Chastain
2003-10-15 22:00 ` Michael Snyder
2003-10-08 16:55 Daniel Jacobowitz
2003-10-08 17:33 ` Elena Zannoni
2003-10-08 19:04   ` Andrew Cagney
2003-10-08 19:07     ` Daniel Jacobowitz
2003-10-08 19:44       ` David Carlton
2003-10-08 20:36         ` Elena Zannoni
2003-10-08 19:49       ` Andrew Cagney
2003-10-08 18:07 ` Jim Blandy
2003-10-08 18:23   ` Joel Brobecker
2003-10-08 19:05   ` Daniel Jacobowitz
2003-10-08 19:52     ` Andrew Cagney
2003-10-08 20:30       ` Daniel Jacobowitz
2003-10-08 21:09         ` Andrew Cagney
2003-10-08 21:11           ` Daniel Jacobowitz
2003-10-08 21:40             ` Elena Zannoni
2003-10-08 22:28             ` Andrew Cagney
2003-10-09 19:19       ` Michael Snyder
2003-10-14  1:38         ` Daniel Jacobowitz
2003-10-14 15:40           ` Andrew Cagney
2003-10-14 15:46             ` David Carlton
2003-10-14 15:51             ` Daniel Jacobowitz
2003-10-14 16:27               ` Elena Zannoni
2003-10-14 20:45               ` Michael Snyder
2003-10-15 15:02                 ` Andrew Cagney
2003-10-15 18:20                   ` Michael Snyder
2003-10-15 18:30                     ` Andrew Cagney
2003-10-15 22:19                       ` Michael Snyder
2003-10-15 22:23                         ` Andrew Cagney
2003-10-15 22:37                           ` Michael Snyder
2003-10-15 18:56                     ` Elena Zannoni
2003-10-16  6:59                       ` Eli Zaretskii
2003-10-16 13:11                         ` Daniel Jacobowitz
2003-10-16 14:08                           ` Paul Koning
2003-10-16 14:21                           ` Elena Zannoni
2003-10-16 15:54                             ` Eli Zaretskii
2003-10-16 23:20                               ` Michael Snyder
2003-10-16 23:18                             ` Michael Snyder
2003-10-16 15:45                           ` Eli Zaretskii
2003-10-16 23:14                           ` Michael Snyder
2003-10-15 22:41                 ` Daniel Jacobowitz
2003-10-16  6:55                   ` Eli Zaretskii
2003-10-16 14:25                     ` Andrew Cagney
2003-10-16 16:02                       ` Eli Zaretskii
2003-10-16 23:24                         ` Michael Snyder
2003-10-17  6:46                           ` Eli Zaretskii
2003-10-17 21:38                             ` Michael Snyder
2003-10-18  8:43                               ` Eli Zaretskii
2003-10-20 18:48                                 ` Michael Snyder
2003-10-16 16:16                       ` Daniel Jacobowitz
2003-10-16 18:20                         ` Andrew Cagney
2003-10-16 16:03                   ` David Carlton
2003-10-16 16:17                     ` Daniel Jacobowitz
2003-10-08 20:55     ` Elena Zannoni
2003-10-08 20:59       ` Daniel Jacobowitz
2003-10-09  6:09     ` Eli Zaretskii
2003-10-09 14:08       ` Daniel Jacobowitz
2003-10-09 17:02         ` Eli Zaretskii
2003-10-09 19:41           ` Daniel Jacobowitz
2003-10-19 16:43           ` Andrew Cagney
2003-10-09 19:33         ` Michael Snyder
2003-10-08 19:38   ` David Carlton
2003-10-08 21:00     ` Daniel Jacobowitz
2003-10-09  6:07     ` Eli Zaretskii
2003-10-08 18:26 ` Eli Zaretskii
2003-10-08 19:09   ` Daniel Jacobowitz
2003-10-19 15:55 ` Andrew Cagney
2003-10-19 16:39   ` Eli Zaretskii
2003-10-30  5:49     ` Daniel Jacobowitz
2003-11-03 18:00       ` Daniel Jacobowitz
2003-11-04 19:57       ` Michael Snyder

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=73A52B89-FA93-11D7-BB88-000A958F4C44@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