From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48017 invoked by alias); 17 Jun 2019 13:12:08 -0000 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 Received: (qmail 48002 invoked by uid 89); 17 Jun 2019 13:12:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=H*c:alternative, margin X-HELO: pb-smtp1.pobox.com Received: from pb-smtp1.pobox.com (HELO pb-smtp1.pobox.com) (64.147.108.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Jun 2019 13:12:06 +0000 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 094F0156659 for ; Mon, 17 Jun 2019 09:12:03 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; s=sasl; bh=wp0IFwe3j9zN9P1k8cGKoVsaNG0=; b=x62ag2 xltpbHCo1sJxSFEQxGci3zyaqO3/8lvoBdH0ChDgrlCzy0e6tMYTKVhz5NaSBaX7 +PS30h0tj3iS5NjTKseNJcvDpwyFzsMt0zsG5vqIYhmSNzsleo79vJZnO10spD47 Bqa8KQ1Hjk2EuG8vldNtmNDwPSyNZ7rlC/uME= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 0250C156657 for ; Mon, 17 Jun 2019 09:12:03 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kichwacoders.com; h=mime-version:references:in-reply-to:from:date:message-id:subject:to:cc:content-type; s=mesmtp; bh=gf+nDTzji2cnV0UaWE+TZug7qCKr9hgawa+xvSpxhbI=; b=Vx+1yazlLLKUUvwgyDMvg7ddPBMccdErnKplZNLwxlAA6434tbtAGq4aGvgqUl+Od6gok0n+BCaTgy6dSKcNUE2ITlYc2CW236LtJUHUm8D7UCaq/Qx74Rjv7YC8p3o/cTTsxSaPIlhJeRw3XvgspIYGTImLj7om9G6A8Po5Fus= Received: from mail-qk1-f176.google.com (unknown [209.85.222.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 54743156654 for ; Mon, 17 Jun 2019 09:12:02 -0400 (EDT) Received: by mail-qk1-f176.google.com with SMTP id l128so6112117qke.2 for ; Mon, 17 Jun 2019 06:12:02 -0700 (PDT) MIME-Version: 1.0 References: <70fdd9107d9bb3cee0a1a342aedc05bf3c8e9bae.camel@fit.cvut.cz> <871rzu9at0.fsf@tromey.com> <20190617121412.GA4157@adacore.com> <20190617125638.GA6859@adacore.com> In-Reply-To: <20190617125638.GA6859@adacore.com> From: Jonah Graham Date: Mon, 17 Jun 2019 13:12:00 -0000 Message-ID: Subject: Re: MI3 and async notifications To: Joel Brobecker Cc: Jan Vrany , Tom Tromey , "gdb@sourceware.org" X-Pobox-Relay-ID: 7F0B6F7E-9101-11E9-A959-46F8B7964D18-18936988!pb-smtp1.pobox.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-06/txt/msg00040.txt.bz2 On Mon, 17 Jun 2019 at 08:56, Joel Brobecker wrote: > The part I don't understand is why it matters to sync the two. > For example, to allow program to update the UI element that represents a breakpoint. In CDT when a breakpoint is inserted in the UI and fails to be installed or is only pending the UI element is updated to display that fact. CDT maintains a map of UI elements to GDB instances+breakpoint numbers. That connection (UI element to breakpoint number) is made as result of the response to -break-insert. The UI elements are breakpoints in a table, or in the margin of an editor. Does that make sense?