This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] Constant propogate unpack_long(), arm-elf can be built with-Werror
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 06 Jan 2003 13:54:32 -0500
- Subject: [commit] Constant propogate unpack_long(), arm-elf can be built with-Werror
Hello,
This changes the function declaration:
extern LONGEST unpack_long (struct type *type, char *valaddr);
to:
extern LONGEST unpack_long (struct type *type, const char *valaddr);
and then fixes the fallout (modify callees so that they, too, take a
`const char *'; repeat).
This in turn makes it possible for arm-elf to compile with -Werror
(Ya!). The MAINTAINERS file is updated accordingly.
committed,
Andrew