This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Prevent source file errors in --batch-silent mode
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andrew STUBBS <andrew dot stubbs at st dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>
- Date: Fri, 2 May 2008 09:44:18 -0400
- Subject: Re: [PATCH] Prevent source file errors in --batch-silent mode
- References: <480CD958.8010409@st.com> <20080501203347.GT22218@caradoc.them.org> <481AFC65.3070706@st.com>
On Fri, May 02, 2008 at 12:35:01PM +0100, Andrew STUBBS wrote:
> 2008-05-02 Andrew Stubbs <andrew.stubbs@st.com>
>
> * main.h (batch_silent): Declare.
> * event-top.c: Include main.h.
> (gdb_setup_readline): Remove extern batch_silent declaration.
> * infrun.c (normal_stop): Don't print source location when running in
> --batch-silent mode.
OK, if you also update Makefile.in(event-top.o).
--
Daniel Jacobowitz
CodeSourcery