Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Debugging vmlinux using GDB within Emacs

21 views
Skip to first unread message

chandan r

unread,
Jul 21, 2012, 1:04:21 AM7/21/12
to help-gn...@gnu.org
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

chandan r

unread,
Jul 21, 2012, 5:33:50 AM7/21/12
to help-gn...@gnu.org
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.

0 new messages