This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog ada-tasks.c
- From: brobecke at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 23 Nov 2010 01:04:54 -0000
- Subject: src/gdb ChangeLog ada-tasks.c
CVSROOT: /cvs/src
Module name: src
Changes by: brobecke@sourceware.org 2010-11-23 01:04:54
Modified files:
gdb : ChangeLog ada-tasks.c
Log message:
[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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12332&r2=1.12333
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ada-tasks.c.diff?cvsroot=src&r1=1.32&r2=1.33