diff options
author | Pedro Alves <palves@redhat.com> | 2012-06-05 15:44:03 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-06-05 15:44:03 +0000 |
commit | fb139f32517cbf8eed6de1d35ee2ea43a5d060ef (patch) | |
tree | f0dde8d938800499acf3da592e8d399ff9f7516d /gdb/solib-svr4.c | |
parent | a8e1bb344dad8bc875d9faf0c68d41bca8e142c1 (diff) | |
download | gdb-fb139f32517cbf8eed6de1d35ee2ea43a5d060ef.zip gdb-fb139f32517cbf8eed6de1d35ee2ea43a5d060ef.tar.gz gdb-fb139f32517cbf8eed6de1d35ee2ea43a5d060ef.tar.bz2 |
2012-06-05 Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
* 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.
Diffstat (limited to 'gdb/solib-svr4.c')
-rw-r--r-- | gdb/solib-svr4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index bd0141a..307e483 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++) { |