This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/2] Multi-arch exec, more register reading avoidance


On 2017-10-09 06:16 AM, Pedro Alves wrote:
> diff --git a/gdb/testsuite/gdb.multi/multi-arch-exec.exp b/gdb/testsuite/gdb.multi/multi-arch-exec.exp
> index 27a0d60..891eb14 100644
> --- a/gdb/testsuite/gdb.multi/multi-arch-exec.exp
> +++ b/gdb/testsuite/gdb.multi/multi-arch-exec.exp
> @@ -53,7 +53,7 @@ if [istarget "s390*-*-*"] {
>  }
>  
>  if { [prepare_for_testing "failed to prepare" ${exec1} "${srcfile1}" \
> -	  [list debug \
> +	  [list debug pthreads \
>  	       additional_flags=${march1}]] } {
>      return -1
>  }
> @@ -76,22 +76,38 @@ if { [prepare_for_testing "failed to prepare" ${exec2} "${srcfile2}" \
>      return -1
>  }
>  
> -proc do_test { mode } {
> +proc do_test { mode selected_thread } {
>  	global exec1
>  
>  	clean_restart ${exec1}
> -	if ![runto_main] then {
> -	    fail "couldn't run to main"
> +	if ![runto all_started] then {
> +	    fail "couldn't run to all_started"
>  	    return -1
>  	}
>  
> +	# Delete the breakpoint at 'all_started' otherwise GDB mayb

"mayb"

Otherwise, LGTM.

Simon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]