diff options
author | Tom de Vries <tdevries@suse.de> | 2020-02-19 07:05:13 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-02-19 07:05:13 +0100 |
commit | 9db2b96b0759fda3347743caba66a395d115e335 (patch) | |
tree | 77d6b5338998fafe41d09873179c4a951507120c /sim/igen/misc.c | |
parent | 2c7c5554df19e410ea3a7d78b0c1435967a4bc62 (diff) | |
download | gdb-9db2b96b0759fda3347743caba66a395d115e335.zip gdb-9db2b96b0759fda3347743caba66a395d115e335.tar.gz gdb-9db2b96b0759fda3347743caba66a395d115e335.tar.bz2 |
[gdb/testsuite] Ignore pass in gdb_caching_proc
Before commit d4295de4f3 "[gdb/testsuite] Handle missing gnatmake in
gnat_runtime_has_debug_info", calling the gdb_caching_proc
gnat_runtime_has_debug_info could generate a pass because of using
gdb_compile_ada.
This has been fixed in that commit by using a factored out variant
gdb_compile_ada_1, which does not call pass.
Additionally, fix cases like this in more generic way: by ignoring pass calls
during execution of a gdb_caching_proc.
Build and reg-tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2020-02-19 Tom de Vries <tdevries@suse.de>
* lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
(gdb_do_cache): Use gdb_do_cache_wrap.
* gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
Diffstat (limited to 'sim/igen/misc.c')
0 files changed, 0 insertions, 0 deletions