Messages in this thread | | | From | jmerkey@comcast ... | Subject | Re: kallsyms 2.6.8 address ordering | Date | Thu, 19 Aug 2004 19:14:40 +0000 |
| |
> On Thu, 19 Aug 2004 jmerkey@comcast.net wrote: > > > kallsyms in 2.6.8 is presenting module symbol tables with out of order > > addresses in 2.6.X. This makes maintaining a commercial kernel debugger > > for Linux 2.6 kernels nighmareish. > > How hard could it be to sort the table in your debugger ? >
How about not sorting it at all and not being required to increase memory consumption for debugging purposes?
> > Also, the need to kmalloc name strings (like kdb does) from kallsyms in > > kdbsupport.c while IN THE DEBUGGER makes it impossible to debug large > > portions of the kernel code with kdb, so I have rewritten large sections > > of kallsyms.c to handle all these broken, brain-dead cases in mdb and I > > am not relying much on kdb hooks anymore. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Sounds like your commercial debugger might just be violating > the GPL ;)
No. it's not. Chris makes a suggestion I should make it work on unpatched kernels. I will address on his thread.
Jeff
> > -- > "Debugging is twice as hard as writing the code in the first place. > Therefore, if you write the code as cleverly as possible, you are, > by definition, not smart enough to debug it." - Brian W. Kernighan > - 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/
| |