Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261251AbUKWOND (ORCPT ); Tue, 23 Nov 2004 09:13:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261258AbUKWODp (ORCPT ); Tue, 23 Nov 2004 09:03:45 -0500 Received: from linux01.gwdg.de ([134.76.13.21]:2688 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S261256AbUKWOCX (ORCPT ); Tue, 23 Nov 2004 09:02:23 -0500 Date: Tue, 23 Nov 2004 15:02:18 +0100 (MET) From: Jan Engelhardt To: colin cc: linux-kernel@vger.kernel.org Subject: Re: I cannot stop execution by using "ctrl+c" In-Reply-To: <011501c4d14e$d00b1ce0$8b1a13ac@realtek.com.tw> Message-ID: References: <011501c4d14e$d00b1ce0$8b1a13ac@realtek.com.tw> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=big5 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 882 Lines: 22 >Hi all, >When using gdb to debug Linux kernel, I found that it cannot be stopped >temporarily by using "ctrl+c". >After the first strike of "ctrl+c", nothing happen. >After the second, Linux kernel will show these messages: > Interrupted while waiting for the program. > Give up (and stop debugging it)? (y or n) >If choose yes, kernel will totally stop and it goes back to gdb shell. >How can I stop kernel temporarily and then resume it? Since when does GDB *run* the kernel, if, well, the Kernel runs itself? Jan Engelhardt -- Gesellschaft für Wissenschaftliche Datenverarbeitung Am Fassberg, 37077 Göttingen, www.gwdg.de - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/