diff options
author | Pedro Alves <palves@redhat.com> | 2010-04-09 13:56:08 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-04-09 13:56:08 +0000 |
commit | 2566ad2d88d7db79b088d8c5a894296f5e81f78f (patch) | |
tree | ff082309d6d08de98b533cc9526f1a7b348d245e | |
parent | adc368187c7bc29c3c227cf986dd021973ce6eaf (diff) | |
download | gdb-2566ad2d88d7db79b088d8c5a894296f5e81f78f.zip gdb-2566ad2d88d7db79b088d8c5a894296f5e81f78f.tar.gz gdb-2566ad2d88d7db79b088d8c5a894296f5e81f78f.tar.bz2 |
* breakpoint.c (condition_command): Pass condition expression to
set_breakpoint_condition stripped from breakpoint number.
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/breakpoint.c | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ae3449e..94264e1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,11 @@ +2010-04-09 Pedro Alves <pedro@codesourcery.com> + + * breakpoint.c (condition_command): Pass condition expression to + set_breakpoint_condition stripped from breakpoint number. + 2010-04-09 Phil Muldoon <pmuldoon@redhat.com> Thiago Jung Bauermann <bauerman@br.ibm.com> - Tom Tromey <tromey@redhat.com> + Tom Tromey <tromey@redhat.com> * breakpoint.c (condition_command): Simplify. Move condition setting code to ... diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 8ef5cd9..bb5dd63 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; } |