[COMMITTED PATCH] Fix off-by-one error in make_hex_string.

Doug Evans xdje42@gmail.com
Sat Dec 13 22:26:00 GMT 2014


On Sat, Dec 13, 2014 at 2:23 PM, Joel Brobecker <brobecker@adacore.com> wrote:
>> python print (objfile.build_id)
>> ../../to-push/gdb/common/common-utils.c:139: internal-error: xsnprintf: Assertion `ret < size' failed.
>
> Grrr, thank you! I don't understand why I didn't get that error,
> though, as I ran the testsuite. That's weird...

I can imagine it's because the toolchain you used didn't add a build id.
Just a guess though.



More information about the Gdb-patches mailing list