binutils-gdb/gdb/mi
Tom Tromey 44d100c3b9 add -Wold-style-declaration
This adds -Wold-style-declaration to gdb's list of warnings.

It turns out that a few places use "const static" rather than
"static const".  The former is deprecated according to the C standard.

Tested by rebuilding with --enable-targets=all on x86-64 Fedora 18.

	* configure.ac (build_warnings): Add -Wold-style-declaration.
	* configure: Rebuild.
	* dsrec.c (make_srec): Use "static const", not "const static".
	* h8300-tdep.c (h8300_breakpoint_from_pc): Use "static const",
	not "const static".
	* mi/mi-parse.c (mi_no_values, mi_simple_values, mi_all_values):
	Use "static const", not "const static".
	* mn10300-tdep.c (mn10300_breakpoint_from_pc): Use "static const",
	not "const static".
	* moxie-tdep.c (moxie_breakpoint_from_pc): Use "static const",
	not "const static".
	* rs6000-tdep.c (rs6000_breakpoint_from_pc): Use "static const",
	not "const static".
	* v850-tdep.c (v850_breakpoint_from_pc): Use "static const",
	not "const static".
	(v850_dbtrap_breakpoint_from_pc): Likewise.
	* xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Use "static const",
	not "const static".
2013-07-01 19:50:11 +00:00
..
ChangeLog-1999-2003
mi-cmd-break.c mi/mi-cmd-break.c: Use xsnprintf instead of sprintf (ARI fix) 2013-05-23 06:39:42 +00:00
mi-cmd-break.h
mi-cmd-catch.c
mi-cmd-disas.c
mi-cmd-env.c
mi-cmd-file.c
mi-cmd-info.c
mi-cmd-stack.c gdb/ 2013-06-03 03:16:24 +00:00
mi-cmd-target.c
mi-cmd-var.c gdb/ 2013-06-03 03:16:24 +00:00
mi-cmds.c gdb/ 2013-06-26 08:17:27 +00:00
mi-cmds.h gdb/ 2013-06-26 08:17:27 +00:00
mi-common.c
mi-common.h
mi-console.c
mi-console.h
mi-getopt.c
mi-getopt.h
mi-interp.c
mi-main.c gdb/ 2013-06-26 08:17:27 +00:00
mi-main.h
mi-out.c
mi-out.h
mi-parse.c add -Wold-style-declaration 2013-07-01 19:50:11 +00:00
mi-parse.h gdb/ 2013-06-03 03:16:24 +00:00
mi-symbol-cmds.c