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]

 



I tried to run gdb on a 32 bit kernel image.
gdb /boot/vmlinuz-2.6.28-11-generic /proc/kcore

and tried to check loops_per_jiffy via gdb

 gdb vmlinuz-2.6.28-11-generic /proc/kcore
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
"/tmp/vmlinuz-2.6.28-11-generic": not in executable format: File
format not recognized
Core was generated by `root=UUID=1c1bc84c-9ef5-4daa-a630-8fe29b5d12d1
ro quiet splash'.
[New process 0]
#0  0x00000000 in ?? ()
(gdb) whatis loops_per_jiffy
No symbol table is loaded.  Use the "file" command.
(gdb)


The last line of above message says
"no symbol table is loaded Use the "file" command."

where as while invoking gdb I had used it.


-- 
Tapas

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