aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-05-17 12:50:33 -0600
committerTom Tromey <tom@tromey.com>2021-05-17 12:59:40 -0600
commit16e0020bfc845d87f2f3584414c4efa2454f8d05 (patch)
tree2a7c8fe83e758afbc5754ac47232249f471593b1 /gdb/ChangeLog
parent5277208d3291cf9e4ffae4ebd90b726998f3f6d4 (diff)
downloadgdb-16e0020bfc845d87f2f3584414c4efa2454f8d05.zip
gdb-16e0020bfc845d87f2f3584414c4efa2454f8d05.tar.gz
gdb-16e0020bfc845d87f2f3584414c4efa2454f8d05.tar.bz2
Replace sort_tu_by_abbrev_offset with operator<
I noticed that sort_tu_by_abbrev_offset only has a single caller. It seemed simpler to replace it with an implementation of operator< instead. 2021-05-17 Tom Tromey <tom@tromey.com> * dwarf2/read.c (tu_abbrev_offset::operator<): New method. (sort_tu_by_abbrev_offset): Remove. (build_type_psymtabs): Update.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0014d75..b4fd2bb 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2021-05-17 Tom Tromey <tom@tromey.com>
+
+ * dwarf2/read.c (tu_abbrev_offset::operator<): New method.
+ (sort_tu_by_abbrev_offset): Remove.
+ (build_type_psymtabs): Update.
+
2021-05-17 Simon Marchi <simon.marchi@polymtl.ca>
* py-project.toml: New.