diff options
author | Pedro Alves <pedro@codesourcery.com> | 2009-11-15 20:07:57 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2009-11-15 20:07:57 +0000 |
commit | 57525cd906fac970697843c95a200728cd1dd3a5 (patch) | |
tree | cfeb3ecda2586e86108e870aab99606ed3853b12 /gdb/progspace.h | |
parent | 3ebd22671e746bdcf6777449263cebad1984a4e9 (diff) | |
download | gdb-57525cd906fac970697843c95a200728cd1dd3a5.tar.gz |
* breakpoint.c (should_be_inserted): Don't insert breakpoints if
the pspace doesn't allow breakpoints.
(insert_breakpoint_locations): Remove waiting_for_vfork_done
special case. Expect watchpoints that shouldn't be inserted, to
not be inserted.
* progspace.h (struct program_space) <breakpoints_not_allowed>:
New field.
* infrun.c (handle_inferior_event): Clear it.
* linux-nat.c (linux_child_follow_fork): Set it.
Diffstat (limited to 'gdb/progspace.h')
-rw-r--r-- | gdb/progspace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/progspace.h b/gdb/progspace.h index 0cf1382b77a..4d87d16863b 100644 --- a/gdb/progspace.h +++ b/gdb/progspace.h @@ -165,6 +165,10 @@ struct program_space to set breakpoints point at the wrong addresses. */ int executing_startup; + /* True if no breakpoints should be inserted in this program + space. */ + int breakpoints_not_allowed; + /* The object file that the main symbol table was loaded from (e.g. the argument to the "symbol-file" or "file" command). */ struct objfile *symfile_object_file; |