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:43:59 +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> <CAGmPkfJgYatRhnW9pK9L2NC0CVfcbsDokchQf9aEbagHWO2BRA at mail dot gmail dot com> <CAGmPkfLN7QMWNvEGY0ec2am-KikjT=BWxNxEwD8ku52CcY8y+w at mail dot gmail dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Mon, 30 Mar 2015 17:57:38 +0800
> From: Fei Ding <fdingiit@gmail.com>
>
> 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.