aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/linux-tdep.c')
-rw-r--r--gdb/linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
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. */