mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Use uppercase for program counter name
This commit is contained in:
parent
c15cac1cba
commit
d197339665
@ -490,7 +490,7 @@ void DisassemblyContextMenu::aboutToShowSlot()
|
||||
|
||||
// Only show debug options if we are currently debugging
|
||||
debugMenu->menuAction()->setVisible(Core()->currentlyDebugging);
|
||||
QString progCounterName = Core()->getRegisterName("PC");
|
||||
QString progCounterName = Core()->getRegisterName("PC").toUpper();
|
||||
actionSetPC.setText("Set " + progCounterName + " here");
|
||||
|
||||
}
|
||||
@ -726,7 +726,7 @@ void DisassemblyContextMenu::on_actionContinueUntil_triggered()
|
||||
void DisassemblyContextMenu::on_actionSetPC_triggered()
|
||||
{
|
||||
QString progCounterName = Core()->getRegisterName("PC");
|
||||
Core()->setRegister(progCounterName, RAddressString(offset));
|
||||
Core()->setRegister(progCounterName, RAddressString(offset).toUpper());
|
||||
}
|
||||
|
||||
void DisassemblyContextMenu::on_actionAddComment_triggered()
|
||||
|
Loading…
Reference in New Issue
Block a user