Re: [PATCH] kgdb:unify x86-kgdb

From: Jason Wessel
Date: Thu Jan 17 2008 - 18:32:21 EST


Jan Kiszka wrote:
> Jason Wessel wrote:
>
>> Jan Kiszka wrote:
>>
>>> diff -up arch/x86/kernel/kgdb_32.c arch/x86/kernel/kgdb_64.c
>>>
>>> screamed for unification. Here it is.
>>>
>>> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
>>>
>>> ---
>>> arch/x86/kernel/Makefile_32 | 2
>>> arch/x86/kernel/Makefile_64 | 2
>>> arch/x86/kernel/kgdb.c | 561 ++++++++++++++++++++++++++++++++++++++++++++
>>> arch/x86/kernel/kgdb_32.c | 414 --------------------------------
>>> arch/x86/kernel/kgdb_64.c | 495 --------------------------------------
>>> 5 files changed, 563 insertions(+), 911 deletions(-)
>>>
>>>
>> FYI this is already done in the head branch for kgdb which is going into
>> the -mm tree. You will see the new patch set in the 2.6.25-rcX series.
>>
>> There is now a single x86-lite.patch which contains a number of other
>> modifications to the core-lite.patch to make use of
>> probe_kernel_address() and a new function probe_kernel_write(). Also
>> the die hooks for the "no context" memory faults were removed.
>>
>
> Hmm, is this any kind of patch I should have seen in your kernel.org
> git? Which branch?
>
I'll be posting an update to the -mm tree soon. Presently, I have been
updating the x86 patch set because the x86 developers provided some
insight as to what needed to change to gain adoption into the mainline
kernel.


See:
http://git.kernel.org/?p=linux/kernel/git/jwessel/linux-2.6-kgdb.git;a=shortlog;h=for_x86

Right now the scope is only 8 patches worth. The other archs will be
patched in when I move the patches forward against the -mm tree.

If you or anyone else would like to help, I'll be happy to forward a
copy of the todo list :-)

Thanks,
Jason.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/