Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 150183 Details for
Bug 232371
SELinux: problem debugging bind.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
gdb-6.6-5 debugging patch I did not intend to ever publish.
gdb-6.6-5-lwp-debug.patch (text/plain), 1.74 KB, created by
Jan Kratochvil
on 2007-03-15 23:17:31 UTC
(
hide
)
Description:
gdb-6.6-5 debugging patch I did not intend to ever publish.
Filename:
MIME Type:
Creator:
Jan Kratochvil
Created:
2007-03-15 23:17:31 UTC
Size:
1.74 KB
patch
obsolete
>diff -u -rup gdb-6.6/gdb/linux-nat.c gdb-6.6-patched/gdb/linux-nat.c >--- gdb-6.6/gdb/linux-nat.c 2007-03-15 19:14:49.000000000 -0400 >+++ gdb-6.6-patched/gdb/linux-nat.c 2007-03-15 09:52:04.000000000 -0400 >@@ -989,6 +989,7 @@ lin_lwp_attach_lwp (ptid_t ptid, int ver > pid_t pid; > int status; > >+fprintf(stderr,"ptrace(PTRACE_ATTACH,%d (pid=%d,lwp=%d,tid=%d)\n",(int)GET_LWP (ptid),(int)ptid.pid,(int)ptid.lwp,(int)ptid.tid); > if (ptrace (PTRACE_ATTACH, GET_LWP (ptid), 0, 0) < 0) > { > /* If we fail to attach to the thread, issue a warning, >@@ -1001,8 +1002,10 @@ lin_lwp_attach_lwp (ptid_t ptid, int ver > return -1; > } > >+fprintf(stderr,"lp before=%p\n",lp); > if (lp == NULL) > lp = add_lwp (ptid); >+fprintf(stderr,"lp after=%p\n",lp); > > if (debug_linux_nat) > fprintf_unfiltered (gdb_stdlog, >@@ -1010,16 +1013,20 @@ lin_lwp_attach_lwp (ptid_t ptid, int ver > target_pid_to_str (ptid)); > > pid = my_waitpid (GET_LWP (ptid), &status, 0); >+fprintf(stderr,"my_waitpid:pid=%d,errno=%s,status=%d\n",(int)pid,strerror(errno),status); > if (pid == -1 && errno == ECHILD) > { > /* Try again with __WCLONE to check cloned processes. */ > pid = my_waitpid (GET_LWP (ptid), &status, __WCLONE); > lp->cloned = 1; >+fprintf(stderr,"my_waitpid(__WCLONE):pid=%d,errno=%s,status=%d\n",(int)pid,strerror(errno),status); > } > >+fprintf(stderr,"check:pid=%d,ptid.pid=%d,ptid.lwp=%d,ptid.tid=%d\n",(int)pid,(int)ptid.pid,(int)ptid.lwp,(int)ptid.tid); > /* In some cases we get 0 for the `SIGSTOP' signal. */ >- gdb_assert (pid == GET_LWP (ptid) >- && WIFSTOPPED (status)); >+ gdb_assert (pid == GET_LWP (ptid)); >+ gdb_assert (WIFSTOPPED (status)); >+fprintf(stderr,"check passed\n"); > > target_post_attach (pid); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 232371
:
150130
| 150183 |
150546