This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] testsuite/gdb.dwarf2: Fix for dw2-ifort-parameter failure on ARM
- From: Pedro Alves <palves at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Omair Javaid <omair dot javaid at linaro dot org>, Yao Qi <yao at codesourcery dot com>, gdb-patches at sourceware dot org
- Date: Thu, 16 Jan 2014 09:51:25 +0000
- Subject: Re: [PATCH] testsuite/gdb.dwarf2: Fix for dw2-ifort-parameter failure on ARM
- Authentication-results: sourceware.org; auth=none
- References: <CANW4E-2bQYjx6YdR3qGyKUsQa_KOrtmkWsZYqKzcuQBF==RPpw at mail dot gmail dot com> <CANW4E-25HdXYKMk258iO=GZ=PNM=Zu4jMbstpkSoMgE9wFpmkQ at mail dot gmail dot com> <51E4B587 dot 70007 at codesourcery dot com> <CANW4E-0vd51dTvd5qxUbeDn7ebXV-cf+WS4+VpyyGyD0MYGk8Q at mail dot gmail dot com> <5280A528 dot 8040308 at codesourcery dot com> <52D7A05F dot 6070304 at linaro dot org> <52D7AAF1 dot 80501 at redhat dot com>
On 01/16/2014 09:48 AM, Pedro Alves wrote:
> On 01/16/2014 09:03 AM, Omair Javaid wrote:
>
>> There seemed no problem with how breakpoint addresses were being adjusted.
>> This test requires to build dwarf info by hand in dw2-ifort-parameter-debug.S
>> using compile time addresses so in case of arm (thumb mode) the least
>> significant bits of compile time address are set to 1. For that reason
>> 0x000083bd was being used as a breakpoint address func.
>
> OOC, what does the compiler debug info usually do instead to avoid this?
Also:
> warning: Breakpoint address adjusted from 0x000083bd to 0x000083bc.
> Breakpoint 1 at 0x83bc (2 locations)
why 2 locations?
--
Pedro Alves