aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2009-09-22 22:34:17 +0000
committerDaniel Jacobowitz <drow@false.org>2009-09-22 22:34:17 +0000
commitc4e86dd4d087248e379b26bfdde8d6e3121a4bd9 (patch)
treeae3cbc9c800fff6f290a051fe0b264b2b70c6977 /gdb/defs.h
parenta89caa617d3231f179698b0a1b621cfb445192e9 (diff)
downloadgdb-c4e86dd4d087248e379b26bfdde8d6e3121a4bd9.zip
gdb-c4e86dd4d087248e379b26bfdde8d6e3121a4bd9.tar.gz
gdb-c4e86dd4d087248e379b26bfdde8d6e3121a4bd9.tar.bz2
* source.c (forget_cached_source_info): Clear last_source_visited.
(init_last_source_visited): Delete. (directory_command): Do not clear last_source_visited. Call forget_cached_source_info only if required. (unset_substitute_path_command, set_substitute_path_command): Call forget_cached_source_info. * mi/mi-cmd-env.c (mi_cmd_env_dir): Do not call init_last_source_visited. * defs.h (init_last_source_visited): Delete declaration.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index f5127fd..94674dc 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -630,8 +630,6 @@ extern char *source_path;
extern void init_source_path (void);
-extern void init_last_source_visited (void);
-
/* From exec.c */
/* Take over the 'find_mapped_memory' vector from exec.c. */