Back out change to signals.exp (test_handle_all_print): Add setup_xfail for "alpha...
[deliverable/binutils-gdb.git] / gdb / copying.c
index b3d75198078ec6dc225bd1f66fbcece6495ecf2d..c31c280c79ec17e0951252b907c87f02fe865962 100644 (file)
@@ -1,8 +1,11 @@
 /* Do not modify this file; it is created automatically
    by copying.awk.  */
+#include "defs.h"
+#include "command.h"
+#include "gdbcmd.h"
 extern int immediate_quit;
 static void
-copying_info ()
+show_copying ()
 {
   immediate_quit++;
   printf_filtered ("\n");
@@ -177,7 +180,7 @@ copying_info ()
 }
 
 static void
-warranty_info ()
+show_warranty ()
 {
   immediate_quit++;
   printf_filtered ("                       NO WARRANTY\n");
@@ -208,8 +211,10 @@ warranty_info ()
 void
 _initialize_copying ()
 {
-  add_info ("copying", copying_info,
-           "Conditions for redistributing copies of GDB.");
-  add_info ("warranty", warranty_info,
-         "Various kinds of warranty you do not have.");
+  add_cmd ("copying", no_class, show_copying,
+           "Conditions for redistributing copies of GDB.",
+           &showlist);
+  add_cmd ("warranty", no_class, show_warranty,
+           "Various kinds of warranty you do not have.",
+           &showlist);
 }
This page took 0.023498 seconds and 4 git commands to generate.