* Debugging vmlinux using GDB within Emacs
@ 2012-07-21 5:04 chandan r
2012-07-21 9:33 ` chandan r
0 siblings, 1 reply; 2+ messages in thread
From: chandan r @ 2012-07-21 5:04 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re:Debugging vmlinux using GDB within Emacs
2012-07-21 5:04 Debugging vmlinux using GDB within Emacs chandan r
@ 2012-07-21 9:33 ` chandan r
0 siblings, 0 replies; 2+ messages in thread
From: chandan r @ 2012-07-21 9:33 UTC (permalink / raw)
To: help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-21 9:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-21 5:04 Debugging vmlinux using GDB within Emacs chandan r
2012-07-21 9:33 ` chandan r
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.