Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove static buffer from ada_decode
ada_decode has a static buffer, which means it is not thread-safe. This patch removes the buffer and adds a parameter so that the storage can be managed by the caller. gdb/ChangeLog 2019-05-29 Tom Tromey <tom@tromey.com> * ada-varobj.c (ada_varobj_describe_simple_array_child): Update. * ada-lang.h (ada_decode): Add "storage" parameter. * ada-lang.c (ada_decode): Add "storage" parameter. (ada_decode_symbol, ada_la_decode, ada_sniff_from_mangled_name) (is_valid_name_for_wild_match, name_matches_regex) (ada_add_global_exceptions): Update. * ada-exp.y (write_object_renaming): Update.
- Loading branch information
Showing
5 changed files
with
54 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters