[Bug 598461] New: debugging with gdb broken
http://bugzilla.novell.com/show_bug.cgi?id=598461
http://bugzilla.novell.com/show_bug.cgi?id=598461#c0
Summary: debugging with gdb broken
Classification: openSUSE
Product: openSUSE 11.3
Version: Milestone 5
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Kernel
AssignedTo: kernel-maintainers@forge.provo.novell.com
ReportedBy: aj@novell.com
QAContact: qa@suse.de
Found By: Product Management
Blocker: ---
I have these packages installed:
# rpm -qa kernel-*
kernel-desktop-debugsource-2.6.34-4.1.i586
kernel-desktop-devel-2.6.34-4.1.i586
kernel-source-2.6.34-4.1.noarch
kernel-desktop-devel-debuginfo-2.6.34-4.1.i586
kernel-desktop-debuginfo-2.6.34-4.1.i586
kernel-devel-2.6.34-4.1.noarch
kernel-firmware-20100227-2.2.noarch
kernel-desktop-2.6.34-4.1.i586
I've uncompressed /boot/vmlinux-2.6.34-rc4-4-desktop.gz. Running gdb
shows:
# gdb vmlinux-2.6.34-rc4-4-desktop /proc/kcore
GNU gdb (GDB) SUSE (7.0.1-2.5)
Copyright (C) 2009 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 "i586-suse-linux".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /boot/vmlinux-2.6.34-rc4-4-desktop...Reading symbols
from /usr/lib/debug/boot/vmlinux-2.6.34-rc4-4-desktop.debug...done.
done.
warning: core file may not match specified executable file.
Core was generated by `root=/dev/disk/by-id/ata-ST9160411AS_5TG1MMND-part2
resume=/dev/disk/by-id/ata-S'.
#0 0x00000000 in ?? ()
(gdb) p jiffies
$1 = 0
(gdb) p loops_per_jiffy
$2 = 0
Those values do not make sense to me at all.
Also disassembling gives me only zeros:
(gdb) disassemble /r apbt_cpuhp_notify
Dump of assembler code for function apbt_cpuhp_notify:
0xc02240f0
https://bugzilla.novell.com/show_bug.cgi?id=598461
https://bugzilla.novell.com/show_bug.cgi?id=598461#c1
Tony Jones
https://bugzilla.novell.com/show_bug.cgi?id=598461
https://bugzilla.novell.com/show_bug.cgi?id=598461#c2
Brandon Philips
participants (1)
-
bugzilla_noreply@novell.com