29 lines
1.6 KiB
Diff
29 lines
1.6 KiB
Diff
|
diff --git a/src/data/debuggers/internal/gdbrc b/src/data/debuggers/internal/gdbrc
|
||
|
index 9a5c8fee..c32b1510 100644
|
||
|
--- a/src/data/debuggers/internal/gdbrc
|
||
|
+++ b/src/data/debuggers/internal/gdbrc
|
||
|
@@ -72,17 +72,18 @@ Name[wa]=gdb
|
||
|
Name[x-test]=xxgdbxx
|
||
|
Name[zh_CN]=gdb
|
||
|
Name[zh_TW]=gdb
|
||
|
-TryExec=gdb
|
||
|
+TryExec=@gdb@
|
||
|
+CodeName=gdb
|
||
|
Backends=KCrash|coredump-core
|
||
|
|
||
|
[KCrash]
|
||
|
-Exec=gdb -nw -n -batch -x %preamblefile -x %tempfile -p %pid %execpath
|
||
|
-ExecWithSymbolResolution=gdb -nw -n -batch --init-eval-command='set debuginfod enabled on' -x %preamblefile -x %tempfile -p %pid %execpath
|
||
|
+Exec=@gdb@ -nw -n -batch -x %preamblefile -x %tempfile -p %pid %execpath
|
||
|
+ExecWithSymbolResolution=@gdb@ -nw -n -batch --init-eval-command='set debuginfod enabled on' -x %preamblefile -x %tempfile -p %pid %execpath
|
||
|
PreambleCommands=set width 200\nsource %drkonqi_datadir/python/gdb_preamble/preamble.py\npy print_preamble()
|
||
|
BatchCommands=thread\nthread apply all bt
|
||
|
|
||
|
[coredump-core]
|
||
|
-Exec=gdb --nw --nx --batch --command=%preamblefile --command=%tempfile --core=%corefile %execpath
|
||
|
-ExecWithSymbolResolution=gdb --nw --nx --batch --init-eval-command='set debuginfod enabled on' --command=%preamblefile --command=%tempfile --core=%corefile %execpath
|
||
|
+Exec=@gdb@ --nw --nx --batch --command=%preamblefile --command=%tempfile --core=%corefile %execpath
|
||
|
+ExecWithSymbolResolution=@gdb@ --nw --nx --batch --init-eval-command='set debuginfod enabled on' --command=%preamblefile --command=%tempfile --core=%corefile %execpath
|
||
|
PreambleCommands=set width 200\nsource %drkonqi_datadir/python/gdb_preamble/preamble.py\npy print_preamble()
|
||
|
BatchCommands=thread\nthread apply all bt
|