From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27336 invoked by alias); 6 Nov 2008 09:16:40 -0000 Received: (qmail 27243 invoked by uid 22791); 6 Nov 2008 09:16:39 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 06 Nov 2008 09:15:57 +0000 Received: from Relay1.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 4C5274648E; Thu, 6 Nov 2008 10:15:54 +0100 (CET) From: Andreas Schwab To: "Dave Milter" Cc: gdb@sourceware.org Subject: Re: emacs and gdb References: <2a382c6e0811052307r6ae0510ewf5569f59c93446a6@mail.gmail.com> X-Yow: Somewhere in Tenafly, New Jersey, a chiropractor is viewing ``Leave it to Beaver''! Date: Thu, 06 Nov 2008 09:16:00 -0000 In-Reply-To: <2a382c6e0811052307r6ae0510ewf5569f59c93446a6@mail.gmail.com> (Dave Milter's message of "Thu, 6 Nov 2008 10:07:04 +0300") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-11/txt/msg00046.txt.bz2 "Dave Milter" writes: > I met strange problem with running gdb under emacs, > I run it like this: > arm-eabi-gdb --annotate=3 someprog.elf > target remote :3333 > Remote debugging using :3333 > 0x00000004 in ?? () > (gdb) monitor soft_reset_halt > > /home/test/src/toolchains/gdb/gdb-6.8.50.20080706/gdb/findvar.c:298: > internal-error: value_of_register_lazy: Assertion `frame_id_p > (get_frame_id (frame))' failed. > A problem internal to GDB has been detected, > further debugging may prove unreliable. > > > if I type the same commands in gdb running in terminal all ok: The Emacs frontend does a few things behind your back. Those commands are issued with the server prefix so that they don't show up in the history. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."