diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/linux-tdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 18c8c0d..1c0029d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2020-11-18 Keith Seitz <keiths@redhat.com> + + * linux-tdep.c (dump_note_entry_p): Return true instead of + checking `filename'. + 2020-11-18 Tom de Vries <tdevries@suse.de> * debuginfod-support.c (debuginfod_source_query) diff --git a/gdb/linux-tdep.c b/gdb/linux-tdep.c index bacb613..8f7bbd5 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. */ |