aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2011-05-09 21:49:57 +0000
committerDoug Evans <dje@google.com>2011-05-09 21:49:57 +0000
commit478aac75e4114810db639e06a13e15547ec49e3d (patch)
treef9952574ed7f284c1a30ff2052208d9e398fa0fa /gdb/defs.h
parent673c2bbeab36a7240fc8b85e696fbad249fbf408 (diff)
downloadgdb-478aac75e4114810db639e06a13e15547ec49e3d.zip
gdb-478aac75e4114810db639e06a13e15547ec49e3d.tar.gz
gdb-478aac75e4114810db639e06a13e15547ec49e3d.tar.bz2
* 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 089631c..4df2a3e 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);