On Mon, 03 Jan 2000 16:42:20 -0700 (MST),
Brian Hall <brianw.hall@xxxxxxxxxx> wrote:
>Sounds good. I think it might be convienent to have a pointer in the specific
>header to point back to the generic header, and vice versa. Also, maybe an
>#ifdeffed typedef in the arch-specific header to define the commonly-used
>register size, i.e. uint32_t for Intel, uint64_t for Alpha, but the code could
>just use the "standard" arch specific typesize, I dunno, "reg_size_t" or maybe
>"word_size_t" (this may already be defined somewhere?).
If you ever plan to allow cross platform dump analysis then you should
use explicit sizes i.e. uint32_t or uint64_t. "reg_size_t" is
meaningless if the dump came from a 64 bit machine but you are
debugging on a 32 bit machine.
|