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]

[PATCH 2/4] gdb/command: Add LKD Command class


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


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