lkml.org 
[lkml]   [2004]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kallsyms 2.6.8 address ordering
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 ?

> 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 ;)

--
"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/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.062 / U:1.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site