aboutsummaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-01-21 17:14:33 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-01-21 17:14:33 +0000
commit3b74cdc362a03bc6893f79f14fb5f60bb585e828 (patch)
tree89c5e8d55c01d24ba961eef7092dc95a3f30bb62 /gdb/symmisc.c
parent5a352474f94fb3d8b8d81cd5000eb2d10ad7c656 (diff)
downloadgdb-3b74cdc362a03bc6893f79f14fb5f60bb585e828.zip
gdb-3b74cdc362a03bc6893f79f14fb5f60bb585e828.tar.gz
gdb-3b74cdc362a03bc6893f79f14fb5f60bb585e828.tar.bz2
gdb/
* symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
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);
}