Re: [Re: kernel debugger]

From: rkaiser@sysgo.de (rob@rob.devdep.sysgo.de)
Date: Tue May 02 2000 - 03:03:42 EST


In article <390D5799.6953B417@pioneer.net>,
        george@pioneer.net (George Anzinger) writes:
> Great. My biggest problem (which lead to my fixing it, of course :) was
> that it needed to be initialized. I wanted to set a break point in
> __init_sched() which is called about 10 lines into start_kernel. All I
> require is that the kernel can handle traps.
>

I have a version that does the initial connection right after
the call to console_init. I suspect that it could be done even
earlier, however, I wanted a message to appear on the console
when the debug stub attempts to connect. Also, I want to be able
to set comms parameters via options, so parse_options() must
have been called.

You can't set interrupt handlers this early so my approach
is to first initialize the serial port for polled mode
and to switch to interrupt driven mode later.

Rob

----------------------------------------------------------------
Robert Kaiser email: rkaiser@sysgo.de
SYSGO RTS GmbH
Am Pfaffenstein 14 phone: (49) 6136 9948-762
D-55270 Klein-Winternheim / Germany fax: (49) 6136 9948-10

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:09 EST