| Summary: | kgdb doesn't work very well very long | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Ravi Murty <ravi.murty> |
| Component: | amd64 | Assignee: | freebsd-amd64 (Nobody) <amd64> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Ravi Murty
2007-02-02 01:30:14 UTC
jhb 2007-02-05 21:48:32 UTC
FreeBSD src repository
Modified files:
sys/amd64/include gdb_machdep.h
Log:
Change GDB_BUFSZ to be large enough to hold a register dump where each
register takes 16 characters (64-bit register in hex). In practice this
is a slight bit of overkill as 7 of the 56 registers are only 32-bit, but
having the buffer too small results in remote kgdb trashing kernel memory
when it connects.
PR: amd64/108673
Submitted by: Ravi Murty, Nikhil Rao @ Intel
MFC after: 3 days
Revision Changes Path
1.6 +1 -1 src/sys/amd64/include/gdb_machdep.h
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->patched Fix applied to HEAD. I've just fixed this and it should be in RELENG_6 in a couple of days. Thanks. -- John Baldwin State Changed From-To: patched->closed Fix merged to 6.x. |