Download raw body.
devel/seergdb: show *.core files in Open File dialog
Hi,
When selecting a core dump file in seergdb, by default it only shows
files named 'core.*' or 'core'. This patch adds '*.core' files so that
we can select core dumps as they are named op OpenBSD.
Comments or OKs?
Caspar
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/seergdb/Makefile,v
diff -u -p -r1.2 Makefile
--- Makefile 16 Jul 2025 04:59:48 -0000 1.2
+++ Makefile 18 Jul 2025 08:56:36 -0000
@@ -2,6 +2,7 @@ COMMENT= graphical front-end to GDB
V= 2.5
PKGNAME= seergdb-$V
+REVISION= 0
GH_ACCOUNT= epasveer
GH_PROJECT= seer
Index: patches/patch-src_SeerDebugDialog_cpp
===================================================================
RCS file: patches/patch-src_SeerDebugDialog_cpp
diff -N patches/patch-src_SeerDebugDialog_cpp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_SeerDebugDialog_cpp 18 Jul 2025 08:56:36 -0000
@@ -0,0 +1,12 @@
+Index: src/SeerDebugDialog.cpp
+--- src/SeerDebugDialog.cpp.orig
++++ src/SeerDebugDialog.cpp
+@@ -431,7 +431,7 @@ void SeerDebugDialog::handleLoadBreakpointsFilenameToo
+
+ void SeerDebugDialog::handleLoadCoreFilenameToolButton () {
+
+- QString name = QFileDialog::getOpenFileName(this, "Select a core file to debug.", coreFilename(), "Core Files (core core.*)", nullptr, QFileDialog::DontUseNativeDialog);
++ QString name = QFileDialog::getOpenFileName(this, "Select a core file to debug.", coreFilename(), "Core Files (core core.* *.core)", nullptr, QFileDialog::DontUseNativeDialog);
+
+ if (name != "") {
+ setCoreFilename(name);
devel/seergdb: show *.core files in Open File dialog