Messages in this thread | | | Date | Fri, 27 Feb 2004 16:08:38 -0700 | From | Tom Rini <> | Subject | Re: [Kgdb-bugreport] [KGDB PATCH][7/7] Move debugger_entry() |
| |
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 http://gate.crashing.org/~trini/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |