From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29914 invoked by alias); 1 Feb 2008 17:07:27 -0000 Received: (qmail 29841 invoked by uid 22791); 1 Feb 2008 17:07:26 -0000 X-Spam-Check-By: sourceware.org Received: from dmz.mips-uk.com (HELO dmz.mips-uk.com) (194.74.144.194) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 01 Feb 2008 17:07:08 +0000 Received: from internal-mx1 ([192.168.192.240] helo=ukservices1.mips.com) by dmz.mips-uk.com with esmtp (Exim 3.35 #1 (Debian)) id 1JKzM1-0000Sk-00; Fri, 01 Feb 2008 17:07:05 +0000 Received: from perivale.mips.com ([192.168.192.200]) by ukservices1.mips.com with esmtp (Exim 3.36 #1 (Debian)) id 1JKzLx-0001BJ-00; Fri, 01 Feb 2008 17:07:01 +0000 Received: from macro (helo=localhost) by perivale.mips.com with local-esmtp (Exim 4.63) (envelope-from ) id 1JKzLx-0006tz-8r; Fri, 01 Feb 2008 17:07:01 +0000 Date: Fri, 01 Feb 2008 17:07:00 -0000 From: "Maciej W. Rozycki" To: Daniel Jacobowitz cc: Thiemo Seufer , gdb-patches@sourceware.org, "Maciej W. Rozycki" Subject: Re: MIPS: Handle manual calls of MIPS16 functions with a call stub In-Reply-To: <20080201165411.GA4063@caradoc.them.org> Message-ID: References: <20080131220315.GC5085@caradoc.them.org> <20080201141838.GB28371@caradoc.them.org> <20080201165411.GA4063@caradoc.them.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MIPS-Technologies-UK-MailScanner: Found to be clean X-MIPS-Technologies-UK-MailScanner-From: macro@mips.com Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00022.txt.bz2 On Fri, 1 Feb 2008, Daniel Jacobowitz wrote: > Does the low bit end up set in the DWARF for init_small_structs? From > what you're saying, I think it does. My experience with Thumb makes > me think that's the actual GAS bug here. Those are code addresses, > not symbols, and I don't think they should encode MIPS16-ness - > see the recent discussion of values in .debug_line, which we agreed > should not have assorted flag bits set either. The code starts at > 0x900, not 0x901. It does. Here is the final DWARF-2 record for init_small_structs(): <1>: Abbrev Number: 16 (DW_TAG_subprogram) DW_AT_external : 1 DW_AT_name : init_small_structs DW_AT_decl_file : 1 DW_AT_decl_line : 613 DW_AT_low_pc : 0x8002093d DW_AT_high_pc : 0x80020a90 DW_AT_frame_base : 0x2db (location list) DW_AT_sibling : I cannot seem to locate the discussion you are referring to easily enough -- would you care to provide a link? Maciej