Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
238f5be0
Commit
238f5be0
authored
Feb 10, 2010
by
hjk
Browse files
debugger: fix call to "set trust-readonly-sections on".
Does not appear to help, though.
parent
7766646b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/gdb/trkgdbadapter.cpp
View file @
238f5be0
...
...
@@ -1843,9 +1843,10 @@ void TrkGdbAdapter::handleCreateProcess(const TrkResult &result)
}
m_engine
->
postCommand
(
"set breakpoint always-inserted on"
);
m_engine
->
postCommand
(
"set breakpoint auto-hw on"
);
m_engine
->
postCommand
(
"set trust-readonly-sections"
);
// No difference?
m_engine
->
postCommand
(
"set trust-readonly-sections
on
"
);
// No difference?
m_engine
->
postCommand
(
"set displaced-stepping on"
);
// No difference?
//m_engine->postCommand("set mem inaccessible-by-default");
m_engine
->
postCommand
(
"set remotelogfile /tmp/gdb-remotelog"
);
m_engine
->
postCommand
(
"set mem inaccessible-by-default"
);
m_engine
->
postCommand
(
"mem 0x00400000 0x00800000 cache"
);
m_engine
->
postCommand
(
"mem 0x70000000 0x80000000 cache ro"
);
// FIXME: replace with stack-cache for newer gdb?
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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