This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Regression for gdb.base/default.exp [Re: [PATCH, doc RFA][PR 15276] Add $_caller_is, et. al.]
- From: Doug Evans <xdje42 at gmail dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, eliz at gnu dot org
- Date: Mon, 08 Sep 2014 23:03:48 -0700
- Subject: Re: Regression for gdb.base/default.exp [Re: [PATCH, doc RFA][PR 15276] Add $_caller_is, et. al.]
- Authentication-results: sourceware.org; auth=none
- References: <m3zjejhre2 dot fsf at seba dot sebabeach dot org> <m3d2b8u32a dot fsf at sspiff dot org> <20140907115934 dot GA29000 at host2 dot jankratochvil dot net>
Jan Kratochvil <jan.kratochvil@redhat.com> writes:
> On Sat, 06 Sep 2014 18:27:41 +0200, Doug Evans wrote:
>> Here is what I pushed.
>
> -PASS: gdb.base/default.exp: show convenience
> +FAIL: gdb.base/default.exp: show convenience ($_exception = <error: No frame selected> not found)
>
> due to:
>
> commit faa42425cb1f5cd279fc8c91d0b75d37853a128a
> Author: Doug Evans <xdje42@gmail.com>
> Date: Sat Sep 6 09:15:44 2014 -0700
> PR 15276: Add $_caller_is, $_caller_matches, $_any_caller_is, $_any_caller_matches
Thanks.
I committed the following.
2014-09-09 Doug Evans <xdje42@gmail.com>
* gdb.base/default.exp (show_conv_list): Add _caller_is,
_caller_matches, _any_caller_is, _any_caller_matches.
diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp
index 6674df3..ab74bdb 100644
--- a/gdb/testsuite/gdb.base/default.exp
+++ b/gdb/testsuite/gdb.base/default.exp
@@ -630,6 +630,10 @@ if ![skip_python_tests] {
{$_regex = <internal function _regex>} \
{$_streq = <internal function _streq>} \
{$_strlen = <internal function _strlen>} \
+ {$_caller_is = <internal function _caller_is>} \
+ {$_caller_matches = <internal function _caller_matches>} \
+ {$_any_caller_is = <internal function _any_caller_is>} \
+ {$_any_caller_matches = <internal function _any_caller_matches>} \
}
}
gdb_test_list_exact "show convenience" "show convenience" \