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] fix for aarch64 sim tbnz bug


On 04 Dec 2016 19:43, Jim Wilson wrote:
> --- a/sim/testsuite/sim/aarch64/testutils.inc
> +++ b/sim/testsuite/sim/aarch64/testutils.inc
> @@ -43,11 +43,11 @@
>  	
>  	swiwrite 5
>  	exit 0
> +	.endm
>  
>  	.data
>  .Lpass:
>  	.asciz "pass\n"
> -	.endm
>  
>  # MACRO: fail
>  # Write 'fail' to stdout and quit
> @@ -56,12 +56,12 @@
>  	adrp	x1, .Lfail
>  	add	x1, x1, :lo12:.Lfail
>  	swiwrite 5
> -	exit 0
> +	exit 1
> +	.endm
>  
>  	.data
>  .Lfail:
>  	.asciz "fail\n"
> -	.endm
>  
>  # MACRO: start
>  # All assembler tests should start with a call to "start"

i think you want to stuff those pass/fail strings into the
start macro instead of just having it get inserted where the
include happened to show up.
-mike

Attachment: signature.asc
Description: Digital signature


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