From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14506 invoked by alias); 20 Jan 2014 19:51:49 -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 14493 invoked by uid 89); 20 Jan 2014 19:51:49 -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-ig0-f175.google.com Received: from mail-ig0-f175.google.com (HELO mail-ig0-f175.google.com) (209.85.213.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 20 Jan 2014 19:51:48 +0000 Received: by mail-ig0-f175.google.com with SMTP id uq10so8810686igb.2 for ; Mon, 20 Jan 2014 11:51:46 -0800 (PST) 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=bQZ3XubN1pKSXIlcIepKG14IFaDU59c9e+IatpUJ2tw=; b=StwhjG4x0iW1A5TfMLAU6eyeetrY2tfGJSmSTtjzSpTKd4dK/a7jKw8ZnZ5aWcesRV h/V3uDzC1PrQ+ZCTFNQD5tUTNMg3vDy7Ktvu+PHjPutXiZhkbu2RYB9S4YxID+YA9qeW aW8nkRm0gUfXGtTB65Xz5rBRpJ36J235vHzgWShkfpKZDa5CY17gVyz9nltXOTnJUXjt CJsGWuaZw0NETBsyJXQK/hR7RpIeHUw9dwRkWen9Qxw216WCbPGNdL7OagYD7h3ChtX+ SSPpCjXWrNpZYYrjgklrig4ChSGqOubXKa+gcPgso4rduTgbHoZHycjjssFe1YVwFR0e 1tmA== X-Gm-Message-State: ALoCoQlCJhoQg1kqr9Y07AGHlyDPOZe3RdBDWlVRHEjjauHZoUXJ7+KqjD5kEtB55MpkQjkXmMA4DxnPEfVfMH94IfTe++IWiZ9Pi4WlVIPso3FEhBPqajg3I0v9qIg2RE8gdsuWy9IXo7gJxXKCaxa7RUsCqDo+jalBuvavvflwIVF1UidRYSPPZH+Vw3eDFvOI8XrTvzavaUUkeEXRVuP4HMKyh6Ya2w== MIME-Version: 1.0 X-Received: by 10.43.74.198 with SMTP id yx6mr6580345icb.40.1390247506396; Mon, 20 Jan 2014 11:51:46 -0800 (PST) Received: by 10.64.58.77 with HTTP; Mon, 20 Jan 2014 11:51:46 -0800 (PST) In-Reply-To: <87d2jnjjk3.fsf@fleche.redhat.com> References: <52B1842F.5020401@redhat.com> <21205.55987.69477.892571@ruffy.mtv.corp.google.com> <52D826DF.4000505@codesourcery.com> <87d2jnjjk3.fsf@fleche.redhat.com> Date: Mon, 20 Jan 2014 19:51:00 -0000 Message-ID: Subject: Re: [PATCH 4/6] gdbserver: Delimit debugging output for readability From: Doug Evans To: Tom Tromey Cc: Yao Qi , Pedro Alves , gdb-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00758.txt.bz2 On Sun, Jan 19, 2014 at 9:42 PM, Tom Tromey wrote: >>>>>> "Doug" == Doug Evans writes: > >>> gdbserver has used gnulib, which means we can use gettimeofday >>> unconditionally in gdbserver? > > Doug> Left for another day. > Doug> There's no loss in splitting this up into steps. > > This is only true if you are planning to actually do the next step. You deleted the two immediately preceding lines, sigh. >>>> This patch adds a check for gettimeofday and doesn't fall back to using one >>>> in libiberty or gnulib, leaving that for another day. palves had already told me people were thinking of linking gdbserver with libiberty for a different reason. Plus it's hardly a stretch to have already imagined that happening. And when that happened, yes I was planning on taking advantage of that. Duh.