Blame SOURCES/gdb-6.7-bz426600-DW_TAG_interface_type-test.patch

f9426a
http://sourceware.org/ml/gdb-patches/2007-12/msg00397.html
f9426a
f9426a
2007-12-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
f9426a
f9426a
	* gdb.arch/i386-interface.S, gdb.arch/i386-interface.exp: New files.
f9426a
f9426a
2008-03-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
f9426a
f9426a
	* gdb.arch/i386-interface.exp: Fix a testcase race.
f9426a
f9426a
--- /dev/null	1 Jan 1970 00:00:00 -0000
f9426a
+++ ./gdb/testsuite/gdb.arch/i386-interface.S	22 Dec 2007 19:07:28 -0000
f9426a
@@ -0,0 +1,628 @@
f9426a
+/* Copyright 2007 Free Software Foundation, Inc.
f9426a
+
f9426a
+   This program is free software; you can redistribute it and/or modify
f9426a
+   it under the terms of the GNU General Public License as published by
f9426a
+   the Free Software Foundation; either version 3 of the License, or
f9426a
+   (at your option) any later version.
f9426a
+
f9426a
+   This program is distributed in the hope that it will be useful,
f9426a
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
f9426a
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
f9426a
+   GNU General Public License for more details.
f9426a
+
f9426a
+   You should have received a copy of the GNU General Public License
f9426a
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
f9426a
+
f9426a
+   Please email any bugs, comments, and/or additions to this file to:
f9426a
+   bug-gdb@gnu.org
f9426a
+
f9426a
+   This file is part of the gdb testsuite.
f9426a
+
f9426a
+   This file was produced by:
f9426a
+   $ gcj -S interface.java -ggdb2 -Wall -m32
f9426a
+   from the .java file:
f9426a
+     interface Interface
f9426a
+     {
f9426a
+     }
f9426a
+     class Class implements Interface
f9426a
+     {  
f9426a
+     }
f9426a
+*/
f9426a
+
f9426a
+	.file	"cc28Pp2B.jar"
f9426a
+	.section	.debug_abbrev,"",@progbits
f9426a
+.Ldebug_abbrev0:
f9426a
+	.section	.debug_info,"",@progbits
f9426a
+.Ldebug_info0:
f9426a
+	.section	.debug_line,"",@progbits
f9426a
+.Ldebug_line0:
f9426a
+	.text
f9426a
+.Ltext0:
f9426a
+	.local	_MT_Interface
f9426a
+	.comm	_MT_Interface,0,4
f9426a
+	.data
f9426a
+	.align 4
f9426a
+	.type	_catch_classes_Interface, @object
f9426a
+	.size	_catch_classes_Interface, 24
f9426a
+_catch_classes_Interface:
f9426a
+	.zero	24
f9426a
+	.section	.rodata
f9426a
+	.align 2
f9426a
+	.type	_Utf1, @object
f9426a
+	.size	_Utf1, 4
f9426a
+_Utf1:
f9426a
+	.value	36121
f9426a
+	.value	9
f9426a
+	.ascii	"Interface"
f9426a
+	.zero	1
f9426a
+.globl _ZN9Interface6class$E
f9426a
+	.data
f9426a
+	.align 32
f9426a
+	.type	_ZN9Interface6class$E, @object
f9426a
+	.size	_ZN9Interface6class$E, 144
f9426a
+_ZN9Interface6class$E:
f9426a
+	.long	_ZTVN4java4lang5ClassE+8
f9426a
+	.long	403000
f9426a
+	.long	_Utf1
f9426a
+	.value	1536
f9426a
+	.zero	2
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	_MT_Interface
f9426a
+	.value	0
f9426a
+	.value	6
f9426a
+	.long	0
f9426a
+	.long	4
f9426a
+	.value	0
f9426a
+	.value	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	_catch_classes_Interface
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.value	0
f9426a
+	.byte	1
f9426a
+	.zero	1
f9426a
+	.long	0
f9426a
+	.value	0
f9426a
+	.zero	2
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.hidden	_ZN9Interface7class$$E
f9426a
+.globl _ZN9Interface7class$$E
f9426a
+	.section	.rodata
f9426a
+	.align 4
f9426a
+	.type	_ZN9Interface7class$$E, @object
f9426a
+	.size	_ZN9Interface7class$$E, 4
f9426a
+_ZN9Interface7class$$E:
f9426a
+	.long	_ZN9Interface6class$E
f9426a
+	.text
f9426a
+	.align 2
f9426a
+.globl _ZN5ClassC1Ev
f9426a
+	.type	_ZN5ClassC1Ev, @function
f9426a
+_ZN5ClassC1Ev:
f9426a
+.LFB2:
f9426a
+	pushl	%ebp
f9426a
+.LCFI0:
f9426a
+	movl	%esp, %ebp
f9426a
+.LCFI1:
f9426a
+	subl	$24, %esp
f9426a
+.LCFI2:
f9426a
+.LBB2:
f9426a
+#if 0
f9426a
+	.file 1 "interface.java"
f9426a
+#else
f9426a
+	.file "interface.java"
f9426a
+#endif
f9426a
+	.loc 1 4 0
f9426a
+	movl	8(%ebp), %eax
f9426a
+	movl	%eax, -4(%ebp)
f9426a
+	movl	-4(%ebp), %eax
f9426a
+	movl	%eax, (%esp)
f9426a
+	call	_ZN4java4lang6ObjectC1Ev
f9426a
+.LBE2:
f9426a
+	leave
f9426a
+	ret
f9426a
+.LFE2:
f9426a
+	.size	_ZN5ClassC1Ev, .-_ZN5ClassC1Ev
f9426a
+	.hidden	_ZTVN5ClassE
f9426a
+.globl _ZTVN5ClassE
f9426a
+	.data
f9426a
+	.align 32
f9426a
+	.type	_ZTVN5ClassE, @object
f9426a
+	.size	_ZTVN5ClassE, 40
f9426a
+_ZTVN5ClassE:
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	_ZN5Class6class$E
f9426a
+	.long	4
f9426a
+	.long	_ZN4java4lang6Object8finalizeEJvv
f9426a
+	.long	_ZN4java4lang6Object8hashCodeEJiv
f9426a
+	.long	_ZN4java4lang6Object6equalsEJbPS1_
f9426a
+	.long	_ZN4java4lang6Object8toStringEJPNS0_6StringEv
f9426a
+	.long	_ZN4java4lang6Object5cloneEJPS1_v
f9426a
+	.long	_ZN4java4lang6Object22throwNoSuchMethodErrorEJvv
f9426a
+	.set	.L_ZN5ClassC1Ev0,_ZN5ClassC1Ev
f9426a
+	.section	.rodata
f9426a
+	.align 2
f9426a
+	.type	_Utf2, @object
f9426a
+	.size	_Utf2, 4
f9426a
+_Utf2:
f9426a
+	.value	626
f9426a
+	.value	6
f9426a
+	.ascii	"<init>"
f9426a
+	.zero	1
f9426a
+	.align 2
f9426a
+	.type	_Utf3, @object
f9426a
+	.size	_Utf3, 4
f9426a
+_Utf3:
f9426a
+	.value	39797
f9426a
+	.value	3
f9426a
+	.ascii	"()V"
f9426a
+	.zero	1
f9426a
+	.data
f9426a
+	.align 4
f9426a
+	.type	_MT_Class, @object
f9426a
+	.size	_MT_Class, 20
f9426a
+_MT_Class:
f9426a
+	.long	_Utf2
f9426a
+	.long	_Utf3
f9426a
+	.value	16384
f9426a
+	.value	-1
f9426a
+	.long	.L_ZN5ClassC1Ev0
f9426a
+	.long	0
f9426a
+	.align 4
f9426a
+	.type	_IF_Class, @object
f9426a
+	.size	_IF_Class, 4
f9426a
+_IF_Class:
f9426a
+	.long	_ZN9Interface6class$E
f9426a
+	.align 4
f9426a
+	.type	_catch_classes_Class, @object
f9426a
+	.size	_catch_classes_Class, 24
f9426a
+_catch_classes_Class:
f9426a
+	.zero	24
f9426a
+	.section	.rodata
f9426a
+	.align 2
f9426a
+	.type	_Utf4, @object
f9426a
+	.size	_Utf4, 4
f9426a
+_Utf4:
f9426a
+	.value	47448
f9426a
+	.value	5
f9426a
+	.ascii	"Class"
f9426a
+	.zero	1
f9426a
+.globl _ZN5Class6class$E
f9426a
+	.data
f9426a
+	.align 32
f9426a
+	.type	_ZN5Class6class$E, @object
f9426a
+	.size	_ZN5Class6class$E, 144
f9426a
+_ZN5Class6class$E:
f9426a
+	.long	_ZTVN4java4lang5ClassE+8
f9426a
+	.long	403000
f9426a
+	.long	_Utf4
f9426a
+	.value	32
f9426a
+	.zero	2
f9426a
+	.long	_ZN4java4lang6Object6class$E
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	_MT_Class
f9426a
+	.value	1
f9426a
+	.value	6
f9426a
+	.long	0
f9426a
+	.long	4
f9426a
+	.value	0
f9426a
+	.value	0
f9426a
+	.long	_ZTVN5ClassE+8
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	_catch_classes_Class
f9426a
+	.long	_IF_Class
f9426a
+	.long	0
f9426a
+	.value	1
f9426a
+	.byte	1
f9426a
+	.zero	1
f9426a
+	.long	0
f9426a
+	.value	0
f9426a
+	.zero	2
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.long	0
f9426a
+	.hidden	_ZN5Class7class$$E
f9426a
+.globl _ZN5Class7class$$E
f9426a
+	.section	.rodata
f9426a
+	.align 4
f9426a
+	.type	_ZN5Class7class$$E, @object
f9426a
+	.size	_ZN5Class7class$$E, 4
f9426a
+_ZN5Class7class$$E:
f9426a
+	.long	_ZN5Class6class$E
f9426a
+	.section	.jcr,"aw",@progbits
f9426a
+	.align 4
f9426a
+	.long	_ZN9Interface6class$E
f9426a
+	.long	_ZN5Class6class$E
f9426a
+	.section	.debug_frame,"",@progbits
f9426a
+.Lframe0:
f9426a
+	.long	.LECIE0-.LSCIE0
f9426a
+.LSCIE0:
f9426a
+	.long	0xffffffff
f9426a
+	.byte	0x1
f9426a
+	.string	""
f9426a
+	.uleb128 0x1
f9426a
+	.sleb128 -4
f9426a
+	.byte	0x8
f9426a
+	.byte	0xc
f9426a
+	.uleb128 0x4
f9426a
+	.uleb128 0x4
f9426a
+	.byte	0x88
f9426a
+	.uleb128 0x1
f9426a
+	.align 4
f9426a
+.LECIE0:
f9426a
+.LSFDE0:
f9426a
+	.long	.LEFDE0-.LASFDE0
f9426a
+.LASFDE0:
f9426a
+	.long	.Lframe0
f9426a
+	.long	.LFB2
f9426a
+	.long	.LFE2-.LFB2
f9426a
+	.byte	0x4
f9426a
+	.long	.LCFI0-.LFB2
f9426a
+	.byte	0xe
f9426a
+	.uleb128 0x8
f9426a
+	.byte	0x85
f9426a
+	.uleb128 0x2
f9426a
+	.byte	0x4
f9426a
+	.long	.LCFI1-.LCFI0
f9426a
+	.byte	0xd
f9426a
+	.uleb128 0x5
f9426a
+	.align 4
f9426a
+.LEFDE0:
f9426a
+	.section	.eh_frame,"a",@progbits
f9426a
+.Lframe1:
f9426a
+	.long	.LECIE1-.LSCIE1
f9426a
+.LSCIE1:
f9426a
+	.long	0x0
f9426a
+	.byte	0x1
f9426a
+.globl __gcj_personality_v0
f9426a
+	.string	"zP"
f9426a
+	.uleb128 0x1
f9426a
+	.sleb128 -4
f9426a
+	.byte	0x8
f9426a
+	.uleb128 0x5
f9426a
+	.byte	0x0
f9426a
+	.long	__gcj_personality_v0
f9426a
+	.byte	0xc
f9426a
+	.uleb128 0x4
f9426a
+	.uleb128 0x4
f9426a
+	.byte	0x88
f9426a
+	.uleb128 0x1
f9426a
+	.align 4
f9426a
+.LECIE1:
f9426a
+.LSFDE1:
f9426a
+	.long	.LEFDE1-.LASFDE1
f9426a
+.LASFDE1:
f9426a
+	.long	.LASFDE1-.Lframe1
f9426a
+	.long	.LFB2
f9426a
+	.long	.LFE2-.LFB2
f9426a
+	.uleb128 0x0
f9426a
+	.byte	0x4
f9426a
+	.long	.LCFI0-.LFB2
f9426a
+	.byte	0xe
f9426a
+	.uleb128 0x8
f9426a
+	.byte	0x85
f9426a
+	.uleb128 0x2
f9426a
+	.byte	0x4
f9426a
+	.long	.LCFI1-.LCFI0
f9426a
+	.byte	0xd
f9426a
+	.uleb128 0x5
f9426a
+	.align 4
f9426a
+.LEFDE1:
f9426a
+	.text
f9426a
+.Letext0:
f9426a
+	.section	.debug_loc,"",@progbits
f9426a
+.Ldebug_loc0:
f9426a
+.LLST0:
f9426a
+	.long	.LFB2-.Ltext0
f9426a
+	.long	.LCFI0-.Ltext0
f9426a
+	.value	0x2
f9426a
+	.byte	0x74
f9426a
+	.sleb128 4
f9426a
+	.long	.LCFI0-.Ltext0
f9426a
+	.long	.LCFI1-.Ltext0
f9426a
+	.value	0x2
f9426a
+	.byte	0x74
f9426a
+	.sleb128 8
f9426a
+	.long	.LCFI1-.Ltext0
f9426a
+	.long	.LFE2-.Ltext0
f9426a
+	.value	0x2
f9426a
+	.byte	0x75
f9426a
+	.sleb128 8
f9426a
+	.long	0x0
f9426a
+	.long	0x0
f9426a
+	.section	.debug_info
f9426a
+	.long	0x117
f9426a
+	.value	0x2
f9426a
+	.long	.Ldebug_abbrev0
f9426a
+	.byte	0x4
f9426a
+	.uleb128 0x1
f9426a
+	.string	"GNU Java 4.3.0 20071221 (experimental)"
f9426a
+	.byte	0xb
f9426a
+	.string	"interface.java"
f9426a
+	.string	"/home/jkratoch/redhat/bz371831"
f9426a
+	.long	.Ltext0
f9426a
+	.long	.Letext0
f9426a
+	.long	.Ldebug_line0
f9426a
+	.uleb128 0x2
f9426a
+	.string	"Interface"
f9426a
+	.byte	0x4
f9426a
+	.byte	0x1
f9426a
+	.byte	0x0
f9426a
+	.long	0x8e
f9426a
+	.long	0x8e
f9426a
+	.uleb128 0x3
f9426a
+	.long	0x8e
f9426a
+	.byte	0x2
f9426a
+	.byte	0x23
f9426a
+	.uleb128 0x0
f9426a
+	.byte	0x1
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0x4
f9426a
+	.string	"java.lang.Object"
f9426a
+	.byte	0x1
f9426a
+	.uleb128 0x5
f9426a
+	.string	"Class"
f9426a
+	.byte	0x4
f9426a
+	.byte	0x1
f9426a
+	.byte	0x0
f9426a
+	.long	0x8e
f9426a
+	.long	0xe8
f9426a
+	.uleb128 0x3
f9426a
+	.long	0x8e
f9426a
+	.byte	0x2
f9426a
+	.byte	0x23
f9426a
+	.uleb128 0x0
f9426a
+	.byte	0x1
f9426a
+	.uleb128 0x6
f9426a
+	.long	0x6e
f9426a
+	.byte	0x2
f9426a
+	.byte	0x23
f9426a
+	.uleb128 0x0
f9426a
+	.byte	0x1
f9426a
+	.byte	0x1
f9426a
+	.uleb128 0x7
f9426a
+	.byte	0x1
f9426a
+	.string	"<init>"
f9426a
+	.byte	0x1
f9426a
+	.byte	0x0
f9426a
+	.string	"_ZN5ClassC1Ev"
f9426a
+	.byte	0x1
f9426a
+	.uleb128 0x8
f9426a
+	.long	0xe8
f9426a
+	.byte	0x1
f9426a
+	.byte	0x0
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0x9
f9426a
+	.byte	0x4
f9426a
+	.long	0xa1
f9426a
+	.uleb128 0xa
f9426a
+	.long	0xc6
f9426a
+	.long	.LFB2
f9426a
+	.long	.LFE2
f9426a
+	.long	.LLST0
f9426a
+	.long	0x114
f9426a
+	.uleb128 0xb
f9426a
+	.long	0xe8
f9426a
+	.byte	0x2
f9426a
+	.byte	0x91
f9426a
+	.sleb128 0
f9426a
+	.uleb128 0xc
f9426a
+	.long	0x114
f9426a
+	.byte	0x2
f9426a
+	.byte	0x91
f9426a
+	.sleb128 -12
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0x9
f9426a
+	.byte	0x4
f9426a
+	.long	0x8e
f9426a
+	.byte	0x0
f9426a
+	.section	.debug_abbrev
f9426a
+	.uleb128 0x1
f9426a
+	.uleb128 0x11
f9426a
+	.byte	0x1
f9426a
+	.uleb128 0x25
f9426a
+	.uleb128 0x8
f9426a
+	.uleb128 0x13
f9426a
+	.uleb128 0xb
f9426a
+	.uleb128 0x3
f9426a
+	.uleb128 0x8
f9426a
+	.uleb128 0x1b
f9426a
+	.uleb128 0x8
f9426a
+	.uleb128 0x11
f9426a
+	.uleb128 0x1
f9426a
+	.uleb128 0x12
f9426a
+	.uleb128 0x1
f9426a
+	.uleb128 0x10
f9426a
+	.uleb128 0x6
f9426a
+	.byte	0x0
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0x2
f9426a
+	.uleb128 0x38
f9426a
+	.byte	0x1
f9426a
+	.uleb128 0x3
f9426a
+	.uleb128 0x8
f9426a
+	.uleb128 0xb
f9426a
+	.uleb128 0xb
f9426a
+	.uleb128 0x3a
f9426a
+	.uleb128 0xb
f9426a
+	.uleb128 0x3b
f9426a
+	.uleb128 0xb
f9426a
+	.uleb128 0x1d
f9426a
+	.uleb128 0x13
f9426a
+	.uleb128 0x1
f9426a
+	.uleb128 0x13
f9426a
+	.byte	0x0
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0x3
f9426a
+	.uleb128 0x1c
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0x49
f9426a
+	.uleb128 0x13
f9426a
+	.uleb128 0x38
f9426a
+	.uleb128 0xa
f9426a
+	.uleb128 0x32
f9426a
+	.uleb128 0xb
f9426a
+	.byte	0x0
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0x4
f9426a
+	.uleb128 0x2
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0x3
f9426a
+	.uleb128 0x8
f9426a
+	.uleb128 0x3c
f9426a
+	.uleb128 0xc
f9426a
+	.byte	0x0
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0x5
f9426a
+	.uleb128 0x2
f9426a
+	.byte	0x1
f9426a
+	.uleb128 0x3
f9426a
+	.uleb128 0x8
f9426a
+	.uleb128 0xb
f9426a
+	.uleb128 0xb
f9426a
+	.uleb128 0x3a
f9426a
+	.uleb128 0xb
f9426a
+	.uleb128 0x3b
f9426a
+	.uleb128 0xb
f9426a
+	.uleb128 0x1d
f9426a
+	.uleb128 0x13
f9426a
+	.uleb128 0x1
f9426a
+	.uleb128 0x13
f9426a
+	.byte	0x0
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0x6
f9426a
+	.uleb128 0x1c
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0x49
f9426a
+	.uleb128 0x13
f9426a
+	.uleb128 0x38
f9426a
+	.uleb128 0xa
f9426a
+	.uleb128 0x4c
f9426a
+	.uleb128 0xb
f9426a
+	.uleb128 0x32
f9426a
+	.uleb128 0xb
f9426a
+	.byte	0x0
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0x7
f9426a
+	.uleb128 0x2e
f9426a
+	.byte	0x1
f9426a
+	.uleb128 0x3f
f9426a
+	.uleb128 0xc
f9426a
+	.uleb128 0x3
f9426a
+	.uleb128 0x8
f9426a
+	.uleb128 0x3a
f9426a
+	.uleb128 0xb
f9426a
+	.uleb128 0x3b
f9426a
+	.uleb128 0xb
f9426a
+	.uleb128 0x2007
f9426a
+	.uleb128 0x8
f9426a
+	.uleb128 0x3c
f9426a
+	.uleb128 0xc
f9426a
+	.byte	0x0
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0x8
f9426a
+	.uleb128 0x5
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0x49
f9426a
+	.uleb128 0x13
f9426a
+	.uleb128 0x34
f9426a
+	.uleb128 0xc
f9426a
+	.byte	0x0
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0x9
f9426a
+	.uleb128 0xf
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0xb
f9426a
+	.uleb128 0xb
f9426a
+	.uleb128 0x49
f9426a
+	.uleb128 0x13
f9426a
+	.byte	0x0
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0xa
f9426a
+	.uleb128 0x2e
f9426a
+	.byte	0x1
f9426a
+	.uleb128 0x47
f9426a
+	.uleb128 0x13
f9426a
+	.uleb128 0x11
f9426a
+	.uleb128 0x1
f9426a
+	.uleb128 0x12
f9426a
+	.uleb128 0x1
f9426a
+	.uleb128 0x40
f9426a
+	.uleb128 0x6
f9426a
+	.uleb128 0x1
f9426a
+	.uleb128 0x13
f9426a
+	.byte	0x0
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0xb
f9426a
+	.uleb128 0x5
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0x49
f9426a
+	.uleb128 0x13
f9426a
+	.uleb128 0x2
f9426a
+	.uleb128 0xa
f9426a
+	.byte	0x0
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0xc
f9426a
+	.uleb128 0x34
f9426a
+	.byte	0x0
f9426a
+	.uleb128 0x49
f9426a
+	.uleb128 0x13
f9426a
+	.uleb128 0x2
f9426a
+	.uleb128 0xa
f9426a
+	.byte	0x0
f9426a
+	.byte	0x0
f9426a
+	.byte	0x0
f9426a
+	.section	.debug_pubnames,"",@progbits
f9426a
+	.long	0x15
f9426a
+	.value	0x2
f9426a
+	.long	.Ldebug_info0
f9426a
+	.long	0x11b
f9426a
+	.long	0xee
f9426a
+	.string	"()"
f9426a
+	.long	0x0
f9426a
+	.section	.debug_aranges,"",@progbits
f9426a
+	.long	0x1c
f9426a
+	.value	0x2
f9426a
+	.long	.Ldebug_info0
f9426a
+	.byte	0x4
f9426a
+	.byte	0x0
f9426a
+	.value	0x0
f9426a
+	.value	0x0
f9426a
+	.long	.Ltext0
f9426a
+	.long	.Letext0-.Ltext0
f9426a
+	.long	0x0
f9426a
+	.long	0x0
f9426a
+	.ident	"GCC: (GNU) 4.3.0 20071221 (experimental)"
f9426a
+	.section	.note.GNU-stack,"",@progbits
f9426a
--- /dev/null	1 Jan 1970 00:00:00 -0000
f9426a
+++ ./gdb/testsuite/gdb.arch/i386-interface.exp	22 Dec 2007 19:07:28 -0000
f9426a
@@ -0,0 +1,59 @@
f9426a
+# Copyright 2007 Free Software Foundation, Inc.
f9426a
+
f9426a
+# This program is free software; you can redistribute it and/or modify
f9426a
+# it under the terms of the GNU General Public License as published by
f9426a
+# the Free Software Foundation; either version 3 of the License, or
f9426a
+# (at your option) any later version.
f9426a
+#
f9426a
+# This program is distributed in the hope that it will be useful,
f9426a
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
f9426a
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
f9426a
+# GNU General Public License for more details.
f9426a
+#
f9426a
+# You should have received a copy of the GNU General Public License
f9426a
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
f9426a
+
f9426a
+# Please email any bugs, comments, and/or additions to this file to:
f9426a
+# bug-gdb@gnu.org
f9426a
+
f9426a
+# This file is part of the gdb testsuite.
f9426a
+
f9426a
+# Test basis recognization of DW_TAG_interface_type.
f9426a
+# GCC java_classify_record() produces it if returns RECORD_IS_INTERFACE.
f9426a
+
f9426a
+if {![istarget "i?86-*-*"] && ![istarget "x86_64-*-*"]} then {
f9426a
+    verbose "Skipping i386 Java DW_TAG_interface_type test."
f9426a
+    return
f9426a
+}
f9426a
+
f9426a
+set testfile "i386-interface"
f9426a
+set srcfile ${testfile}.S
f9426a
+set binfile ${objdir}/${subdir}/${testfile}.o
f9426a
+
f9426a
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" object {debug additional_flags=-m32}] != "" } {
f9426a
+    untested i386-gnu-cfi.exp
f9426a
+    return -1
f9426a
+}
f9426a
+
f9426a
+# Get things started.
f9426a
+
f9426a
+gdb_exit
f9426a
+gdb_start
f9426a
+gdb_reinitialize_dir $srcdir/$subdir
f9426a
+gdb_load ${binfile}
f9426a
+
f9426a
+gdb_test "set language java"
f9426a
+
f9426a
+set test "ptype Interface"
f9426a
+gdb_test_multiple $test $test {
f9426a
+    -re "type = class Interface  *extends java.lang.Object \{.*$gdb_prompt $" {
f9426a
+	pass $test
f9426a
+    }
f9426a
+}
f9426a
+
f9426a
+set test "ptype Class"
f9426a
+gdb_test_multiple $test $test {
f9426a
+    -re "type = class Class  *extends java.lang.Object implements Interface \{.*$gdb_prompt $" {
f9426a
+	pass $test
f9426a
+    }
f9426a
+}