MI level command

Alain Magloire alain@qnx.com
Thu Jul 8 23:33:00 GMT 2004


Yellow


Scenario:  We want to know wich level of MI that we are currently working in.
  This can allow to adjust what MI command to use and how to parse them.

Problems: No such command in MI and no GDB variable that we can test via -gdb-show.
  The version of  gdb
     gdb --version
  show different things in different distributions, sometimes it is a number based on date
  etc ...

So would a patch implementing

 -gdb-mi-level
 ^done,level=1

be a good thing ?




More information about the Gdb mailing list