Re: [PATCH 1/8] kgdb: core API and gdb protocol handler

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <jason.wessel@...>
Cc: <linux-kernel@...>
Date: Saturday, February 9, 2008 - 10:27 am

jason.wessel@windriver.com wrote:
de

ense
 any

Hmm, I just realized that I didn't really looked at the arch interface
in details yet. Now it appears a bit inconsistent to me in its way to
tell "this arch supports that". Something in include/asm-generic that
starts with #ifdef CONFIG_X86 looks ugly, to begin with.

=2E..

Then we have this KGDB_ARCH_HAS thing here, the second way to control
arch-dependent stuff.

=2E..
=2E..

And this is the third way. Can we consolidate this?

=2E..
=2E..
f.
error.

As Linus remarked, still pointer-based return values while only the
error code is used by the callers (there are more of such cases in the
core).

=2E..
=2E..

Probably some relic from older changes which should be killed.

Jan
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/8] kgdb 2.6.25 version, , (Sat Feb 9, 9:35 am)
Re: [PATCH 0/8] kgdb 2.6.25 version, Christoph Hellwig, (Sat Feb 9, 1:38 pm)
Re: [PATCH 1/8] kgdb: core API and gdb protocol handler, Christoph Hellwig, (Sat Feb 9, 1:27 pm)
Re: [PATCH 1/8] kgdb: core API and gdb protocol handler, Sam Ravnborg, (Sat Feb 9, 11:29 am)
Re: [PATCH 1/8] kgdb: core API and gdb protocol handler, Jan Kiszka, (Sat Feb 9, 10:27 am)
Re: [PATCH 2/8] pid, kgdb: add pid_max prototype, Christoph Hellwig, (Sat Feb 9, 1:10 pm)
[PATCH 4/8] kgdb: COPTIMIZE flag, , (Sat Feb 9, 9:35 am)
Re: [PATCH 4/8] kgdb: COPTIMIZE flag, Christoph Hellwig, (Sat Feb 9, 1:16 pm)