diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ada-valprint.c | 2 | ||||
-rw-r--r-- | gdb/parse.c | 3 |
3 files changed, 7 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 73a01f5..0a5b4b5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2010-01-09 Joel Brobecker <brobecker@adacore.com> + Fix build failure of solaris-hosted cross debuggers. + * ada-valprint.c, parse.c: Include defs.h before including ctype.h. + +2010-01-09 Joel Brobecker <brobecker@adacore.com> + Fix build failure on sparc-solaris. * procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus. diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c index e000411..4f644b8 100644 --- a/gdb/ada-valprint.c +++ b/gdb/ada-valprint.c @@ -19,8 +19,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <ctype.h> #include "defs.h" +#include <ctype.h> #include "gdb_string.h" #include "symtab.h" #include "gdbtypes.h" diff --git a/gdb/parse.c b/gdb/parse.c index 8cfdeaa..2885506 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -31,9 +31,8 @@ during the process of parsing; the lower levels of the tree always come first in the result. */ -#include <ctype.h> - #include "defs.h" +#include <ctype.h> #include "arch-utils.h" #include "gdb_string.h" #include "symtab.h" |