This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 2/4] gdb/command: Add LKD Command class
- From: Kieran Bingham <kieran dot bingham at linaro dot org>
- To: gdb-patches at sourceware dot org
- Cc: arnez at linux dot vnet dot ibm dot com, jeffm at suse dot com, peter dot griffin at linaro dot org, lee dot jones at linaro dot org, yao dot qi at linaro dot org, russell dot wayman at linaro dot org, kernel at stlinux dot com, Kieran Bingham <kieran dot bingham at linaro dot org>
- Date: Thu, 25 Feb 2016 19:15:04 +0000
- Subject: [PATCH 2/4] gdb/command: Add LKD Command class
- Authentication-results: sourceware.org; auth=none
- References: <1456427706-30077-1-git-send-email-kieran dot bingham at linaro dot org>
LKD's commands are all originally put into an STM class.
For simplicity I have renamed this class to LKD and separated out this
change to highlight modification outside of the lkd/ directory.
My assumption is that the specific commands could/should be added to
other classes - but I've left things as they are for now.
---
gdb/command.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/command.h b/gdb/command.h
index ab6260199044..ed87f63283dc 100644
--- a/gdb/command.h
+++ b/gdb/command.h
@@ -38,7 +38,7 @@ enum command_class
no_class = -1, class_run = 0, class_vars, class_stack, class_files,
class_support, class_info, class_breakpoint, class_trace,
class_alias, class_bookmark, class_obscure, class_maintenance,
- class_pseudo, class_tui, class_user, class_xdb,
+ class_pseudo, class_tui, class_user, class_xdb, class_lkd,
no_set_class /* Used for "show" commands that have no corresponding
"set" command. */
};
--
2.5.0