This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: gdb 7.6: Fix info mem command for 32 bits host/64 bits target
- From: Pedro Alves <palves at redhat dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Cc: Udma Catalin-Dan-B32721 <B32721 at freescale dot com>
- Date: Wed, 26 Jun 2013 17:11:18 +0100
- Subject: Re: gdb 7.6: Fix info mem command for 32 bits host/64 bits target
- References: <FE751157F0442848A159F3AB4CB1F55B3D9FE8 at 039-SN1MPN1-001 dot 039d dot mgd dot msft dot net> <51CB116D dot 7060009 at redhat dot com> <51CB11D6 dot 1020306 at redhat dot com>
On 06/26/2013 05:07 PM, Pedro Alves wrote:
> BTW,
>
> $ grep hex_string_custom * | grep long
>
> finds:
>
> breakpoint.c: /* The longest string possibly returned by hex_string_custom
> breakpoint.c: strcpy (astr1, hex_string_custom ((unsigned long) from_addr, 8));
> breakpoint.c: strcpy (astr2, hex_string_custom ((unsigned long) to_addr, 8));
>
> Those casts are likewise bogus:
Filed <http://sourceware.org/bugzilla/show_bug.cgi?id=15683>.
--
Pedro Alves