From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15859 invoked by alias); 7 Feb 2013 19:48:57 -0000 Received: (qmail 15848 invoked by uid 22791); 7 Feb 2013 19:48:56 -0000 X-SWARE-Spam-Status: No, hits=-5.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-wi0-f175.google.com (HELO mail-wi0-f175.google.com) (209.85.212.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 07 Feb 2013 19:48:51 +0000 Received: by mail-wi0-f175.google.com with SMTP id l13so3649wie.14 for ; Thu, 07 Feb 2013 11:48:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=Dd4foZghCJqEwJSPz1L3sSdn6K7Q56npeU+7h1MGfOc=; b=Zq86dQh6HhH9BjRY1/3QbJiB3U6BK2cfbMhGC73tXb5ZzZAXGD/STvPrcJ0DweJRDN eA5JcekOjQCr22OzMEMORwuII4tHikZ704GCGaIcU2T/ddRL0ApqteRUqL+qJFaIch02 SGvwdZ6K50BaN3fqmTmXfFC2JTel2SWns8qWTsrMpLMQD7Z6+L1PCo+/pcM5gx4eUSVb ZKYaG2n9+gnVLfYzXNdOSfnq458oIeN8eLSMU+e97nKJdW/hnSNwyLHAJcbKCsr5BDUz HUGldts+Z3vzvnnbMcbYvwgD6jLGlz54ng1xYOoWvt8gvfu+xBvG1pJRQfYh5hZZ0gER 413A== MIME-Version: 1.0 X-Received: by 10.194.88.202 with SMTP id bi10mr5321321wjb.5.1360266530036; Thu, 07 Feb 2013 11:48:50 -0800 (PST) Received: by 10.194.158.195 with HTTP; Thu, 7 Feb 2013 11:48:49 -0800 (PST) In-Reply-To: <20130127223625.GI15252@host2.jankratochvil.net> References: <20130127223625.GI15252@host2.jankratochvil.net> Date: Thu, 07 Feb 2013 19:48:00 -0000 Message-ID: Subject: Re: [patchv2 8/11] TUI: source "file" -> "fullname" From: Doug Evans To: Jan Kratochvil Cc: gdb-patches Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkXUznYLipYmr9GtTSkT5pqmkDDyOWUGzf2C3CyvuT5qawUNqNIeWDYw3c9sgTQ02y5EdHzRPLG6M4qg1txcmdP59EyfLolpD1+9/B2ry+1MWDBDe5i/RtmgHdoHeA4blgxgvJgoYuQeKIsrrq1eXgQMRKFsks1fwGezn21gNb4Bv/DMPR2r8WYteEUkSsgoI8sfqN/PggawofoWvTQp7Y8ItULoA== X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2013-02/txt/msg00191.txt.bz2 On Sun, Jan 27, 2013 at 2:36 PM, Jan Kratochvil wrote: > Hi, > > this is a new part in this v2 series. > > It was tested current "gdb -tui" is really incorrect and it gets fixed by this > patch: > cd gdb.linespec/ > cd base/one/ > g++ -o ../../1.o -c thefile.cc -Wall -g > cd ../two > g++ -o ../../2.o -c thefile.cc -Wall -g > cd ../.. > g++ -o 0 lspec.cc -Wall -g 1.o 2.o > ../../gdb-tuiN -tui ./0 > ../../gdb-tuiY -tui ./0 > b m > b n > r > c > With this patch GDB displays the first thefile.cc for m() and the second > thefile.cc for n(); without this patch it forgot to display n(). > > It expects that if !ui_out_is_mi_like_p and !ui_source_list it is really TUI > and no other uiout interface; I hope it is safe assumption and there will be > no new interfaces besides current CLI + TUI + MI. Re: "no new interfaces": Perhaps not immediately relevant here, but I think it's something we need to keep in mind. I gather people are thinking of putting GUI-like things on top of gdb via the Python API. So it's really CLI + TUI + MI + potentially-Python.