gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 21 Jan 2013 17:14:33 +0000 (17:14 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 21 Jan 2013 17:14:33 +0000 (17:14 +0000)
* symmisc.c (maintenance_print_msymbols): Check also ST_DEV.

gdb/ChangeLog
gdb/symmisc.c

index bc73b97184699499524fa5a643dc8a016716dfd2..0badb87d999c32715780261970fa990ae26ed514 100644 (file)
@@ -1,3 +1,7 @@
+2013-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
+
 2013-01-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Fix gdb.fortran/common-block.exp crash in PIE mode.
index ce0bd205afc455ce9298942fe42cd3dc9bc0b197..df77e79fc0206b8f6153a2deee02cdbce3517cb8 100644 (file)
@@ -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);
       }
This page took 0.02575 seconds and 4 git commands to generate.