gdb/utils.h contains a forward declaration of type "enum errors", and this causes a build failure with old GCC compilers. I suspect the same is true of non-GNU compiler, as enum forward declarations are a GNU extension. Ref: http://www.sourceware.org/ml/gdb-patches/2013-04/msg00829.html A fix was checked it at: http://www.sourceware.org/ml/gdb-patches/2013-05/msg00522.html This PR is to backport the patch to the GDB 7.6 branch.
CVSROOT: /cvs/src Module name: src Branch: gdb_7_6-branch Changes by: brobecke@sourceware.org 2013-05-16 10:55:00 Modified files: gdb : ChangeLog Log message: Add PR entry to the last gdb/ChangeLog entry. (PR 15476) Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=1.15260.2.54&r2=1.15260.2.55
Checked in: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=1.15260.2.53&r2=1.15260.2.54 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/utils.h.diff?cvsroot=src&only_with_tag=gdb_7_6-branch&r1=1.5.2.1&r2=1.5.2.2 Ref: http://www.sourceware.org/ml/gdb-patches/2013-05/msg00587.html http://sourceware.org/ml/gdb-cvs/2013-05/msg00131.html (forgot to add the PR entry to the ChangeLog entry prior to checking in)