public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* MI: output of -break-insert and -break-watch
@ 2006-02-17 12:37 Vladimir Prus
  2006-02-17 13:53 ` Eli Zaretskii
  2006-02-17 13:56 ` Daniel Jacobowitz
  0 siblings, 2 replies; 8+ messages in thread
From: Vladimir Prus @ 2006-02-17 12:37 UTC (permalink / raw)
  To: gdb


Hello!

The output of -break-insert and -break-watch currently looks like this:

  ^done,bkpt={number="1",......

and
  
  ^done,wpt={number="2",.......

What is exactly the point of using different field names: "bkpt" and "wpt"?
This makes it impossible to get the number of set breakpoint in a uniform
fashion -- I need to have some conditional on the type of breakpoint, or
add logic that checks if "bkpt" or "wpt" is present in reply.

Why can't we have just:

  ^done,number="1"

? And this can be done in backward-compatible way, btw.


- Volodya





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-02-17 14:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-17 12:37 MI: output of -break-insert and -break-watch Vladimir Prus
2006-02-17 13:53 ` Eli Zaretskii
2006-02-17 14:03   ` Vladimir Prus
2006-02-17 13:56 ` Daniel Jacobowitz
2006-02-17 14:14   ` Vladimir Prus
2006-02-17 14:18     ` Daniel Jacobowitz
2006-02-17 14:24       ` Daniel Jacobowitz
2006-02-17 15:00       ` Vladimir Prus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).