D10V_MAKE_IADDR / D10V_MAKE_DADDR / GDB_TARGET_IS_D10V

David Taylor taylor@cygnus.com
Fri Jul 21 13:22:00 GMT 2000


I'd like to change the names

    D10V_MAKE_IADDR
    D10V_MAKE_DADDR
    GDB_TARGET_IS_D10V

to something more meaningful...

[I am currently working on a port which will need all three!  Or, to
put it another way, it will need very similar changes -- for similar
reasons as the d10v -- in the same places...]

D10V_MAKE_IADDR and D10V_MAKE_DADDR convert text and data addresses
respectively from target representation to gdb representation.

And GDB_TARGET_IS_D10V just seems to determine whether or not some
code containing calls to the D10V_MAKE_[ID]ADDR routines gets
executed or not.

For names, how about:

    CONVERT_IADDR_FROM_TARGET
    CONVERT_DADDR_FROM_TARGET
    ADDRESSES_NEED_CONVERSION_P

Comments?

Once new names are settled on I'll submit a patch for approval.

David


More information about the Gdb mailing list