diff options
author | Pedro Alves <palves@redhat.com> | 2018-05-24 13:07:53 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2018-05-24 13:21:55 +0100 |
commit | da05d921f0b7b9f9f07ac4e78ee228e7ecf847e0 (patch) | |
tree | 7fcdb917cf0013e39b83e4bd04a9909a0ef38f11 /gdb/darwin-nat.h | |
parent | 08163f025e414bd3cebe0adac83ed4a7ce13625e (diff) | |
download | gdb-da05d921f0b7b9f9f07ac4e78ee228e7ecf847e0.zip gdb-da05d921f0b7b9f9f07ac4e78ee228e7ecf847e0.tar.gz gdb-da05d921f0b7b9f9f07ac4e78ee228e7ecf847e0.tar.bz2 |
Fix macOS build, missing override
Fixes:
In file included from ../../src/gdb/darwin-nat.c:63:0:
../../src/gdb/darwin-nat.h:28:8: error: 'virtual void darwin_nat_target::create_inferior(const char*, const string&, char**, int)' can be marked override [-Werror=suggest-override]
void create_inferior (const char *exec_file,
^
gdb/ChangeLog:
2018-05-24 Pedro Alves <palves@redhat.com>
* darwin-nat.h (darwin_nat_target::create_inferior): Mark with
override.
Diffstat (limited to 'gdb/darwin-nat.h')
-rw-r--r-- | gdb/darwin-nat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/darwin-nat.h b/gdb/darwin-nat.h index 9d45bda..5965df0 100644 --- a/gdb/darwin-nat.h +++ b/gdb/darwin-nat.h @@ -27,7 +27,7 @@ class darwin_nat_target : public inf_child_target { void create_inferior (const char *exec_file, const std::string &allargs, - char **env, int from_tty); + char **env, int from_tty) override; void attach (const char *, int) override; |