From 4783d45e523e077cd8d0e3d577dc64a6b1a809c4 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 16 Feb 2012 21:07:18 +0000 Subject: * 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) : New field. --- gdb/solib.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/solib.c') diff --git a/gdb/solib.c b/gdb/solib.c index 84b90190c13..656e8dfa551 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -592,6 +592,8 @@ solib_read_symbols (struct so_list *so, int flags) { volatile struct gdb_exception e; + flags |= current_inferior ()->symfile_flags; + TRY_CATCH (e, RETURN_MASK_ERROR) { struct section_addr_info *sap; -- cgit v1.2.1