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