[binutils-gdb] Include scoped_fd.h in debuginfod-support.h
Tom Tromey
tromey@sourceware.org
Sat Mar 6 16:36:51 GMT 2021
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1803565556f36692a0d49e3c1aeae1595a64709d
commit 1803565556f36692a0d49e3c1aeae1595a64709d
Author: Tom Tromey <tom@tromey.com>
Date: Sat Mar 6 09:26:39 2021 -0700
Include scoped_fd.h in debuginfod-support.h
debuginfod-support.h requires scoped_fd, so include the header here.
gdb/ChangeLog
2021-03-06 Tom Tromey <tom@tromey.com>
* debuginfod-support.h: Include scoped_fd.h.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/debuginfod-support.h | 2 ++
2 files changed, 6 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 00619cc4cd8..e73dec797aa 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2021-03-06 Tom Tromey <tom@tromey.com>
+
+ * debuginfod-support.h: Include scoped_fd.h.
+
2021-03-06 Tom Tromey <tom@tromey.com>
* dwarf2/read.h (dwarf2_get_dwz_file): Add 'require' parameter.
diff --git a/gdb/debuginfod-support.h b/gdb/debuginfod-support.h
index e90b78a745b..5e5aab56e74 100644
--- a/gdb/debuginfod-support.h
+++ b/gdb/debuginfod-support.h
@@ -19,6 +19,8 @@
#ifndef DEBUGINFOD_SUPPORT_H
#define DEBUGINFOD_SUPPORT_H
+#include "gdbsupport/scoped_fd.h"
+
/* Query debuginfod servers for a source file associated with an
executable with BUILD_ID. BUILD_ID can be given as a binary blob or
a null-terminated string. If given as a binary blob, BUILD_ID_LEN
More information about the Gdb-cvs
mailing list