From c04e0a08c9ced78d9a762969c584e64b5eca1d7a Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 13 Dec 2002 17:55:49 +0000 Subject: 2002-12-13 Jeff Johnston * defs.h (init_last_source_visited): New prototype. (add_path): Ditto. * source.c (add_path): New function that adds to a specified path. (mod_path): Change to call add_path. (init_last_source_visited): New function to allow interfaces to initialize static variable: last_source_visited. Part of fix for PR gdb/741. * Makefile.in: Add support for mi/mi-cmd-env.c. --- gdb/defs.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gdb/defs.h') diff --git a/gdb/defs.h b/gdb/defs.h index 3ac3d9a5d60..9aa604cf632 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -572,10 +572,16 @@ extern int source_full_path_of (char *, char **); extern void mod_path (char *, char **); +extern void add_path (char *, char **, int); + extern void directory_command (char *, int); +extern char *source_path; + extern void init_source_path (void); +extern void init_last_source_visited (void); + extern char *symtab_to_filename (struct symtab *); /* From exec.c */ -- cgit v1.2.1