From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96338 invoked by alias); 22 Sep 2015 17:28:52 -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 96329 invoked by uid 89); 22 Sep 2015 17:28:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: usevmg20.ericsson.net Received: from usevmg20.ericsson.net (HELO usevmg20.ericsson.net) (198.24.6.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 22 Sep 2015 17:28:51 +0000 Received: from EUSAAHC007.ericsson.se (Unknown_Domain [147.117.188.93]) by usevmg20.ericsson.net (Symantec Mail Security) with SMTP id 96.28.32596.4B031065; Tue, 22 Sep 2015 12:43:00 +0200 (CEST) Received: from [142.133.110.144] (147.117.188.8) by smtp-am.internal.ericsson.com (147.117.188.95) with Microsoft SMTP Server id 14.3.248.2; Tue, 22 Sep 2015 13:28:48 -0400 Subject: Re: [PATCH] [PR breakpoints/18275] Introduce dprintf-flush-function for call-style dprintfs To: Pedro Alves , References: <1441827156-8518-1-git-send-email-simon.marchi@ericsson.com> <560181EE.7010102@redhat.com> From: Simon Marchi Message-ID: <56018FD0.2060008@ericsson.com> Date: Tue, 22 Sep 2015 17:28:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <560181EE.7010102@redhat.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00534.txt.bz2 Thanks for the comments. > Urgh. Note this won't work everywhere -- you can't portably take the address of > stdout, which according to the C standard is a macro. I believe this won't > work on mingw, for example. If we do this, it should probably end up being > a gdbarch variable/method. Ok thanks for the note. I'll make sure to test this on Windows/mingw.