public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Simon Marchi <simark@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Add missing includes in dwarf-index-write.c and mi/mi-interp.c Date: Tue, 26 Nov 2019 19:48:00 -0000 [thread overview] Message-ID: <20191126194823.17036.qmail@sourceware.org> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 2903 bytes --] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=23baa4cc5ee5f1008aefa8a9e1010f9d2be6c5e3 commit 23baa4cc5ee5f1008aefa8a9e1010f9d2be6c5e3 Author: Simon Marchi <simon.marchi@efficios.com> Date: Tue Nov 26 12:12:00 2019 -0500 Add missing includes in dwarf-index-write.c and mi/mi-interp.c The following errors show that these files are missing the include of their matching header, add them. CXX dwarf-index-write.o /home/smarchi/src/binutils-gdb/gdb/dwarf-index-write.c: In function âvoid write_psymtabs_to_index(dwarf2_per_objfile*, const char*, const char*, const char*, dw_index_kind)â: /home/smarchi/src/binutils-gdb/gdb/dwarf-index-write.c:1670:1: error: no previous declaration for âvoid write_psymtabs_to_index(dwarf2_per_objfile*, const char*, const char*, const char*, dw_index_kind)â [-Werror=missing-declarations] write_psymtabs_to_index (struct dwarf2_per_objfile *dwarf2_per_objfile, ^~~~~~~~~~~~~~~~~~~~~~~ CXX mi/mi-interp.o /home/smarchi/src/binutils-gdb/gdb/mi/mi-interp.c: In function âvoid mi_output_solib_attribs(ui_out*, so_list*)â: /home/smarchi/src/binutils-gdb/gdb/mi/mi-interp.c:1030:1: error: no previous declaration for âvoid mi_output_solib_attribs(ui_out*, so_list*)â [-Werror=missing-declarations] mi_output_solib_attribs (ui_out *uiout, struct so_list *solib) ^~~~~~~~~~~~~~~~~~~~~~~ gdb/ChangeLog: * dwarf-index-write.c: Include dwarf-index-write.h. * mi/mi-interp.c: Include mi/mi-interp.h. Change-Id: I0103b8669e16e0fcaa476f8c5e96f49608157745 Diff: --- gdb/ChangeLog | 5 +++++ gdb/dwarf-index-write.c | 2 ++ gdb/mi/mi-interp.c | 3 +++ 3 files changed, 10 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6f6019c..82b0adf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2019-11-26 Simon Marchi <simon.marchi@efficios.com> + * dwarf-index-write.c: Include dwarf-index-write.h. + * mi/mi-interp.c: Include mi/mi-interp.h. + +2019-11-26 Simon Marchi <simon.marchi@efficios.com> + * aarch32-tdep.c: Include aarch32-tdep.h. * aarch32-tdep.h: Forward-declare struct target_desc. diff --git a/gdb/dwarf-index-write.c b/gdb/dwarf-index-write.c index 7e89de4..cbad308 100644 --- a/gdb/dwarf-index-write.c +++ b/gdb/dwarf-index-write.c @@ -19,6 +19,8 @@ #include "defs.h" +#include "dwarf-index-write.h" + #include "addrmap.h" #include "cli/cli-decode.h" #include "gdbsupport/byte-vector.h" diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c index 7659e28..1cf3055 100644 --- a/gdb/mi/mi-interp.c +++ b/gdb/mi/mi-interp.c @@ -18,6 +18,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "defs.h" + +#include "mi-interp.h" + #include "interps.h" #include "event-top.h" #include "event-loop.h"
reply other threads:[~2019-11-26 19:48 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20191126194823.17036.qmail@sourceware.org \ --to=simark@sourceware.org \ --cc=gdb-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).