This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fixed top frame assumption in watchpoint-hw-attach
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: Richard Bunt <richard dot bunt at arm dot com>, <gdb-patches at sourceware dot org>
- Cc: <nd at arm dot com>
- Date: Wed, 27 Jun 2018 09:29:16 -0400
- Subject: Re: [PATCH] Fixed top frame assumption in watchpoint-hw-attach
- References: <d8b751d8-b6dd-2bda-50cd-102e0d9fe32a@arm.com>
On 2018-06-27 06:17 AM, Richard Bunt wrote:
> Fixed top frame assumption in watchpoint-hw-attach
>
> watchpoint-hw-attach.exp was noticed to fail on some machines.
> Thanks to the input from sergiodj and palves on the IRC channel,
> it was concluded that the test case incorrectly assumed that on
> attach it was landed in the top-most frame of the inferior. This
> was fixed by running to a break point in main by explicitly
> defining the source file name before continuing with the test.
>
> Tested on the following architectures x86_64, aarch64 and ppc64le.
LGTM, thanks!
Simon