From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: gud: not handing frames-invalid notification Date: Tue, 4 May 2004 23:44:53 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <16536.7397.31571.915765@nick.uklinux.net> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1083711710 22576 80.91.224.253 (4 May 2004 23:01:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 May 2004 23:01:50 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed May 05 01:01:40 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BL8uy-000772-00 for ; Wed, 05 May 2004 01:01:40 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BL8uy-0003yX-00 for ; Wed, 05 May 2004 01:01:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BL8iq-000812-G5 for emacs-devel@quimby.gnus.org; Tue, 04 May 2004 18:49:08 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BL8hf-0007rH-44 for emacs-devel@gnu.org; Tue, 04 May 2004 18:47:55 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BL8h8-0007k5-6B for emacs-devel@gnu.org; Tue, 04 May 2004 18:47:53 -0400 Original-Received: from [194.247.51.97] (helo=nick.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BL8fP-0007HX-Lf for emacs-devel@gnu.org; Tue, 04 May 2004 18:45:36 -0400 Original-Received: by nick.uklinux.net (Postfix, from userid 501) id A675175FDE; Tue, 4 May 2004 23:44:53 +0100 (BST) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: X-Mailer: VM 6.97 under Emacs 21.2.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22769 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22769 > I have noticed lately that when I run M-x gdb on emacs, sometimes the > gdb session runs wild sending lots and lots of frames-invalid > notifications. > > I don't see any actual handling of this notification. The frames-invalid annotation should just be ignored now, like many other annotation. If it is reproducible, set the variable gdb-enable-debug-log to t, generate the frames-invalid notifications and post the value of gdb-debug-log to emacs-devel. Below is a (normal) sample transaction. What version of gdb are you using? Nick (send "server info frame\n" gdb-frame-handler) (recv . "\n^Z^Zpre-prompt\n(gdb) \n^Z^Zprompt\n") (recv . "\n^Z^Zframes-invalid\n\n^Z^Zframes-invalid\n\n^Z^Zframes-invalid\n\n^Z^Zbreakpoint 1\n\nBreakpoint 1, \n^Z^Zframe-begin 0 0x804849f\n\n^Z^Zframe-function-name\nmain\n^Z^Zframe-args\n ()\n^Z^Zframe-source-begin\n at \n^Z^Zframe-source-file\nmyprog.c\n^Z^Zframe-source-file-end\n:\n^Z^Zframe-source-line\n38\n^Z^Zframe-source-end\n\n\n^Z^Zsource /home/nick/myprog.c:38:389:beg:0x804849f\n\n^Z^Zframe-end\n\n^Z^Zstopped\n")