Re: [PATCH 2/6] Introduce `pre_expanded sals'

Eli Zaretskii
2011-04-13T09:53:37Z

> Date: Tue, 12 Apr 2011 15:22:01 -0700
> From: Matt Rice <ratmice@gmail.com>
> Cc: Jan Kratochvil <jan.kratochvil@redhat.com>, gdb-patches@sourceware.org, Tom Tromey <tromey@redhat.com>, Sergio Durigan Junior <sergiodj@redhat.com>
>
> On Tue, Apr 12, 2011 at 6:30 AM, Pedro Alves <pedro@codesourcery.com> wrote:
> >Â Another argument,
> > is that frontends and users using them aren't expecting that a single
> > breakpoint is represented by more than one visual "point", circle next to
> > the sources, or something like that. Â Hitting F8 to toggle a breakpoint's
> > enablement changing some other location source "point" enablement
> > in the sources not currently visible seems to break some abstration
> > to me. Â I think such design change needs to consider all these
> > issues (and be experimented with some frontend).
>
> I think this "visual point" metaphor to some extent is already broken,
> I more often than one might expect end up setting multiple breakpoints
> on the same function
> with different conditions and or commands.

That's different: you are talking about several breakpoints at the
same location, whereas the issue at hand is whether a single
breakpoint could cover multiple source locations.