On Tue, Aug 31, 2010 at 17:05, Tapas Mishra <[email protected]> wrote:
> I tried to run gdb on a 32 bit kernel image.
> gdb /boot/vmlinuz-2.6.28-11-generic /proc/kcore

two ways:
1. if you're compiling the image by yourself, besides getting bzImage,
you shall see vmlinux in the main directory of extracted source tree.
that is what you need (symbol file). It's better if it's compiled
using frame pointer enabled and CONFIG_DEBUG_KERNEL=y

2. if  you use stock kernel from your distro, most likely you need the
kernel package that provides debug info. fedora has it, and I think so
does Ubuntu, Debian, Mandriva...etc. Check your package manager
documentation on how to enable the related repository

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to