]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
This commit was manufactured by cvs2svn to create branch 'gdb_6_0-branch'.
authornobody <>
Mon, 7 Jul 2003 14:48:51 +0000 (14:48 +0000)
committernobody <>
Mon, 7 Jul 2003 14:48:51 +0000 (14:48 +0000)
Cherrypick from master 2003-07-07 14:48:50 UTC Andreas Schwab <schwab@linux-m68k.org> ' * gdb.asm/m68k.inc: New file.':
    gdb/testsuite/gdb.asm/m68k.inc

gdb/testsuite/gdb.asm/m68k.inc [new file with mode: 0644]

diff --git a/gdb/testsuite/gdb.asm/m68k.inc b/gdb/testsuite/gdb.asm/m68k.inc
new file mode 100644 (file)
index 0000000..fadf54b
--- /dev/null
@@ -0,0 +1,38 @@
+       comment "subroutine prologue"
+       .macro gdbasm_enter
+       link    %a6,#0
+       .endm
+
+       comment "subroutine epilogue"
+       .macro gdbasm_leave
+       unlk    %a6
+       rts
+       .endm
+
+       .macro gdbasm_call subr
+       jbsr    \subr
+       .endm
+
+       .macro gdbasm_several_nops
+       nop
+       nop
+       nop
+       nop
+       .endm
+
+       comment "exit (0)"
+       .macro gdbasm_exit0
+       illegal
+       .endm
+
+       comment "crt0 startup"
+       .macro gdbasm_startup
+       lea     0,%a6
+       .endm
+
+       comment "Declare a data variable"
+       .macro gdbasm_datavar name value
+       .data
+\name:
+       .long   \value
+       .endm