diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbsupport/gdb_assert.h | 2 | ||||
-rw-r--r-- | gdb/gdbsupport/gdb_string_view.h | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cb450e2..03c2498 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2019-10-02 Christian Biesinger <cbiesinger@google.com> + + * gdbsupport/gdb_assert.h: Include errors.h. + * gdbsupport/gdb_string_view.h: Include gdb_assert.h. + 2019-10-02 Tom Tromey <tromey@adacore.com> * NEWS: Add $_ada_exception entry. diff --git a/gdb/gdbsupport/gdb_assert.h b/gdb/gdbsupport/gdb_assert.h index a719d87..6113050 100644 --- a/gdb/gdbsupport/gdb_assert.h +++ b/gdb/gdbsupport/gdb_assert.h @@ -19,6 +19,8 @@ #ifndef COMMON_GDB_ASSERT_H #define COMMON_GDB_ASSERT_H +#include "errors.h" + /* A static assertion. This will cause a compile-time error if EXPR, which must be a compile-time constant, is false. */ diff --git a/gdb/gdbsupport/gdb_string_view.h b/gdb/gdbsupport/gdb_string_view.h index 68f7f7d..19ae222 100644 --- a/gdb/gdbsupport/gdb_string_view.h +++ b/gdb/gdbsupport/gdb_string_view.h @@ -46,6 +46,7 @@ namespace gdb { #include <string> #include <limits> +#include "gdb_assert.h" namespace gdb { |