[cfarm-users] GCC119 (AIX), GDB 7.9.1, and unable to display VMX regs

David Edelsohn dje.gcc at gmail.com
Thu Sep 7 16:30:27 CEST 2017


You also can try to use DWARF debugging on AIX (-gdwarf). I'm not
certain if that debugging format works better for VSX information.

Thanks, David

On Thu, Sep 7, 2017 at 5:50 AM, Paul Hargrove via cfarm-users
<cfarm-users at lists.tetaneutral.net> wrote:
> I cannot answer to whether or not they will print VMX registers, but AIX
> provides "dbx" and "adb" as the native debuggers.  They may be worth
> learning if gdb isn't working for you.
>
> -Paul
>
>
> On Wed, Sep 6, 2017 at 8:12 PM, Jeffrey Walton via cfarm-users
> <cfarm-users at lists.tetaneutral.net> wrote:
>>
>> Hi Everyone,
>>
>> I'm working on GCC119 which is an AIX machine. Its a Power 8, so it
>> has the VMX unit.
>>
>> I'm trying to use the in-core crypto. The instructions are gets
>> processed by the VMX unit. I need to see the reg values, but GDB
>> cannot print them (see below).
>>
>> Does anyone know how to display the registers when working on AIX?
>>
>> Thanks in advance.
>>
>> ==========
>>
>> (gdb) info all-registers
>> r0             0x1032   0x1032
>> r1             0x2ff22a60       0x2ff22a60
>> ...
>> xer            0x3d     0x3d
>> fpscr          0x0      0x0
>> vr0            {uint128 = <unavailable>, v4_float = {<unavailable>,
>>     <unavailable>, <unavailable>, <unavailable>}, v4_int32 =
>> {<unavailable>,
>>     <unavailable>, <unavailable>, <unavailable>}, v8_int16 =
>> {<unavailable>,
>>     <unavailable>, <unavailable>, <unavailable>, <unavailable>,
>> <unavailable>,
>>     <unavailable>, <unavailable>}, v16_int8 = {
>>     <unavailable> <repeats 16 times>}}
>>
>> ...
>>
>> [repeated]
>>
>> ...
>> vr31           {uint128 = <unavailable>, v4_float = {<unavailable>,
>>     <unavailable>, <unavailable>, <unavailable>}, v4_int32 =
>> {<unavailable>,
>>     <unavailable>, <unavailable>, <unavailable>}, v8_int16 =
>> {<unavailable>,
>>     <unavailable>, <unavailable>, <unavailable>, <unavailable>,
>> <unavailable>,
>>     <unavailable>, <unavailable>}, v16_int8 = {
>>     <unavailable> <repeats 16 times>}}
>> _______________________________________________
>> cfarm-users mailing list
>> cfarm-users at lists.tetaneutral.net
>> https://lists.tetaneutral.net/listinfo/cfarm-users
>
>
>
>
> --
> Paul H. Hargrove                          PHHargrove at lbl.gov
> Computer Languages & Systems Software (CLaSS) Group
> Computer Science Department               Tel: +1-510-495-2352
> Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900
>
> _______________________________________________
> cfarm-users mailing list
> cfarm-users at lists.tetaneutral.net
> https://lists.tetaneutral.net/listinfo/cfarm-users
>


More information about the cfarm-users mailing list