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