From: Pedro Alves Date: Fri, 9 Apr 2010 13:56:08 +0000 (+0000) Subject: * breakpoint.c (condition_command): Pass condition expression to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2566ad2d88d7db79b088d8c5a894296f5e81f78f;p=binutils-gdb.git * breakpoint.c (condition_command): Pass condition expression to set_breakpoint_condition stripped from breakpoint number. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ae3449eca1e..94264e1c695 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,11 @@ +2010-04-09 Pedro Alves + + * breakpoint.c (condition_command): Pass condition expression to + set_breakpoint_condition stripped from breakpoint number. + 2010-04-09 Phil Muldoon Thiago Jung Bauermann - Tom Tromey + Tom Tromey * breakpoint.c (condition_command): Simplify. Move condition setting code to ... diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 8ef5cd926a0..bb5dd6314ed 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -784,7 +784,7 @@ condition_command (char *arg, int from_tty) ALL_BREAKPOINTS (b) if (b->number == bnum) { - set_breakpoint_condition (b, arg, from_tty); + set_breakpoint_condition (b, p, from_tty); return; }