diff --git a/pkgs/kde/plasma/drkonqi/gdb-path.patch b/pkgs/kde/plasma/drkonqi/gdb-path.patch index a49816d96f7b..617b5ed017a8 100644 --- a/pkgs/kde/plasma/drkonqi/gdb-path.patch +++ b/pkgs/kde/plasma/drkonqi/gdb-path.patch @@ -1,8 +1,8 @@ diff --git a/src/data/debuggers/internal/gdbrc b/src/data/debuggers/internal/gdbrc -index 9a5c8fee..c32b1510 100644 +index 0d163d43..8e2f85f1 100644 --- a/src/data/debuggers/internal/gdbrc +++ b/src/data/debuggers/internal/gdbrc -@@ -72,17 +72,18 @@ Name[wa]=gdb +@@ -73,17 +73,18 @@ Name[wa]=gdb Name[x-test]=xxgdbxx Name[zh_CN]=gdb Name[zh_TW]=gdb @@ -16,7 +16,7 @@ index 9a5c8fee..c32b1510 100644 -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() + PreambleCommands=set width 200\nset backtrace limit 128\nsource %drkonqi_datadir/python/gdb_preamble/preamble.py\npy print_preamble() BatchCommands=thread\nthread apply all bt [coredump-core] @@ -24,5 +24,5 @@ index 9a5c8fee..c32b1510 100644 -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() + PreambleCommands=set width 200\nset backtrace limit 128\nsource %drkonqi_datadir/python/gdb_preamble/preamble.py\npy print_preamble() BatchCommands=thread\nthread apply all bt