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]


> How about "user breakpoints" and "machine breakpoints"?

"How Debuggers Work" define "logical" and "physical". But I really
prefer Jim's proposal, especially the "user" one, as it sounds clearer
than "logical".

> In my ideal world, you'd get an explanation for why each address was
> chosen, when it's not obvious:
> 
> (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) 

This looks very good to me. (although it's also fine  not to provide the
explanation, it's not as important as seeing all the machine breakpoints).

-- 
Joel


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