On Tue, Dec 2, 2008 at 1:00 AM, John David Anglin <dave@xxxxxxxxxxxxxxxxxx> wrote: > > Are there some standard 32 and 64 bit defines for format strings? Or, do we > always want 16 hex digits? In traps.c we used to do this for the regs dump: #ifdef __LP64__ #define RFMT "%016lx" #else #define RFMT "%08lx" #endif and then sprintf(p, " " RFMT, (i+j) == 0 ? 0 : regs->gr[i + j]); I guess a similar trick could do, to some extent? HTH T-Bone -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html