diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 18c8c0dc08e..1c0029da355 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2020-11-18 Keith Seitz + + * linux-tdep.c (dump_note_entry_p): Return true instead of + checking `filename'. + 2020-11-18 Tom de Vries * debuginfod-support.c (debuginfod_source_query) diff --git a/gdb/linux-tdep.c b/gdb/linux-tdep.c index bacb61398fa..8f7bbd5c234 100644 --- a/gdb/linux-tdep.c +++ b/gdb/linux-tdep.c @@ -742,7 +742,7 @@ dump_note_entry_p (filter_flags filterflags, const struct smaps_vmflags *v, /* Otherwise, any other file-based mapping should be placed in the note. */ - return filename != nullptr; + return 1; } /* Implement the "info proc" command. */