aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-22 14:39:24 -0600
committerTom Tromey <tom@tromey.com>2018-07-20 09:42:53 -0600
commit0baae8dbd38534c0f3dcedc7b9204bbc8f18de1b (patch)
tree177d401b531eb4a32c230f11c58e39de2dff3fd5 /gdb/ChangeLog
parentab209f6fa9dbaf0d3d0c42e2a8f14bf3ff7dfce8 (diff)
downloadgdb-0baae8dbd38534c0f3dcedc7b9204bbc8f18de1b.zip
gdb-0baae8dbd38534c0f3dcedc7b9204bbc8f18de1b.tar.gz
gdb-0baae8dbd38534c0f3dcedc7b9204bbc8f18de1b.tar.bz2
Introduce buildsym-legacy.h
This introduces a new header, buildsym-legacy.h, and changes all the symbol readers to use it. The idea is to put the function-based interface, that relies on the buildsym_compunit global, into a separate header. Then when a symbol reader is updated to use the new interface, it can simply not include buildsym-legacy.h, so it's easy to be sure that the new API is used everywhere. gdb/ChangeLog 2018-07-20 Tom Tromey <tom@tromey.com> * xcoffread.c: Include buildsym-legacy.h. * windows-nat.c: Include buildsym-legacy.h. * stabsread.c: Include buildsym-legacy.h. * mdebugread.c: Include buildsym-legacy.h. * buildsym-legacy.h: New file. * buildsym-legacy.c: New file, from buildsym.c. * go32-nat.c: Include buildsym-legacy.h. * dwarf2read.c: Include buildsym-legacy.h. * dbxread.c: Include buildsym-legacy.h. * cp-namespace.c: Include buildsym-legacy.h. * coffread.c: Include buildsym-legacy.h. * buildsym.h: Move some contents to buildsym-legacy.h. * buildsym.c: Include buildsym-legacy.h. Move many functions to buildsym-legacy.c. * Makefile.in (HFILES_NO_SRCDIR): Add buildsym-legacy.h.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 94fb6c3..5b332d3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,23 @@
2018-07-20 Tom Tromey <tom@tromey.com>
+ * xcoffread.c: Include buildsym-legacy.h.
+ * windows-nat.c: Include buildsym-legacy.h.
+ * stabsread.c: Include buildsym-legacy.h.
+ * mdebugread.c: Include buildsym-legacy.h.
+ * buildsym-legacy.h: New file.
+ * buildsym-legacy.c: New file, from buildsym.c.
+ * go32-nat.c: Include buildsym-legacy.h.
+ * dwarf2read.c: Include buildsym-legacy.h.
+ * dbxread.c: Include buildsym-legacy.h.
+ * cp-namespace.c: Include buildsym-legacy.h.
+ * coffread.c: Include buildsym-legacy.h.
+ * buildsym.h: Move some contents to buildsym-legacy.h.
+ * buildsym.c: Include buildsym-legacy.h. Move many functions to
+ buildsym-legacy.c.
+ * Makefile.in (HFILES_NO_SRCDIR): Add buildsym-legacy.h.
+
+2018-07-20 Tom Tromey <tom@tromey.com>
+
* buildsym.h (struct buildsym_compunit): Move from buildsym.c.
* buildsym.c (struct buildsym_compunit): Move to buildsym.h.
(buildsym_compunit::buildsym_compunit)