This is the mail archive of the gdb@sources.redhat.com 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]

D10V_MAKE_IADDR / D10V_MAKE_DADDR / GDB_TARGET_IS_D10V


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

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