diff options
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/addr2line.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0a8b86c8..24504077 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2018-05-12 Mark Wielaard <mark@klomp.org> + + * addr2line.c (main): Add fflush (stdout) after handle_address () + when reading from stdin. + 2018-04-24 Mark Wielaard <mark@klomp.org> * readelf.c (print_debug_aranges_section): Try elf_rawdata if no diff --git a/src/addr2line.c b/src/addr2line.c index 444ee52c..5acafa00 100644 --- a/src/addr2line.c +++ b/src/addr2line.c @@ -187,6 +187,7 @@ main (int argc, char *argv[]) buf[chars - 1] = '\0'; result = handle_address (buf, dwfl); + fflush (stdout); } free (buf); |