From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12410 invoked by alias); 3 Jun 2014 20:49:42 -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 12395 invoked by uid 89); 3 Jun 2014 20:49:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ve0-f175.google.com Received: from mail-ve0-f175.google.com (HELO mail-ve0-f175.google.com) (209.85.128.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 03 Jun 2014 20:49:40 +0000 Received: by mail-ve0-f175.google.com with SMTP id jw12so7603514veb.20 for ; Tue, 03 Jun 2014 13:49:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=2alzlLdCFc36piNojR1aJk9dZm79ExE2p4ACTPeVYh8=; b=P1cdsEO1TLAiEvbUUujo52/x/dFP9TH0dWGLI3Q/CuKOTWZkr6y2dReh6sMeTuUU1t omcabRwfLR4IbNjr4BUN7Tj//MTQ/ds5HOZ2IiJY7Xh2E2Etb3O6SY4lhvhXOaHk/Pjt 3xgqHRx5K2lWbFaaY12TtnxUboiU18FoKkyKTMDuh7JmvLdz9geeQHCYOnBbONU+Y9gN f/1ra9OfqH/cf1YvEJ17hsC+v6bzhsDJ13v9l7qfDdyIyh76UjvW92zqEGPdjQ9pybL0 kBd1COUEEC1Xs86lks1FafgEIxXrNIhVhwROO4pUpyjjr6Z2ndMsOs2X2+K0lEPpgOnZ o5aw== X-Gm-Message-State: ALoCoQkaRbLKw4W3R+zPFTy7tnNVNExceuhjFFulhCi15dUZn519/mQx1k8SGE+e5OSFSeFEee01 MIME-Version: 1.0 X-Received: by 10.220.92.135 with SMTP id r7mr39148166vcm.11.1401828578303; Tue, 03 Jun 2014 13:49:38 -0700 (PDT) Received: by 10.52.28.230 with HTTP; Tue, 3 Jun 2014 13:49:38 -0700 (PDT) In-Reply-To: <538DFEE0.6060802@redhat.com> References: <538DFEE0.6060802@redhat.com> Date: Tue, 03 Jun 2014 20:49:00 -0000 Message-ID: Subject: Re: [PATCH] clean up resize_section_table From: Doug Evans To: Pedro Alves Cc: gdb-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00100.txt.bz2 On Tue, Jun 3, 2014 at 9:59 AM, Pedro Alves wrote: > On 06/03/2014 01:00 AM, Doug Evans wrote: >> Hi. >> >> This patch is a simple cleanup to resize_section_table. >> Some callers do a two-step dance to clear the table, >> this replaces that with a new function that does what it says. >> >> Plus the argument "num_added" was a bit confusing so I renamed it. >> >> Regression tested on amd64-linux. > > Looks good to me. Committed. Thanks.