This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/18275] dprintf (call style) could automatically flush the standard output
- From: "malaperle at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 01 May 2015 21:22:57 +0000
- Subject: [Bug breakpoints/18275] dprintf (call style) could automatically flush the standard output
- Auto-submitted: auto-generated
- References: <bug-18275-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18275
--- Comment #5 from Marc-Andre Laperle <malaperle at gmail dot com> ---
it seems to be a problem when stdout is not found as a debug symbol by GDB.
This works:
call (void) fflush (*((void**)&stdout))
BTW, Simon figured this out, not me ;)
--
You are receiving this mail because:
You are on the CC list for the bug.