From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128009 invoked by alias); 11 Dec 2015 23:28:18 -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 128000 invoked by uid 89); 11 Dec 2015 23:28:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: mail-wm0-f49.google.com Received: from mail-wm0-f49.google.com (HELO mail-wm0-f49.google.com) (74.125.82.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 11 Dec 2015 23:28:16 +0000 Received: by mail-wm0-f49.google.com with SMTP id c201so92568621wme.0 for ; Fri, 11 Dec 2015 15:28:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=iMqVOmnl7QIFl1rgW3UJ7rhQfqLhjFFK/Y+4Ek0tKSY=; b=e4uDIFJ6RxdyADLwu6bXr3Vmmlf8BSTVXlHrKu6phQ0Ve1kOc3atzElmYfE+WkZSIG otU7OMwOFTGCUDgXOJQAize9LhwlySsvEos7OhyrUJ0VHShJJ5r2dh2c6PIw357yNg87 MGijDe8pxlgZHYig0sYARW861Crwk+Z6xoKbl2tVAVYFump5x+MEHQ2lQ5B2+DnS51W+ nNxKmQMcRdR/4XkFTNczaLrPYlc9cveRNKx9FdbOUEiqT6dTCmQa0GSkqRVME566tjkq gZb4r2+WAvwabuXFdJHB7lFJ0rVAfy2j0vTiNP+6GpAFmOYULxJenxxpZzCsb/seqiZY z06w== X-Gm-Message-State: ALoCoQlSd3C0p+/ZovMJY2QAcunEZ2fnfqXSY/3qbRZGi4j+HE1D4VprxfYSYwzS2+C4LL37ms/m1kArDaXlvHJILy0OKtbtmw== X-Received: by 10.28.137.138 with SMTP id l132mr1011974wmd.21.1449876493021; Fri, 11 Dec 2015 15:28:13 -0800 (PST) Received: from localhost (host86-138-95-213.range86-138.btcentralplus.com. [86.138.95.213]) by smtp.gmail.com with ESMTPSA id u17sm5361512wmd.8.2015.12.11.15.28.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Dec 2015 15:28:12 -0800 (PST) Date: Fri, 11 Dec 2015 23:28:00 -0000 From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Eli Zaretskii , Pedro Alves Subject: Re: [PATCH 0/7] Minor changes to 'list' command. Message-ID: <20151211232810.GA16909@embecosm.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Editor: GNU Emacs [ http://www.gnu.org/software/emacs ] User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00249.txt.bz2 * Andrew Burgess [2015-11-25 00:34:25 +0000]: > The main motivation for this patch series was patch #6, this adds an > extra error when trying to use 'list -' to list off the beginning of a > file. > > Patch #5 fixes a small inconsistency that I spotted while in the area, > and patches #1 to #4 are just clean up. > > Patch #7 extends the command help for 'list'. > > --- > > Andrew Burgess (7): > gdb: Make lines_to_list variable static. > gdb: Use NULL instead of 0 for pointer comparison. > gdb: Small code restructure for list_command. > gdb: Make test names unique in list.exp. > gdb: 'list' command, tweak handling of +/- arguments. > gdb: Add an error when 'list -' reaches the start of a file. > gdb: Extend help text for 'list' command. > > gdb/ChangeLog | 29 ++++++++++++++++++++++++++ > gdb/cli/cli-cmds.c | 45 ++++++++++++++++++++++++----------------- > gdb/source.c | 2 +- > gdb/testsuite/ChangeLog | 16 +++++++++++++++ > gdb/testsuite/gdb.base/list.exp | 39 +++++++++++++++++++++++++++++++++-- > 5 files changed, 109 insertions(+), 22 deletions(-) > All pushed, incorporating the fixes from Eli & Pedro. Thanks, Andrew