From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 50195 invoked by alias); 12 Feb 2018 13:50:22 -0000 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 Received: (qmail 50185 invoked by uid 89); 12 Feb 2018 13:50:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-qk0-f174.google.com Received: from mail-qk0-f174.google.com (HELO mail-qk0-f174.google.com) (209.85.220.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 12 Feb 2018 13:50:20 +0000 Received: by mail-qk0-f174.google.com with SMTP id o7so4001912qkc.1 for ; Mon, 12 Feb 2018 05:50:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=HqlfiXB8UZqJfJ6vgE3B92OMEgxk8+3BI4wv6HivVps=; b=TerukZ19moqQLweGEUYK+Ha98FWXSHurL53nwGzXFSzldNk03srSbAmgOcE/1IvlDw NfrJbt0vuHL6DLMJsKMIzREDC/izHS9Q2UxFCu32NytM0PfY6HNXBmFnXK91/yz4FaCl X5XU8RXQUaKaAQ5T0B5jhFAFnl8f4M0u754ynU6OFvw/BOcVWD5I31C3Q1Cdquz7/AmE BLTU2NiAXX2P380bGhoBekHm6aAV3BoLEkfvxKEZT57SUuwjsfXRn3rOZ5a2VUR9BYRH W5xRi921ZrpNIZpOO78pnxFS+i5MYBRnnqkjrtID+rFdvR2Ndx8zglrugGs61Z9fnk3W DGqQ== X-Gm-Message-State: APf1xPDy+rJIMaMex+nbk9DSeUbHXaqHFJBxMxqzsc9IPZ/EDqJXosM9 uGe9rPvcoAUzS+lX/Fy88KUEWbfcwXdcyPKb1R8= X-Google-Smtp-Source: AH8x224jaKKfoY56NIY2LPFNG/6tDvOqYsh/2hz1ktA+unFtm8aTrL04tW+uA5boEjTfHF+V8Ovm5mBQLCksIiRjhag= X-Received: by 10.55.104.150 with SMTP id d144mr1702260qkc.71.1518443418853; Mon, 12 Feb 2018 05:50:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.153.232 with HTTP; Mon, 12 Feb 2018 05:50:18 -0800 (PST) In-Reply-To: <20180204000647.19188-1-niteria@gmail.com> References: <20180204000647.19188-1-niteria@gmail.com> From: Yao Qi Date: Mon, 12 Feb 2018 13:50:00 -0000 Message-ID: Subject: Re: [PATCH v3 0/1] Don't rewind PC for GHC generated frames To: Bartosz Nitka Cc: GDB Patches Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2018-02/txt/msg00168.txt.bz2 On Sun, Feb 4, 2018 at 12:06 AM, Bartosz Nitka wrote: > As a side note, Haskell code can be pretty dense and a lot > of functionality can fit on one line. GHC already puts column > numbers in the debugging information, but from what I can tell > GDB doesn't expose that in any way. > Would that be a worthwhile addition to GDB? If what you meant is DW_LNS_set_column, then, other compilers also generates it, and GDB doesn't use it. Maybe, GDB can use it in TUI mode, to blink on the right line and column, or GDB tells MI front ends the column number so they can highlight accordingly. What do you want to add to GDB? --=20 Yao (=E9=BD=90=E5=B0=A7)