* symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
This commit is contained in:
Jan Kratochvil 2013-01-21 17:14:33 +00:00
parent 5a352474f9
commit 3b74cdc362
2 changed files with 5 additions and 0 deletions

View 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.

View 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);
}