This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA/ppc] Set PC register type to code_ptr


Hello,

Noticed with the recent testcase that I introduced, "ptype $pc"
returns an integer type instead of a pointer to function. Fixed
by updating the various XML descriptions and regenerating the
associated .c files.

2008-02-04  Joel Brobecker  <brobecker@adacore.com>

        * features/rs6000/power-core.xml, features/rs6000/power64-core.xml
        features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml:
        Set PC register type to "code_ptr".
        * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c,
        features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c,
        features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c,
        features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c,
        features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c,
        features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c,
        features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c:
        Regenerate.

Tested on ppc-aix. No regression. Fixes:

    FAIL: ptype.exp: ptype $pc.

OK to apply?

Thanks,
-- 
Joel

Attachment: features-ppc.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]