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 /gdb/breakpoint.c | |
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.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |