>> I did not realize that myself before.  I do not think there is an
>> easy fix for the GCC patch, is it?

It seems like a VLA would work.

Jeff> 99% of the time I've used a constant with the @ syntax in gdb.

I use a non-constant argument to @ quite a bit.

It's common to have something like the struct hack where the length of
the array is stored in the struct.  Then when scripting gdb one can
write:

    print s.array[0] @ s.length

Tom

Reply via email to