diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-26 23:09:52 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-26 23:09:52 +0000 |
commit | 689f801a7946d9f2dcf62bbdc00703495884b9a1 (patch) | |
tree | 9809a11317883564d3f1b66a07e17bfc40e6e532 /gdb/copying.c | |
parent | b011df52462903c6b73e436a06b9b8e55e84185e (diff) | |
download | gdb-689f801a7946d9f2dcf62bbdc00703495884b9a1.zip gdb-689f801a7946d9f2dcf62bbdc00703495884b9a1.tar.gz gdb-689f801a7946d9f2dcf62bbdc00703495884b9a1.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'gdb/copying.c')
-rw-r--r-- | gdb/copying.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/gdb/copying.c b/gdb/copying.c index 9164891..c31c280c7 100644 --- a/gdb/copying.c +++ b/gdb/copying.c @@ -2,9 +2,10 @@ 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"); @@ -179,7 +180,7 @@ copying_info () } static void -warranty_info () +show_warranty () { immediate_quit++; printf_filtered (" NO WARRANTY\n"); @@ -210,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); } |