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