Re: syms_from_objfile() warnings and win32-nat.c IO redirection (Was: suppress annoying warnings about cygwin1.dbg)

Daniel Jacobowitz
2007-11-09T13:59:11Z

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