forked from Imagelibrary/binutils-gdb
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user