]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdbsupport/ChangeLog
ld: Properly create a symbolic link to tmpdir/ldscripts
[thirdparty/binutils-gdb.git] / gdbsupport / ChangeLog
CommitLineData
4d6840c3
SM
12021-04-23 Simon Marchi <simon.marchi@polymtl.ca>
2
3 * common-debug.h: Include preprocessor.h.
4
48136e00
LM
52021-03-24 Luis Machado <luis.machado@linaro.org>
6
7 * rsp-low.cc (fromhex, hex2bin): Move to ...
8 * common-utils.cc: ... here.
9 (fromhex) Change error message text to not be RSP-specific.
10 * rsp-low.h (fromhex, hex2bin): Move to ...
11 * common-utils.h: ... here.
12
e9338841
AM
132021-03-21 Alan Modra <amodra@gmail.com>
14
15 * common-utils.h (startswith): Delete version now supplied by bfd.h.
16
9c9d63b1
PM
172021-02-05 Paul E. Murphy <murphy@linux.ibm.com>
18
19 * common-defs.h (ATTRIBUTE_PRINTF): Rename
20 _GL_ATTRIBUTE_FORMAT_PRINTF to _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD.
21 * common-utils.h (xfree): Use GNULIB_NAMESPACE namespace when calling
22 free if this macro is defined.
23
d3ee35db
LS
242021-01-23 Lancelot SIX <lsix@lancelotsix.com>
25
26 * gdb_tilde_expand.cc (gdb_tilde_expand): Improve
27 implementation.
28 (gdb_tilde_expand_up): Delegate logic to gdb_tilde_expand.
29 * gdb_tilde_expand.h (gdb_tilde_expand): Update description.
30
2189c312
SM
312021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
32
33 * common-debug.h (debug_prefixed_printf_cond_nofunc): New.
34 * common-debug.c (debug_prefixed_vprintf): Handle a nullptr
35 func.
36
6abd4cf2
SM
372021-01-08 Simon Marchi <simon.marchi@polymtl.ca>
38
39 PR gdb/27157
40 * pathstuff.cc (get_standard_cache_dir, get_standard_config_dir,
41 find_gdb_home_config_file): Add empty string check.
42
4b186f88
MF
432021-01-06 Mike Frysinger <vapier@gentoo.org>
44
45 * common-utils.h (align_up): Fix typo in header comment.
46
3ec3145c
SM
472021-01-04 Simon Marchi <simon.marchi@efficios.com>
48
49 * common-debug.h (debug_print_depth): New.
50 (struct scoped_debug_start_end): New.
51 (scoped_debug_start_end): New.
52 (scoped_debug_enter_exit): New.
53 * common-debug.cc (debug_prefixed_vprintf): Print indentation.
54
96648494
AB
552020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
56
57 * gdbsupport/common-utils.cc: Change 'ctype.h' include to
58 'safe-ctype.h'.
59 (extract_string_maybe_quoted): Use safe-ctype function versions.
60 (is_digit_in_base): Likewise.
61 (digit_to_int): Likewise.
62 (strtoulst): Likewise.
63 (skip_spaces): Likewise.
64 (skip_to_space): Likewise.
65
74b773fc
SM
662020-12-11 Simon Marchi <simon.marchi@polymtl.ca>
67
68 * common-debug.h (debug_prefixed_printf_cond): New.
69 * event-loop.h (event_loop_debug_printf): Use
70 debug_prefixed_printf_cond.
71
60a7223f
AF
722020-12-08 Alexander Fedotov <alfedotov@gmail.com>
73
74 * pathstuff.cc (get_standard_cache_dir): Use LOCALAPPDATA environment
75 variable when running on Windows.
76
54e75f29
AB
772020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
78
79 * tdesc.cc (print_xml_feature::visit): Print enum fields using
80 'evalue' syntax.
81
4f36e61b
CC
822020-12-01 Chungyi Chi <demonic@csie.io>
83
84 * tdesc.cc (print_xml_feature::visit): Print enum size attribute.
85
14f62a09
TT
862020-11-20 Tom Tromey <tromey@adacore.com>
87
88 * thread-pool.cc (thread_pool::set_thread_count): Ignore system
89 errors.
90
6c51cf51
TT
912020-11-10 Tom Tromey <tromey@adacore.com>
92
93 PR build/26848:
94 * pathstuff.h: Move include block here...
95 * pathstuff.cc: ... from here.
96
8768c3e3
TT
972020-11-02 Tom Tromey <tom@tromey.com>
98
99 * pathstuff.h (get_standard_config_dir): Declare.
100 * pathstuff.cc (get_standard_config_dir): New function.
101
dda83cd7
SM
1022020-11-02 Simon Marchi <simon.marchi@efficios.com>
103
104 * common-exceptions.h: Fix indentation.
105 * event-loop.cc: Fix indentation.
106 * fileio.cc: Fix indentation.
107 * filestuff.cc: Fix indentation.
108 * gdb-dlfcn.cc: Fix indentation.
109 * gdb_string_view.h: Fix indentation.
110 * job-control.cc: Fix indentation.
111 * signals.cc: Fix indentation.
112
17417fb0
SM
1132020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
114
115 * common-debug.cc (debug_prefixed_printf): New.
116 * common-debug.h (debug_prefixed_printf): New declaration.
117 * event-loop.cc (event_loop_debug_printf_1): Remove.
118 * event-loop.h (event_loop_debug_printf_1): Remove.
119 (event_loop_debug_printf): Use debug_prefixed_printf.
120 (event_loop_ui_debug_printf): Use debug_prefixed_printf.
121
b9442ec1
SM
1222020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
123
124 * common.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
125 AC_LANG_PROGRAM.
126 * configure: Re-generate.
127
15dabc52
SM
1282020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
129
130 * common.m4: Replace AC_FUNC_VFORK with AC_FUNC_FORK.
131
864ca435
SM
1322020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
133
134 * configure: Re-generate.
135 * warning.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
136 AC_LANG_PROGRAM.
137
5164c117
SM
1382020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
139
140 * configure: Re-generate.
141 * ptrace.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
142 AC_LANG_PROGRAM.
143
b6fb30ed
SM
1442020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
145
146 * configure: Re-generate.
147 * ptrace.m4: Re-indent.
148
e41fda1d
SM
1492020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
150
151 * aclocal.m4: Re-generate.
152 * configure: Re-generate.
153 * configure.ac: Remove AM_PROG_CC_STDC.
154
91e1a0ed
SM
1552020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
156
157 * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of
158 AC_CANONICAL_SYSTEM.
159 * configure: Re-generate.
160
d744f0f9
PA
1612020-10-26 Pedro Alves <pedro@palves.net>
162
163 * eintr.h (handle_eintr): Replace Ret template parameter with
164 ErrorValType. Use it as type of the failure value. Deduce the
165 function's return type using decltype. Use lowercase for function
166 parameter names.
167
006811bc
SM
1682020-10-25 Simon Marchi <simon.marchi@polymtl.ca>
169
170 * Makefile.in: Re-generate.
171 * acinclude.m4: Update ptrace.m4 path.
172 * ptrace.m4: Move here.
173
51a948fd
AB
1742020-10-08 Andrew Burgess <andrew.burgess@embecosm.com>
175
176 * tdesc.h (allocate_target_description): Update return type.
177
4a72de73
TT
1782020-10-07 Tom Tromey <tromey@adacore.com>
179
180 * Makefile.in: Rebuild.
181 * Makefile.am (libgdbsupport_a_SOURCES): Add search.cc.
182 * search.h: New file.
183 * search.cc: New file.
184
6b01403b
SM
1852020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
186
187 * event-loop.h (debug_event_loop): New variable declaration.
188 (event_loop_debug_printf_1): New function declaration.
189 (event_loop_debug_printf): New macro.
190 * event-loop.cc (debug_event_loop): New variable.
191 (handle_file_event): Add debug print.
192 (event_loop_debug_printf_1): New function.
193
ba988419
SM
1942020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
195
196 * common-debug.cc (debug_prefixed_vprintf): Move here.
197 * common-debug.h (debug_prefixed_vprintf): Move here.
198
2554f6f5
SM
1992020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
200
201 * event-loop.h (add_file_handler): Add "name" parameter.
202 * event-loop.cc (struct file_handler) <name>: New field.
203 (create_file_handler): Add "name" parameter, assign it to file
204 handler.
205 (add_file_handler): Add "name" parameter.
206
e2a2a24a
KR
2072020-10-01 Kamil Rytarowski <n54@gmx.com>
208
209 * agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros.
210
de38d64a
PA
2112020-09-29 Pedro Alves <pedro@palves.net>
212
213 * valid-expr.h (CHECK_VALID_EXPR_INT): Make archetype a template
214 class instead of an alias template and adjust static_assert.
215
29363cfa
SM
2162020-09-24 Simon Marchi <simon.marchi@efficios.com>
217
218 * event-loop.c (struct file_handler): Remove typedef, re-format.
219
e911c666
JB
2202020-09-16 John Baldwin <jhb@FreeBSD.org>
221
222 * common.m4 (GDB_AC_COMMON): Refactor checks for kinfo_getfile().
223 * configure, config.in: Regenerate.
224
04902b09
PA
2252020-09-14 Pedro Alves <pedro@palves.net>
226
227 * enum-flags.h: Include "traits.h".
228 (DEF_ENUM_FLAGS_TYPE): Declare a function instead of defining a
229 structure.
230 (enum_underlying_type): Update comment.
231 (namespace enum_flags_detail): New. Move struct zero_type here.
232 (EnumIsUnsigned, EnumIsSigned): New.
233 (class enum_flags): Make most methods constexpr.
234 (operator&=, operator|=, operator^=): Take an enum_flags instead
235 of an enum_type. Make rvalue ref versions deleted.
236 (operator enum_type()): Delete.
237 (operator&, operator|, operator^, operator~): Delete, moved out of
238 class.
239 (raw()): New method.
240 (is_enum_flags_enum_type_t): Declare.
241 (ENUM_FLAGS_GEN_BINOP, ENUM_FLAGS_GEN_COMPOUND_ASSIGN)
242 (ENUM_FLAGS_GEN_COMP): New. Use them to reimplement global
243 operators.
244 (operator~): Now constexpr and reimplemented.
245 (operator<<, operator>>): New deleted functions.
246 * valid-expr.h (CHECK_VALID_EXPR_5, CHECK_VALID_EXPR_6): New.
247
1945192c
PA
2482020-09-14 Pedro Alves <pedro@palves.net>
249
250 * traits.h (struct nonesuch, struct detector, detected_or)
251 (detected_or_t, is_detected, detected_t, detected_or)
252 (detected_or_t, is_detected_exact, is_detected_convertible): New.
253 * valid-expr.h (CHECK_VALID_EXPR_INT): Use gdb::is_detected_exact.
254
48c9b433
KR
2552020-09-10 Kamil Rytarowski <n54@gmx.com>
256
257 * eintr.h: New file.
258
ece5bc8a
SM
2592020-08-13 Simon Marchi <simon.marchi@polymtl.ca>
260
261 * selftest.h (run_tests): Change parameter to array_view.
262 * selftest.c (run_tests): Change parameter to array_view and use
263 it.
264
c8693053
RO
2652020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
266
267 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
268 * common.m4 (GDB_AC_COMMON): Use BFD_SYS_PROCFS_H to check for
269 <sys/procfs.h>.
270 * Makefile.in: Regenerate.
271 * configure, config.in: Regenerate.
272
866b34a1
TV
2732020-07-28 Tom de Vries <tdevries@suse.de>
274
275 PR build/26281
276 * gdb_optional.h (class optional): Add volatile member to union
277 contaning m_dummy and m_item.
278
0e267416
AB
2792020-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
280
281 * tdesc.h (struct target_desc_deleter): Moved here
282 from gdb/target-descriptions.h, extend comment.
283 (target_desc_up): Likewise.
284
5ac58899
TT
2852020-06-30 Tom Tromey <tromey@adacore.com>
286
287 PR build/26183:
288 * gdb_string_view.h (basic_string_view::to_string): Remove.
289 (gdb::to_string): New function.
290
6db3031e
SM
2912020-06-27 Simon Marchi <simon.marchi@efficios.com>
292
293 * tdesc.h (class print_xml_feature) <add_line>: Add
294 ATTRIBUTE_PRINTF.
295
caa7fd04
AB
2962020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
297
298 * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add
299 output content, and call indent as needed in all overloaded
300 variants.
301 (print_xml_feature::visit_post): Likewise.
302 (print_xml_feature::visit): Likewise.
303 (print_xml_feature::add_line): Two new overloaded functions.
304 * tdesc.h (print_xml_feature::indent): New member function.
305 (print_xml_feature::add_line): Two new overloaded member
306 functions.
307 (print_xml_feature::m_depth): New member variable.
308
fbf42f4e
AB
3092020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
310
311 * tdesc.cc (print_xml_feature::visit_pre): Print compatible
312 information.
313 * tdesc.h (struct tdesc_compatible_info): Declare new struct.
314 (tdesc_compatible_info_up): New typedef.
315 (tdesc_compatible_info_list): Declare new function.
316 (tdesc_compatible_info_arch_name): Declare new function.
317
7dbfcd6f
MW
3182020-05-25 Michael Weghorn <m.weghorn@posteo.de>
319
320 * common-utils.cc, common-utils.h (stringify_argv): Drop
321 now unused function stringify_argv
322
8c4b5f3d
MW
3232020-05-25 Michael Weghorn <m.weghorn@posteo.de>
324
325 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
326 Adapt to take a gdb::array_view<char * const> parameter.
327 Adapt call site.
328
c699004a
MW
3292020-05-25 Michael Weghorn <m.weghorn@posteo.de>
330
331 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
332 Adapt to handle zero args and return a std::string.
333 Adapt call site.
334
92651b1d
MW
3352020-05-25 Michael Weghorn <m.weghorn@posteo.de>
336
337 * common-inferior.h, common-inferior.cc: (construct_inferior_arguments):
338 Move function here from gdb/infcmd.c, gdb/inferior.h
339
a51951c2
KB
3402020-05-14 Kevin Buettner <kevinb@redhat.com>
341
342 * btrace-common.h (btrace_cpu_vendor): Add CV_AMD.
343
fc75c28b
TBA
3442020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
345
346 * common-regcache.h (regcache_read_pc_protected): New function
347 declaration.
348
32d1f47a
TBA
3492020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
350
351 * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask).
352
ff8885c3
SM
3532020-04-27 Simon Marchi <simon.marchi@polymtl.ca>
354
355 * common-defs.h: Include cstdlib.h.
356
0fa7617d
TT
3572020-04-20 Tom Tromey <tromey@adacore.com>
358
359 * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept.
360 Use initialization style. Don't call destroy.
361 * scoped_fd.h (class scoped_fd): Mark move constructor as
362 noexcept.
363 * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as
364 noexcept.
365
7990abcc
TT
3662020-04-13 Tom Tromey <tom@tromey.com>
367
368 * event-loop.c: Move comment. Remove obsolete comment.
369
400b5eca
TT
3702020-04-13 Tom Tromey <tom@tromey.com>
371
372 * event-loop.h: Move from ../gdb/.
373 * event-loop.cc: Move from ../gdb/.
374
c1cd3163
TT
3752020-04-13 Tom Tromey <tom@tromey.com>
376
377 * errors.h (flush_streams): Declare.
378
06cc9596
TT
3792020-04-13 Tom Tromey <tom@tromey.com>
380
381 * gdb_select.h: Move from ../gdb/.
382
8ae8e197
TT
3832020-04-13 Tom Tromey <tom@tromey.com>
384
385 * config.in, configure: Rebuild.
386 * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h,
387 sys/select.h, and poll.
388
af62665e
TT
3892020-03-31 Tom Tromey <tromey@adacore.com>
390
391 * btrace-common.cc (btrace_data_append): Conditionally call
392 memcpy.
393
8f2dae6a
AB
3942020-03-27 Andrew Burgess <andrew.burgess@embecosm.com>
395
396 * create-version.sh: Resolve issues highlighted by shellcheck.
397
c884cc46
SM
3982020-03-20 Simon Marchi <simon.marchi@efficios.com>
399
400 * config.in: Re-generate.
401 * configure: Re-generate.
402
d3e2a5e8
KR
4032020-03-17 Kamil Rytarowski <n54@gmx.com>
404
405 * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
406
21329136
TT
4072020-03-12 Tom Tromey <tom@tromey.com>
408
409 * common-types.h: Remove GDBSERVER code.
410 (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine.
411 * common-defs.h: Remove GDBSERVER code.
412
272cd5a3
SM
4132020-03-12 Simon Marchi <simon.marchi@efficios.com>
414
415 * selftest.m4: Moved from gdb/.
416 * acinclude.m4: Update path to selftest.m4.
417
db6878ac
SM
4182020-03-12 Simon Marchi <simon.marchi@efficios.com>
419
420 * configure.ac: Don't source bfd/development.sh.
421 * common.m4: Source bfd/development.sh.
422 * configure: Re-generate.
423
4d696a5c
SM
4242020-03-12 Simon Marchi <simon.marchi@efficios.com>
425
426 * configure: Re-generate.
427
a0761e34
SM
4282020-03-11 Simon Marchi <simon.marchi@efficios.com>
429
430 * configure: Re-generate.
431 * warning.m4: Enable -Wmissing-prototypes.
432
e63ee24f
TT
4332020-03-08 Tom Tromey <tom@tromey.com>
434
435 * gdb_binary_search.h: Fix two typos.
436
20ea4a60
AB
4372020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
438
439 * .dir-locals.el: New file.
440
3d1e5a43
VP
4412020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com>
442
443 * configure.ac: Added call development.sh.
444 * configure: Regenerate.
445
842806cb
TBA
4462020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
447
448 * .gitattributes: New file.
449
89725b0d
SM
4502020-03-03 Simon Marchi <simon.marchi@efficios.com>
451
452 * Makefile.in: Re-generate.
453
d7592e97
SDJ
4542020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
455
456 * gdb-dlfcn.h (gdb_dlopen): Update comment.
457
9f1528a1
AB
4582020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
459
460 * configure: Regenerate.
461
1a627e7e
TT
4622020-02-14 Tom Tromey <tom@tromey.com>
463
464 * common-defs.h: Change path to gnulib/config.h.
465
06b3c5bd
SM
4662020-02-13 Simon Marchi <simon.marchi@efficios.com>
467
468 * Makefile.am: Rename source files from .c to .cc.
469 (CC, CFLAGS): Don't override.
470 (AM_CFLAGS): Rename to ...
471 (AM_CXXFLAGS): ... this.
472 * Makefile.in: Re-generate.
473 * %.c: Rename to %.cc.
474
898e7f60
SM
4752020-02-11 Simon Marchi <simon.marchi@efficios.com>
476
477 * configure: Re-generate.
478
8ddd8e0e
SM
4792020-02-11 Simon Marchi <simon.marchi@efficios.com>
480
481 * warning.m4: Add -Wstrict-null-sentinel.
482 * configure: Re-generate.
483
58df732b
SM
4842020-02-11 Simon Marchi <simon.marchi@efficios.com>
485
486 * warning.m4: Move here, from gdb/warning.m4.
487 * acinclude.m4: Update warning.m4 path.
488 * Makefile.in: Re-generate.
489
629c2962
SM
4902020-02-11 Simon Marchi <simon.marchi@efficios.com>
491
492 * acinclude.m4: Include ../gdb/warning.m4.
493 * configure.ac: Use AM_GDB_WARNINGS.
494 * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
495 * Makefile.in: Re-generate.
496 * configure: Re-generate.
497
85f0dd3c
TV
4982020-02-10 Tom de Vries <tdevries@suse.de>
499
500 * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
501
43198d20
CB
5022020-01-24 Christian Biesinger <cbiesinger@google.com>
503
504 * thread-pool.c (set_thread_name): Add an overload for the NetBSD
505 version of pthread_setname_np.
506
67b10306
PA
5072020-01-17 Pedro Alves <palves@redhat.com>
508
509 * Makefile.am: Append CXX_DIALECT to CXX.
510 * Makefile.in: Regenerate.
511
3684d331
PA
5122020-01-17 Pedro Alves <palves@redhat.com>
513
514 * configure.ac: Generate config.h instead of support-config.h.
515 * common-defs.h: Include <gdbsupport/config.h> instead of
516 <gdbsupport/support-config.h>.
517 * Makefile.in: Regenerate.
518 * configure: Regenerate.
519
0454ef42
TT
5202020-01-14 Tom Tromey <tom@tromey.com>
521
522 * Makefile.in: Rebuild.
523 * Makefile.am (check-defines): New target.
524 * check-defines.el: New file.
525
05ea2a05
TT
5262020-01-14 Tom Tromey <tom@tromey.com>
527
528 * configure, Makefile.in, aclocal.m4, common.m4, config.in:
529 Rebuild.
530 * common.m4 (GDB_AC_COMMON): Move many checks from
531 gdb/configure.ac.
532 * acinclude.m4: Include bfd.m4, ptrace.m4.
533
01027315
TT
5342020-01-14 Tom Tromey <tom@tromey.com>
535
536 * common-defs.h: Add GDBSERVER case. Update includes.
537 * acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
538 Makefile.am, Makefile.in, README: New files.
539 * Moved from ../gdb/gdbsupport/