This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: exp/1749: comments on GDB PR #1445
- From: Daniel Jacobowitz <drow at sources dot redhat dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 26 Aug 2004 14:48:02 -0000
- Subject: Re: exp/1749: comments on GDB PR #1445
- Reply-to: Daniel Jacobowitz <drow at sources dot redhat dot com>
The following reply was made to PR exp/1749; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@sources.redhat.com>
To: Alexander Shulgin <alexander.shulgin@yessoftware.com>
Cc: gdb-gnats@sources.redhat.com
Subject: Re: exp/1749: comments on GDB PR #1445
Date: Thu, 26 Aug 2004 10:43:22 -0400
On Thu, Aug 26, 2004 at 05:22:25PM +0300, Alexander Shulgin wrote:
> Compilation Unit @ 9d2:
> Length: 86
> Version: 2
> Abbrev Offset: 296
> Pointer Size: 4
> <0><9dd>: Abbrev Number: 1 (DW_TAG_compile_unit)
> DW_AT_stmt_list : 492
> DW_AT_high_pc : 0x804830b 134513419
> DW_AT_low_pc : 0x80482f4 134513396
> DW_AT_name : a.c
> DW_AT_comp_dir : (indirect string, offset: 0x6ba): /home/shulz/tmp/gdb-enum
> DW_AT_producer : (indirect string, offset: 0x410): GNU C 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
[...]
> DW_AT_language : 1 (ANSI C)
> <1><9f7>: Abbrev Number: 2 (DW_TAG_enumeration_type)
> DW_AT_sibling : <a0d>
> DW_AT_name : (indirect string, offset: 0x6d8): some_t
> DW_AT_byte_size : 4
> DW_AT_decl_file : 1
> DW_AT_decl_line : 2
> <2><a03>: Abbrev Number: 3 (DW_TAG_enumerator)
> DW_AT_name : x
> <2><a06>: Abbrev Number: 3 (DW_TAG_enumerator)
> DW_AT_name : y
> <2><a09>: Abbrev Number: 3 (DW_TAG_enumerator)
> DW_AT_name : z
This is also a bug in GCC 3.2.2. I recommend you try a different
compiler.
--
Daniel Jacobowitz