debugger: fake hardware breakpoints work better with read-only memory

This commit is contained in:
hjk
2010-02-05 13:48:10 +01:00
parent 52dcc41021
commit 735b3489d4
2 changed files with 6 additions and 3 deletions

View File

@@ -2021,6 +2021,8 @@ void GdbEngine::sendInsertBreakpoint(int index)
QByteArray cmd;
if (m_isMacGdb)
cmd = "-break-insert -l -1 -f ";
else if (m_gdbAdapter->isTrkAdapter())
cmd = "-break-insert -h -f ";
else if (m_gdbVersion >= 60800) // Probably some earlier version would work as well ...
cmd = "-break-insert -f ";
else