aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-12-13 17:55:49 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-12-13 17:55:49 +0000
commitc04e0a08c9ced78d9a762969c584e64b5eca1d7a (patch)
tree298fe8023addbc7e510f87c3bb9d98985e4748d5 /gdb/defs.h
parent068890be59b98a2f5e269cbc070f6d3f36676aca (diff)
downloadgdb-c04e0a08c9ced78d9a762969c584e64b5eca1d7a.zip
gdb-c04e0a08c9ced78d9a762969c584e64b5eca1d7a.tar.gz
gdb-c04e0a08c9ced78d9a762969c584e64b5eca1d7a.tar.bz2
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.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 3ac3d9a..9aa604c 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 */