lkcd
[Top] [All Lists]

Re: dump_header changes for Alpha

To: Brian Hall <brianw.hall@xxxxxxxxxx>
Subject: Re: dump_header changes for Alpha
From: Keith Owens <kaos@xxxxxxxxxx>
Date: Tue, 04 Jan 2000 10:50:45 +1100
Cc: Matt Robinson <yakker@xxxxxxxxxxxx>, lkcd@xxxxxxxxxxx
In-reply-to: Your message of "Mon, 03 Jan 2000 16:42:20 PDT." <XFMail.20000103164220.brianw.hall@compaq.com>
Sender: owner-lkcd@xxxxxxxxxxx
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.


<Prev in Thread] Current Thread [Next in Thread>