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
7bcac797
Commit
7bcac797
authored
Dec 01, 2010
by
Arvid Ephraim Picciani
Browse files
lldb: exit guest on EOF
parent
cac3b4b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/lldb/guest/main.cpp
View file @
7bcac797
...
...
@@ -88,6 +88,8 @@ private slots:
QByteArray
a
;
a
.
resize
(
1000
);
int
ret
=
::
read
(
fileno
(
stdin
),
a
.
data
(),
1000
);
if
(
ret
==
0
)
::
exit
(
0
);
assert
(
ret
<=
1000
);
D_STDIO1
(
"activated %i"
,
ret
);
a
.
resize
(
ret
);
...
...
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