| commit | 0a008773c59bd80f80c02220537317c865546aca | [log] [tgz] |
|---|---|---|
| author | Tom Tromey <tom@tromey.com> | Wed Mar 29 10:55:13 2023 -0600 |
| committer | Tom Tromey <tom@tromey.com> | Mon Jan 08 18:40:22 2024 -0700 |
| tree | 14036ebe5238352b58bd9f4466f92cda2b058aae | |
| parent | c83a2802182b3da5d1080425ded0700b3af27f6b [diff] |
Lazy language setting When gdb starts up with a symbol file, it uses the program's "main" to decide the "static context" and the initial language. With background DWARF reading, this means that gdb has to wait for a significant amount of DWARF to be read synchronously. This patch introduces lazy language setting. The idea here is that in many cases, the prompt can show up early, making gdb feel more responsive.