aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorChristian Biesinger <cbiesinger@google.com>2019-12-16 15:00:17 -0600
committerChristian Biesinger <cbiesinger@google.com>2019-12-17 14:08:48 -0600
commite3169fe0bb9b9190f0c7849864f0bb68cb8c2d5b (patch)
tree89f1ce9ae6d5b7f498ee37c18fb480f4c3daede9 /gdb
parent9b30da15e72bd4e8265169bfd511272aa3875738 (diff)
downloadgdb-e3169fe0bb9b9190f0c7849864f0bb68cb8c2d5b.zip
gdb-e3169fe0bb9b9190f0c7849864f0bb68cb8c2d5b.tar.gz
gdb-e3169fe0bb9b9190f0c7849864f0bb68cb8c2d5b.tar.bz2
Add missing include to bsd-kvm.c for gdb_abspath
Commit ff8577f64987a898e1dc5eb6afb66a404fb7bb16 added a call to gdb_abspath in bsd-kvm.c, but doesn't include its header file. This commit fixes that. gdb/ChangeLog: 2019-12-17 Christian Biesinger <cbiesinger@google.com> * bsd-kvm.c: Include gdbsupport/pathstuff.h. Change-Id: I647c3620d8ae978ae27c38dbe0b3347a97c5bfc2
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/bsd-kvm.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5464461..91b81f2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2019-12-17 Christian Biesinger <cbiesinger@google.com>
+
+ * bsd-kvm.c: Include gdbsupport/pathstuff.h.
+
2019-12-17 Simon Marchi <simon.marchi@polymtl.ca>
* tui/tui-layout.h (class tui_layout_base): Add virtual
diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c
index 74c044f..111488d 100644
--- a/gdb/bsd-kvm.c
+++ b/gdb/bsd-kvm.c
@@ -29,6 +29,7 @@
#include "gdbcore.h"
#include "inferior.h" /* for get_exec_file */
#include "gdbthread.h"
+#include "gdbsupport/pathstuff.h"
#include <fcntl.h>
#include <kvm.h>