This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Does GDB has 'quiet mode', and does GDB has APIs for writing log
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Fei Ding <fdingiit at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Mon, 30 Mar 2015 17:38:19 +0300
- Subject: Re: Does GDB has 'quiet mode', and does GDB has APIs for writing log
- Authentication-results: sourceware.org; auth=none
- References: <CAGmPkfJSCOhMH7-ysPKOsyoCzh7QmFcBipd13hJZ+j=h3ti5=g at mail dot gmail dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Mon, 30 Mar 2015 15:33:26 +0800
> From: Fei Ding <fdingiit@gmail.com>
>
> 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?
Is the "silent" command what you are looking for?