Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-drkonqi5
0001-Using-a-different-set-of-the-external-debu...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Using-a-different-set-of-the-external-debugger-confi.patch of Package mingw32-drkonqi5
From 765cbb801109199c2dd24830a52f08e393af0b0e Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Mon, 26 Jul 2021 09:28:28 +0200 Subject: [PATCH] Using a different set of the external debugger configuration on Windows The configuration file provided by the external subdirectory depends on the 'konsole' application, which is not available on Windows. BUG:440113 FIXED-IN:5.22.4 --- src/data/debuggers/external.win/cdbrc | 44 ++++++++++++++ src/data/debuggers/external.win/gdbrc | 79 ++++++++++++++++++++++++++ src/data/debuggers/external.win/kdbgrc | 78 +++++++++++++++++++++++++ src/data/debuggers/external.win/lldbrc | 45 +++++++++++++++ src/debugger.cpp | 4 ++ 5 files changed, 250 insertions(+) create mode 100644 src/data/debuggers/external.win/cdbrc create mode 100644 src/data/debuggers/external.win/gdbrc create mode 100644 src/data/debuggers/external.win/kdbgrc create mode 100644 src/data/debuggers/external.win/lldbrc diff --git a/src/data/debuggers/external.win/cdbrc b/src/data/debuggers/external.win/cdbrc new file mode 100644 index 00000000..350b8e61 --- /dev/null +++ b/src/data/debuggers/external.win/cdbrc @@ -0,0 +1,44 @@ +[General] +Name=cdb +Name[ast]=cdb +Name[az]=cdb +Name[ca]=cdb +Name[ca@valencia]=cdb +Name[cs]=cdb +Name[da]=cdb +Name[de]=cdb +Name[el]=cdb +Name[en_GB]=cdb +Name[es]=cdb +Name[et]=cdb +Name[eu]=cdb +Name[fi]=cdb +Name[fr]=cdb +Name[gl]=cdb +Name[hu]=cdb +Name[ia]=cdb +Name[id]=cdb +Name[it]=cdb +Name[ko]=cdb +Name[lt]=cdb +Name[nl]=cdb +Name[nn]=cdb +Name[pa]=cdb +Name[pl]=cdb +Name[pt]=cdb +Name[pt_BR]=cdb +Name[ro]=cdb +Name[ru]=cdb +Name[sk]=cdb +Name[sl]=cdb +Name[sv]=cdb +Name[tg]=cdb +Name[uk]=cdb +Name[x-test]=xxcdbxx +Name[zh_CN]=cdb +Name[zh_TW]=cdb +TryExec=cdb +Backends=KCrash + +[KCrash] +Exec=cdb -p %pid -lines -c "~*kv; q" diff --git a/src/data/debuggers/external.win/gdbrc b/src/data/debuggers/external.win/gdbrc new file mode 100644 index 00000000..395afb87 --- /dev/null +++ b/src/data/debuggers/external.win/gdbrc @@ -0,0 +1,79 @@ +[General] +Name=gdb +Name[ast]=gdb +Name[az]=gdb +Name[bg]=gdb +Name[bn]=gdb +Name[bs]=gDB +Name[ca]=gdb +Name[ca@valencia]=gdb +Name[cs]=gdb +Name[csb]=gdb +Name[da]=gdb +Name[de]=gdb +Name[el]=gdb +Name[en_GB]=gdb +Name[eo]=gdb +Name[es]=gdb +Name[et]=gdb +Name[eu]=gdb +Name[fa]=gdb +Name[fi]=gdb +Name[fr]=gdb +Name[fy]=gdb +Name[ga]=gdb +Name[gl]=gdb +Name[gu]=gdb +Name[he]=gdb +Name[hi]=gdb +Name[hr]=gdb +Name[hu]=gdb +Name[ia]=gdb +Name[id]=gdb +Name[is]=gdb +Name[it]=gdb +Name[ka]=gdb +Name[kk]=gdb +Name[km]=gdb +Name[kn]=gdb +Name[ko]=gdb +Name[lt]=gdb +Name[lv]=gdb +Name[mai]=gdb +Name[mk]=gdb +Name[ml]=ജിഡിബി +Name[mr]=gdb +Name[nb]=gdb +Name[nds]=GDB +Name[nl]=gdb +Name[nn]=gdb +Name[pa]=gdb +Name[pl]=gdb +Name[pt]=gdb +Name[pt_BR]=gdb +Name[ro]=gdb +Name[ru]=gdb +Name[si]=gdb +Name[sk]=gdb +Name[sl]=gdb +Name[sr]=ГДБ +Name[sr@ijekavian]=ГДБ +Name[sr@ijekavianlatin]=GDB +Name[sr@latin]=GDB +Name[sv]=gdb +Name[tg]=gdb +Name[th]=gdb +Name[tr]=gdb +Name[ug]=gdb +Name[uk]=gdb +Name[vi]=gdb +Name[wa]=gdb +Name[x-test]=xxgdbxx +Name[zh_CN]=gdb +Name[zh_TW]=gdb +TryExec=gdb +Backends=KCrash + +[KCrash] +Exec=gdb -nw -p %pid %execpath +Terminal=true diff --git a/src/data/debuggers/external.win/kdbgrc b/src/data/debuggers/external.win/kdbgrc new file mode 100644 index 00000000..928b3c87 --- /dev/null +++ b/src/data/debuggers/external.win/kdbgrc @@ -0,0 +1,78 @@ +[General] +Name=kdbg +Name[ast]=kdbg +Name[az]=kdbg +Name[bg]=kdbg +Name[bn]=kdbg +Name[bs]=kdbg +Name[ca]=kdbg +Name[ca@valencia]=kdbg +Name[cs]=kdbg +Name[csb]=kdbg +Name[da]=kdbg +Name[de]=kdbg +Name[el]=kdbg +Name[en_GB]=kdbg +Name[eo]=kdbg +Name[es]=kdbg +Name[et]=kdbg +Name[eu]=kdbg +Name[fa]=kdbg +Name[fi]=kdbg +Name[fr]=kdbg +Name[fy]=kdbg +Name[ga]=kdbg +Name[gl]=kdbg +Name[gu]=kdbg +Name[he]=kdbg +Name[hi]=kdbg +Name[hr]=kdbg +Name[hu]=kdbg +Name[ia]=kdbg +Name[id]=kdbg +Name[is]=kdbg +Name[it]=kdbg +Name[ka]=kdbg +Name[kk]=kdbg +Name[km]=kdbg +Name[kn]=kdbg +Name[ko]=kdbg +Name[lt]=kdbg +Name[lv]=kdbg +Name[mai]=kdbg +Name[mk]=kdbg +Name[ml]=കെഡിബിജി +Name[mr]=kdbg +Name[nb]=kdbg +Name[nds]=KDbg +Name[nl]=kdbg +Name[nn]=kdbg +Name[pa]=kdbg +Name[pl]=kdbg +Name[pt]=kdbg +Name[pt_BR]=kdbg +Name[ro]=kdbg +Name[ru]=kdbg +Name[si]=kdbg +Name[sk]=kdbg +Name[sl]=kdbg +Name[sr]=Кдбг +Name[sr@ijekavian]=Кдбг +Name[sr@ijekavianlatin]=KDbg +Name[sr@latin]=KDbg +Name[sv]=kdbg +Name[tg]=kdbg +Name[th]=kdbg +Name[tr]=kdbg +Name[ug]=kdbg +Name[uk]=kdbg +Name[vi]=kdbg +Name[wa]=kdbg +Name[x-test]=xxkdbgxx +Name[zh_CN]=kdbg +Name[zh_TW]=kdbg +TryExec=kdbg +Backends=KCrash + +[KCrash] +Exec=kdbg -p %pid %execpath diff --git a/src/data/debuggers/external.win/lldbrc b/src/data/debuggers/external.win/lldbrc new file mode 100644 index 00000000..cd32ca0f --- /dev/null +++ b/src/data/debuggers/external.win/lldbrc @@ -0,0 +1,45 @@ +[General] +Name=lldb +Name[ast]=lldb +Name[az]=lldb +Name[ca]=lldb +Name[ca@valencia]=lldb +Name[cs]=lldb +Name[da]=lldb +Name[de]=lldb +Name[el]=lldb +Name[en_GB]=lldb +Name[es]=lldb +Name[et]=lldb +Name[eu]=lldb +Name[fi]=lldb +Name[fr]=lldb +Name[gl]=lldb +Name[hu]=lldb +Name[ia]=lldb +Name[id]=lldb +Name[it]=lldb +Name[ko]=lldb +Name[lt]=lldb +Name[nl]=lldb +Name[nn]=lldb +Name[pa]=lldb +Name[pl]=lldb +Name[pt]=lldb +Name[pt_BR]=lldb +Name[ro]=lldb +Name[ru]=lldb +Name[sk]=lldb +Name[sl]=lldb +Name[sv]=lldb +Name[tg]=lldb +Name[uk]=lldb +Name[x-test]=xxlldbxx +Name[zh_CN]=lldb +Name[zh_TW]=lldb +TryExec=lldb +Backends=KCrash + +[KCrash] +Exec=lldb -p %pid +Terminal=true diff --git a/src/debugger.cpp b/src/debugger.cpp index e663c6a9..65622e6a 100644 --- a/src/debugger.cpp +++ b/src/debugger.cpp @@ -35,7 +35,11 @@ QList<Debugger> Debugger::availableInternalDebuggers(const QString & backend) //static QList<Debugger> Debugger::availableExternalDebuggers(const QString & backend) { +#ifdef Q_OS_WIN + return availableDebuggers(QStringLiteral("debuggers/external.win"), backend); +#else return availableDebuggers(QStringLiteral("debuggers/external"), backend); +#endif } bool Debugger::isValid() const -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor