aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-03-06 09:26:39 -0700
committerTom Tromey <tom@tromey.com>2021-03-06 09:26:39 -0700
commit1803565556f36692a0d49e3c1aeae1595a64709d (patch)
treecacd610ee24cafde0ce0d9344f25ed83d18003d7 /gdb
parenta7308ce01effdd143bfe5e3c7350fa2d5606d12b (diff)
downloadbinutils-1803565556f36692a0d49e3c1aeae1595a64709d.zip
binutils-1803565556f36692a0d49e3c1aeae1595a64709d.tar.gz
binutils-1803565556f36692a0d49e3c1aeae1595a64709d.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/debuginfod-support.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 00619cc..e73dec7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
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.
* dwarf2/read.c (dwarf2_get_dwz_file): Add 'require' parameter.
(get_abbrev_section_for_cu, read_attribute_value)
diff --git a/gdb/debuginfod-support.h b/gdb/debuginfod-support.h
index e90b78a..5e5aab5 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