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