| Summary: | remote gdb: ptrace(PT_GETDBREGS) failed: No such process | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Robert Watson <rwatson> |
| Component: | gnu | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 5.0-CURRENT | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed Fixed in rev 1.25 of freebsd-nat.c |
Gdb spits out lots of ptrace() errors during remote debugging, whereas previously it did not. Since ptrace() should only be used for local debugging, there's probably a call to ptrace() that should not be occuring. Don't have the threshold date that it started due to spotty following of -CURRENT. Fix: Not included. This doesn't appear to result in actual breakage, just an annoying message getting printed fairly frequently. How-To-Repeat: (kgdb) target remote /dev/cuaa0 Remote debugging using /dev/cuaa0 ptrace(PT_GETDBREGS) failed: No such process Debugger (msg=0xc039af4f "Boot flags requested debugger") at ../../i386/i386/db_interface.c:326 326 in_Debugger = 0;