[RFC] Add support for printing pdata for x86_64 pe coff objects
Andreas Schwab
schwab@linux-m68k.org
Wed Dec 24 11:24:00 GMT 2014
"Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr> writes:
> The missing newline, is explained by the comment below:
>
> 2719 /* ctime implies '\n'. */
> 2720 {
> 2721 time_t t = pe->coff.timestamp;
> 2722 fprintf (file, "\nTime/Date\t\t%s", ctime (&t));
> 2723 }
> 2724
> but I don't know why t returns "(null)"
ctime(&t) returned NULL.
> (gdb) ptyp t
> type = long long
> (gdb) p /x t
> $4 = 0xffffffff806f8040
>
> Is this some magical number?
What happens if you clear the top 32 bits?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Binutils
mailing list