This is the mail archive of the gdb-patches@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] |
Other format: | [Raw text] |
- unpack an architecture's auxv - pack an architecture's auxv
This in fact differs with byte order and word size, not further by target. So a generic utility function suffices for this. If the responsibility for packing and unpacking is in each target, they should all be able to use the same utility function and stay about as simple as the block-reading target code. If the responsibility for unpacking lies with the caller of the target function, then the single utility function suffices for all callers (since then there is never a need for packing, only unpacking).
Solaris: #define AT_DCACHEBSIZE 10 /* smallest data cache block size */ #define AT_ICACHEBSIZE 11 /* smallest instruction cache block size */ #define AT_UCACHEBSIZE 12 /* smallest unified cache block size */ ...
GNU/Linux: #define AT_NOTELF 10 /* program is not ELF */ #define AT_UID 11 /* real uid */ #define AT_EUID 12 /* effective uid */ ...
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |