]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/breakpoint.c
* breakpoint.c (create_breakpoint): Split from
authorVladimir Prus <vladimir@codesourcery.com>
Sat, 22 Sep 2007 19:10:05 +0000 (19:10 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Sat, 22 Sep 2007 19:10:05 +0000 (19:10 +0000)
commit018d34a46b565ceaf494bcf8f3a8a9ec488bb69a
tree63c1c6b0701791ee3024d624e59fe06d8a3d2f06
parent511a6cd4e1e2b29e79fd05f8dd3fb95de3961ed6
* breakpoint.c (create_breakpoint): Split from
create_breakpoints, implementing most of its logic.
Take just a single sal, single address string and
single condition.  Do not take parsed condition at
all.
(create_breakpoints): Just call create_breakpoint
for each sal.
(find_condition_and_thread): New.
(break_command_1): Use find_condition_and_thread.
Do not keep parsed conditions.
(do_captured_breakpoint): Don't convert
condition string to struct expression.
gdb/ChangeLog
gdb/breakpoint.c