From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Cc: gdb-patches@sources.redhat.com
Subject: [patch] XLF Fortran: Remove an inappropriate complaint [Re: XLF Fortran arrays test]
Date: Fri, 23 Nov 2007 17:21:00 -0000 [thread overview]
Message-ID: <20071123172104.GA23776@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <4747086C.3070100@linux.vnet.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 761 bytes --]
On Fri, 23 Nov 2007 18:05:48 +0100, Carlos Eduardo Seo wrote:
...
> The only strange behavior is that when I set a breakpoint, I get this
> message:
>
> During symbol reading, DW_AT_type missing from DW_TAG_subrange_type.
This code was there already before my changes. And the XLF output really
misses DW_AT_type for DW_TAG_subrange_type. But it should be correct:
http://dwarf.freestandards.org/Dwarf3.pdf
5.12 Subrange Type Entries
The subrange entry may have a DW_AT_type attribute to describe the type
of object, called the basis type, of whose values this subrange is
a subset.
"may have" should not produce a `complaint' category message as it is not
a standard violation.
Providing a patch but I do not know much more about it.
Regards,
Jan
[-- Attachment #2: gdb-subrange-no-type-ok.patch --]
[-- Type: text/plain, Size: 611 bytes --]
2007-11-23 Jan Kratochvil <jan.kratochvil@redhat.com>
* dwarf2read.c (read_subrange_type): Remove the missing DW_AT_type
complaint.
--- ./gdb/dwarf2read.c 25 Oct 2007 20:54:27 -0000 1.236
+++ ./gdb/dwarf2read.c 23 Nov 2007 17:17:44 -0000
@@ -4933,8 +4933,6 @@ read_subrange_type (struct die_info *die
base_type = die_type (die, cu);
if (TYPE_CODE (base_type) == TYPE_CODE_VOID)
{
- complaint (&symfile_complaints,
- _("DW_AT_type missing from DW_TAG_subrange_type"));
base_type
= dwarf_base_type (DW_ATE_signed,
gdbarch_addr_bit (current_gdbarch) / 8, cu);
next prev parent reply other threads:[~2007-11-23 17:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-16 3:20 [00/11] Fortran dynamic arrays support Jan Kratochvil
2007-11-16 17:46 ` Jim Blandy
2007-11-16 17:55 ` Carlos Eduardo Seo
2007-11-16 19:45 ` Jan Kratochvil
2007-11-19 14:41 ` Carlos Eduardo Seo
[not found] ` <20071123015957.GA3202@host0.dyn.jankratochvil.net>
[not found] ` <20071123021120.GA11797@host0.dyn.jankratochvil.net>
[not found] ` <20071123163125.GA23275@host0.dyn.jankratochvil.net>
[not found] ` <4747086C.3070100@linux.vnet.ibm.com>
2007-11-23 17:21 ` Jan Kratochvil [this message]
2007-11-25 14:56 ` [patch] XLF Fortran: Remove an inappropriate complaint [Re: XLF Fortran arrays test] Daniel Jacobowitz
2007-11-25 22:11 ` Jan Kratochvil
2007-11-25 22:14 ` Daniel Jacobowitz
2007-11-26 7:20 ` [patch] XLF Fortran: Remove an inappropriate complaint Jan Kratochvil
2007-11-26 13:26 ` Daniel Jacobowitz
2007-11-26 22:07 ` 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=20071123172104.GA23776@host0.dyn.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=cseo@linux.vnet.ibm.com \
--cc=gdb-patches@sources.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