On Wed, Jan 28, 2015 at 12:24 PM, Jakub Jelinek <ja...@redhat.com> wrote:
> On Wed, Jan 28, 2015 at 12:15:40PM +0100, Richard Biener wrote:
>> > Note, patch successfully bootstrapped/regtested on x86_64-linux and
>> > i686-linux, and David said that on AIX it passed stage1 cc1 linking.
>> >
>> > Ok for trunk?
>>
>> Is the stabs issue meanwhile fixed at least on trunk?
>
> AFAIK no.  The generic stabs code has support for either infinite length
> records, or records split using continuations (targets can choose which
> character is continuation character).  But AIX doesn't support infinite
> length records and for some reason doesn't support continuations either.
>
> IMHO it should just enable support for continuations, even if there was a
> reason not to enable them 15 years ago on AIX, I bet the debuggers changed a
> little bit even on that platform during that time.
>
> The other option is to add generic support for just throwing stabs records
> on the floor if they are too large and target doesn't want to support
> continuations (would be for AIX only), but in that case the target at least
> would need to hint what means too large.

Yes, dropping them on the floor would be the solution.  Not sure what STABS
defines as maximum record length on AIX.

It should be the STABS and/or affected target maintainers job to get this fixed
for them.

Richard.

>         Jakub

Reply via email to