From: Pedro Alves Date: Tue, 5 Jun 2012 15:44:03 +0000 (+0000) Subject: 2012-06-05 Joakim Tjernlund X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb139f32517cbf8eed6de1d35ee2ea43a5d060ef;p=binutils-gdb.git 2012-06-05 Joakim Tjernlund * solib-svr4.c (enable_break): Don't fallback to setting the solib event breakpoint at _start, __start or main if a program interpreter is not found. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3fb91b38240..2bb9d8185c4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2012-06-05 Joakim Tjernlund + + * solib-svr4.c (enable_break): Don't fallback to setting the solib + event breakpoint at _start, __start or main if a program + interpreter is not found. + 2012-06-05 Joel Brobecker * windows-tdep.h (windows_iterate_over_objfiles_in_search_order): diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index bd0141acef8..307e48392fe 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -1707,7 +1707,7 @@ enable_break (struct svr4_info *info, int from_tty) } } - if (!current_inferior ()->attach_flag) + if (interp_name != NULL && !current_inferior ()->attach_flag) { for (bkpt_namep = bkpt_names; *bkpt_namep != NULL; bkpt_namep++) {