diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 62aa129284..bdb5453c94 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2016-08-15 Matthew Wahab + + PR gdb/20457 + * gdb_proc_service.h: Add an include of gregset.h + [!HAVE_PROC_SERVICE_H]: Remove the include of gregset.h. + 2016-08-15 Yao Qi * location.c (explicit_location_lex_one): Compare the return diff --git a/gdb/gdb_proc_service.h b/gdb/gdb_proc_service.h index 04d3c03884..38b98fc980 100644 --- a/gdb/gdb_proc_service.h +++ b/gdb/gdb_proc_service.h @@ -21,6 +21,8 @@ #include +#include "gregset.h" + #ifdef HAVE_PROC_SERVICE_H /* glibc's proc_service.h doesn't wrap itself with extern "C". Need @@ -60,8 +62,6 @@ EXTERN_C_POP #include #endif -#include "gregset.h" - EXTERN_C_PUSH /* Functions in this interface return one of these status codes. */