This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/15761] tracepoint with Linux kernel stub auto be set to disable


http://sourceware.org/bugzilla/show_bug.cgi?id=15761

--- Comment #6 from teawater <teawater at gmail dot com> ---
(In reply to Yao Qi from comment #5)
> (In reply to teawater from comment #4)
> > (In reply to Yao Qi from comment #3)
> > > (In reply to teawater from comment #2)
> > > > 1. To reproduce this issue.
> > > > GDB need to connect to a target first.  I tried KGTP and QEMU.
> > > > 
> > > > 2. I cannot reproduce this issue with breakpoint.
> > > 
> > > OK, then, please attach kernel 3.2.0-49-generic, and list the steps to
> > > reproduce on QEMU.
> > 
> > Are you kidding?
> > ls -alh /usr/lib/debug/boot/vmlinux-$(uname -r)
> > -rw-r--r-- 1 root root 143M Jun 19 02:21
> > /usr/lib/debug/boot/vmlinux-3.2.0-49-generic
> 
> OK, I'll look for it somewhere else.

You can get it with:
wget http://ddebs.ubuntu.com/pool/main/l/linux/linux-image-$(uname
-r)-dbgsym_$(dpkg -s linux-image-$(uname -r) | grep ^Version: | sed 's/Version:
//')_$(uname -i | sed 's/x86_64/amd64/').ddeb

But I think just reproduce this kernel and qemu is a little hard for you. 
Because all of them are for Ubuntu.  You also need find kernel bzImage to let
it execution in qemu.  Maybe you still need setup a filesystem.


And if I remember is right, your are using a fedora 17.  Maybe its kernel is
not really new that can reproduce this issue with KGTP.
You can try KGTP with https://code.google.com/p/kgtp/wiki/HOWTOCN#Fedora
https://code.google.com/p/kgtp/wiki/HOWTO#Fedora.

Thanks,
Hui

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]