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: [RFC] New GDB/MI command "-info-gdb-mi-command"


> Date: Tue, 12 Nov 2013 21:43:19 +0400
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: tromey@redhat.com, gdb-patches@sourceware.org
> 
> > > +There is no corresponding @value{GDBN} command.
> > 
> > Having a way of querying that in CLI would facilitate better .gdbinit
> > files, I think.
> 
> Can you give some ideas as to how it would be used.

Like this perhaps:

  if ($_featurep(FOO))
    lets-use-FOO
  end

> Remember also that you can always execute a GDB/MI command from CLI
> using "interpreter-exec".

But their output is not easily caught and used like above.


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