vector unsigned int z;
int a;
+ #ifdef _AIX
+ /* On AIX, the debugger cannot access vector registers before they
+ are first used by the inferior. Perform such an access here. */
+ x = ((vector unsigned int) vec_splat_u8 (0));
+ #endif
+
/* This line may look unnecessary but we do need it, because we want to
have a line to do a next over (so that gdb refetches the registers)
and we don't want the code to change any vector registers.
The splat operations below modify the VRs,i
so we don't want to execute them yet. */
- a = 9;
+ a = 9; /* start here */
x = ((vector unsigned int) vec_splat_u8 (-2));
y = ((vector unsigned int) vec_splat_u8 (1));
return 0
}
+gdb_breakpoint [gdb_get_line_number "start here"]
+gdb_continue_to_breakpoint "start here"
+
gdb_test "set print frame-arguments all"
# set all the registers integer portions to 1