FYI, the proposal
below has been implemented and pushed to master. You are
try it and give
Note that the solution
went a bit further than the proposal, where the Expressions
not only supports
glob-patterns but also comma-separated lists of expressions
e.g., $eax, myvar, $$s*
New&Noteworthy for the short description:
I would like to propose an
enhancement to the Expressions view for CDT Debug. We are
focusing on the
Juno release right now, but
since we discussed the idea in the CDT monthly call,
I'm sending this proposal now.
Currently, the Registers view
for CDT/GDB shows all registers in a flat list. For
targets with a large number of
registers this is not very
I propose to support
pattern-matching within the Expressions view to
allow users to easily create groups of
registers. For example:
display all registers
$st1 , ...
The user would simply type
the _expression_ in the "Add new _expression_"
box as she would for
any other _expression_.
feature is focusing on registers (only _expression_s starting with $ will allow patterns)
it may be a nice
enhancement to extend this to other expressions. If
that was also supported, a user
could do such things as
create an _expression_ 'myArray[20-120] to only show a
subset of an array; many
other examples can be
imagined as well.
With such possibilities
in mind, the prototype does allow for the
_expression_: * which will
show all local
variables and arguments
of the selected stack frame.
and suggestions are very welcomed.
cdt-dev mailing list