This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fwd: New gdb targets i386-lk and x86_64-lk


FYI.

I'll be submitting these patches when at least some of the items in the 
wishlist are done and the patches are stable.

-Amit
--- Begin Message ---
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 ---

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]