Mailinglist Archive: opensuse-bugs (4765 mails)

< Previous Next >
[Bug 598461] New: debugging with gdb broken
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 21 Apr 2010 12:53:56 +0000
  • Message-id: <bug-598461-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: aj@xxxxxxxxxx
QAContact: qa@xxxxxxx
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 <apbt_cpuhp_notify+0>: 00 00 add %al,(%eax)
0xc02240f2 <apbt_cpuhp_notify+2>: 00 00 add %al,(%eax)
0xc02240f4 <apbt_cpuhp_notify+4>: 00 00 add %al,(%eax)
0xc02240f6 <apbt_cpuhp_notify+6>: 00 00 add %al,(%eax)
0xc02240f8 <apbt_cpuhp_notify+8>: 00 00 add %al,(%eax)
0xc02240fa <apbt_cpuhp_notify+10>: 00 00 add %al,(%eax)
0xc02240fc <apbt_cpuhp_notify+12>: 00 00 add %al,(%eax)
0xc02240fe <apbt_cpuhp_notify+14>: 00 00 add %al,(%eax)
0xc0224100 <apbt_cpuhp_notify+16>: 00 00 add %al,(%eax)

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
This Thread
  • No further messages