projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f462b01
)
* breakpoint.c (compare_breakpoints): Fix comparison.
author
Tom Tromey
<tromey@redhat.com>
Thu, 18 Oct 2012 20:12:21 +0000
(20:12 +0000)
committer
Tom Tromey
<tromey@redhat.com>
Thu, 18 Oct 2012 20:12:21 +0000
(20:12 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/breakpoint.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 2ac0ecdd3f1e7df2df66b1f9fb123fbb2cd653a9..124523d6d11add84ebb4584ad7fe551c2911e829 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-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
diff --git
a/gdb/breakpoint.c
b/gdb/breakpoint.c
index 8eeeacf0be16ca028c33f9dcac351e78433e4d25..4a5c8c1cd6857238ea00ee6d850b8bd564836f52 100644
(file)
--- 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 u
b
> ub ? 1 : 0;
+ return u
a
> ub ? 1 : 0;
}
/* Delete breakpoints by address or line. */