diff options
author | Joel Brobecker <brobecker@adacore.com> | 2015-02-02 07:28:12 +0400 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2015-02-02 07:28:12 +0400 |
commit | b1eedac962b9d935ecb40725a614f6fa6cb0783a (patch) | |
tree | dba4d76ac445402c0f2526f2a6a8a2c5b293edb2 /bfd/coff-go32.c | |
parent | 66c168ae56fa2d67f821ccae774fd25c695fd9ce (diff) | |
download | gdb-b1eedac962b9d935ecb40725a614f6fa6cb0783a.zip gdb-b1eedac962b9d935ecb40725a614f6fa6cb0783a.tar.gz gdb-b1eedac962b9d935ecb40725a614f6fa6cb0783a.tar.bz2 |
[Ada] Do not re-cache symbol-lookup result found from cache lookup.
When ada-lang.c:ada_lookup_symbol_list_worker finds a match in
the symbol cache, it caches the result again, which is unecessary.
This patch fixes the code to avoid that.
gdb/ChangeLog:
PR gdb/17856:
* ada-lang.c (ada_lookup_symbol_list_worker): Do not re-cache
results found in the cache.
Tested on x86_64-linux, no regression.
Diffstat (limited to 'bfd/coff-go32.c')
0 files changed, 0 insertions, 0 deletions