aboutsummaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r--gdb/symmisc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index ce0bd20..df77e79 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -675,6 +675,7 @@ maintenance_print_msymbols (char *args, int from_tty)
{
QUIT;
if (symname == NULL || (!stat (objfile->name, &obj_st)
+ && sym_st.st_dev == obj_st.st_dev
&& sym_st.st_ino == obj_st.st_ino))
dump_msymbols (objfile, outfile);
}