gdb, gdbserver, gdbsupport: use AC_CANONICAL_{BUILD,HOST,TARGET} instead of AC_CANONI...
[deliverable/binutils-gdb.git] / gdbsupport / ChangeLog
1 2020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2
3 * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of
4 AC_CANONICAL_SYSTEM.
5 * configure: Re-generate.
6
7 2020-10-26 Pedro Alves <pedro@palves.net>
8
9 * eintr.h (handle_eintr): Replace Ret template parameter with
10 ErrorValType. Use it as type of the failure value. Deduce the
11 function's return type using decltype. Use lowercase for function
12 parameter names.
13
14 2020-10-25 Simon Marchi <simon.marchi@polymtl.ca>
15
16 * Makefile.in: Re-generate.
17 * acinclude.m4: Update ptrace.m4 path.
18 * ptrace.m4: Move here.
19
20 2020-10-08 Andrew Burgess <andrew.burgess@embecosm.com>
21
22 * tdesc.h (allocate_target_description): Update return type.
23
24 2020-10-07 Tom Tromey <tromey@adacore.com>
25
26 * Makefile.in: Rebuild.
27 * Makefile.am (libgdbsupport_a_SOURCES): Add search.cc.
28 * search.h: New file.
29 * search.cc: New file.
30
31 2020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
32
33 * event-loop.h (debug_event_loop): New variable declaration.
34 (event_loop_debug_printf_1): New function declaration.
35 (event_loop_debug_printf): New macro.
36 * event-loop.cc (debug_event_loop): New variable.
37 (handle_file_event): Add debug print.
38 (event_loop_debug_printf_1): New function.
39
40 2020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
41
42 * common-debug.cc (debug_prefixed_vprintf): Move here.
43 * common-debug.h (debug_prefixed_vprintf): Move here.
44
45 2020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
46
47 * event-loop.h (add_file_handler): Add "name" parameter.
48 * event-loop.cc (struct file_handler) <name>: New field.
49 (create_file_handler): Add "name" parameter, assign it to file
50 handler.
51 (add_file_handler): Add "name" parameter.
52
53 2020-10-01 Kamil Rytarowski <n54@gmx.com>
54
55 * agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros.
56
57 2020-09-29 Pedro Alves <pedro@palves.net>
58
59 * valid-expr.h (CHECK_VALID_EXPR_INT): Make archetype a template
60 class instead of an alias template and adjust static_assert.
61
62 2020-09-24 Simon Marchi <simon.marchi@efficios.com>
63
64 * event-loop.c (struct file_handler): Remove typedef, re-format.
65
66 2020-09-16 John Baldwin <jhb@FreeBSD.org>
67
68 * common.m4 (GDB_AC_COMMON): Refactor checks for kinfo_getfile().
69 * configure, config.in: Regenerate.
70
71 2020-09-14 Pedro Alves <pedro@palves.net>
72
73 * enum-flags.h: Include "traits.h".
74 (DEF_ENUM_FLAGS_TYPE): Declare a function instead of defining a
75 structure.
76 (enum_underlying_type): Update comment.
77 (namespace enum_flags_detail): New. Move struct zero_type here.
78 (EnumIsUnsigned, EnumIsSigned): New.
79 (class enum_flags): Make most methods constexpr.
80 (operator&=, operator|=, operator^=): Take an enum_flags instead
81 of an enum_type. Make rvalue ref versions deleted.
82 (operator enum_type()): Delete.
83 (operator&, operator|, operator^, operator~): Delete, moved out of
84 class.
85 (raw()): New method.
86 (is_enum_flags_enum_type_t): Declare.
87 (ENUM_FLAGS_GEN_BINOP, ENUM_FLAGS_GEN_COMPOUND_ASSIGN)
88 (ENUM_FLAGS_GEN_COMP): New. Use them to reimplement global
89 operators.
90 (operator~): Now constexpr and reimplemented.
91 (operator<<, operator>>): New deleted functions.
92 * valid-expr.h (CHECK_VALID_EXPR_5, CHECK_VALID_EXPR_6): New.
93
94 2020-09-14 Pedro Alves <pedro@palves.net>
95
96 * traits.h (struct nonesuch, struct detector, detected_or)
97 (detected_or_t, is_detected, detected_t, detected_or)
98 (detected_or_t, is_detected_exact, is_detected_convertible): New.
99 * valid-expr.h (CHECK_VALID_EXPR_INT): Use gdb::is_detected_exact.
100
101 2020-09-10 Kamil Rytarowski <n54@gmx.com>
102
103 * eintr.h: New file.
104
105 2020-08-13 Simon Marchi <simon.marchi@polymtl.ca>
106
107 * selftest.h (run_tests): Change parameter to array_view.
108 * selftest.c (run_tests): Change parameter to array_view and use
109 it.
110
111 2020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
112
113 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
114 * common.m4 (GDB_AC_COMMON): Use BFD_SYS_PROCFS_H to check for
115 <sys/procfs.h>.
116 * Makefile.in: Regenerate.
117 * configure, config.in: Regenerate.
118
119 2020-07-28 Tom de Vries <tdevries@suse.de>
120
121 PR build/26281
122 * gdb_optional.h (class optional): Add volatile member to union
123 contaning m_dummy and m_item.
124
125 2020-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
126
127 * tdesc.h (struct target_desc_deleter): Moved here
128 from gdb/target-descriptions.h, extend comment.
129 (target_desc_up): Likewise.
130
131 2020-06-30 Tom Tromey <tromey@adacore.com>
132
133 PR build/26183:
134 * gdb_string_view.h (basic_string_view::to_string): Remove.
135 (gdb::to_string): New function.
136
137 2020-06-27 Simon Marchi <simon.marchi@efficios.com>
138
139 * tdesc.h (class print_xml_feature) <add_line>: Add
140 ATTRIBUTE_PRINTF.
141
142 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
143
144 * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add
145 output content, and call indent as needed in all overloaded
146 variants.
147 (print_xml_feature::visit_post): Likewise.
148 (print_xml_feature::visit): Likewise.
149 (print_xml_feature::add_line): Two new overloaded functions.
150 * tdesc.h (print_xml_feature::indent): New member function.
151 (print_xml_feature::add_line): Two new overloaded member
152 functions.
153 (print_xml_feature::m_depth): New member variable.
154
155 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
156
157 * tdesc.cc (print_xml_feature::visit_pre): Print compatible
158 information.
159 * tdesc.h (struct tdesc_compatible_info): Declare new struct.
160 (tdesc_compatible_info_up): New typedef.
161 (tdesc_compatible_info_list): Declare new function.
162 (tdesc_compatible_info_arch_name): Declare new function.
163
164 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
165
166 * common-utils.cc, common-utils.h (stringify_argv): Drop
167 now unused function stringify_argv
168
169 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
170
171 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
172 Adapt to take a gdb::array_view<char * const> parameter.
173 Adapt call site.
174
175 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
176
177 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
178 Adapt to handle zero args and return a std::string.
179 Adapt call site.
180
181 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
182
183 * common-inferior.h, common-inferior.cc: (construct_inferior_arguments):
184 Move function here from gdb/infcmd.c, gdb/inferior.h
185
186 2020-05-14 Kevin Buettner <kevinb@redhat.com>
187
188 * btrace-common.h (btrace_cpu_vendor): Add CV_AMD.
189
190 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
191
192 * common-regcache.h (regcache_read_pc_protected): New function
193 declaration.
194
195 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
196
197 * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask).
198
199 2020-04-27 Simon Marchi <simon.marchi@polymtl.ca>
200
201 * common-defs.h: Include cstdlib.h.
202
203 2020-04-20 Tom Tromey <tromey@adacore.com>
204
205 * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept.
206 Use initialization style. Don't call destroy.
207 * scoped_fd.h (class scoped_fd): Mark move constructor as
208 noexcept.
209 * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as
210 noexcept.
211
212 2020-04-13 Tom Tromey <tom@tromey.com>
213
214 * event-loop.c: Move comment. Remove obsolete comment.
215
216 2020-04-13 Tom Tromey <tom@tromey.com>
217
218 * event-loop.h: Move from ../gdb/.
219 * event-loop.cc: Move from ../gdb/.
220
221 2020-04-13 Tom Tromey <tom@tromey.com>
222
223 * errors.h (flush_streams): Declare.
224
225 2020-04-13 Tom Tromey <tom@tromey.com>
226
227 * gdb_select.h: Move from ../gdb/.
228
229 2020-04-13 Tom Tromey <tom@tromey.com>
230
231 * config.in, configure: Rebuild.
232 * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h,
233 sys/select.h, and poll.
234
235 2020-03-31 Tom Tromey <tromey@adacore.com>
236
237 * btrace-common.cc (btrace_data_append): Conditionally call
238 memcpy.
239
240 2020-03-27 Andrew Burgess <andrew.burgess@embecosm.com>
241
242 * create-version.sh: Resolve issues highlighted by shellcheck.
243
244 2020-03-20 Simon Marchi <simon.marchi@efficios.com>
245
246 * config.in: Re-generate.
247 * configure: Re-generate.
248
249 2020-03-17 Kamil Rytarowski <n54@gmx.com>
250
251 * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
252
253 2020-03-12 Tom Tromey <tom@tromey.com>
254
255 * common-types.h: Remove GDBSERVER code.
256 (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine.
257 * common-defs.h: Remove GDBSERVER code.
258
259 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
260
261 * selftest.m4: Moved from gdb/.
262 * acinclude.m4: Update path to selftest.m4.
263
264 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
265
266 * configure.ac: Don't source bfd/development.sh.
267 * common.m4: Source bfd/development.sh.
268 * configure: Re-generate.
269
270 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
271
272 * configure: Re-generate.
273
274 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
275
276 * configure: Re-generate.
277 * warning.m4: Enable -Wmissing-prototypes.
278
279 2020-03-08 Tom Tromey <tom@tromey.com>
280
281 * gdb_binary_search.h: Fix two typos.
282
283 2020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
284
285 * .dir-locals.el: New file.
286
287 2020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com>
288
289 * configure.ac: Added call development.sh.
290 * configure: Regenerate.
291
292 2020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
293
294 * .gitattributes: New file.
295
296 2020-03-03 Simon Marchi <simon.marchi@efficios.com>
297
298 * Makefile.in: Re-generate.
299
300 2020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
301
302 * gdb-dlfcn.h (gdb_dlopen): Update comment.
303
304 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
305
306 * configure: Regenerate.
307
308 2020-02-14 Tom Tromey <tom@tromey.com>
309
310 * common-defs.h: Change path to gnulib/config.h.
311
312 2020-02-13 Simon Marchi <simon.marchi@efficios.com>
313
314 * Makefile.am: Rename source files from .c to .cc.
315 (CC, CFLAGS): Don't override.
316 (AM_CFLAGS): Rename to ...
317 (AM_CXXFLAGS): ... this.
318 * Makefile.in: Re-generate.
319 * %.c: Rename to %.cc.
320
321 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
322
323 * configure: Re-generate.
324
325 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
326
327 * warning.m4: Add -Wstrict-null-sentinel.
328 * configure: Re-generate.
329
330 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
331
332 * warning.m4: Move here, from gdb/warning.m4.
333 * acinclude.m4: Update warning.m4 path.
334 * Makefile.in: Re-generate.
335
336 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
337
338 * acinclude.m4: Include ../gdb/warning.m4.
339 * configure.ac: Use AM_GDB_WARNINGS.
340 * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
341 * Makefile.in: Re-generate.
342 * configure: Re-generate.
343
344 2020-02-10 Tom de Vries <tdevries@suse.de>
345
346 * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
347
348 2020-01-24 Christian Biesinger <cbiesinger@google.com>
349
350 * thread-pool.c (set_thread_name): Add an overload for the NetBSD
351 version of pthread_setname_np.
352
353 2020-01-17 Pedro Alves <palves@redhat.com>
354
355 * Makefile.am: Append CXX_DIALECT to CXX.
356 * Makefile.in: Regenerate.
357
358 2020-01-17 Pedro Alves <palves@redhat.com>
359
360 * configure.ac: Generate config.h instead of support-config.h.
361 * common-defs.h: Include <gdbsupport/config.h> instead of
362 <gdbsupport/support-config.h>.
363 * Makefile.in: Regenerate.
364 * configure: Regenerate.
365
366 2020-01-14 Tom Tromey <tom@tromey.com>
367
368 * Makefile.in: Rebuild.
369 * Makefile.am (check-defines): New target.
370 * check-defines.el: New file.
371
372 2020-01-14 Tom Tromey <tom@tromey.com>
373
374 * configure, Makefile.in, aclocal.m4, common.m4, config.in:
375 Rebuild.
376 * common.m4 (GDB_AC_COMMON): Move many checks from
377 gdb/configure.ac.
378 * acinclude.m4: Include bfd.m4, ptrace.m4.
379
380 2020-01-14 Tom Tromey <tom@tromey.com>
381
382 * common-defs.h: Add GDBSERVER case. Update includes.
383 * acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
384 Makefile.am, Makefile.in, README: New files.
385 * Moved from ../gdb/gdbsupport/
This page took 0.037124 seconds and 5 git commands to generate.