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 | a9596cd98aa07c137ed362c7d92df64213b4fa04 (patch) | |
tree | 93d2aea2e0fa868da0f9b56626e5cfe8c2341869 /gdb/macrocmd.c | |
parent | 74eda9eb7acc3c2bd375826f92e8ca233d5f767a (diff) | |
download | binutils-cagney_writestrings-20030508-branch.zip binutils-cagney_writestrings-20030508-branch.tar.gz binutils-cagney_writestrings-20030508-branch.tar.bz2 |
Snap const char * mess.cagney_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 02f44fc..93549e9 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."); } |