diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-06-03 20:54:43 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-06-03 20:54:43 +0000 |
commit | 1684382a9110efd6523ce304cb99c869053323c8 (patch) | |
tree | 40364f6d12e4c278425f9de47c2f4e15c98e8076 /gdb/macrocmd.c | |
parent | 2729fb2483899a9b69e0d73500c79373156f27a7 (diff) | |
download | gdb-cagney_writestrings-20030508-branch.tar.gz |
Snap const char * mess.cvs/cagney_writestrings-20030508-branchcagney_writestrings-20030508-branch
Diffstat (limited to 'gdb/macrocmd.c')
-rw-r--r-- | gdb/macrocmd.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/macrocmd.c b/gdb/macrocmd.c index 02f44fce4cd..93549e9c576 100644 --- a/gdb/macrocmd.c +++ b/gdb/macrocmd.c @@ -33,7 +33,7 @@ static struct cmd_list_element *macrolist; static void -macro_command (char *arg, int from_tty) +macro_command (const char *arg, int from_tty) { printf_unfiltered ("\"macro\" must be followed by the name of a macro command.\n"); @@ -46,7 +46,7 @@ macro_command (char *arg, int from_tty) static void -macro_expand_command (char *exp, int from_tty) +macro_expand_command (const char *exp, int from_tty) { struct macro_scope *ms = NULL; char *expanded = NULL; @@ -82,7 +82,7 @@ macro_expand_command (char *exp, int from_tty) static void -macro_expand_once_command (char *exp, int from_tty) +macro_expand_once_command (const char *exp, int from_tty) { struct macro_scope *ms = NULL; char *expanded = NULL; @@ -135,7 +135,7 @@ show_pp_source_pos (struct ui_file *stream, static void -info_macro_command (char *name, int from_tty) +info_macro_command (const char *name, int from_tty) { struct macro_scope *ms = NULL; struct cleanup *cleanup_chain = make_cleanup (free_current_contents, &ms); @@ -199,21 +199,21 @@ info_macro_command (char *name, int from_tty) static struct macro_table *user_macros; static void -macro_define_command (char *exp, int from_tty) +macro_define_command (const char *exp, int from_tty) { error ("Command not implemented yet."); } static void -macro_undef_command (char *exp, int from_tty) +macro_undef_command (const char *exp, int from_tty) { error ("Command not implemented yet."); } static void -macro_list_command (char *exp, int from_tty) +macro_list_command (const char *exp, int from_tty) { error ("Command not implemented yet."); } |