diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-01-21 17:14:32 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-01-21 17:14:32 +0000 |
commit | 3c286e16094a0aea5174bdb140ade74704be86b2 (patch) | |
tree | 234d1631297ace3e8a43b9cd13ef39a3e4973b3e /gdb/symmisc.c | |
parent | b48fa46efd5d0968fd2a9f62264cb9313fd87e20 (diff) | |
download | gdb-3c286e16094a0aea5174bdb140ade74704be86b2.tar.gz |
gdb/
* symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r-- | gdb/symmisc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |