diff options
author | Tom Tromey <tom@tromey.com> | 2023-10-21 15:22:09 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-01-08 18:40:21 -0700 |
commit | 9b595a264168cdd950c19dafe4663ca25d22234b (patch) | |
tree | 9f4060d4320eead8bd16d625e0c54271a169b2b6 /gdb/doc | |
parent | a274da12ea9a4ea8bbb75489845c53be268fb450 (diff) | |
download | gdb-9b595a264168cdd950c19dafe4663ca25d22234b.zip gdb-9b595a264168cdd950c19dafe4663ca25d22234b.tar.gz gdb-9b595a264168cdd950c19dafe4663ca25d22234b.tar.bz2 |
Add "maint set dwarf synchronous"
For testing, it's sometimes convenient to be able to request that
DWARF reading be done synchronously. This patch adds a new "maint"
setting for this purpose.
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/gdb.texinfo | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 4ada257..8e5922f 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -41833,6 +41833,24 @@ compilation units will be stored in memory longer, and more total memory will be used. Setting it to zero disables caching, which will slow down @value{GDBN} startup, but reduce memory consumption. +@kindex maint set dwarf synchronous +@kindex maint show dwarf synchronous +@item maint set dwarf synchronous +@itemx maint show dwarf synchronous +Control whether DWARF is read asynchronously. + +On hosts where threading is available, the DWARF reader is mostly +asynchronous with respect to the rest of @value{GDBN}. That is, the +bulk of the reading is done in the background, and @value{GDBN} will +only pause for completion of this task when absolutely necessary. + +When this setting is enabled, @value{GDBN} will instead wait for DWARF +processing to complete before continuing. + +On hosts without threading, or where worker threads have been disabled +at runtime, this setting has no effect, as DWARF reading is always +done on the main thread, and is therefore always synchronous. + @kindex maint set dwarf unwinders @kindex maint show dwarf unwinders @item maint set dwarf unwinders |