diff options
author | Tom Tromey <tromey@redhat.com> | 2012-10-18 20:12:21 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-10-18 20:12:21 +0000 |
commit | 94b0e70d0c2a1309e3527a85a4c31a7eda4243d8 (patch) | |
tree | 32f8cbc1f12443ab4c1ef37686c8ca88fbf4e896 /gdb/breakpoint.c | |
parent | f462b01f69c185f714d410e8f8a3f2146868a269 (diff) | |
download | gdb-94b0e70d0c2a1309e3527a85a4c31a7eda4243d8.zip gdb-94b0e70d0c2a1309e3527a85a4c31a7eda4243d8.tar.gz gdb-94b0e70d0c2a1309e3527a85a4c31a7eda4243d8.tar.bz2 |
* breakpoint.c (compare_breakpoints): Fix comparison.
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 8eeeacf..4a5c8c1 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -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. */ |