Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Hunger
qt-creator
Commits
1dab2383
Commit
1dab2383
authored
14 years ago
by
hjk
Browse files
Options
Downloads
Patches
Plain Diff
debugger: add some comment on 'set target-async' weirdness
parent
571d40a6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/debugger/gdb/remotegdbserveradapter.cpp
+14
-0
14 additions, 0 deletions
src/plugins/debugger/gdb/remotegdbserveradapter.cpp
with
14 additions
and
0 deletions
src/plugins/debugger/gdb/remotegdbserveradapter.cpp
+
14
−
0
View file @
1dab2383
...
@@ -184,6 +184,20 @@ void RemoteGdbServerAdapter::setupInferior()
...
@@ -184,6 +184,20 @@ void RemoteGdbServerAdapter::setupInferior()
if
(
!
args
.
isEmpty
())
if
(
!
args
.
isEmpty
())
m_engine
->
postCommand
(
"-exec-arguments "
+
args
.
toLocal8Bit
());
m_engine
->
postCommand
(
"-exec-arguments "
+
args
.
toLocal8Bit
());
// This has to be issued before 'target remote'. On pre-7.0 the
// command is not present and will result in ' No symbol table is
// loaded. Use the "file" command.' as gdb tries to set the
// value of a variable with name 'target-async'.
//
// Testing with -list-target-features which was introduced at
// the same time would not work either, as this need an existing
// target.
//
// Using it even without a target and having it fail might still
// be better as:
// Some external comment: '[but] "set target-async on" with a native
// windows gdb will work, but then fail when you actually do
// "run"/"attach", I think..
m_engine
->
postCommand
(
"set target-async on"
,
CB
(
handleSetTargetAsync
));
m_engine
->
postCommand
(
"set target-async on"
,
CB
(
handleSetTargetAsync
));
if
(
fileName
.
isEmpty
())
{
if
(
fileName
.
isEmpty
())
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment