On 09/01/2009 02:32 PM, Marcelo Tosatti wrote:
Nope, kgdb writes directly to the debug registers.
I vaguely recall someone trying to push a debug register management
framework. Did it hit mainline in the meantime? I do not find any trace
on quick glance, at least not in kgdb.
A simple kgdb_enabled sort of flag, in addition to TIF_DEBUG would do
it?
kgdb is per-cpu whereas user debugging is per-task, so we'd need a
per-cpu debug register cache and flag.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html