From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44465 invoked by alias); 22 Jan 2018 04:17:36 -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 44456 invoked by uid 89); 22 Jan 2018 04:17:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 22 Jan 2018 04:17:34 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id D28E31176A6; Sun, 21 Jan 2018 23:17:32 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ksomn9wgXTtF; Sun, 21 Jan 2018 23:17:32 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 719B2116BEC; Sun, 21 Jan 2018 23:17:32 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 391998330B; Mon, 22 Jan 2018 08:17:28 +0400 (+04) Date: Mon, 22 Jan 2018 04:17:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Cc: Keith Seitz Subject: pushed: [RFA/linespec] wrong line number in breakpoint location Message-ID: <20180122041728.lhctkcpmvtlol4kq@adacore.com> References: <1513565091-118926-1-git-send-email-brobecker@adacore.com> <20171219092405.n2dql5ji52qhjilj@adacore.com> <206d75d6b1f14e55b6a0dff523d8c722@polymtl.ca> <20171221113127.ijqv6dnzjfifwfnb@adacore.com> <20171221113214.hezwvaatnbd4yzfq@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171221113214.hezwvaatnbd4yzfq@adacore.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SW-Source: 2018-01/txt/msg00435.txt.bz2 > > gdb/ChangeLog: > > > > * linespec.c (create_sals_line_offset): Remove code that preserved > > the symtab_and_line's line number. > > > > gdb/testsuite/ChangeLog: > > > > * gdb.base/break-include.c, gdb.base/break-include.inc, > > gdb.base/break-include.exp: New files. > > * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's > > line number now being the actual line number where the breakpoint > > was inserted. > > * gdb.mi/mi-break.exp: Likewise. > > * gdb.mi/mi-reverse.exp: Likewise. > > * gdb.mi/mi-simplerun.exp: Ditto. Now pushed, after having updated the copyright year and retesting on x86_64-linux. -- Joel