Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
b55259e2
Commit
b55259e2
authored
Jan 18, 2010
by
hjk
Browse files
debugger: use breakpoint always-inserted in trk adapter
parent
9f173ace
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/trkgdbadapter.cpp
View file @
b55259e2
...
...
@@ -1103,9 +1103,9 @@ void TrkGdbAdapter::handleTrkResult(const TrkResult &result)
// target->host OS notification
case
0xa0
:
{
// Notify Created
debugMessage
(
_
(
"RESET SNAPSHOT (NOTIFY CREATED)"
));
// Sending this ACK does not seem to make a difference. Why?
//sendTrkAck(result.token);
debugMessage
(
_
(
"RESET SNAPSHOT (NOTIFY CREATED)"
));
m_snapshot
.
reset
();
const
char
*
data
=
result
.
data
.
data
();
const
byte
error
=
result
.
data
.
at
(
0
);
...
...
@@ -1772,6 +1772,7 @@ void TrkGdbAdapter::handleCreateProcess(const TrkResult &result)
// + QByteArray::number(m_session.codeseg));
m_engine
->
postCommand
(
"symbol-file
\"
"
+
symbolFile
+
"
\"
"
);
}
m_engine
->
postCommand
(
"set breakpoint always-inserted on"
);
m_engine
->
postCommand
(
"set trust-readonly-sections"
);
// No difference?
m_engine
->
postCommand
(
"set displaced-stepping on"
);
// No difference?
m_engine
->
postCommand
(
"mem 0x00400000 0x00800000 cache"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment