This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Whack an old MI hack


In the process of tinkering with logging for MI commands, I ran afoul of an old hack that bypasses gdb_stdout by re-opening stdout.

As far as I can tell, this hack is no longer needed, since for instance fputs_unfiltered_hook went away years ago. I'm not seeing any testsuite regressions with this change, and Eclipse continues to work fine. On the chance that this is still somehow critical, I'll hold off committing for a few days.

Stan

2012-05-31 Stan Shebs <stan@codesourcery.com>

    * mi/mi-interp.c (mi_interpreter_init): Set raw_stdout from
    gdb_stdout.


Attachment: miraw-patch-1
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]