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 Mon, Jan 14, 2008 at 10:25:34AM +1300, Nick Roberts wrote:
> Here's a patch that fixes this but does much more.  The 'fix' works by
> removing the frame details in the MI output:
> 
> (gdb) 
> -break-insert 10
> ^done

Which is a backwards incompatible change, and other frontends use this
information; we can't remove it.

> this means that the condition:
> 
> 	  && !ui_out_is_mi_like_p (uiout))
> 
> can be removed from print_one_breakpoint so that -break-list prints
> details of all the multiple breakpoint locations.

I don't understand; how does this follow from the other change?


-- 
Daniel Jacobowitz
CodeSourcery


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