]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdbsupport/ChangeLog
oops - forgot to include the changelog update for the latest binutils/dwarf.c patch
[thirdparty/binutils-gdb.git] / gdbsupport / ChangeLog
CommitLineData
8768c3e3
TT
12020-11-02 Tom Tromey <tom@tromey.com>
2
3 * pathstuff.h (get_standard_config_dir): Declare.
4 * pathstuff.cc (get_standard_config_dir): New function.
5
dda83cd7
SM
62020-11-02 Simon Marchi <simon.marchi@efficios.com>
7
8 * common-exceptions.h: Fix indentation.
9 * event-loop.cc: Fix indentation.
10 * fileio.cc: Fix indentation.
11 * filestuff.cc: Fix indentation.
12 * gdb-dlfcn.cc: Fix indentation.
13 * gdb_string_view.h: Fix indentation.
14 * job-control.cc: Fix indentation.
15 * signals.cc: Fix indentation.
16
17417fb0
SM
172020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
18
19 * common-debug.cc (debug_prefixed_printf): New.
20 * common-debug.h (debug_prefixed_printf): New declaration.
21 * event-loop.cc (event_loop_debug_printf_1): Remove.
22 * event-loop.h (event_loop_debug_printf_1): Remove.
23 (event_loop_debug_printf): Use debug_prefixed_printf.
24 (event_loop_ui_debug_printf): Use debug_prefixed_printf.
25
b9442ec1
SM
262020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
27
28 * common.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
29 AC_LANG_PROGRAM.
30 * configure: Re-generate.
31
15dabc52
SM
322020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
33
34 * common.m4: Replace AC_FUNC_VFORK with AC_FUNC_FORK.
35
864ca435
SM
362020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
37
38 * configure: Re-generate.
39 * warning.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
40 AC_LANG_PROGRAM.
41
5164c117
SM
422020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
43
44 * configure: Re-generate.
45 * ptrace.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
46 AC_LANG_PROGRAM.
47
b6fb30ed
SM
482020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
49
50 * configure: Re-generate.
51 * ptrace.m4: Re-indent.
52
e41fda1d
SM
532020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
54
55 * aclocal.m4: Re-generate.
56 * configure: Re-generate.
57 * configure.ac: Remove AM_PROG_CC_STDC.
58
91e1a0ed
SM
592020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
60
61 * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of
62 AC_CANONICAL_SYSTEM.
63 * configure: Re-generate.
64
d744f0f9
PA
652020-10-26 Pedro Alves <pedro@palves.net>
66
67 * eintr.h (handle_eintr): Replace Ret template parameter with
68 ErrorValType. Use it as type of the failure value. Deduce the
69 function's return type using decltype. Use lowercase for function
70 parameter names.
71
006811bc
SM
722020-10-25 Simon Marchi <simon.marchi@polymtl.ca>
73
74 * Makefile.in: Re-generate.
75 * acinclude.m4: Update ptrace.m4 path.
76 * ptrace.m4: Move here.
77
51a948fd
AB
782020-10-08 Andrew Burgess <andrew.burgess@embecosm.com>
79
80 * tdesc.h (allocate_target_description): Update return type.
81
4a72de73
TT
822020-10-07 Tom Tromey <tromey@adacore.com>
83
84 * Makefile.in: Rebuild.
85 * Makefile.am (libgdbsupport_a_SOURCES): Add search.cc.
86 * search.h: New file.
87 * search.cc: New file.
88
6b01403b
SM
892020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
90
91 * event-loop.h (debug_event_loop): New variable declaration.
92 (event_loop_debug_printf_1): New function declaration.
93 (event_loop_debug_printf): New macro.
94 * event-loop.cc (debug_event_loop): New variable.
95 (handle_file_event): Add debug print.
96 (event_loop_debug_printf_1): New function.
97
ba988419
SM
982020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
99
100 * common-debug.cc (debug_prefixed_vprintf): Move here.
101 * common-debug.h (debug_prefixed_vprintf): Move here.
102
2554f6f5
SM
1032020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
104
105 * event-loop.h (add_file_handler): Add "name" parameter.
106 * event-loop.cc (struct file_handler) <name>: New field.
107 (create_file_handler): Add "name" parameter, assign it to file
108 handler.
109 (add_file_handler): Add "name" parameter.
110
e2a2a24a
KR
1112020-10-01 Kamil Rytarowski <n54@gmx.com>
112
113 * agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros.
114
de38d64a
PA
1152020-09-29 Pedro Alves <pedro@palves.net>
116
117 * valid-expr.h (CHECK_VALID_EXPR_INT): Make archetype a template
118 class instead of an alias template and adjust static_assert.
119
29363cfa
SM
1202020-09-24 Simon Marchi <simon.marchi@efficios.com>
121
122 * event-loop.c (struct file_handler): Remove typedef, re-format.
123
e911c666
JB
1242020-09-16 John Baldwin <jhb@FreeBSD.org>
125
126 * common.m4 (GDB_AC_COMMON): Refactor checks for kinfo_getfile().
127 * configure, config.in: Regenerate.
128
04902b09
PA
1292020-09-14 Pedro Alves <pedro@palves.net>
130
131 * enum-flags.h: Include "traits.h".
132 (DEF_ENUM_FLAGS_TYPE): Declare a function instead of defining a
133 structure.
134 (enum_underlying_type): Update comment.
135 (namespace enum_flags_detail): New. Move struct zero_type here.
136 (EnumIsUnsigned, EnumIsSigned): New.
137 (class enum_flags): Make most methods constexpr.
138 (operator&=, operator|=, operator^=): Take an enum_flags instead
139 of an enum_type. Make rvalue ref versions deleted.
140 (operator enum_type()): Delete.
141 (operator&, operator|, operator^, operator~): Delete, moved out of
142 class.
143 (raw()): New method.
144 (is_enum_flags_enum_type_t): Declare.
145 (ENUM_FLAGS_GEN_BINOP, ENUM_FLAGS_GEN_COMPOUND_ASSIGN)
146 (ENUM_FLAGS_GEN_COMP): New. Use them to reimplement global
147 operators.
148 (operator~): Now constexpr and reimplemented.
149 (operator<<, operator>>): New deleted functions.
150 * valid-expr.h (CHECK_VALID_EXPR_5, CHECK_VALID_EXPR_6): New.
151
1945192c
PA
1522020-09-14 Pedro Alves <pedro@palves.net>
153
154 * traits.h (struct nonesuch, struct detector, detected_or)
155 (detected_or_t, is_detected, detected_t, detected_or)
156 (detected_or_t, is_detected_exact, is_detected_convertible): New.
157 * valid-expr.h (CHECK_VALID_EXPR_INT): Use gdb::is_detected_exact.
158
48c9b433
KR
1592020-09-10 Kamil Rytarowski <n54@gmx.com>
160
161 * eintr.h: New file.
162
ece5bc8a
SM
1632020-08-13 Simon Marchi <simon.marchi@polymtl.ca>
164
165 * selftest.h (run_tests): Change parameter to array_view.
166 * selftest.c (run_tests): Change parameter to array_view and use
167 it.
168
c8693053
RO
1692020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
170
171 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
172 * common.m4 (GDB_AC_COMMON): Use BFD_SYS_PROCFS_H to check for
173 <sys/procfs.h>.
174 * Makefile.in: Regenerate.
175 * configure, config.in: Regenerate.
176
866b34a1
TV
1772020-07-28 Tom de Vries <tdevries@suse.de>
178
179 PR build/26281
180 * gdb_optional.h (class optional): Add volatile member to union
181 contaning m_dummy and m_item.
182
0e267416
AB
1832020-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
184
185 * tdesc.h (struct target_desc_deleter): Moved here
186 from gdb/target-descriptions.h, extend comment.
187 (target_desc_up): Likewise.
188
5ac58899
TT
1892020-06-30 Tom Tromey <tromey@adacore.com>
190
191 PR build/26183:
192 * gdb_string_view.h (basic_string_view::to_string): Remove.
193 (gdb::to_string): New function.
194
6db3031e
SM
1952020-06-27 Simon Marchi <simon.marchi@efficios.com>
196
197 * tdesc.h (class print_xml_feature) <add_line>: Add
198 ATTRIBUTE_PRINTF.
199
caa7fd04
AB
2002020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
201
202 * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add
203 output content, and call indent as needed in all overloaded
204 variants.
205 (print_xml_feature::visit_post): Likewise.
206 (print_xml_feature::visit): Likewise.
207 (print_xml_feature::add_line): Two new overloaded functions.
208 * tdesc.h (print_xml_feature::indent): New member function.
209 (print_xml_feature::add_line): Two new overloaded member
210 functions.
211 (print_xml_feature::m_depth): New member variable.
212
fbf42f4e
AB
2132020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
214
215 * tdesc.cc (print_xml_feature::visit_pre): Print compatible
216 information.
217 * tdesc.h (struct tdesc_compatible_info): Declare new struct.
218 (tdesc_compatible_info_up): New typedef.
219 (tdesc_compatible_info_list): Declare new function.
220 (tdesc_compatible_info_arch_name): Declare new function.
221
7dbfcd6f
MW
2222020-05-25 Michael Weghorn <m.weghorn@posteo.de>
223
224 * common-utils.cc, common-utils.h (stringify_argv): Drop
225 now unused function stringify_argv
226
8c4b5f3d
MW
2272020-05-25 Michael Weghorn <m.weghorn@posteo.de>
228
229 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
230 Adapt to take a gdb::array_view<char * const> parameter.
231 Adapt call site.
232
c699004a
MW
2332020-05-25 Michael Weghorn <m.weghorn@posteo.de>
234
235 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
236 Adapt to handle zero args and return a std::string.
237 Adapt call site.
238
92651b1d
MW
2392020-05-25 Michael Weghorn <m.weghorn@posteo.de>
240
241 * common-inferior.h, common-inferior.cc: (construct_inferior_arguments):
242 Move function here from gdb/infcmd.c, gdb/inferior.h
243
a51951c2
KB
2442020-05-14 Kevin Buettner <kevinb@redhat.com>
245
246 * btrace-common.h (btrace_cpu_vendor): Add CV_AMD.
247
fc75c28b
TBA
2482020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
249
250 * common-regcache.h (regcache_read_pc_protected): New function
251 declaration.
252
32d1f47a
TBA
2532020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
254
255 * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask).
256
ff8885c3
SM
2572020-04-27 Simon Marchi <simon.marchi@polymtl.ca>
258
259 * common-defs.h: Include cstdlib.h.
260
0fa7617d
TT
2612020-04-20 Tom Tromey <tromey@adacore.com>
262
263 * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept.
264 Use initialization style. Don't call destroy.
265 * scoped_fd.h (class scoped_fd): Mark move constructor as
266 noexcept.
267 * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as
268 noexcept.
269
7990abcc
TT
2702020-04-13 Tom Tromey <tom@tromey.com>
271
272 * event-loop.c: Move comment. Remove obsolete comment.
273
400b5eca
TT
2742020-04-13 Tom Tromey <tom@tromey.com>
275
276 * event-loop.h: Move from ../gdb/.
277 * event-loop.cc: Move from ../gdb/.
278
c1cd3163
TT
2792020-04-13 Tom Tromey <tom@tromey.com>
280
281 * errors.h (flush_streams): Declare.
282
06cc9596
TT
2832020-04-13 Tom Tromey <tom@tromey.com>
284
285 * gdb_select.h: Move from ../gdb/.
286
8ae8e197
TT
2872020-04-13 Tom Tromey <tom@tromey.com>
288
289 * config.in, configure: Rebuild.
290 * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h,
291 sys/select.h, and poll.
292
af62665e
TT
2932020-03-31 Tom Tromey <tromey@adacore.com>
294
295 * btrace-common.cc (btrace_data_append): Conditionally call
296 memcpy.
297
8f2dae6a
AB
2982020-03-27 Andrew Burgess <andrew.burgess@embecosm.com>
299
300 * create-version.sh: Resolve issues highlighted by shellcheck.
301
c884cc46
SM
3022020-03-20 Simon Marchi <simon.marchi@efficios.com>
303
304 * config.in: Re-generate.
305 * configure: Re-generate.
306
d3e2a5e8
KR
3072020-03-17 Kamil Rytarowski <n54@gmx.com>
308
309 * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
310
21329136
TT
3112020-03-12 Tom Tromey <tom@tromey.com>
312
313 * common-types.h: Remove GDBSERVER code.
314 (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine.
315 * common-defs.h: Remove GDBSERVER code.
316
272cd5a3
SM
3172020-03-12 Simon Marchi <simon.marchi@efficios.com>
318
319 * selftest.m4: Moved from gdb/.
320 * acinclude.m4: Update path to selftest.m4.
321
db6878ac
SM
3222020-03-12 Simon Marchi <simon.marchi@efficios.com>
323
324 * configure.ac: Don't source bfd/development.sh.
325 * common.m4: Source bfd/development.sh.
326 * configure: Re-generate.
327
4d696a5c
SM
3282020-03-12 Simon Marchi <simon.marchi@efficios.com>
329
330 * configure: Re-generate.
331
a0761e34
SM
3322020-03-11 Simon Marchi <simon.marchi@efficios.com>
333
334 * configure: Re-generate.
335 * warning.m4: Enable -Wmissing-prototypes.
336
e63ee24f
TT
3372020-03-08 Tom Tromey <tom@tromey.com>
338
339 * gdb_binary_search.h: Fix two typos.
340
20ea4a60
AB
3412020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
342
343 * .dir-locals.el: New file.
344
3d1e5a43
VP
3452020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com>
346
347 * configure.ac: Added call development.sh.
348 * configure: Regenerate.
349
842806cb
TBA
3502020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
351
352 * .gitattributes: New file.
353
89725b0d
SM
3542020-03-03 Simon Marchi <simon.marchi@efficios.com>
355
356 * Makefile.in: Re-generate.
357
d7592e97
SDJ
3582020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
359
360 * gdb-dlfcn.h (gdb_dlopen): Update comment.
361
9f1528a1
AB
3622020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
363
364 * configure: Regenerate.
365
1a627e7e
TT
3662020-02-14 Tom Tromey <tom@tromey.com>
367
368 * common-defs.h: Change path to gnulib/config.h.
369
06b3c5bd
SM
3702020-02-13 Simon Marchi <simon.marchi@efficios.com>
371
372 * Makefile.am: Rename source files from .c to .cc.
373 (CC, CFLAGS): Don't override.
374 (AM_CFLAGS): Rename to ...
375 (AM_CXXFLAGS): ... this.
376 * Makefile.in: Re-generate.
377 * %.c: Rename to %.cc.
378
898e7f60
SM
3792020-02-11 Simon Marchi <simon.marchi@efficios.com>
380
381 * configure: Re-generate.
382
8ddd8e0e
SM
3832020-02-11 Simon Marchi <simon.marchi@efficios.com>
384
385 * warning.m4: Add -Wstrict-null-sentinel.
386 * configure: Re-generate.
387
58df732b
SM
3882020-02-11 Simon Marchi <simon.marchi@efficios.com>
389
390 * warning.m4: Move here, from gdb/warning.m4.
391 * acinclude.m4: Update warning.m4 path.
392 * Makefile.in: Re-generate.
393
629c2962
SM
3942020-02-11 Simon Marchi <simon.marchi@efficios.com>
395
396 * acinclude.m4: Include ../gdb/warning.m4.
397 * configure.ac: Use AM_GDB_WARNINGS.
398 * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
399 * Makefile.in: Re-generate.
400 * configure: Re-generate.
401
85f0dd3c
TV
4022020-02-10 Tom de Vries <tdevries@suse.de>
403
404 * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
405
43198d20
CB
4062020-01-24 Christian Biesinger <cbiesinger@google.com>
407
408 * thread-pool.c (set_thread_name): Add an overload for the NetBSD
409 version of pthread_setname_np.
410
67b10306
PA
4112020-01-17 Pedro Alves <palves@redhat.com>
412
413 * Makefile.am: Append CXX_DIALECT to CXX.
414 * Makefile.in: Regenerate.
415
3684d331
PA
4162020-01-17 Pedro Alves <palves@redhat.com>
417
418 * configure.ac: Generate config.h instead of support-config.h.
419 * common-defs.h: Include <gdbsupport/config.h> instead of
420 <gdbsupport/support-config.h>.
421 * Makefile.in: Regenerate.
422 * configure: Regenerate.
423
0454ef42
TT
4242020-01-14 Tom Tromey <tom@tromey.com>
425
426 * Makefile.in: Rebuild.
427 * Makefile.am (check-defines): New target.
428 * check-defines.el: New file.
429
05ea2a05
TT
4302020-01-14 Tom Tromey <tom@tromey.com>
431
432 * configure, Makefile.in, aclocal.m4, common.m4, config.in:
433 Rebuild.
434 * common.m4 (GDB_AC_COMMON): Move many checks from
435 gdb/configure.ac.
436 * acinclude.m4: Include bfd.m4, ptrace.m4.
437
01027315
TT
4382020-01-14 Tom Tromey <tom@tromey.com>
439
440 * common-defs.h: Add GDBSERVER case. Update includes.
441 * acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
442 Makefile.am, Makefile.in, README: New files.
443 * Moved from ../gdb/gdbsupport/