diff options
author | Gary Benson <gbenson@redhat.com> | 2014-08-05 13:25:48 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-08-29 10:11:59 +0100 |
commit | 5df43998152f7096f8eed45c24a4fad5a3244d8b (patch) | |
tree | dfa1349c4c4ba1aac8d5ffdfcc52e01f8a7c06aa /gdb/ChangeLog | |
parent | 2437fd32f17cb11338949cff1fd0741e14ce1681 (diff) | |
download | gdb-5df43998152f7096f8eed45c24a4fad5a3244d8b.zip gdb-5df43998152f7096f8eed45c24a4fad5a3244d8b.tar.gz gdb-5df43998152f7096f8eed45c24a4fad5a3244d8b.tar.bz2 |
Make error usable earlier
error (and other exception-throwing functions) are callable from the
first line of captured_main, but the exception printing code will
crash if called before the first call to set_width. This commit makes
the exception printing code usable from the moment gdb_stderr is set
up.
gdb/ChangeLog:
* exceptions.c (print_flush): Protect calls to
target_terminal_ours and wrap_here.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1a086ca..8504cb9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2014-08-29 Gary Benson <gbenson@redhat.com> + * exceptions.c (print_flush): Protect calls to + target_terminal_ours and wrap_here. + +2014-08-29 Gary Benson <gbenson@redhat.com> + * utils.h (filtered_printing_initialized): New declaration. * utils.c (abort_with_message): New function. (internal_vproblem): Use abort_with_message for first level |