Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

43 possible change to run to line #188

Merged
merged 4 commits into from
Nov 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@

# Seer Change Log

## [2.4beta] - 2023-XX-XX
* Prepare for the 2.4 release cycle.
* Fixed string compares for breakpoint conditions (#184)

## [2.3] - 2023-11-19
* In the margins of the source windows, allow CTRL+DoubleClick to do a quick RunToLine or RunToAddress.
* Add --gdb-program and --gdb-arguments to command line to override settings from Seer's config.
Expand Down
4 changes: 2 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
seergdb (2.3) UNRELEASED; urgency=medium
seergdb (2.4beta) UNRELEASED; urgency=medium

* Release Seer version 2.3
* Release Seer version 2.4beta

-- Ernie Pasveer <[email protected]> Sun, 11 Nov 2023 22:18:38 +0200

2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.1.0)

project(seergdb VERSION 2.3 LANGUAGES CXX)
project(seergdb VERSION 2.4.0 LANGUAGES CXX)

set(PROJECT_NAME seergdb)

Expand Down
30 changes: 28 additions & 2 deletions src/SeerDebugDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ SeerDebugDialog::SeerDebugDialog (QWidget* parent) : QDialog(parent) {
// Set up the UI.
setupUi(this);

buttonBox->button(QDialogButtonBox::Ok)->setText("Launch");

// Setup the widgets
setExecutableName("");
setExecutableSymbolName("");
Expand Down Expand Up @@ -158,9 +160,13 @@ void SeerDebugDialog::setBreakpointMode (const QString& mode) {
}else if (mode == "infunction") {
breakpointInFunctionRadioButton->setChecked(true);
return;
}else if (mode == "insource") {
breakpointAtSourceRadioButton->setChecked(true);
return;
}

noBreakpointRadioButton->setChecked(true);
// Default of "inmain".
breakpointInMainRadioButton->setChecked(true);
}

QString SeerDebugDialog::breakpointMode () const {
Expand All @@ -171,19 +177,39 @@ QString SeerDebugDialog::breakpointMode () const {
return "inmain";
}else if (breakpointInFunctionRadioButton->isChecked()) {
return "infunction";
}else if (breakpointAtSourceRadioButton->isChecked()) {
return "insource";
}

return "none";
return "inmain";
}

void SeerDebugDialog::setBreakpointFunctionName (const QString& nameoraddress) {

breakpointInFunctionLineEdit->setText(nameoraddress);

if (nameoraddress != "") {
breakpointInFunctionRadioButton->setChecked(true);
}
}

QString SeerDebugDialog::breakpointFunctionName () const {
return breakpointInFunctionLineEdit->text();
}

void SeerDebugDialog::setBreakpointSourceName (const QString& sourceFilenameAndLineno) {

breakpointAtSourceLineEdit->setText(sourceFilenameAndLineno);

if (sourceFilenameAndLineno != "") {
breakpointAtSourceRadioButton->setChecked(true);
}
}

QString SeerDebugDialog::breakpointSourceName () const {
return breakpointAtSourceLineEdit->text();
}

void SeerDebugDialog::setShowAssemblyTab (bool flag) {
showAsseblyTabCheckBox->setChecked(flag);
}
Expand Down
2 changes: 2 additions & 0 deletions src/SeerDebugDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ class SeerDebugDialog : public QDialog, protected Ui::SeerDebugDialogForm {
QString breakpointMode () const;
void setBreakpointFunctionName (const QString& nameoraddress);
QString breakpointFunctionName () const;
void setBreakpointSourceName (const QString& sourceFilenameAndLineno);
QString breakpointSourceName () const;
void setShowAssemblyTab (bool flag);
bool showAssemblyTab () const;
void setRandomizeStartAddress (bool flag);
Expand Down
Loading