Add missing includes to gdb_assert.h and gdb_string_view.h
authorChristian Biesinger <cbiesinger@google.com>
Tue, 1 Oct 2019 18:36:07 +0000 (13:36 -0500)
committerChristian Biesinger <cbiesinger@google.com>
Wed, 2 Oct 2019 18:33:09 +0000 (13:33 -0500)
commit700545387df82388b054947dc74cc0bb5cbd2a60
tree95a72f1c4028c35d9c1715e0cd161cf586e8605f
parent9ef62df072d85d9cd0fadc90a3bd7f05e32ba9fd
Add missing includes to gdb_assert.h and gdb_string_view.h

gdb::string_view uses gdb_assert, so it should include that header.
And gdb_assert uses internal_error, so it should include errors.h.

gdb/ChangeLog:

2019-10-02  Christian Biesinger  <cbiesinger@google.com>

* gdbsupport/gdb_assert.h: Include errors.h.
* gdbsupport/gdb_string_view.h: Include gdb_assert.h.
gdb/ChangeLog
gdb/gdbsupport/gdb_assert.h
gdb/gdbsupport/gdb_string_view.h