From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3041 invoked by alias); 6 Nov 2008 07:07:44 -0000 Received: (qmail 2769 invoked by uid 22791); 6 Nov 2008 07:07:42 -0000 X-Spam-Check-By: sourceware.org Received: from wa-out-1112.google.com (HELO wa-out-1112.google.com) (209.85.146.179) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 06 Nov 2008 07:07:06 +0000 Received: by wa-out-1112.google.com with SMTP id v33so256258wah.24 for ; Wed, 05 Nov 2008 23:07:04 -0800 (PST) Received: by 10.114.153.18 with SMTP id a18mr434242wae.200.1225955224443; Wed, 05 Nov 2008 23:07:04 -0800 (PST) Received: by 10.114.180.15 with HTTP; Wed, 5 Nov 2008 23:07:04 -0800 (PST) Message-ID: <2a382c6e0811052307r6ae0510ewf5569f59c93446a6@mail.gmail.com> Date: Thu, 06 Nov 2008 07:07:00 -0000 From: "Dave Milter" To: gdb@sourceware.org Subject: emacs and gdb MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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/msg00045.txt.bz2 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: arm-eabi-gdb -annotate 3 someprog.elf pre-prompt (gdb) prompt post-prompt pre-prompt (gdb) prompt target remote :3333 post-prompt Remote debugging using :3333 frame-begin 0 0x4 0x00000004 in ?? () stopped pre-prompt (gdb) prompt monitor soft_reset_halt post-prompt any idea what is going on, and how to fix this?