Re: gdb error for 32 bit Ubuntu No symbol table is loaded. Use the "file" command.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 31, 2010 at 17:05, Tapas Mishra <mightydreams@xxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux