]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdbsupport/ChangeLog
AArch64: Add MTE register set support for core files
[thirdparty/binutils-gdb.git] / gdbsupport / ChangeLog
CommitLineData
e9338841
AM
12021-03-21 Alan Modra <amodra@gmail.com>
2
3 * common-utils.h (startswith): Delete version now supplied by bfd.h.
4
9c9d63b1
PM
52021-02-05 Paul E. Murphy <murphy@linux.ibm.com>
6
7 * common-defs.h (ATTRIBUTE_PRINTF): Rename
8 _GL_ATTRIBUTE_FORMAT_PRINTF to _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD.
9 * common-utils.h (xfree): Use GNULIB_NAMESPACE namespace when calling
10 free if this macro is defined.
11
d3ee35db
LS
122021-01-23 Lancelot SIX <lsix@lancelotsix.com>
13
14 * gdb_tilde_expand.cc (gdb_tilde_expand): Improve
15 implementation.
16 (gdb_tilde_expand_up): Delegate logic to gdb_tilde_expand.
17 * gdb_tilde_expand.h (gdb_tilde_expand): Update description.
18
2189c312
SM
192021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
20
21 * common-debug.h (debug_prefixed_printf_cond_nofunc): New.
22 * common-debug.c (debug_prefixed_vprintf): Handle a nullptr
23 func.
24
6abd4cf2
SM
252021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
26
27 PR gdb/27157
28 * pathstuff.cc (get_standard_cache_dir, get_standard_config_dir,
29 find_gdb_home_config_file): Add empty string check.
30
4b186f88
MF
312021-01-06 Mike Frysinger <vapier@gentoo.org>
32
33 * common-utils.h (align_up): Fix typo in header comment.
34
3ec3145c
SM
352021-01-04 Simon Marchi <simon.marchi@efficios.com>
36
37 * common-debug.h (debug_print_depth): New.
38 (struct scoped_debug_start_end): New.
39 (scoped_debug_start_end): New.
40 (scoped_debug_enter_exit): New.
41 * common-debug.cc (debug_prefixed_vprintf): Print indentation.
42
96648494
AB
432020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
44
45 * gdbsupport/common-utils.cc: Change 'ctype.h' include to
46 'safe-ctype.h'.
47 (extract_string_maybe_quoted): Use safe-ctype function versions.
48 (is_digit_in_base): Likewise.
49 (digit_to_int): Likewise.
50 (strtoulst): Likewise.
51 (skip_spaces): Likewise.
52 (skip_to_space): Likewise.
53
74b773fc
SM
542020-12-11 Simon Marchi <simon.marchi@polymtl.ca>
55
56 * common-debug.h (debug_prefixed_printf_cond): New.
57 * event-loop.h (event_loop_debug_printf): Use
58 debug_prefixed_printf_cond.
59
60a7223f
AF
602020-12-08 Alexander Fedotov <alfedotov@gmail.com>
61
62 * pathstuff.cc (get_standard_cache_dir): Use LOCALAPPDATA environment
63 variable when running on Windows.
64
54e75f29
AB
652020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
66
67 * tdesc.cc (print_xml_feature::visit): Print enum fields using
68 'evalue' syntax.
69
4f36e61b
CC
702020-12-01 Chungyi Chi <demonic@csie.io>
71
72 * tdesc.cc (print_xml_feature::visit): Print enum size attribute.
73
14f62a09
TT
742020-11-20 Tom Tromey <tromey@adacore.com>
75
76 * thread-pool.cc (thread_pool::set_thread_count): Ignore system
77 errors.
78
6c51cf51
TT
792020-11-10 Tom Tromey <tromey@adacore.com>
80
81 PR build/26848:
82 * pathstuff.h: Move include block here...
83 * pathstuff.cc: ... from here.
84
8768c3e3
TT
852020-11-02 Tom Tromey <tom@tromey.com>
86
87 * pathstuff.h (get_standard_config_dir): Declare.
88 * pathstuff.cc (get_standard_config_dir): New function.
89
dda83cd7
SM
902020-11-02 Simon Marchi <simon.marchi@efficios.com>
91
92 * common-exceptions.h: Fix indentation.
93 * event-loop.cc: Fix indentation.
94 * fileio.cc: Fix indentation.
95 * filestuff.cc: Fix indentation.
96 * gdb-dlfcn.cc: Fix indentation.
97 * gdb_string_view.h: Fix indentation.
98 * job-control.cc: Fix indentation.
99 * signals.cc: Fix indentation.
100
17417fb0
SM
1012020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
102
103 * common-debug.cc (debug_prefixed_printf): New.
104 * common-debug.h (debug_prefixed_printf): New declaration.
105 * event-loop.cc (event_loop_debug_printf_1): Remove.
106 * event-loop.h (event_loop_debug_printf_1): Remove.
107 (event_loop_debug_printf): Use debug_prefixed_printf.
108 (event_loop_ui_debug_printf): Use debug_prefixed_printf.
109
b9442ec1
SM
1102020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
111
112 * common.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
113 AC_LANG_PROGRAM.
114 * configure: Re-generate.
115
15dabc52
SM
1162020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
117
118 * common.m4: Replace AC_FUNC_VFORK with AC_FUNC_FORK.
119
864ca435
SM
1202020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
121
122 * configure: Re-generate.
123 * warning.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
124 AC_LANG_PROGRAM.
125
5164c117
SM
1262020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
127
128 * configure: Re-generate.
129 * ptrace.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
130 AC_LANG_PROGRAM.
131
b6fb30ed
SM
1322020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
133
134 * configure: Re-generate.
135 * ptrace.m4: Re-indent.
136
e41fda1d
SM
1372020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
138
139 * aclocal.m4: Re-generate.
140 * configure: Re-generate.
141 * configure.ac: Remove AM_PROG_CC_STDC.
142
91e1a0ed
SM
1432020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
144
145 * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of
146 AC_CANONICAL_SYSTEM.
147 * configure: Re-generate.
148
d744f0f9
PA
1492020-10-26 Pedro Alves <pedro@palves.net>
150
151 * eintr.h (handle_eintr): Replace Ret template parameter with
152 ErrorValType. Use it as type of the failure value. Deduce the
153 function's return type using decltype. Use lowercase for function
154 parameter names.
155
006811bc
SM
1562020-10-25 Simon Marchi <simon.marchi@polymtl.ca>
157
158 * Makefile.in: Re-generate.
159 * acinclude.m4: Update ptrace.m4 path.
160 * ptrace.m4: Move here.
161
51a948fd
AB
1622020-10-08 Andrew Burgess <andrew.burgess@embecosm.com>
163
164 * tdesc.h (allocate_target_description): Update return type.
165
4a72de73
TT
1662020-10-07 Tom Tromey <tromey@adacore.com>
167
168 * Makefile.in: Rebuild.
169 * Makefile.am (libgdbsupport_a_SOURCES): Add search.cc.
170 * search.h: New file.
171 * search.cc: New file.
172
6b01403b
SM
1732020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
174
175 * event-loop.h (debug_event_loop): New variable declaration.
176 (event_loop_debug_printf_1): New function declaration.
177 (event_loop_debug_printf): New macro.
178 * event-loop.cc (debug_event_loop): New variable.
179 (handle_file_event): Add debug print.
180 (event_loop_debug_printf_1): New function.
181
ba988419
SM
1822020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
183
184 * common-debug.cc (debug_prefixed_vprintf): Move here.
185 * common-debug.h (debug_prefixed_vprintf): Move here.
186
2554f6f5
SM
1872020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
188
189 * event-loop.h (add_file_handler): Add "name" parameter.
190 * event-loop.cc (struct file_handler) <name>: New field.
191 (create_file_handler): Add "name" parameter, assign it to file
192 handler.
193 (add_file_handler): Add "name" parameter.
194
e2a2a24a
KR
1952020-10-01 Kamil Rytarowski <n54@gmx.com>
196
197 * agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros.
198
de38d64a
PA
1992020-09-29 Pedro Alves <pedro@palves.net>
200
201 * valid-expr.h (CHECK_VALID_EXPR_INT): Make archetype a template
202 class instead of an alias template and adjust static_assert.
203
29363cfa
SM
2042020-09-24 Simon Marchi <simon.marchi@efficios.com>
205
206 * event-loop.c (struct file_handler): Remove typedef, re-format.
207
e911c666
JB
2082020-09-16 John Baldwin <jhb@FreeBSD.org>
209
210 * common.m4 (GDB_AC_COMMON): Refactor checks for kinfo_getfile().
211 * configure, config.in: Regenerate.
212
04902b09
PA
2132020-09-14 Pedro Alves <pedro@palves.net>
214
215 * enum-flags.h: Include "traits.h".
216 (DEF_ENUM_FLAGS_TYPE): Declare a function instead of defining a
217 structure.
218 (enum_underlying_type): Update comment.
219 (namespace enum_flags_detail): New. Move struct zero_type here.
220 (EnumIsUnsigned, EnumIsSigned): New.
221 (class enum_flags): Make most methods constexpr.
222 (operator&=, operator|=, operator^=): Take an enum_flags instead
223 of an enum_type. Make rvalue ref versions deleted.
224 (operator enum_type()): Delete.
225 (operator&, operator|, operator^, operator~): Delete, moved out of
226 class.
227 (raw()): New method.
228 (is_enum_flags_enum_type_t): Declare.
229 (ENUM_FLAGS_GEN_BINOP, ENUM_FLAGS_GEN_COMPOUND_ASSIGN)
230 (ENUM_FLAGS_GEN_COMP): New. Use them to reimplement global
231 operators.
232 (operator~): Now constexpr and reimplemented.
233 (operator<<, operator>>): New deleted functions.
234 * valid-expr.h (CHECK_VALID_EXPR_5, CHECK_VALID_EXPR_6): New.
235
1945192c
PA
2362020-09-14 Pedro Alves <pedro@palves.net>
237
238 * traits.h (struct nonesuch, struct detector, detected_or)
239 (detected_or_t, is_detected, detected_t, detected_or)
240 (detected_or_t, is_detected_exact, is_detected_convertible): New.
241 * valid-expr.h (CHECK_VALID_EXPR_INT): Use gdb::is_detected_exact.
242
48c9b433
KR
2432020-09-10 Kamil Rytarowski <n54@gmx.com>
244
245 * eintr.h: New file.
246
ece5bc8a
SM
2472020-08-13 Simon Marchi <simon.marchi@polymtl.ca>
248
249 * selftest.h (run_tests): Change parameter to array_view.
250 * selftest.c (run_tests): Change parameter to array_view and use
251 it.
252
c8693053
RO
2532020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
254
255 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
256 * common.m4 (GDB_AC_COMMON): Use BFD_SYS_PROCFS_H to check for
257 <sys/procfs.h>.
258 * Makefile.in: Regenerate.
259 * configure, config.in: Regenerate.
260
866b34a1
TV
2612020-07-28 Tom de Vries <tdevries@suse.de>
262
263 PR build/26281
264 * gdb_optional.h (class optional): Add volatile member to union
265 contaning m_dummy and m_item.
266
0e267416
AB
2672020-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
268
269 * tdesc.h (struct target_desc_deleter): Moved here
270 from gdb/target-descriptions.h, extend comment.
271 (target_desc_up): Likewise.
272
5ac58899
TT
2732020-06-30 Tom Tromey <tromey@adacore.com>
274
275 PR build/26183:
276 * gdb_string_view.h (basic_string_view::to_string): Remove.
277 (gdb::to_string): New function.
278
6db3031e
SM
2792020-06-27 Simon Marchi <simon.marchi@efficios.com>
280
281 * tdesc.h (class print_xml_feature) <add_line>: Add
282 ATTRIBUTE_PRINTF.
283
caa7fd04
AB
2842020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
285
286 * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add
287 output content, and call indent as needed in all overloaded
288 variants.
289 (print_xml_feature::visit_post): Likewise.
290 (print_xml_feature::visit): Likewise.
291 (print_xml_feature::add_line): Two new overloaded functions.
292 * tdesc.h (print_xml_feature::indent): New member function.
293 (print_xml_feature::add_line): Two new overloaded member
294 functions.
295 (print_xml_feature::m_depth): New member variable.
296
fbf42f4e
AB
2972020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
298
299 * tdesc.cc (print_xml_feature::visit_pre): Print compatible
300 information.
301 * tdesc.h (struct tdesc_compatible_info): Declare new struct.
302 (tdesc_compatible_info_up): New typedef.
303 (tdesc_compatible_info_list): Declare new function.
304 (tdesc_compatible_info_arch_name): Declare new function.
305
7dbfcd6f
MW
3062020-05-25 Michael Weghorn <m.weghorn@posteo.de>
307
308 * common-utils.cc, common-utils.h (stringify_argv): Drop
309 now unused function stringify_argv
310
8c4b5f3d
MW
3112020-05-25 Michael Weghorn <m.weghorn@posteo.de>
312
313 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
314 Adapt to take a gdb::array_view<char * const> parameter.
315 Adapt call site.
316
c699004a
MW
3172020-05-25 Michael Weghorn <m.weghorn@posteo.de>
318
319 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
320 Adapt to handle zero args and return a std::string.
321 Adapt call site.
322
92651b1d
MW
3232020-05-25 Michael Weghorn <m.weghorn@posteo.de>
324
325 * common-inferior.h, common-inferior.cc: (construct_inferior_arguments):
326 Move function here from gdb/infcmd.c, gdb/inferior.h
327
a51951c2
KB
3282020-05-14 Kevin Buettner <kevinb@redhat.com>
329
330 * btrace-common.h (btrace_cpu_vendor): Add CV_AMD.
331
fc75c28b
TBA
3322020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
333
334 * common-regcache.h (regcache_read_pc_protected): New function
335 declaration.
336
32d1f47a
TBA
3372020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
338
339 * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask).
340
ff8885c3
SM
3412020-04-27 Simon Marchi <simon.marchi@polymtl.ca>
342
343 * common-defs.h: Include cstdlib.h.
344
0fa7617d
TT
3452020-04-20 Tom Tromey <tromey@adacore.com>
346
347 * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept.
348 Use initialization style. Don't call destroy.
349 * scoped_fd.h (class scoped_fd): Mark move constructor as
350 noexcept.
351 * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as
352 noexcept.
353
7990abcc
TT
3542020-04-13 Tom Tromey <tom@tromey.com>
355
356 * event-loop.c: Move comment. Remove obsolete comment.
357
400b5eca
TT
3582020-04-13 Tom Tromey <tom@tromey.com>
359
360 * event-loop.h: Move from ../gdb/.
361 * event-loop.cc: Move from ../gdb/.
362
c1cd3163
TT
3632020-04-13 Tom Tromey <tom@tromey.com>
364
365 * errors.h (flush_streams): Declare.
366
06cc9596
TT
3672020-04-13 Tom Tromey <tom@tromey.com>
368
369 * gdb_select.h: Move from ../gdb/.
370
8ae8e197
TT
3712020-04-13 Tom Tromey <tom@tromey.com>
372
373 * config.in, configure: Rebuild.
374 * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h,
375 sys/select.h, and poll.
376
af62665e
TT
3772020-03-31 Tom Tromey <tromey@adacore.com>
378
379 * btrace-common.cc (btrace_data_append): Conditionally call
380 memcpy.
381
8f2dae6a
AB
3822020-03-27 Andrew Burgess <andrew.burgess@embecosm.com>
383
384 * create-version.sh: Resolve issues highlighted by shellcheck.
385
c884cc46
SM
3862020-03-20 Simon Marchi <simon.marchi@efficios.com>
387
388 * config.in: Re-generate.
389 * configure: Re-generate.
390
d3e2a5e8
KR
3912020-03-17 Kamil Rytarowski <n54@gmx.com>
392
393 * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
394
21329136
TT
3952020-03-12 Tom Tromey <tom@tromey.com>
396
397 * common-types.h: Remove GDBSERVER code.
398 (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine.
399 * common-defs.h: Remove GDBSERVER code.
400
272cd5a3
SM
4012020-03-12 Simon Marchi <simon.marchi@efficios.com>
402
403 * selftest.m4: Moved from gdb/.
404 * acinclude.m4: Update path to selftest.m4.
405
db6878ac
SM
4062020-03-12 Simon Marchi <simon.marchi@efficios.com>
407
408 * configure.ac: Don't source bfd/development.sh.
409 * common.m4: Source bfd/development.sh.
410 * configure: Re-generate.
411
4d696a5c
SM
4122020-03-12 Simon Marchi <simon.marchi@efficios.com>
413
414 * configure: Re-generate.
415
a0761e34
SM
4162020-03-11 Simon Marchi <simon.marchi@efficios.com>
417
418 * configure: Re-generate.
419 * warning.m4: Enable -Wmissing-prototypes.
420
e63ee24f
TT
4212020-03-08 Tom Tromey <tom@tromey.com>
422
423 * gdb_binary_search.h: Fix two typos.
424
20ea4a60
AB
4252020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
426
427 * .dir-locals.el: New file.
428
3d1e5a43
VP
4292020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com>
430
431 * configure.ac: Added call development.sh.
432 * configure: Regenerate.
433
842806cb
TBA
4342020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
435
436 * .gitattributes: New file.
437
89725b0d
SM
4382020-03-03 Simon Marchi <simon.marchi@efficios.com>
439
440 * Makefile.in: Re-generate.
441
d7592e97
SDJ
4422020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
443
444 * gdb-dlfcn.h (gdb_dlopen): Update comment.
445
9f1528a1
AB
4462020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
447
448 * configure: Regenerate.
449
1a627e7e
TT
4502020-02-14 Tom Tromey <tom@tromey.com>
451
452 * common-defs.h: Change path to gnulib/config.h.
453
06b3c5bd
SM
4542020-02-13 Simon Marchi <simon.marchi@efficios.com>
455
456 * Makefile.am: Rename source files from .c to .cc.
457 (CC, CFLAGS): Don't override.
458 (AM_CFLAGS): Rename to ...
459 (AM_CXXFLAGS): ... this.
460 * Makefile.in: Re-generate.
461 * %.c: Rename to %.cc.
462
898e7f60
SM
4632020-02-11 Simon Marchi <simon.marchi@efficios.com>
464
465 * configure: Re-generate.
466
8ddd8e0e
SM
4672020-02-11 Simon Marchi <simon.marchi@efficios.com>
468
469 * warning.m4: Add -Wstrict-null-sentinel.
470 * configure: Re-generate.
471
58df732b
SM
4722020-02-11 Simon Marchi <simon.marchi@efficios.com>
473
474 * warning.m4: Move here, from gdb/warning.m4.
475 * acinclude.m4: Update warning.m4 path.
476 * Makefile.in: Re-generate.
477
629c2962
SM
4782020-02-11 Simon Marchi <simon.marchi@efficios.com>
479
480 * acinclude.m4: Include ../gdb/warning.m4.
481 * configure.ac: Use AM_GDB_WARNINGS.
482 * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
483 * Makefile.in: Re-generate.
484 * configure: Re-generate.
485
85f0dd3c
TV
4862020-02-10 Tom de Vries <tdevries@suse.de>
487
488 * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
489
43198d20
CB
4902020-01-24 Christian Biesinger <cbiesinger@google.com>
491
492 * thread-pool.c (set_thread_name): Add an overload for the NetBSD
493 version of pthread_setname_np.
494
67b10306
PA
4952020-01-17 Pedro Alves <palves@redhat.com>
496
497 * Makefile.am: Append CXX_DIALECT to CXX.
498 * Makefile.in: Regenerate.
499
3684d331
PA
5002020-01-17 Pedro Alves <palves@redhat.com>
501
502 * configure.ac: Generate config.h instead of support-config.h.
503 * common-defs.h: Include <gdbsupport/config.h> instead of
504 <gdbsupport/support-config.h>.
505 * Makefile.in: Regenerate.
506 * configure: Regenerate.
507
0454ef42
TT
5082020-01-14 Tom Tromey <tom@tromey.com>
509
510 * Makefile.in: Rebuild.
511 * Makefile.am (check-defines): New target.
512 * check-defines.el: New file.
513
05ea2a05
TT
5142020-01-14 Tom Tromey <tom@tromey.com>
515
516 * configure, Makefile.in, aclocal.m4, common.m4, config.in:
517 Rebuild.
518 * common.m4 (GDB_AC_COMMON): Move many checks from
519 gdb/configure.ac.
520 * acinclude.m4: Include bfd.m4, ptrace.m4.
521
01027315
TT
5222020-01-14 Tom Tromey <tom@tromey.com>
523
524 * common-defs.h: Add GDBSERVER case. Update includes.
525 * acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
526 Makefile.am, Makefile.in, README: New files.
527 * Moved from ../gdb/gdbsupport/