Messages in this thread | | | Date | Sat, 20 Mar 1999 13:53:54 +0000 (GMT) | From | Tigran Aivazian <> | Subject | Re: [Q] Debugging the kernel over serial line? |
| |
Hi Brethren,
Looking through the sources I found arch-stub.c files for ppc and sparc, so I guess I need the i386-stubs.c file if it exists (or write one if it doesn't). I don't mind to start writing this from scratch but surely someone has done it already? Especially since there is an int 3 (#ifdef 0'd though) in arch/i386/boot/bootsect.S with the comment "hook for a debugger" already...
Regards, Tigran
On Sat, 20 Mar 1999, Tigran Aivazian wrote:
> Hi, > > The "Linux Device Drivers" book by Rubini says that only Alpha and sparc > architectures allow to debug the kernel over serial line. > > However, I remember someone telling me on last Linux-UK conference that it > can be done (without specifying architecture). > > Therefore - my question: can I step through the kernel (starting from > bootsector) by using a second computer connected via serial line? > > I did not find any (mini)HOWTO on the subject :( > > I am aware of patch-ikd and use it but it certainly does not let you step > through the bootsector or initialisation code as it requires live > (running) kernel. > > Thanks in advance, > Tigran. > >
- 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/
| |