diff options
author | Randolph Chung <tausq@debian.org> | 2005-12-09 10:57:40 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2005-12-09 10:57:40 +0000 |
commit | 8117349cb4a05da46c397fde809fb9d14c8e028d (patch) | |
tree | fc78538a742f24ee58ab9c8266838b3c51d97fbc /gdb/testsuite/gdb.arch/pa64-nullify.s | |
parent | 8f07f25a063fcf0d117e798ef88131c91823dbe1 (diff) | |
download | binutils-8117349cb4a05da46c397fde809fb9d14c8e028d.zip binutils-8117349cb4a05da46c397fde809fb9d14c8e028d.tar.gz binutils-8117349cb4a05da46c397fde809fb9d14c8e028d.tar.bz2 |
2005-12-09 Randolph Chung <tausq@debian.org>
* gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
(get_addr_of_sym): Remove duplicate print.
(gen_core): xfail hppa*-*-hpux*, update expected output.
* gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
* gdb.arch/pa64-nullify.s: New file.
Diffstat (limited to 'gdb/testsuite/gdb.arch/pa64-nullify.s')
-rw-r--r-- | gdb/testsuite/gdb.arch/pa64-nullify.s | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.arch/pa64-nullify.s b/gdb/testsuite/gdb.arch/pa64-nullify.s new file mode 100644 index 0000000..f297699 --- /dev/null +++ b/gdb/testsuite/gdb.arch/pa64-nullify.s @@ -0,0 +1,70 @@ + .LEVEL 2.0w + .text + .align 8 + .globl foo + .type foo, @function +foo: + .PROC + .CALLINFO FRAME=64,NO_CALLS,SAVE_SP,ENTRY_GR=3 + .ENTRY + copy %r3,%r1 + copy %r30,%r3 + std,ma %r1,64(%r30) + std %r3,-8(%r30) + ldo -64(%r29),%r28 + stw %r26,0(%r28) + ldw 0(%r28),%r28 + extrd,s %r28,63,32,%r28 + ldo 64(%r3),%r30 + ldd,mb -64(%r30),%r3 + nop + bve,n (%r2) + .EXIT + .PROCEND + + .align 8 + .globl bar + .type bar, @function +bar: + .PROC + .CALLINFO FRAME=64,NO_CALLS,SAVE_SP,ENTRY_GR=3 + .ENTRY + copy %r3,%r1 + copy %r30,%r3 + std,ma %r1,64(%r30) + std %r3,-8(%r30) + ldo 64(%r3),%r30 + ldd,mb -64(%r30),%r3 + bve,n (%r2) + .EXIT + .PROCEND + + .align 8 + .globl main + .type main, @function +main: + .PROC + .CALLINFO FRAME=128,CALLS,SAVE_RP,SAVE_SP,ENTRY_GR=4 + .ENTRY + std %r2,-16(%r30) + copy %r3,%r1 + copy %r30,%r3 + std,ma %r1,128(%r30) + std %r3,-8(%r30) + std %r4,8(%r3) + ldo -64(%r29),%r28 + stw %r26,0(%r28) + std %r25,8(%r28) + ldw 0(%r28),%r26 + ldo -48(%r30),%r29 + copy %r27,%r4 + b,l foo,%r2 + nop + copy %r4,%r27 + ldd -16(%r3),%r2 + ldd 8(%r3),%r4 + ldo 64(%r3),%r30 + ldd,mb -64(%r30),%r3 + bve,n (%r2) + .EXIT + .PROCEND |