From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25086 invoked by alias); 30 Mar 2015 07:33:30 -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 25018 invoked by uid 89); 30 Mar 2015 07:33:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-ig0-f182.google.com Received: from mail-ig0-f182.google.com (HELO mail-ig0-f182.google.com) (209.85.213.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 30 Mar 2015 07:33:28 +0000 Received: by igcau2 with SMTP id au2so67345211igc.1 for ; Mon, 30 Mar 2015 00:33:26 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.107.46.27 with SMTP id i27mr4339290ioo.5.1427700806763; Mon, 30 Mar 2015 00:33:26 -0700 (PDT) Received: by 10.36.115.204 with HTTP; Mon, 30 Mar 2015 00:33:26 -0700 (PDT) Date: Mon, 30 Mar 2015 07:33:00 -0000 Message-ID: Subject: Does GDB has 'quiet mode', and does GDB has APIs for writing log From: Fei Ding To: "gdb@sourceware.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00109.txt.bz2 Hi all: I've modified GDB to support set breakpoints automatically according to a file containing all the EIP/RIP address that will be checked (a litter bit like `gdb -x file` command). But, the amount of breakpoints is too large, at least 10000, so I do not want to get any output like `Breakpoint 1, fun2 () at main.c:35` on my screen, I want GDB to be quiet at this time. Does GDB has something like `quiet mode`? Or, can I redirect these hints into a file? And, I want to write log when GDB is in `quiet mode`, does GDB has any APIs to support log? Thanks! BR.