https://bugs.kde.org/show_bug.cgi?id=454063

Harald Sitter <sit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/drkonqi/commit/2d1f801ea |ma/drkonqi/commit/40f8c1157
                   |4e164fa109269426311103f1af5 |9362755c5242f46ab2e257480d3
                   |ae13                        |d06e

--- Comment #10 from Harald Sitter <sit...@kde.org> ---
Git commit 40f8c11579362755c5242f46ab2e257480d3d06e by Harald Sitter.
Committed on 18/10/2022 at 22:23.
Pushed by sitter into branch 'Plasma/5.26'.

allow using debuginfod for symbol resolution with gdb12

gdb defaults to it being off.

this adds a new cmake option WITH_GDB12 to be set by distros. when this
is set (and the gdb debugger is used by drkonqi at runtime) then the
install debug symbols button gets slightly refined behavior where
instead of going to a separate tool to install symbols it will instead
run gdb with a suitable cmdline to enable debuginfod.

we still prefer the separate installer when also available.

in particular the workflow here looks like this:

- crash & user opens drkonqi
- trace happens without debuginfod
- if the trace is poor the install debug info button gets enabled
- user clicks button
- re-tracing with debuginfod enabled
- trace is now amazing and can be reported


(cherry picked from commit 2d1f801ea4e164fa109269426311103f1af5ae13)

M  +1    -0    CMakeLists.txt
M  +2    -1    src/backtracegenerator.cpp
M  +5    -0    src/backtracegenerator.h
M  +2    -0    src/config-drkonqi.h.cmake
M  +3    -0    src/data/debuggers/internal/gdbrc
M  +17   -1    src/debugger.cpp
M  +7    -1    src/debugger.h
M  +13   -3    src/qml/DeveloperPage.qml

https://invent.kde.org/plasma/drkonqi/commit/40f8c11579362755c5242f46ab2e257480d3d06e

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to