From 3b74cdc362a03bc6893f79f14fb5f60bb585e828 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Mon, 21 Jan 2013 17:14:33 +0000 Subject: [PATCH] gdb/ * symmisc.c (maintenance_print_msymbols): Check also ST_DEV. --- gdb/ChangeLog | 4 ++++ gdb/symmisc.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bc73b971846..0badb87d999 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-01-21 Jan Kratochvil + + * symmisc.c (maintenance_print_msymbols): Check also ST_DEV. + 2013-01-21 Jan Kratochvil Fix gdb.fortran/common-block.exp crash in PIE mode. diff --git a/gdb/symmisc.c b/gdb/symmisc.c index ce0bd205afc..df77e79fc02 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); }