diff options
author | Joel Brobecker <brobecker@adacore.com> | 2018-01-21 23:23:34 -0500 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2018-01-21 23:23:34 -0500 |
commit | de4cb04a20782b817fc80b49bba83b43cf1cb85d (patch) | |
tree | 30df9238a88ea847645fafef7e7530572bb4b3b9 /gdb/rs6000-lynx178-tdep.c | |
parent | a9e408182d2faaed5c2457b68ea3276c719a590f (diff) | |
download | gdb-de4cb04a20782b817fc80b49bba83b43cf1cb85d.zip gdb-de4cb04a20782b817fc80b49bba83b43cf1cb85d.tar.gz gdb-de4cb04a20782b817fc80b49bba83b43cf1cb85d.tar.bz2 |
Ada/DWARF: Assume the Ada compiler produces descriptive type attributes
GCC was enhanced in 2011 to generate this attribute, so I think we can
now assume that it is available when using that compiler. Doing so
allows us to speed up what we call "parallel type" lookups when
processing certain types encoded using the GNAT encoding.
This patch changes need_gnat_info to always expect those attributes
to be generated when the language is Ada. This is an assumption
that on the surfcace looks like it might be a bit on the edge; but
in practice, it should be OK because this is only useful in the
context of handling GNAT-specific encodings. Other Ada compilers
would presumably produce debugging information using pure DWARF
constructs, so would not be impacted by this.
gdb/ChangeLog:
* dwarf2read.c (need_gnat_info): Return nonzero if the cu's
language is Ada.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/rs6000-lynx178-tdep.c')
0 files changed, 0 insertions, 0 deletions