[RFC/TileGX 5/6]show registers in columns

Jiong Wang jiwang@tilera.com
Fri Jan 18 09:30:00 GMT 2013


tilegx has 64 registers, to show them in row will be not very convinent 
to explore,
so we improve this by showing them in columns.

(gdb) info registers
r0   0x0000000000000001    r19  0x0000000000000000    r38 0x0000000000000040
r1   0x000001ffffc7f458         r20  0x000001ffffc7f278         r39 
0x0000000000000000
r2   0x000001ffffc7f468         r21  0x000001ffffc7f298         r40 
0x000000000015b3e8
r3   0x0000000000010720    r22  0x000001ffffc7f280         r41 
0x000000000015882c
...
...

gdb/ChangeLog:

        * tilegx-tdep.c (tilegx_print_registers_info): New function.
        show registers in columns.

please review.

---
Regards,
Jiong
Tilera Corporation.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-show-registers-in-columns.patch
Type: text/x-patch
Size: 2490 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20130118/2fddc69e/attachment.bin>


More information about the Gdb-patches mailing list