lkml.org 
[lkml]   [2007]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG] i386 relocable kernel breakes /proc/kcore debugging
On Mon, 30 Jul 2007 10:03:03 +0200, Vivek Goyal wrote:
> On Sat, Jul 28, 2007 at 04:43:43AM +0300, Maxim Levitsky wrote:
...
> > gdb 'thinks' that all kernel symbols are below 0x80000000 , while they are at
> > 0xC000....
> >
> > Turning CONFIG_RELOCATABLE off fixes that, so I assume that is the reason for
> > that.
>
> This is a gdb issue. I had raised it in gdb mailing list some time back.
>
> http://sourceware.org/ml/gdb/2006-08/msg00137.html

There was the patch post:
http://sources.redhat.com/ml/gdb/2006-08/msg00182.html

> What version of gdb you are using? I know it got fixed for gdb shipped
> with RHEL5. I am not sure about what upstream version of gdb it got fixed
> in.

It did not make it to the upstream as the patch above is an imperfect one.
It is fixed in RH gdb-6.5-5 upwards, therefore Fedora 6 + RHEL-5.
http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/gdb/gdb-6.5-bz203661-emit-relocs.patch?root=core

Regards,
Jan
-
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: 2007-07-30 10:53    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site