From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 112944 invoked by alias); 30 Mar 2015 14:44:19 -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 112933 invoked by uid 89); 30 Mar 2015 14:44:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout28.012.net.il Received: from mtaout28.012.net.il (HELO mtaout28.012.net.il) (80.179.55.184) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Mar 2015 14:44:17 +0000 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NM1005004Q2PA00@mtaout28.012.net.il> for gdb@sourceware.org; Mon, 30 Mar 2015 17:42:55 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NM100KSM4VIUTA0@mtaout28.012.net.il>; Mon, 30 Mar 2015 17:42:55 +0300 (IDT) Date: Mon, 30 Mar 2015 14:44:00 -0000 From: Eli Zaretskii Subject: Re: Does GDB has 'quiet mode', and does GDB has APIs for writing log In-reply-to: To: Fei Ding Cc: gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: <834mp2zgsw.fsf@gnu.org> References: X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00114.txt.bz2 > Date: Mon, 30 Mar 2015 17:57:38 +0800 > From: Fei Ding > > I want to manually write log by myself, any APIs? There are "printf" and "output" commands. And if that's not enough, you can write your extensions in Python or Guile.