aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>1998-08-19 22:57:00 +0000
committerAnthony Green <green@redhat.com>1998-08-19 22:57:00 +0000
commit9ca743cf2f4ff7aeaf99f9bd558433d2833ba35d (patch)
tree68b7113106a80409902d7841d6da3d6f498dae55 /gdb
parentb49867b644a60b075c336799298134ec14fb6ef3 (diff)
downloadgdb-9ca743cf2f4ff7aeaf99f9bd558433d2833ba35d.zip
gdb-9ca743cf2f4ff7aeaf99f9bd558433d2833ba35d.tar.gz
gdb-9ca743cf2f4ff7aeaf99f9bd558433d2833ba35d.tar.bz2
* i386v4-nat.c: Include sys/reg.h if present.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/i386v4-nat.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c2d94b1..c6348c9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+Wed Aug 19 15:53:52 1998 Anthony Green <green@hoser.cygnus.com>
+
+ * i386v4-nat.c: Include sys/reg.h if present.
+
Wed Aug 19 03:07:53 1998 Richard Henderson <rth@cygnus.com>
* config/alpha/alpha-linux (XDEPFILES): Build ser-tcp.
diff --git a/gdb/i386v4-nat.c b/gdb/i386v4-nat.c
index 3882ac7..965f632 100644
--- a/gdb/i386v4-nat.c
+++ b/gdb/i386v4-nat.c
@@ -19,6 +19,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "defs.h"
+#ifdef HAVE_SYS_REG_H
+#include <sys/reg.h>
+#endif
+
#ifdef HAVE_SYS_PROCFS_H
#include <sys/procfs.h>