From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: John Steele Scott <toojays@toojays.net>
Cc: Joel Brobecker <brobecker@adacore.com>,
Tom Tromey <tromey@redhat.com>,
gdb-patches@sourceware.org
Subject: Re: [patch] PR symtab/13277: Resolving opaque structures in ICC generated binaries. (testcase)
Date: Sat, 12 May 2012 18:38:00 -0000 [thread overview]
Message-ID: <20120512183741.GB20606@host2.jankratochvil.net> (raw)
In-Reply-To: <87wr4h4vvd.fsf@quantum.com>
On Sat, 12 May 2012 11:00:22 +0200, John Steele Scott wrote:
> --- /dev/null
> +++ b/gdb/testsuite/gdb.dwarf2/dw2-icc-opaque.S
> @@ -0,0 +1,192 @@
> +/* Copyright (C) 2011-2012 Free Software Foundation, Inc.
Only 2012 as AFAIK the copyright applies only for the time it is checked in
FSF repository.
[...]
> + .file "opaque-pointer.c"
[...]
> + .file "opaque-struct.c"
Please include these two files as a comment into this .S file, for later
investigation what was the real source code etc.
Also please make this change:
@@ -226,7 +226,7 @@ index 0000000..4fc6512
-+ .byte 0x08 /* Target address size. */
++ .byte 0x04 /* Target address size. */
@@ -239,8 +239,8 @@ index 0000000..4fc6512
-+ .2byte 0x0309 /* DW_AT_location: 9 bytes, DW_OP_addr */
-+ .8byte p_struct /* followed by the address of p_struct. */
++ .2byte 0x0305 /* DW_AT_location: 5 bytes, DW_OP_addr */
++ .4byte p_struct /* followed by the address of p_struct. */
@@ -313,7 +313,7 @@ index 0000000..4fc6512
-+ .byte 0x08 /* Target address size. */
++ .byte 0x04 /* Target address size. */
It will make the testcase 32-bit, therefore compatible with both 64-bit and
32-bit targets. Otherwise it gave:
gdb compile failed, opaque-pointer.c: Assembler messages:
opaque-pointer.c:42: Error: cannot represent relocation type BFD_RELOC_64
> --- /dev/null
> +++ b/gdb/testsuite/gdb.dwarf2/dw2-icc-opaque.exp
> @@ -0,0 +1,37 @@
> +# Copyright (C) 2011-2012 Free Software Foundation, Inc.
Only 2012 again.
I will check it in after the update.
Thanks,
Jan
next prev parent reply other threads:[~2012-05-12 18:38 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-16 8:03 [patch] PR symtab/13277: Resolving opaque structures in ICC generated binaries John Steele Scott
2011-10-19 9:01 ` Jan Kratochvil
2011-10-19 13:54 ` Jan Kratochvil
2011-10-23 18:29 ` John Steele Scott
2011-10-24 0:13 ` Joel Brobecker
2011-10-27 19:57 ` Tom Tromey
2011-10-23 10:26 ` John Steele Scott
2011-10-26 23:09 ` Jan Kratochvil
2011-11-13 11:38 ` [patch] PR symtab/13277: Resolving opaque structures in ICC generated binaries. (testcase) John Steele Scott
2011-11-15 17:04 ` Tom Tromey
2012-05-05 2:40 ` John Steele Scott
2012-05-05 15:16 ` Joel Brobecker
2012-05-05 15:36 ` Jan Kratochvil
2012-05-12 9:00 ` John Steele Scott
2012-05-12 18:38 ` Jan Kratochvil [this message]
2012-05-12 19:09 ` Joel Brobecker
2012-05-21 12:05 ` John Steele Scott
2012-05-21 12:08 ` John Steele Scott
2012-05-24 23:06 ` [commit] " Jan Kratochvil
2012-05-21 12:17 ` Jan Kratochvil
2011-11-13 12:13 ` [patch] PR symtab/13277: Resolving opaque structures in ICC generated binaries John Steele Scott
2011-11-15 17:19 ` Tom Tromey
2011-11-15 23:58 ` Jan Kratochvil
2012-05-05 2:32 ` John Steele Scott
2012-05-12 18:37 ` Jan Kratochvil
2012-05-14 13:55 ` John Steele Scott
[not found] ` <20120518144642.GA19690@host2.jankratochvil.net>
2012-05-20 12:34 ` John Steele Scott
[not found] ` <20120520130919.GA6990@host2.jankratochvil.net>
2012-05-20 13:17 ` Jan Kratochvil
2012-05-20 13:44 ` John Steele Scott
2012-05-23 23:29 ` John Steele Scott
2012-05-24 15:16 ` Pedro Alves
2012-05-24 22:13 ` [commit] " Jan Kratochvil
2012-05-24 23:05 ` John Steele Scott
2012-05-24 22:16 ` [commit TYPE_OPAQUE] " Jan Kratochvil
2012-05-21 0:12 ` Doug Evans
2012-05-20 13:17 ` Jan Kratochvil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120512183741.GB20606@host2.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=toojays@toojays.net \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox