This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [COMMITTED PATCH] Fix off-by-one error in make_hex_string.
- From: Doug Evans <xdje42 at gmail dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Sat, 13 Dec 2014 14:26:45 -0800
- Subject: Re: [COMMITTED PATCH] Fix off-by-one error in make_hex_string.
- Authentication-results: sourceware.org; auth=none
- References: <m3fvcji4mp dot fsf at seba dot sebabeach dot org> <20141213222317 dot GN5457 at adacore dot com>
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.