Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gdbserver
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
redox-os
gdbserver
Commits
7edaeb06
Verified
Commit
7edaeb06
authored
Jun 22, 2020
by
jD91mZM2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use new STOP_EXEC feature
parent
cf91ce24
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Cargo.toml
Cargo.toml
+2
-1
src/os/redox.rs
src/os/redox.rs
+1
-1
No files found.
Cargo.toml
View file @
7edaeb06
...
...
@@ -14,5 +14,6 @@ log = "0.4.8"
[target.'cfg(target_os
=
"linux"
)
'.dependencies]
libc
=
"0.2.62"
[target.'cfg(target_os
=
"redox"
)
'.dependencies]
redox_syscall
=
{
git
=
"https://gitlab.redox-os.org/redox-os/syscall"
}
# redox_syscall = { git = "https://gitlab.redox-os.org/redox-os/syscall" }
redox_syscall
=
{
git
=
"https://gitlab.redox-os.org/jD91mZM2/syscall"
,
branch
=
"ptrace-fexec"
}
strace
=
{
git
=
"https://gitlab.redox-os.org/redox-os/strace-redox"
}
src/os/redox.rs
View file @
7edaeb06
...
...
@@ -119,7 +119,7 @@ impl super::Target for Os {
// TODO: Don't stop only on syscall, stop on first instruction.
// Single-stepping doesn't work across fexec yet for some reason.
// e!(tracer.next(strace::Flags::STOP_SINGLESTEP));
e!
(
tracer
.next
(
strace
::
Flags
::
STOP_
POST_SYSCALL
));
e!
(
tracer
.next
(
strace
::
Flags
::
STOP_
EXEC
));
Ok
(
Os
{
pid
,
...
...
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