Commit Graph

51 Commits

Author SHA1 Message Date
Ernie Pasveer 45336a4da7 Fix check of open return code. 2025-12-09 11:24:10 -06:00
Ernie Pasveer 286ad66689 If the RR trace directory isn't given, try a couple standard places. 2025-09-20 17:55:32 -05:00
Ernie Pasveer 0437dd1b38 Seer now saves the parameters from the DebugDialog so it can be used for the next session. 2025-09-20 12:31:41 -05:00
Ernie Pasveer b88d68afd3 Add copyright header to each source file. 2025-08-26 17:26:05 -05:00
Caspar Schutijser 7a2d6c06c0 SeerDebugDialog: offer to open '*.core' core dump files as well
Core dumps on OpenBSD are named like that.
2025-07-18 12:07:00 +02:00
Ernie Pasveer 68fd64dbc0 Add 'gdbserver debug' button in Connect launch tab. 2025-03-15 10:29:09 -05:00
Ernie Pasveer ec6077c4a0 Add remote target type to connect method (remote or extended-remote). 2025-03-08 11:17:01 -06:00
Ernie Pasveer f2420836c0 Re-add executable argument for 'connect' mode.
Some types of remote gdbserver (gdbstubs) will not load the executable.
So Seer needs to do it itself. QEMU debugging is such a case. Note,
simple use of Seer+gdbserver does not require this.
2024-01-07 09:46:53 -06:00
Ernie Pasveer 9cefa6f514 First pass at adding working-dir for connect attach. 2023-12-15 17:02:31 -06:00
Ernie Pasveer eb878e6ad5 Add --bs hellofibonacci.cpp:28 option to start/run. 2023-11-26 14:06:32 -06:00
Ernie Pasveer 49c8cb45e4 First pass at adding 'seergdb --bfs'. 2023-11-25 09:21:39 -06:00
Ernie Pasveer 12bf17f551 RR: Fixed load/save of RR project. 2023-09-04 15:53:35 -05:00
Ernie Pasveer b1c4a8ba86 RR: Finished the rework of using RR directly. 2023-09-04 15:25:40 -05:00
Ernie Pasveer 3672ac2941 RR: Add loading of breakpoints.seer. 2023-09-04 11:35:56 -05:00
Ernie Pasveer 1bda720ac0 Add run/start support for RR from Seer's menu buttons. 2023-09-04 11:02:18 -05:00
Ernie Pasveer 4df5477b13 More work with RR direct mode. 2023-09-03 22:19:45 -05:00
Ernie Pasveer 3996e63ab9 Debug dialog for "attach" mode now detects executable name and path. 2023-07-31 11:42:45 -05:00
Ernie Pasveer 9c49fb7f63 Initial iteration for Qt6 port. 2023-05-16 15:25:28 -05:00
Ernie Pasveer 7222a04130 rr: added support for RR. 2023-04-16 13:26:12 -05:00
Ernie Pasveer d5aa8f9089 rr: first attempt at adding RR support to Seer. 2023-04-15 12:36:28 -05:00
Ernie Pasveer a3fc009bae Fixed bug when restoring from project file with 'start' mode. 2023-03-15 18:11:49 -05:00
Ernie Pasveer 7a1eb561a5 Fixed loading of breakpoint mode. 2023-02-19 11:35:13 -06:00
Ernie Pasveer 60338453fe Add 'project' concept for fast loading of programs and settings. 2023-02-11 12:04:27 -06:00
Ernie Pasveer 80b194dee5 Change to Project instead of Session. Qt reserves the word Session. 2023-02-11 10:41:43 -06:00
Ernie Pasveer f94f5d8085 More work on revamping Debug dialog. 2023-02-10 15:54:45 -06:00
Ernie Pasveer a0adc94f65 More tweaks to Debug dialog. 2023-02-05 17:37:31 -06:00
Ernie Pasveer a26db4121e Checkpoint. 2023-02-05 16:44:03 -06:00
Ernie Pasveer 979e617f78 Checkpoint. 2023-01-28 14:51:31 +00:00
Ernie Pasveer dc8cafc5b2 Allow executable and symbol file for coredump debugging, 2023-01-27 20:21:08 +00:00
Ernie Pasveer f8ac84570f Added Help for Debug Dialog. 2023-01-27 18:52:15 +00:00
Ernie Pasveer 68b51b9866 Checkpoint. 2023-01-27 16:52:58 +00:00
Ernie Pasveer 47c25e6135 checkpoint 2023-01-27 16:00:12 +00:00
Ernie Pasveer 6f182b0736 Working on custom gdb commands for "connect" mode. 2023-01-20 09:11:34 -06:00
Ernie Pasveer 4c468eb3c4 Remove serial baud and parity for "connect" mode. 2023-01-16 16:58:36 -06:00
Ernie Pasveer 8728e7e2e5 Simplify Debug dialog. 2023-01-11 17:57:19 -06:00
Ernie Pasveer 3e2c29acc5 Minor gui tweaks for "connect" mode. 2023-01-08 12:35:47 -06:00
Ernie Pasveer 12877a84f9 Added alternate file to load symbols from (instead of the debugee executable). 2022-12-29 19:03:18 -06:00
Ernie Pasveer 552b37fdc8 bugfix: QButtonGroup::idClicked an QT_VER. 2022-10-02 10:35:30 -05:00
Ernie Pasveer c9c46c9212 Add gdb's "non-stop mode" when dealing with threads at breakpoints. 2022-10-01 15:41:50 -05:00
Ernie Pasveer 4a7a5c1b4c More start changes. Support break at address. 2022-07-30 17:10:26 -05:00
Ernie Pasveer 3c0a321b62 Lots of changes for starting debugger. 2022-07-30 12:02:52 -05:00
Ernie Pasveer fa5335ba68 Improve some compile warnings.
Remove "-Wdeprecated-copy". Some compilers don't support.
Support both QButtonGroup::buttonClicked() and
QButtonGroup::idClicked(), depending on which vesion of
QT is installed.
2022-05-02 19:57:17 -05:00
Ernie Pasveer e6c15037f9 Clean up code for lint errors. 2022-04-28 20:20:37 -05:00
Ernie Pasveer 4063f97aac Improved 'gdbserver' mode. 2022-04-16 10:35:32 -05:00
Ernie Pasveer 9a536b66cc Fixed enable/disable of breakpoint load file. 2022-03-29 18:01:20 -05:00
Ernie Pasveer 8464ae79a2 Add a -b argument to load a breakpoint file from the command line.
Also, add a line int the SeerDebugDialog to do the same.
2022-03-26 10:29:53 -05:00
Ernie Pasveer 1afdf82f91 Switch from __PRETTY_FUNCTION__ to qSetMessagePattern() 2022-01-20 10:40:56 -06:00
Ernie Pasveer b5b292fbed Change dialogs to use Qt's version.
The native dialogs have different behavior when dealing with
filters. Qt's behavior is well defined.
2022-01-20 09:03:39 -06:00
Ernie Pasveer 689ee4333d Add a PID browser dialog when connecting to an external program. 2021-10-16 18:37:11 -05:00
Ernie Pasveer aad63e8dc6 Fixed some deprecated function calls.
Code was calling QFontMetrics::width(), which is deprecated.
Changed code to QFontMetrics::horizontalAdvance().

Added missing include file for QPainterPath.

Added 'install' target to CMakeLists.txt
2021-09-10 15:32:23 -05:00