aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-04-07 16:54:39 +0000
committerDoug Evans <dje@google.com>2010-04-07 16:54:39 +0000
commit05159abe9613acc8732e97494b327066bbd5e356 (patch)
treeecccf832664edcb6ae01df794c2ac41af6534064 /gdb/top.h
parent2de7820f275d96335a4749e2239aace063e1087d (diff)
downloadgdb-05159abe9613acc8732e97494b327066bbd5e356.zip
gdb-05159abe9613acc8732e97494b327066bbd5e356.tar.gz
gdb-05159abe9613acc8732e97494b327066bbd5e356.tar.bz2
* top.c (source_file_name): Make const char *.
* top.h (source_file_name): Update. * cli/cli-script.c (source_cleanup_lines_args): Make old_file const char *. (script_from_file): Change `file' arg to const char *. * cli/cli-script.h (script_from_file): Update.
Diffstat (limited to 'gdb/top.h')
-rw-r--r--gdb/top.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/top.h b/gdb/top.h
index 2de78bf..c180274 100644
--- a/gdb/top.h
+++ b/gdb/top.h
@@ -68,7 +68,7 @@ extern void gdb_init (char *);
/* For use by event-top.c */
/* Variables from top.c. */
extern int source_line_number;
-extern char *source_file_name;
+extern const char *source_file_name;
extern int history_expansion_p;
extern int server_command;
extern char *lim_at_start;