This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/2] Make more use of add_info to create info commands.
- From: Andrew Burgess <andrew dot burgess at embecosm dot com>
- To: gdb-patches at sourceware dot org
- Cc: Andrew Burgess <andrew dot burgess at embecosm dot com>
- Date: Tue, 10 Nov 2015 16:03:49 +0000
- Subject: [PATCH 0/2] Make more use of add_info to create info commands.
- Authentication-results: sourceware.org; auth=none
There's a functino add_info specifically for creating info commands.
This is not used as often as it could be.
There's also an oddity that add_info creates the commands as
'no_class' rather than 'class_info'.
The following two patches address these two issues. There should be
no user visible changes after this series (OK, so the change from
'no_class' to 'class_info' might be user visible, I have no idea if
the class is actually visibile to the user anywhere, but if it is,
this change is probably for the better).
Thanks,
Andrew
---
Andrew Burgess (2):
gdb: Use class_info when creating info commands.
gdb: Make use of 'add_info' to create info sub-commands.
gdb/ChangeLog | 11 +++++++++++
gdb/avr-tdep.c | 5 ++---
gdb/cli/cli-decode.c | 2 +-
gdb/gnu-nat.c | 25 ++++++++++---------------
gdb/macrocmd.c | 15 ++++++---------
5 files changed, 30 insertions(+), 28 deletions(-)
--
2.5.1