* breakpoint.c (compare_breakpoints): Fix comparison.
This commit is contained in:
parent
f462b01f69
commit
94b0e70d0c
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-10-18 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* breakpoint.c (compare_breakpoints): Fix comparison.
|
||||
|
||||
2012-10-18 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* valprint.c (generic_emit_char, generic_printstr): Pass size of
|
||||
|
|
|
@ -11766,7 +11766,7 @@ compare_breakpoints (const void *a, const void *b)
|
|||
the number 0. */
|
||||
if (ua < ub)
|
||||
return -1;
|
||||
return ub > ub ? 1 : 0;
|
||||
return ua > ub ? 1 : 0;
|
||||
}
|
||||
|
||||
/* Delete breakpoints by address or line. */
|
||||
|
|
Loading…
Add table
Reference in a new issue