This is the mail archive of the gdb-prs@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]

[Bug breakpoints/18275] dprintf (call style) could automatically flush the standard output


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.


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