diff options
author | Tom Tromey <tromey@redhat.com> | 2009-04-23 21:28:16 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2009-04-23 21:28:16 +0000 |
commit | 7cf3956abffb5b35508e4d2dcda4a170819458cf (patch) | |
tree | 11257bbb0033f85ab45c5a68645ae114eda71cd5 /gdb/README | |
parent | 74d014327a14fc6f8e891e1544514341e347f9cb (diff) | |
download | gdb-7cf3956abffb5b35508e4d2dcda4a170819458cf.tar.gz |
gdb
2009-04-23 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
Tom Tromey <tromey@redhat.com>
* configure, config.in: Regenerate.
* configure.ac: Support for relocatable GDB datadir. Use
GDB_AC_WITH_DIR. Always define TARGET_SYSTEM_ROOT_RELOCATABLE.
* acinclude.m4 (GDB_AC_WITH_DIR): New defun.
* top.c (init_main): Add "set data-directory".
* defs.h (gdb_datadir): Declare.
* main.c (gdb_datadir): New global.
(captured_main): Initialize gdb_datadir. Use relocate_directory.
(relocate_path): New function.
(relocate_directory): Likewise.
(get_init_files): Use relocate_path.
(README): Mention --with-gdb-datadir.
gdb/doc
2009-04-23 Tom Tromey <tromey@redhat.com>
* gdb.texinfo (Data Files): New node.
(GDB Files): Update menu.
Diffstat (limited to 'gdb/README')
-rw-r--r-- | gdb/README | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/README b/gdb/README index cc16ecd3207..868cbb51dd8 100644 --- a/gdb/README +++ b/gdb/README @@ -436,6 +436,11 @@ prefer; but you may abbreviate option names if you use `--'. Same as `--host=HOST'. If you omit this, GDB will guess; it's quite accurate. +`--with-gdb-datadir=PATH' + Set the GDB-specific data directory. GDB will look here for + certain supporting files or scripts. This defaults to the `gdb' + subdirectory of `datadir' (which can be set using `--datadir'). + `configure' accepts other options, for compatibility with configuring other GNU tools recursively; but these are the only options that affect GDB or its supporting libraries. |