Skip to content

Commit

Permalink
Disable asm.dwarf
Browse files Browse the repository at this point in the history
This commit sets the asm.dwarf option to false by default and adds a
checkbox in the configuration menu to enable it.
  • Loading branch information
Antide committed Feb 14, 2021
1 parent 8f89d16 commit 998e867
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/common/Configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ static const QHash<QString, QVariant> asmOptions = { { "asm.esil", false },
{ "asm.flags.real", true },
{ "asm.reloff", false },
{ "asm.reloff.flags", false },
{ "asm.dwarf", false },
{ "esil.breakoninvalid", true },
{ "graph.offset", false } };

Expand Down
1 change: 1 addition & 0 deletions src/dialogs/preferences/AsmOptionsWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ AsmOptionsWidget::AsmOptionsWidget(PreferencesDialog *dialog)
{ ui->fcnlinesCheckBox, "asm.lines.fcn" },
{ ui->flgoffCheckBox, "asm.flags.offset" },
{ ui->emuCheckBox, "asm.emu" },
{ ui->dwarfCheckBox, "asm.dwarf" },
{ ui->emuStrCheckBox, "emu.str" },
{ ui->varsumCheckBox, "asm.var.summary" },
{ ui->sizeCheckBox, "asm.size" },
Expand Down
7 changes: 7 additions & 0 deletions src/dialogs/preferences/AsmOptionsWidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,13 @@
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="dwarfCheckBox">
<property name="text">
<string>Show dwarf information (asm.dwarf)</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="sizeCheckBox">
<property name="text">
Expand Down

0 comments on commit 998e867

Please sign in to comment.