From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EB1B53857C52; Fri, 14 Aug 2020 12:03:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EB1B53857C52 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/26390] gdb.fortran/mixed-lang-stack.exp: error reading variable in backtrace Date: Fri, 14 Aug 2020 12:03:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2020 12:03:56 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26390 --- Comment #1 from Tom de Vries --- In the dwarf info, we have: ... <1><11f0>: Abbrev Number: 14 (DW_TAG_subprogram) <11f1> DW_AT_name : mixed_func_1b <11f7> DW_AT_linkage_name: mixed_func_1b_ <1><1162>: Abbrev Number: 10 (DW_TAG_base_type) <1163> DW_AT_byte_size : 8 <1164> DW_AT_encoding : 5 (signed) <1165> DW_AT_name : integer(kind=3D8) <1><1169>: Abbrev Number: 7 (DW_TAG_const_type) <116a> DW_AT_type : <0x1162> <2><1250>: Abbrev Number: 9 (DW_TAG_formal_parameter) <1251> DW_AT_name : e <1255> DW_AT_type : <0x142c> <1259> DW_AT_location : 4 byte block: 91 98 7f 6 (DW_OP_fbre= g: -104; DW_OP_deref) <2><126c>: Abbrev Number: 19 (DW_TAG_formal_parameter) <126d> DW_AT_name : _e <1270> DW_AT_type : <0x1169> <1274> DW_AT_artificial : 1 <1274> DW_AT_location : 2 byte block: 91 0 (DW_OP_fbreg: 0) <1><142c>: Abbrev Number: 27 (DW_TAG_string_type) <142d> DW_AT_string_length: 5 byte block: 99 4d 2 0 0 (DW_OP_call= 4: <0x126c>) <2><1437>: Abbrev Number: 28 (DW_TAG_subrange_type) <1438> DW_AT_type : <0x1162> <143c> DW_AT_upper_bound : <0x126c> ... It seems at least interesting that the string type at 0x142c has two ways to get to the length: via DW_AT_string_length and via DW_AT_upper_bound. --=20 You are receiving this mail because: You are on the CC list for the bug.=