This is the mail archive of the gdb@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]

MI: output of -break-insert and -break-watch


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






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