summaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2011-05-09 21:49:54 +0000
committerDoug Evans <dje@google.com>2011-05-09 21:49:54 +0000
commitf6d55b87b1ec29286db1ee4ea415fa7ff21989fa (patch)
tree5e3a482a7a1fdd22d736366a55ddaadd94000259 /gdb/defs.h
parent100ba5663cabeeb4c710c7df6c478ab3f973cb38 (diff)
downloadgdb-f6d55b87b1ec29286db1ee4ea415fa7ff21989fa.tar.gz
* NEWS: Mention --with-iconv-bin.
* configure.ac: New option --with-iconv-bin. * configure: Regenerate. * config.in: Regenerate. * defs.h (relocate_gdb_directory): Declare. * main.c (relocate_gdb_directory): Renamed from relocate_directory, removed progname parameter, and exported. All callers updated. * charset.c (find_charset_names): Use --with-iconv-bin if specified. doc/ * gdb.texinfo (Requirements): Fix typo. Mention --with-iconv-bin.
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 089631cf3e5..4df2a3e77ef 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -282,6 +282,12 @@ struct breakpoint;
struct frame_info;
struct gdbarch;
+/* From main.c. */
+
+/* This really belong in utils.c (path-utils.c?), but it references some
+ globals that are currently only available to main.c. */
+extern char *relocate_gdb_directory (const char *initial, int flag);
+
/* From utils.c */
extern void initialize_utils (void);