This is the mail archive of the gdb-patches@sourceware.org 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: [BUG:MI] -break-list doesn't list multiple breakpoints


On Wednesday 30 January 2008 10:35:14 you wrote:
> It's been a long thread and maybe I've lost the plot but I'm just talking
> about the simple change below now.
> 
> -- 
> Nick ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? http://www.inet.net.nz/~nickrob
> 
> 
> *** breakpoint.c.~1.299.~???????2008-01-30 11:59:18.000000000 +1300
> --- breakpoint.c????????2008-01-30 20:32:30.000000000 +1300
> *************** print_one_breakpoint (struct breakpoint 
> *** 3669,3676 ****
> ? ?????? exposed to user. ?*/
> ? ? ? ? if (b->loc 
> ? ?????? ?&& !is_hardware_watchpoint (b)
> ! ?????? ?&& (b->loc->next || !b->loc->enabled)
> ! ?????? ?&& !ui_out_is_mi_like_p (uiout)) 
> ? ??????{
> ? ?????? ?struct bp_location *loc;
> ? ?????? ?int n = 1;
> --- 3669,3675 ----
> ? ?????? exposed to user. ?*/
> ? ? ? ? if (b->loc 
> ? ?????? ?&& !is_hardware_watchpoint (b)
> ! ?????? ?&& (b->loc->next || !b->loc->enabled))
> ? ??????{
> ? ?????? ?struct bp_location *loc;
> ? ?????? ?int n = 1;

Thanks, I'll give it a try.

- Volodya


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