diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2015-11-03 13:33:10 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2015-11-03 13:33:11 -0500 |
commit | e6c5bb0517d29b6d888b8559facb797b442e7b86 (patch) | |
tree | 68b6f79353a2c34bf253139726895530c7933524 /gdb/sparc-linux-tdep.c | |
parent | ab2733963604205afbcc1bc164048864e955c8ff (diff) | |
download | gdb-e6c5bb0517d29b6d888b8559facb797b442e7b86.zip gdb-e6c5bb0517d29b6d888b8559facb797b442e7b86.tar.gz gdb-e6c5bb0517d29b6d888b8559facb797b442e7b86.tar.bz2 |
linux-ppc-low.c: Remove forward declaration, move ppc_arch_setup lower
g++ doesn't like that we forward-declare a variable that is initialized
later in the file. It's easy enough to re-order things to fix it.
Fixes
/home/simark/src/binutils-gdb/gdb/gdbserver/linux-ppc-low.c:663:28: error: redefinition of ‘usrregs_info ppc_usrregs_info’
static struct usrregs_info ppc_usrregs_info =
^
/home/simark/src/binutils-gdb/gdb/gdbserver/linux-ppc-low.c:381:28: note: ‘usrregs_info ppc_usrregs_info’ previously declared here
static struct usrregs_info ppc_usrregs_info;
^
gdb/gdbserver/ChangeLog:
* linux-ppc-low.c (ppc_usrregs_info): Remove
forward-declaration.
(ppc_arch_setup): Move lower in file.
Diffstat (limited to 'gdb/sparc-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions