--- Begin Message ---
- From: "Amit S. Kale" <amitkale at linsyssoft dot com>
- To: KGDB bugreports <kgdb-bugreport at lists dot sourceforge dot net>
- Date: Mon, 20 Sep 2004 15:43:28 +0530
- Subject: New gdb targets i386-lk and x86_64-lk
- Organization: LinSysSoft Technologies Pvt Ltd
Hi,
I have created a new directory "gdb" in the cvs tree. This directory will
contain gdb patches similar to the directory "kgdb-2". Currently there is
only one patch lk.patch This patch adds two targets i386-lk and x86_64-lk.
The targets i386-lk and x86_64-lk are similar to i386-linux and x86_64-linux
respectively, though they contain different target dependent files. Creating
new targets will help us implement kgdb support for gdb in a better way
without the clutter of user level stuff.
Present patch is only a starter, so it doesn't contain all the things that are
present in gdbmod as yet. Here is my wishlist of things to be added:
1. Module scanning - Since we are free from solib.c now, we can implement a
fast module scanning algorithm.
2. Backtraces - Signal trampoline parsing is absent in this target, so gdb
won't get confused because signal trampoline handling code. We can make the
kernel backtraces stop at system calls, interrupt and exception handling
functions correctly. We should also be able to handle switching from regular
stack to interrupt-exception stack on x86_64 in gdb code itself.
3. Reading of /proc/kcore - kcore is already supported by gdb as it is. gdb
can't scan the list of kernel threads or modules loaded in a kernel. This
support can be added.
-Amit
--- End Message ---