summaryrefslogtreecommitdiff
path: root/gdb/solib-som.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-10-17 17:45:16 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-10-17 17:45:16 +0000
commit36d1deeb2f285dfb4f588c6c81dea897dc120899 (patch)
treed7f80f8f52db0a179c656f34e5cbff3049e33c0c /gdb/solib-som.c
parent1bc4710e30694c7f0319d57ed8e1ee6c23ebd759 (diff)
downloadgdb-36d1deeb2f285dfb4f588c6c81dea897dc120899.tar.gz
gdb/
* infrun.c (follow_exec): Replace symbol_file_add_main by symbol_file_add with SYMFILE_DEFER_BP_RESET, set_initial_language and breakpoint_re_set. * m32r-rom.c (m32r_load, m32r_upload_command): Use parameter 0 for clear_symtab_users. * objfiles.c (free_all_objfiles): Likewise. * remote-m32r-sdi.c (m32r_load): Likewise. * solib-som.c (som_solib_create_inferior_hook): Likewise. * symfile.c (new_symfile_objfile): New comment for add_flags. Call clear_symtab_users with ADD_FLAGS. (reread_symbols): Use parameter 0 for clear_symtab_users. (clear_symtab_users): New parameter add_flags. Do not call breakpoint_re_set if SYMFILE_DEFER_BP_RESET. (clear_symtab_users_cleanup): Use parameter 0 for clear_symtab_users. * symtab.h (clear_symtab_users): New parameter add_flags. gdb/testsuite/ * gdb.base/pie-execl.exp: New file. * gdb.base/pie-execl.c: New file.
Diffstat (limited to 'gdb/solib-som.c')
-rw-r--r--gdb/solib-som.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-som.c b/gdb/solib-som.c
index 09db004c9db..41fcf244e0f 100644
--- a/gdb/solib-som.c
+++ b/gdb/solib-som.c
@@ -354,7 +354,7 @@ keep_going:
/* Make the breakpoint at "_start" a shared library event breakpoint. */
create_solib_event_breakpoint (target_gdbarch, anaddr);
- clear_symtab_users ();
+ clear_symtab_users (0);
}
static void