gdbsupport: add format attribute to print_xml_feature::add_line
[binutils-gdb.git] / gdbsupport / ChangeLog
1 2020-06-27 Simon Marchi <simon.marchi@efficios.com>
2
3 * tdesc.h (class print_xml_feature) <add_line>: Add
4 ATTRIBUTE_PRINTF.
5
6 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
7
8 * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add
9 output content, and call indent as needed in all overloaded
10 variants.
11 (print_xml_feature::visit_post): Likewise.
12 (print_xml_feature::visit): Likewise.
13 (print_xml_feature::add_line): Two new overloaded functions.
14 * tdesc.h (print_xml_feature::indent): New member function.
15 (print_xml_feature::add_line): Two new overloaded member
16 functions.
17 (print_xml_feature::m_depth): New member variable.
18
19 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
20
21 * tdesc.cc (print_xml_feature::visit_pre): Print compatible
22 information.
23 * tdesc.h (struct tdesc_compatible_info): Declare new struct.
24 (tdesc_compatible_info_up): New typedef.
25 (tdesc_compatible_info_list): Declare new function.
26 (tdesc_compatible_info_arch_name): Declare new function.
27
28 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
29
30 * common-utils.cc, common-utils.h (stringify_argv): Drop
31 now unused function stringify_argv
32
33 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
34
35 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
36 Adapt to take a gdb::array_view<char * const> parameter.
37 Adapt call site.
38
39 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
40
41 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
42 Adapt to handle zero args and return a std::string.
43 Adapt call site.
44
45 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
46
47 * common-inferior.h, common-inferior.cc: (construct_inferior_arguments):
48 Move function here from gdb/infcmd.c, gdb/inferior.h
49
50 2020-05-14 Kevin Buettner <kevinb@redhat.com>
51
52 * btrace-common.h (btrace_cpu_vendor): Add CV_AMD.
53
54 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
55
56 * common-regcache.h (regcache_read_pc_protected): New function
57 declaration.
58
59 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
60
61 * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask).
62
63 2020-04-27 Simon Marchi <simon.marchi@polymtl.ca>
64
65 * common-defs.h: Include cstdlib.h.
66
67 2020-04-20 Tom Tromey <tromey@adacore.com>
68
69 * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept.
70 Use initialization style. Don't call destroy.
71 * scoped_fd.h (class scoped_fd): Mark move constructor as
72 noexcept.
73 * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as
74 noexcept.
75
76 2020-04-13 Tom Tromey <tom@tromey.com>
77
78 * event-loop.c: Move comment. Remove obsolete comment.
79
80 2020-04-13 Tom Tromey <tom@tromey.com>
81
82 * event-loop.h: Move from ../gdb/.
83 * event-loop.cc: Move from ../gdb/.
84
85 2020-04-13 Tom Tromey <tom@tromey.com>
86
87 * errors.h (flush_streams): Declare.
88
89 2020-04-13 Tom Tromey <tom@tromey.com>
90
91 * gdb_select.h: Move from ../gdb/.
92
93 2020-04-13 Tom Tromey <tom@tromey.com>
94
95 * config.in, configure: Rebuild.
96 * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h,
97 sys/select.h, and poll.
98
99 2020-03-31 Tom Tromey <tromey@adacore.com>
100
101 * btrace-common.cc (btrace_data_append): Conditionally call
102 memcpy.
103
104 2020-03-27 Andrew Burgess <andrew.burgess@embecosm.com>
105
106 * create-version.sh: Resolve issues highlighted by shellcheck.
107
108 2020-03-20 Simon Marchi <simon.marchi@efficios.com>
109
110 * config.in: Re-generate.
111 * configure: Re-generate.
112
113 2020-03-17 Kamil Rytarowski <n54@gmx.com>
114
115 * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
116
117 2020-03-12 Tom Tromey <tom@tromey.com>
118
119 * common-types.h: Remove GDBSERVER code.
120 (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine.
121 * common-defs.h: Remove GDBSERVER code.
122
123 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
124
125 * selftest.m4: Moved from gdb/.
126 * acinclude.m4: Update path to selftest.m4.
127
128 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
129
130 * configure.ac: Don't source bfd/development.sh.
131 * common.m4: Source bfd/development.sh.
132 * configure: Re-generate.
133
134 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
135
136 * configure: Re-generate.
137
138 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
139
140 * configure: Re-generate.
141 * warning.m4: Enable -Wmissing-prototypes.
142
143 2020-03-08 Tom Tromey <tom@tromey.com>
144
145 * gdb_binary_search.h: Fix two typos.
146
147 2020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
148
149 * .dir-locals.el: New file.
150
151 2020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com>
152
153 * configure.ac: Added call development.sh.
154 * configure: Regenerate.
155
156 2020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
157
158 * .gitattributes: New file.
159
160 2020-03-03 Simon Marchi <simon.marchi@efficios.com>
161
162 * Makefile.in: Re-generate.
163
164 2020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
165
166 * gdb-dlfcn.h (gdb_dlopen): Update comment.
167
168 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
169
170 * configure: Regenerate.
171
172 2020-02-14 Tom Tromey <tom@tromey.com>
173
174 * common-defs.h: Change path to gnulib/config.h.
175
176 2020-02-13 Simon Marchi <simon.marchi@efficios.com>
177
178 * Makefile.am: Rename source files from .c to .cc.
179 (CC, CFLAGS): Don't override.
180 (AM_CFLAGS): Rename to ...
181 (AM_CXXFLAGS): ... this.
182 * Makefile.in: Re-generate.
183 * %.c: Rename to %.cc.
184
185 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
186
187 * configure: Re-generate.
188
189 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
190
191 * warning.m4: Add -Wstrict-null-sentinel.
192 * configure: Re-generate.
193
194 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
195
196 * warning.m4: Move here, from gdb/warning.m4.
197 * acinclude.m4: Update warning.m4 path.
198 * Makefile.in: Re-generate.
199
200 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
201
202 * acinclude.m4: Include ../gdb/warning.m4.
203 * configure.ac: Use AM_GDB_WARNINGS.
204 * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
205 * Makefile.in: Re-generate.
206 * configure: Re-generate.
207
208 2020-02-10 Tom de Vries <tdevries@suse.de>
209
210 * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
211
212 2020-01-24 Christian Biesinger <cbiesinger@google.com>
213
214 * thread-pool.c (set_thread_name): Add an overload for the NetBSD
215 version of pthread_setname_np.
216
217 2020-01-17 Pedro Alves <palves@redhat.com>
218
219 * Makefile.am: Append CXX_DIALECT to CXX.
220 * Makefile.in: Regenerate.
221
222 2020-01-17 Pedro Alves <palves@redhat.com>
223
224 * configure.ac: Generate config.h instead of support-config.h.
225 * common-defs.h: Include <gdbsupport/config.h> instead of
226 <gdbsupport/support-config.h>.
227 * Makefile.in: Regenerate.
228 * configure: Regenerate.
229
230 2020-01-14 Tom Tromey <tom@tromey.com>
231
232 * Makefile.in: Rebuild.
233 * Makefile.am (check-defines): New target.
234 * check-defines.el: New file.
235
236 2020-01-14 Tom Tromey <tom@tromey.com>
237
238 * configure, Makefile.in, aclocal.m4, common.m4, config.in:
239 Rebuild.
240 * common.m4 (GDB_AC_COMMON): Move many checks from
241 gdb/configure.ac.
242 * acinclude.m4: Include bfd.m4, ptrace.m4.
243
244 2020-01-14 Tom Tromey <tom@tromey.com>
245
246 * common-defs.h: Add GDBSERVER case. Update includes.
247 * acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
248 Makefile.am, Makefile.in, README: New files.
249 * Moved from ../gdb/gdbsupport/
250