Re: [Kgdb-bugreport] [KGDB PATCH][7/7] Move debugger_entry()

Tom Rini
2004-02-27T23:08:51Z

On Fri, Feb 27, 2004 at 02:53:49PM -0800, George Anzinger wrote:
> Tom Rini wrote:
> >Hello. When we use kgdboe, we can't use it until do_basic_setup() is done.
> >So we have two options, not allow kgdboe to use the initial breakpoint
> >or move debugger_entry() to be past the point where kgdboe will be usable.
> >I've opted for the latter, as if an earlier breakpoint is needed you can
> >still use serial and throw kgdb_schedule_breakpoint/breakpoint where
> >desired.
>
> Please don't do this. How about configuring it along with the connection
> method. I really don't want to have to modify the kernel just to get in
> early.

This is 'early'. Keep in mind that this version of KGDB already isn't
breaking in nearly as early as the one in -mm (this version is currently
doing it just before do_basic_setup()). And keep in mind that the goal
of this version right now is to get something clean and small that can
somehow slip into Linus' tree. Changes to the non-lite
core/i386/whatever to allow for much earlier access is fine.

--
Tom Rini