summaryrefslogtreecommitdiff
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
commit7569638bc9b2dd0c23129dd1698f158a0110f674 (patch)
treeacb4038ed02aad8740c9f1fe9f8d76b707d8649f /gdb/defs.h
parentbcba3ce6539acde23f6478b4f8a32f74f04c791f (diff)
downloadgdb-7569638bc9b2dd0c23129dd1698f158a0110f674.tar.gz
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 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 */