This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: syms_from_objfile() warnings and win32-nat.c IO redirection (Was: suppress annoying warnings about cygwin1.dbg)
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Cc: Pedro Alves <pedro_alves at portugalmail dot pt>, insight at sourceware dot org
- Date: Fri, 9 Nov 2007 08:59:00 -0500
- Subject: Re: syms_from_objfile() warnings and win32-nat.c IO redirection (Was: suppress annoying warnings about cygwin1.dbg)
- References: <470FFB00.9909C731@dessent.net> <47101DB4.6010204@portugalmail.pt> <20071024184207.GA10943@caradoc.them.org> <4725378D.5010800@portugalmail.pt> <4053daab0710290203q5aa79bam6a8e87e5c6a837ba@mail.gmail.com> <20071029123318.GA16009@caradoc.them.org> <20071030011953.GA28693@ednor.casa.cgf.cx> <4733A007.2040201@portugalmail.pt> <4733A059.6000609@portugalmail.pt> <20071109133408.GA15911@ednor.casa.cgf.cx>
On Fri, Nov 09, 2007 at 08:34:08AM -0500, Christopher Faylor wrote:
> >@@ -806,7 +738,7 @@ dll_symbol_command (char *args, int from
> > args = newargs;
> > }
> >
> >- safe_symbol_file_add (args, from_tty, NULL, 0, OBJF_SHARED | OBJF_USERLOADED);
> >+ symbol_file_add (args, from_tty, NULL, 0, OBJF_SHARED | OBJF_USERLOADED);
> > }
> >
> > /* Handle DEBUG_STRING output from child process.
>
> That would do it but removing that code would mean lots of console
> chatter unless you're debugging with the most recent, unreleased version
> of the DLL. I think we need to keep that code in gdb until the next version
> of cygwin is released - and that is not even on the horizon yet.
Would it? I don't think dll_symbol_command is automatically invoked
(in fact I've never quite understood why Cygwin has extra DLL-related
commands).
--
Daniel Jacobowitz
CodeSourcery