* symfile.c (symbol_file_add_main_1): Use inferior's
authorTom Tromey <tromey@redhat.com>
Thu, 16 Feb 2012 21:07:20 +0000 (21:07 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 16 Feb 2012 21:07:20 +0000 (21:07 +0000)
commit7dcd53a07458941ccf02e280b42f9d68dfb976b0
treed8826dcdbcc1399f5700f571362fc3c257455006
parent7b5de7eeacf1f08bc31562510bab508ebcaae3ee
* symfile.c (symbol_file_add_main_1): Use inferior's
symfile_flags.
* solib.c (solib_read_symbols): Use inferior's symfile_flags.
* linux-nat.c (linux_child_follow_fork): Set symfile_flags on
inferior.
* infrun.c (handle_vfork_child_exec_or_exit): Set symfile_flags on
inferior.
(follow_exec): Use inferior's symfile_flags.
* inferior.h (struct inferior) <symfile_flags>: New field.
gdb/ChangeLog
gdb/inferior.h
gdb/infrun.c
gdb/linux-nat.c
gdb/solib.c
gdb/symfile.c