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: [SH] .8byte directive (for DWARF data)


Thomas Schwinge <thomas@codesourcery.com> wrote:
> On SH, GDB's gdb.dwarf2/dw2-intermix.exp currently fails as follows:
> 
>     Running [GDB]/testsuite/gdb.dwarf2/dw2-intermix.exp ...
>     gdb compile failed, [GDB]/testsuite/gdb.dwarf2/dw2-intermix.S: Assembler messages:
>     [GDB]/testsuite/gdb.dwarf2/dw2-intermix.S:139: Error: unsupported BFD relocation size 8
>     [GDB]/testsuite/gdb.dwarf2/dw2-intermix.S:142: Error: unsupported BFD relocation size 8
> 
> gdb.dwarf2/dw2-intermix.S:
> 
>     [...]
>         18	/* Test a minimal file containing intermixed 32-bit and 64-bit DWARF
>         19	   formats.  This is not allowed by the (draft) DWARF-3 standard, but
>         20	   GDB should handle it gracefully nevertheless.  */
>     [...]
>        135	/* Line table */
>        136		.section .debug_line
>        137	.Lline1_begin:
>        138		.4byte		0xffffffff
>        139		.8byte		.Lline1_end - .Lline1_start	/* Initial length */
>        140	.Lline1_start:
>        141		.2byte		2			/* Version */
>        142		.8byte		.Lline1_lines - .Lline1_hdr	/* header_length */
>        143	.Lline1_hdr:
>        144		.byte		1			/* Minimum insn length */
>     [...]
> 
> Here is a patch for the assembler, OK to commit?

OK.  Thanks for the patch!

Regards,
	kaz


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