This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Testing Call frame information in .debug_frame section
- From: Petr HluzÃn <petr dot hluzin at gmail dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Anitha Boyapati <anitha dot boyapati at gmail dot com>, binutils at sourceware dot org
- Date: Tue, 15 Feb 2011 23:13:26 +0100
- Subject: Re: Testing Call frame information in .debug_frame section
- References: <AANLkTim6hyXysiV-025BDgNJ84qaqTnkRdHi+e7bF2gx@mail.gmail.com> <AANLkTi=Rnu-wb2W8FejN=XQHmHuTq7rZovKuDdO-QLwi@mail.gmail.com> <AANLkTimOXF1V__SSFs1gtqJh5nc183EdeHm5NoeU6YXs@mail.gmail.com> <AANLkTike2osnZS=sUphuN_=oFQLCDUs54uuGCWL6cLVQ@mail.gmail.com> <4D5ABAB2.2000405@redhat.com> <4D5ABFAC.7050804@redhat.com>
On 15 February 2011 19:02, Richard Henderson <rth@redhat.com> wrote:
> On 02/15/2011 09:41 AM, Richard Henderson wrote:
>> On 02/13/2011 07:10 AM, Petr HluzÃn wrote:
>>> http://xfree86.cygwin.ru/ml/binutils/2010-08/msg00109.html
>>
>> I'll agree that a better error message would be helpful.
>
> Committed as follows.
>
>
> r~
>
>
> Â Â Â Â* dw2gencfi.c (dot_cfi_dummy): New.
> Â Â Â Â(cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
> Â Â Â Â* read.c (pobegin): Unconditionally call cfi_pop_insert.
>
Great, thanks.
Note: The submitted code code does not print the platform GAS is
configured for. If makefile/IDE is accidentally launching wrong build
of GAS then user will have hard time figuring this out. If it is not
an accident then the extra information is useful for googling since
recovery steps may be different. ("CFI on arch FOO? You have to
upgrade to version XY" vs "CFI on arch BAR? You have to apply this
patch.")
-as_bad (_("CFI is not supported for this target"));
+as_bad (_("CFI is not supported for target '" TARGET_FORMAT "'"));
Also "intelligable" looks like a typo. Perhaps "intelligible"?
--
Petr Hluzin