insmod / add-symbol-file

Frank Przybylski fp at vas-gmbh.de
Fri Dec 7 22:24:21 EST 2001


Hi Goddeeris,

> I use the gcc and gdb from the MontaVista CDK 2.0 for
> PPC_8xx. I compiled
> the module with "-O2 -g" options.

Have you tried to compile with "-O -g" options instead of "-O2 -g"?
I'd guess optimization 'confuses' gdb symbols. Maybe have a try even
without -O,
 as I only know for sure that the kernel needs an optimization step to
get some things
properly setup.

hth
 Frank

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list