OSDN Git Service

* breakpoint.c (should_be_inserted): Don't insert breakpoints if
authorpalves <palves>
Mon, 16 Nov 2009 05:07:57 +0000 (05:07 +0000)
committerpalves <palves>
Mon, 16 Nov 2009 05:07:57 +0000 (05:07 +0000)
commit9769099d7aa884371d99d48797b80f4602e28806
treea671a1abf24445e427f6f05964367746e2786f46
parentb972276e8d3b358cfd5720778e66d76c8381cfa7
* 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.
gdb/ChangeLog
gdb/breakpoint.c
gdb/infrun.c
gdb/linux-nat.c
gdb/progspace.h