From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2369 invoked by alias); 19 May 2010 09:33:12 -0000 Received: (qmail 2361 invoked by uid 22791); 19 May 2010 09:33:11 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-fx0-f41.google.com (HELO mail-fx0-f41.google.com) (209.85.161.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 19 May 2010 09:33:04 +0000 Received: by fxm13 with SMTP id 13so474754fxm.0 for ; Wed, 19 May 2010 02:33:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.102.209.28 with SMTP id h28mr5923069mug.131.1274261577543; Wed, 19 May 2010 02:32:57 -0700 (PDT) Received: by 10.204.65.212 with HTTP; Wed, 19 May 2010 02:32:57 -0700 (PDT) Date: Wed, 19 May 2010 09:33:00 -0000 Message-ID: Subject: Remote logging over regular remote protocol From: Bogdan Harjoc To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes 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 X-SW-Source: 2010-05/txt/msg00056.txt.bz2 Hello, Do remote stubs have the ability to send logging messages to the gdb console ? I am trying to debug a Darwin target and seeing the dmesg (or similar) output would be useful. The stub Darwin uses for gdb works over ethernet and I can't figure out how to direct the dmesg output to the host I'm debugging from (there is no serial port either since it's a Mac, so no serial console as far as I can tell). The "Remote serial protocol" manual section suggests notification packets would be usable for this, but "Stop: reply" is the only such packet type listed. Has someone already done this ? Or am looking at it the wrong way ? Syslog's remote capabilities seem overkill here. Thanks, Bogdan