2002-12-13 Jeff Johnston <jjohnstn@redhat.com>

* 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.
This commit is contained in:
Jeff Johnston
2002-12-13 17:55:49 +00:00
parent 068890be59
commit c04e0a08c9
4 changed files with 53 additions and 6 deletions

View File

@@ -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 */