In gdb/gdbtk/generic/gdbtk-register.c, 2 statements try to use a print format of "%lx" for a size_t argument. The correctness of such statements is architecture dependent. If warnings are treated as errors, the compilation fails. The attached patch fixes these statements by unconditionally converting the size_t argument to an unsigned long. Cheers, Patrick