aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-07-20 17:38:05 +0000
committerDoug Evans <dje@google.com>2012-07-20 17:38:05 +0000
commite615022aba277cd9a14aa70e2458680e152849fa (patch)
treee7f46d44fada0e2f7fb9b16b8f4653f6df98ed5f /gdb/NEWS
parent64776a0b2d88d40f308304194d26b766bb12b7e3 (diff)
downloadgdb-e615022aba277cd9a14aa70e2458680e152849fa.zip
gdb-e615022aba277cd9a14aa70e2458680e152849fa.tar.gz
gdb-e615022aba277cd9a14aa70e2458680e152849fa.tar.bz2
* NEWS: Document new options "set/show use-deprecated-index-sections",
and delete reference to --use-deprecated-index-sections. * symfile.h (use_deprecated_index_sections): Delete. * dwarf2read.c (use_deprecated_index_sections): Make static. (read_index_from_section): Update wording of how to load deprecated index sections. (_initialize_dwarf2_read): New options "set/show use-deprecated-index-sections". * main.c (captured_main): Delete --use-deprecated-index-sections. doc/ * gdb.texinfo (Mode Options): Delete --use-deprecated-index-sections. (Index Files): Document how to control the use of deprecated index sections. (Index Section Format): Replace --use-deprecated-index-sections with "set use-deprecated-index-sections on".
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS14
1 files changed, 9 insertions, 5 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index f65dd0b..3333810 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -114,11 +114,11 @@
* The .gdb_index section has been updated to include symbols for
inlined functions. GDB will ignore older .gdb_index sections by
default, which could cause symbol files to be loaded more slowly
- until their .gdb_index sections can be recreated. The new option
- --use-deprecated-index-sections will cause GDB to use any older
- .gdb_index sections it finds. This will restore performance, but
- the ability to set breakpoints on inlined functions will be lost
- in symbol files with older .gdb_index sections.
+ until their .gdb_index sections can be recreated. The new command
+ "set use-deprecated-index-sections on" will cause GDB to use any older
+ .gdb_index sections it finds. This will restore performance, but the
+ ability to set breakpoints on inlined functions will be lost in symbol
+ files with older .gdb_index sections.
The .gdb_index section has also been updated to record more information
about each symbol. This speeds up the "info variables", "info functions"
@@ -139,6 +139,10 @@
* New commands
+ ** "set use-deprecated-index-sections on|off"
+ "show use-deprecated-index-sections on|off"
+ Controls the use of deprecated .gdb_index sections.
+
** "catch load" and "catch unload" can be used to stop when a shared
library is loaded or unloaded, respectively.