You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once we tried to run it in GDB (that one Pegasos2 of course, with real Altivec in) , GDB bring this warning:
../../gdb/gdbtypes.c:939: internal-error: create_range_type: Assertion 'index_type->length () > 0` failed.
A problem internal to GDB has been detected.
futher debugging may prove unrelable.
Unable to dump core
The text was updated successfully, but these errors were encountered:
I tried to track it down. The reason why it fails is that gdb has trouble reading the gstab debug information for the array )A vector is I think internally handled as an array by the compiler).
Dumping the gstab .section gives the following information
The question which arise is, if this is a general gdb bug, or specific because of my port. The later I don't think so, because I don't know how to influence the parsing of gstab. But it even might be that the gcc is producing buggy gstab information.
So if you have or know someone with a linux installation on a PowerPC with an altivec engines, which could verify if it works under linux or fails, would be helpful.
There very simple test case:
Compile it like:
ppc-amigaos-gcc -maltivec -gstabs test_vector.c -o test_vector
Once we tried to run it in GDB (that one Pegasos2 of course, with real Altivec in) , GDB bring this warning:
The text was updated successfully, but these errors were encountered: