aboutsummaryrefslogtreecommitdiff
path: root/gprof/cg_print.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-11-23 01:04:54 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-11-23 01:04:54 +0000
commit09e7f15bcf0986ca21c6832ece4c10a613159900 (patch)
tree23f4f39b819e02eec2c964ab58591af1a86b9c4f /gprof/cg_print.c
parent3a867c2212df1b93fbac759ba26093512949ff19 (diff)
downloadgdb-09e7f15bcf0986ca21c6832ece4c10a613159900.zip
gdb-09e7f15bcf0986ca21c6832ece4c10a613159900.tar.gz
gdb-09e7f15bcf0986ca21c6832ece4c10a613159900.tar.bz2
[Ada/tasks] Optimize ATCB lookups
Type symbols that are used to decode the Ada task control block may be duplicated in any unit that uses a tasking feature; an Ada lookup of these symbols would collect all the duplicated instances and could provoke the load of a huge amount of debug symbols in the process. However, when decoding the task information, we are only interested in one instance; and we have the full name of the symbol anyway. So use a C lookup instead of an Ada lookup. 2010-11-05 Jerome Guitton <guitton@adacore.com> * ada-tasks.c (get_tcb_types_info): Use C lookups to get ATCB symbols.
Diffstat (limited to 'gprof/cg_print.c')
0 files changed, 0 insertions, 0 deletions