projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implementing catch syscall.
[deliverable/binutils-gdb.git]
/
gdb
/
i386-linux-nat.c
diff --git
a/gdb/i386-linux-nat.c
b/gdb/i386-linux-nat.c
index 991b27fdd8ade3dfaab9fef61285734f01a8414e..fe848ff6460e3755d40767c1fed3a49d41691541 100644
(file)
--- a/
gdb/i386-linux-nat.c
+++ b/
gdb/i386-linux-nat.c
@@
-752,7
+752,12
@@
i386_linux_resume (struct target_ops *ops,
{
int pid = PIDGET (ptid);
- int request = PTRACE_CONT;
+ int request;
+
+ if (catch_syscall_enabled () > 0)
+ request = PTRACE_SYSCALL;
+ else
+ request = PTRACE_CONT;
if (step)
{
This page took
0.024868 seconds
and
4
git commands to generate.