From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125691 invoked by alias); 4 Mar 2017 00:09:13 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 125678 invoked by uid 89); 4 Mar 2017 00:09:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=toto X-HELO: mail-qk0-f173.google.com Received: from mail-qk0-f173.google.com (HELO mail-qk0-f173.google.com) (209.85.220.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 04 Mar 2017 00:09:11 +0000 Received: by mail-qk0-f173.google.com with SMTP id 1so83253354qkl.3 for ; Fri, 03 Mar 2017 16:09:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=f7J2dNrjYu9fFLvKfDMeEqQb0kWh079tHIbUA40+zF4=; b=Kc3ZsIuw6PDAs8xNDytPMke7Hejh8X07Nlz6L5ypydLyg2fMrbhVSQVnr2Kt3OFom1 IJ0QISWWsD3jNGMUtPeKuHcYaZRFGjFmpDVu+M9haD0C71JZWLhjE85YM3Gg9dSxJMz/ MIILyWqcRo5zmxcDJ6lGr1Zxk8I2nKxp9/QJn208DJkkl+ygf/KpluyBbtnPDlNT7kMZ A7sl3HnNSaJCaM7UNBOBNaorYlwNbSfzec0GZ4k2dL2SwXpq6w3Pte2oidFprvlctOox AVNzSo3esVpMd71UecOPFL21AvCvuG7Nq3N6WyG1sQ7pg+ZSIFWdKHoEmhl18X87TsoT BEJA== X-Gm-Message-State: AMke39nbCUP3yWoSZ2oyOdPNPt4x6WnQ0be7mXrtW8BBJK+B5+GX+dBn6b/pVpmYF5WRVoZn/5mOWAlWp0SGEg== X-Received: by 10.200.47.225 with SMTP id m30mr5467677qta.175.1488586149969; Fri, 03 Mar 2017 16:09:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.53.226 with HTTP; Fri, 3 Mar 2017 16:09:09 -0800 (PST) From: Matt Date: Sat, 04 Mar 2017 00:09:00 -0000 Message-ID: Subject: redirect gdbserver stderr/debug vim via gdbserver To: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2017-03/txt/msg00000.txt.bz2 Hi, I am trying to debug a console application (neovim) with gdbserver. I've tried turning off all debug info from gdbserver (via monitor set debug/remote-debug ...), yet I still see "Detaching from process" mixed up with the debugged CLI application. In order to make these messages disappear, I tried redirecting gdbserver stderr (zsh) to 'temp': $ gdbserver localhost:7777 ./build/bin/nvim toto 2>temp on the other side (same computer) I connect with: $ gdb ./build/bin/nvim (gdb) target remote :7777 (gdb) c but then nothing appears on the gdbserver terminal, i.e., I can't see neovim interface. Why is that ? Best regards Matt