From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27313 invoked by alias); 11 Nov 2013 09:38:45 -0000 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 Received: (qmail 27213 invoked by uid 89); 11 Nov 2013 09:38:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.7 required=5.0 tests=AWL,BAYES_00,GARBLED_BODY,RDNS_NONE autolearn=no version=3.3.2 X-HELO: relay1.mentorg.com Received: from Unknown (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 11 Nov 2013 09:38:22 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1Vfnwa-0002zg-NJ from Yao_Qi@mentor.com ; Mon, 11 Nov 2013 01:38:04 -0800 Received: from SVR-ORW-FEM-04.mgc.mentorg.com ([147.34.97.41]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 11 Nov 2013 01:38:04 -0800 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.2.247.3; Mon, 11 Nov 2013 01:38:03 -0800 Message-ID: <5280A528.8040308@codesourcery.com> Date: Mon, 11 Nov 2013 09:53:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Omair Javaid CC: Subject: Re: [PATCH] testsuite/gdb.dwarf2: Fix for dw2-ifort-parameter failure on ARM References: <51E4B587.70007@codesourcery.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00280.txt.bz2 [Sorry for being late] On 09/19/2013 11:30 PM, Omair Javaid wrote: > (gdb) break func > warning: Breakpoint address adjusted from 0x000083bd to 0x000083bc. > Breakpoint 1 at 0x83bc (2 locations) 'break func' should insert a breakpoint at an address A after the first several instructions of function func, due to the effect of skip prologue. Address A should be an address of a thumb instruction, so it should be 2-byte aligned. In this case, the address should be 0x000083bc. I'd like to check why 0x000083bd is generated, and probably we should use gdbarch_addr_bits_remove somewhere. -- Yao (齐尧)