From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: chandan r Newsgroups: gmane.emacs.help Subject: Re:Debugging vmlinux using GDB within Emacs Date: Sat, 21 Jul 2012 15:03:50 +0530 Message-ID: <87y5mdpif5.fsf@gmail.com> References: <87hat1hfhm.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1342863927 17470 80.91.229.3 (21 Jul 2012 09:45:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 Jul 2012 09:45:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 21 11:45:27 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SsWFY-0002eo-R5 for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Jul 2012 11:45:24 +0200 Original-Received: from localhost ([::1]:54439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsWFX-0000RU-W2 for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Jul 2012 05:45:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsWFT-0000RP-Ij for help-gnu-emacs@gnu.org; Sat, 21 Jul 2012 05:45:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SsWFR-0006df-DK for help-gnu-emacs@gnu.org; Sat, 21 Jul 2012 05:45:19 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:52434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsWFR-0006dH-6x for help-gnu-emacs@gnu.org; Sat, 21 Jul 2012 05:45:17 -0400 Original-Received: by mail-pb0-f41.google.com with SMTP id rp2so9130782pbb.0 for ; Sat, 21 Jul 2012 02:45:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:user-agent:in-reply-to:date:message-id :mime-version:content-type; bh=RLvbe5zJrKXLUsGpg9o9v+TXDX7T0Iald5v7705Gfgg=; b=Q0C7ZTUhsL/FhsdB8YM36R++EHPGQYQ/kBYaMzuf2Cf6U/0TVdxO2B0em0wBGtYcvD viEKVdmm48cfkeY0JkOW3TrjQkLdu/Ce1q9PV6mmQxLked8kiOSQE+f3hKqmKP5GBzFf PsoGCsIvOVDcM3VClgErAqDFcug/Sc8llBO0UHnT7KKR8id5jttlzdNNTolU3ThpWRuA gd2NEDK2hjAUxYpPNLGMiJUdLtWLEBzfv7mfseDE10p9+P2dnM+zPh553iRlTrOpVF/c gv7u71edN2vf0LjKYKsok+hEAALIek455OvT+rMb8LcGHB3AnRK94VP7iUtAXIdpkEr7 q1Yw== Original-Received: by 10.68.227.40 with SMTP id rx8mr20531254pbc.6.1342863916740; Sat, 21 Jul 2012 02:45:16 -0700 (PDT) Original-Received: from archlinux ([117.192.159.235]) by mx.google.com with ESMTPS id nu5sm5751866pbb.53.2012.07.21.02.45.14 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 21 Jul 2012 02:45:15 -0700 (PDT) User-agent: mu4e 0.9.8.4; emacs 24.1.1 In-reply-to: <87hat1hfhm.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85963 Archived-At: chandan r 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.