[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re:Debugging vmlinux using GDB within Emacs
From: |
chandan r |
Subject: |
Re:Debugging vmlinux using GDB within Emacs |
Date: |
Sat, 21 Jul 2012 15:03:50 +0530 |
User-agent: |
mu4e 0.9.8.4; emacs 24.1.1 |
chandan r <chandanrmail@gmail.com> writes:
> Hi all,
>
> I am trying to debug linux kernel (running in a qemu-kvm VM) using gdb
> within emacs. 'target remote localhost:port' succeeds in stopping the linux
> kernel. But a 'continue' command gives me the error 'Program is not being
> run'.
>
> I am able to use GDB by itself on a terminal to debug the kernel.
>
> Regards,
> chandan r
I got Gdb to work by switching off non-stop mode (as shown below).
(gdb) set non-stop off
Probably 'non-stop' mode is default when GDB is executed with -i=mi option.