[PATCH] Fixed top frame assumption in watchpoint-hw-attach

Simon Marchi simon.marchi@ericsson.com
Wed Jun 27 13:31:00 GMT 2018


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



More information about the Gdb-patches mailing list