From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28346 invoked by alias); 27 Oct 2009 19:31:27 -0000 Received: (qmail 28334 invoked by uid 22791); 27 Oct 2009 19:31:26 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from vtab.com (HELO oden.vtab.com) (62.20.90.195) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 27 Oct 2009 19:31:19 +0000 Received: from oden.vtab.com (oden.vtab.com [127.0.0.1]) by oden.vtab.com (Postfix) with ESMTP id 71FAE26EF43 for ; Tue, 27 Oct 2009 20:31:16 +0100 (CET) Received: from polhem (unknown [62.20.90.206]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by oden.vtab.com (Postfix) with ESMTP id 4EAF226EF07 for ; Tue, 27 Oct 2009 20:31:16 +0100 (CET) From: "Jakob Engblom" To: Subject: gdb-serial: inform gdb that target has changed Date: Tue, 27 Oct 2009 19:33:00 -0000 Message-ID: <007101ca573c$0dfd9fa0$29f8dee0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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: 2009-10/txt/msg00396.txt.bz2 Hi! While looking over gdb7 and getting our tool to work with it, we realized we still have an old outstanding issue with gdb-serial and using gdb as a debu= gger frontend. It is the fact that gdb assumes that it is in control, and the ta= rget cannot tell gdb to refresh its state since the target has changed outside of gdb's control. =A0Today we do the work-around of disconnecting and connecti= ng the connection to force gdb to refresh, which is not particularly elegant. Example cases: with reverse execution and a user on the back-end side jumpi= ng to back-end bookmarks in time, or triggering breakpoints on hardware accesses = or other events that gdb have no real idea of.=20 Best regards, /jakob _______________________________________________________ Jakob Engblom, PhD, Technical Marketing Manager Virtutech=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Direct: +46= 8 690 07 47=A0=A0=A0 Drottningholmsv=E4gen 22=A0=A0=A0=A0=A0 Mobile: +46 709 242 646=A0=A0 11243 Stockholm=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Web:=A0=A0=A0 www.virtu= tech.com=A0 Sweden ________________________________________________________ =A0=20