This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Breakpoint infrastructure cleanups [0/8]


> From: Elena Zannoni <ezannoni@redhat.com>
> Date: Wed, 15 Oct 2003 15:07:41 -0400
> 
> 1. insert the breakpoint, show confirmation to the user. If we have 20
>    'real' breakpoints inserted, what do we tell the user? 

If we can guess the one address which is what the user wants to see in
the current context, let's show that single address.  Otherwise, let's
either show all of them or none at all, perhaps controlled by some
user option.

> 2. hit the breakpoint, show line info about where we stopped, and
>    breakpoint number. Do we just say the program hit the high level
>    breakpoint number, or also which low level breakpoint number?

I'd say we show the high-level number and the precise machine address
where it breaks.

>    Hmm, do low level breakpoints have numbers?

I don't think we need numbers for them, so let's not have them.

> And MI? what should we do there? the same 3 cases occur.  I would
> think that MI could just tell the gui everything every time, and then
> the GUI could decide to display what it wants.

Probably.

> However that's a lot
> of information sent back and forth, maybe for no real advantage. So
> maybe a two-tier command set is needed there too.

Yes, probably.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]