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

Nick Roberts nickrob@snap.net.nz
Wed Jan 30 07:50:00 GMT 2008


 > Given that such a change has a potential to totally break frontend,
 > I'm not sure we can talk in the abstract. If you send me the most
 > recent version of your patch, I can see if KDevelop will be happy,
 > or not.

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;



More information about the Gdb-patches mailing list