[BUG:MI] -break-list doesn't list multiple breakpoints

Vladimir Prus ghost@cs.msu.su
Wed Jan 30 07:58:00 GMT 2008


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



More information about the Gdb-patches mailing list