aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-01-09 04:34:35 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-01-09 04:34:35 +0000
commit12c894746152a600f71e5a9c359bb40aac5d0853 (patch)
tree05a934c5ea9508d3e42edcd74a4d930ebaa74255 /gdb
parent4c490650431f854ef3559d0d5a01e0ebfda8226c (diff)
downloadgdb-12c894746152a600f71e5a9c359bb40aac5d0853.zip
gdb-12c894746152a600f71e5a9c359bb40aac5d0853.tar.gz
gdb-12c894746152a600f71e5a9c359bb40aac5d0853.tar.bz2
* ada-valprint.c, parse.c: Include defs.h before including ctype.h.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ada-valprint.c2
-rw-r--r--gdb/parse.c3
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"