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

Paul Hargrove phhargrove at lbl.gov
Thu Sep 7 05:50:16 CEST 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tetaneutral.net/pipermail/cfarm-users/attachments/20170906/a23abd0d/attachment.html>


More information about the cfarm-users mailing list