]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdbsupport/ChangeLog
gdb: use infrun_debug_printf in print_target_wait_results
[thirdparty/binutils-gdb.git] / gdbsupport / ChangeLog
CommitLineData
96648494
AB
12020-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * gdbsupport/common-utils.cc: Change 'ctype.h' include to
4 'safe-ctype.h'.
5 (extract_string_maybe_quoted): Use safe-ctype function versions.
6 (is_digit_in_base): Likewise.
7 (digit_to_int): Likewise.
8 (strtoulst): Likewise.
9 (skip_spaces): Likewise.
10 (skip_to_space): Likewise.
11
74b773fc
SM
122020-12-11 Simon Marchi <simon.marchi@polymtl.ca>
13
14 * common-debug.h (debug_prefixed_printf_cond): New.
15 * event-loop.h (event_loop_debug_printf): Use
16 debug_prefixed_printf_cond.
17
60a7223f
AF
182020-12-08 Alexander Fedotov <alfedotov@gmail.com>
19
20 * pathstuff.cc (get_standard_cache_dir): Use LOCALAPPDATA environment
21 variable when running on Windows.
22
54e75f29
AB
232020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
24
25 * tdesc.cc (print_xml_feature::visit): Print enum fields using
26 'evalue' syntax.
27
4f36e61b
CC
282020-12-01 Chungyi Chi <demonic@csie.io>
29
30 * tdesc.cc (print_xml_feature::visit): Print enum size attribute.
31
14f62a09
TT
322020-11-20 Tom Tromey <tromey@adacore.com>
33
34 * thread-pool.cc (thread_pool::set_thread_count): Ignore system
35 errors.
36
6c51cf51
TT
372020-11-10 Tom Tromey <tromey@adacore.com>
38
39 PR build/26848:
40 * pathstuff.h: Move include block here...
41 * pathstuff.cc: ... from here.
42
8768c3e3
TT
432020-11-02 Tom Tromey <tom@tromey.com>
44
45 * pathstuff.h (get_standard_config_dir): Declare.
46 * pathstuff.cc (get_standard_config_dir): New function.
47
dda83cd7
SM
482020-11-02 Simon Marchi <simon.marchi@efficios.com>
49
50 * common-exceptions.h: Fix indentation.
51 * event-loop.cc: Fix indentation.
52 * fileio.cc: Fix indentation.
53 * filestuff.cc: Fix indentation.
54 * gdb-dlfcn.cc: Fix indentation.
55 * gdb_string_view.h: Fix indentation.
56 * job-control.cc: Fix indentation.
57 * signals.cc: Fix indentation.
58
17417fb0
SM
592020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
60
61 * common-debug.cc (debug_prefixed_printf): New.
62 * common-debug.h (debug_prefixed_printf): New declaration.
63 * event-loop.cc (event_loop_debug_printf_1): Remove.
64 * event-loop.h (event_loop_debug_printf_1): Remove.
65 (event_loop_debug_printf): Use debug_prefixed_printf.
66 (event_loop_ui_debug_printf): Use debug_prefixed_printf.
67
b9442ec1
SM
682020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
69
70 * common.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
71 AC_LANG_PROGRAM.
72 * configure: Re-generate.
73
15dabc52
SM
742020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
75
76 * common.m4: Replace AC_FUNC_VFORK with AC_FUNC_FORK.
77
864ca435
SM
782020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
79
80 * configure: Re-generate.
81 * warning.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
82 AC_LANG_PROGRAM.
83
5164c117
SM
842020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
85
86 * configure: Re-generate.
87 * ptrace.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
88 AC_LANG_PROGRAM.
89
b6fb30ed
SM
902020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
91
92 * configure: Re-generate.
93 * ptrace.m4: Re-indent.
94
e41fda1d
SM
952020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
96
97 * aclocal.m4: Re-generate.
98 * configure: Re-generate.
99 * configure.ac: Remove AM_PROG_CC_STDC.
100
91e1a0ed
SM
1012020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
102
103 * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of
104 AC_CANONICAL_SYSTEM.
105 * configure: Re-generate.
106
d744f0f9
PA
1072020-10-26 Pedro Alves <pedro@palves.net>
108
109 * eintr.h (handle_eintr): Replace Ret template parameter with
110 ErrorValType. Use it as type of the failure value. Deduce the
111 function's return type using decltype. Use lowercase for function
112 parameter names.
113
006811bc
SM
1142020-10-25 Simon Marchi <simon.marchi@polymtl.ca>
115
116 * Makefile.in: Re-generate.
117 * acinclude.m4: Update ptrace.m4 path.
118 * ptrace.m4: Move here.
119
51a948fd
AB
1202020-10-08 Andrew Burgess <andrew.burgess@embecosm.com>
121
122 * tdesc.h (allocate_target_description): Update return type.
123
4a72de73
TT
1242020-10-07 Tom Tromey <tromey@adacore.com>
125
126 * Makefile.in: Rebuild.
127 * Makefile.am (libgdbsupport_a_SOURCES): Add search.cc.
128 * search.h: New file.
129 * search.cc: New file.
130
6b01403b
SM
1312020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
132
133 * event-loop.h (debug_event_loop): New variable declaration.
134 (event_loop_debug_printf_1): New function declaration.
135 (event_loop_debug_printf): New macro.
136 * event-loop.cc (debug_event_loop): New variable.
137 (handle_file_event): Add debug print.
138 (event_loop_debug_printf_1): New function.
139
ba988419
SM
1402020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
141
142 * common-debug.cc (debug_prefixed_vprintf): Move here.
143 * common-debug.h (debug_prefixed_vprintf): Move here.
144
2554f6f5
SM
1452020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
146
147 * event-loop.h (add_file_handler): Add "name" parameter.
148 * event-loop.cc (struct file_handler) <name>: New field.
149 (create_file_handler): Add "name" parameter, assign it to file
150 handler.
151 (add_file_handler): Add "name" parameter.
152
e2a2a24a
KR
1532020-10-01 Kamil Rytarowski <n54@gmx.com>
154
155 * agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros.
156
de38d64a
PA
1572020-09-29 Pedro Alves <pedro@palves.net>
158
159 * valid-expr.h (CHECK_VALID_EXPR_INT): Make archetype a template
160 class instead of an alias template and adjust static_assert.
161
29363cfa
SM
1622020-09-24 Simon Marchi <simon.marchi@efficios.com>
163
164 * event-loop.c (struct file_handler): Remove typedef, re-format.
165
e911c666
JB
1662020-09-16 John Baldwin <jhb@FreeBSD.org>
167
168 * common.m4 (GDB_AC_COMMON): Refactor checks for kinfo_getfile().
169 * configure, config.in: Regenerate.
170
04902b09
PA
1712020-09-14 Pedro Alves <pedro@palves.net>
172
173 * enum-flags.h: Include "traits.h".
174 (DEF_ENUM_FLAGS_TYPE): Declare a function instead of defining a
175 structure.
176 (enum_underlying_type): Update comment.
177 (namespace enum_flags_detail): New. Move struct zero_type here.
178 (EnumIsUnsigned, EnumIsSigned): New.
179 (class enum_flags): Make most methods constexpr.
180 (operator&=, operator|=, operator^=): Take an enum_flags instead
181 of an enum_type. Make rvalue ref versions deleted.
182 (operator enum_type()): Delete.
183 (operator&, operator|, operator^, operator~): Delete, moved out of
184 class.
185 (raw()): New method.
186 (is_enum_flags_enum_type_t): Declare.
187 (ENUM_FLAGS_GEN_BINOP, ENUM_FLAGS_GEN_COMPOUND_ASSIGN)
188 (ENUM_FLAGS_GEN_COMP): New. Use them to reimplement global
189 operators.
190 (operator~): Now constexpr and reimplemented.
191 (operator<<, operator>>): New deleted functions.
192 * valid-expr.h (CHECK_VALID_EXPR_5, CHECK_VALID_EXPR_6): New.
193
1945192c
PA
1942020-09-14 Pedro Alves <pedro@palves.net>
195
196 * traits.h (struct nonesuch, struct detector, detected_or)
197 (detected_or_t, is_detected, detected_t, detected_or)
198 (detected_or_t, is_detected_exact, is_detected_convertible): New.
199 * valid-expr.h (CHECK_VALID_EXPR_INT): Use gdb::is_detected_exact.
200
48c9b433
KR
2012020-09-10 Kamil Rytarowski <n54@gmx.com>
202
203 * eintr.h: New file.
204
ece5bc8a
SM
2052020-08-13 Simon Marchi <simon.marchi@polymtl.ca>
206
207 * selftest.h (run_tests): Change parameter to array_view.
208 * selftest.c (run_tests): Change parameter to array_view and use
209 it.
210
c8693053
RO
2112020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
212
213 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
214 * common.m4 (GDB_AC_COMMON): Use BFD_SYS_PROCFS_H to check for
215 <sys/procfs.h>.
216 * Makefile.in: Regenerate.
217 * configure, config.in: Regenerate.
218
866b34a1
TV
2192020-07-28 Tom de Vries <tdevries@suse.de>
220
221 PR build/26281
222 * gdb_optional.h (class optional): Add volatile member to union
223 contaning m_dummy and m_item.
224
0e267416
AB
2252020-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
226
227 * tdesc.h (struct target_desc_deleter): Moved here
228 from gdb/target-descriptions.h, extend comment.
229 (target_desc_up): Likewise.
230
5ac58899
TT
2312020-06-30 Tom Tromey <tromey@adacore.com>
232
233 PR build/26183:
234 * gdb_string_view.h (basic_string_view::to_string): Remove.
235 (gdb::to_string): New function.
236
6db3031e
SM
2372020-06-27 Simon Marchi <simon.marchi@efficios.com>
238
239 * tdesc.h (class print_xml_feature) <add_line>: Add
240 ATTRIBUTE_PRINTF.
241
caa7fd04
AB
2422020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
243
244 * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add
245 output content, and call indent as needed in all overloaded
246 variants.
247 (print_xml_feature::visit_post): Likewise.
248 (print_xml_feature::visit): Likewise.
249 (print_xml_feature::add_line): Two new overloaded functions.
250 * tdesc.h (print_xml_feature::indent): New member function.
251 (print_xml_feature::add_line): Two new overloaded member
252 functions.
253 (print_xml_feature::m_depth): New member variable.
254
fbf42f4e
AB
2552020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
256
257 * tdesc.cc (print_xml_feature::visit_pre): Print compatible
258 information.
259 * tdesc.h (struct tdesc_compatible_info): Declare new struct.
260 (tdesc_compatible_info_up): New typedef.
261 (tdesc_compatible_info_list): Declare new function.
262 (tdesc_compatible_info_arch_name): Declare new function.
263
7dbfcd6f
MW
2642020-05-25 Michael Weghorn <m.weghorn@posteo.de>
265
266 * common-utils.cc, common-utils.h (stringify_argv): Drop
267 now unused function stringify_argv
268
8c4b5f3d
MW
2692020-05-25 Michael Weghorn <m.weghorn@posteo.de>
270
271 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
272 Adapt to take a gdb::array_view<char * const> parameter.
273 Adapt call site.
274
c699004a
MW
2752020-05-25 Michael Weghorn <m.weghorn@posteo.de>
276
277 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
278 Adapt to handle zero args and return a std::string.
279 Adapt call site.
280
92651b1d
MW
2812020-05-25 Michael Weghorn <m.weghorn@posteo.de>
282
283 * common-inferior.h, common-inferior.cc: (construct_inferior_arguments):
284 Move function here from gdb/infcmd.c, gdb/inferior.h
285
a51951c2
KB
2862020-05-14 Kevin Buettner <kevinb@redhat.com>
287
288 * btrace-common.h (btrace_cpu_vendor): Add CV_AMD.
289
fc75c28b
TBA
2902020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
291
292 * common-regcache.h (regcache_read_pc_protected): New function
293 declaration.
294
32d1f47a
TBA
2952020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
296
297 * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask).
298
ff8885c3
SM
2992020-04-27 Simon Marchi <simon.marchi@polymtl.ca>
300
301 * common-defs.h: Include cstdlib.h.
302
0fa7617d
TT
3032020-04-20 Tom Tromey <tromey@adacore.com>
304
305 * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept.
306 Use initialization style. Don't call destroy.
307 * scoped_fd.h (class scoped_fd): Mark move constructor as
308 noexcept.
309 * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as
310 noexcept.
311
7990abcc
TT
3122020-04-13 Tom Tromey <tom@tromey.com>
313
314 * event-loop.c: Move comment. Remove obsolete comment.
315
400b5eca
TT
3162020-04-13 Tom Tromey <tom@tromey.com>
317
318 * event-loop.h: Move from ../gdb/.
319 * event-loop.cc: Move from ../gdb/.
320
c1cd3163
TT
3212020-04-13 Tom Tromey <tom@tromey.com>
322
323 * errors.h (flush_streams): Declare.
324
06cc9596
TT
3252020-04-13 Tom Tromey <tom@tromey.com>
326
327 * gdb_select.h: Move from ../gdb/.
328
8ae8e197
TT
3292020-04-13 Tom Tromey <tom@tromey.com>
330
331 * config.in, configure: Rebuild.
332 * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h,
333 sys/select.h, and poll.
334
af62665e
TT
3352020-03-31 Tom Tromey <tromey@adacore.com>
336
337 * btrace-common.cc (btrace_data_append): Conditionally call
338 memcpy.
339
8f2dae6a
AB
3402020-03-27 Andrew Burgess <andrew.burgess@embecosm.com>
341
342 * create-version.sh: Resolve issues highlighted by shellcheck.
343
c884cc46
SM
3442020-03-20 Simon Marchi <simon.marchi@efficios.com>
345
346 * config.in: Re-generate.
347 * configure: Re-generate.
348
d3e2a5e8
KR
3492020-03-17 Kamil Rytarowski <n54@gmx.com>
350
351 * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
352
21329136
TT
3532020-03-12 Tom Tromey <tom@tromey.com>
354
355 * common-types.h: Remove GDBSERVER code.
356 (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine.
357 * common-defs.h: Remove GDBSERVER code.
358
272cd5a3
SM
3592020-03-12 Simon Marchi <simon.marchi@efficios.com>
360
361 * selftest.m4: Moved from gdb/.
362 * acinclude.m4: Update path to selftest.m4.
363
db6878ac
SM
3642020-03-12 Simon Marchi <simon.marchi@efficios.com>
365
366 * configure.ac: Don't source bfd/development.sh.
367 * common.m4: Source bfd/development.sh.
368 * configure: Re-generate.
369
4d696a5c
SM
3702020-03-12 Simon Marchi <simon.marchi@efficios.com>
371
372 * configure: Re-generate.
373
a0761e34
SM
3742020-03-11 Simon Marchi <simon.marchi@efficios.com>
375
376 * configure: Re-generate.
377 * warning.m4: Enable -Wmissing-prototypes.
378
e63ee24f
TT
3792020-03-08 Tom Tromey <tom@tromey.com>
380
381 * gdb_binary_search.h: Fix two typos.
382
20ea4a60
AB
3832020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
384
385 * .dir-locals.el: New file.
386
3d1e5a43
VP
3872020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com>
388
389 * configure.ac: Added call development.sh.
390 * configure: Regenerate.
391
842806cb
TBA
3922020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
393
394 * .gitattributes: New file.
395
89725b0d
SM
3962020-03-03 Simon Marchi <simon.marchi@efficios.com>
397
398 * Makefile.in: Re-generate.
399
d7592e97
SDJ
4002020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
401
402 * gdb-dlfcn.h (gdb_dlopen): Update comment.
403
9f1528a1
AB
4042020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
405
406 * configure: Regenerate.
407
1a627e7e
TT
4082020-02-14 Tom Tromey <tom@tromey.com>
409
410 * common-defs.h: Change path to gnulib/config.h.
411
06b3c5bd
SM
4122020-02-13 Simon Marchi <simon.marchi@efficios.com>
413
414 * Makefile.am: Rename source files from .c to .cc.
415 (CC, CFLAGS): Don't override.
416 (AM_CFLAGS): Rename to ...
417 (AM_CXXFLAGS): ... this.
418 * Makefile.in: Re-generate.
419 * %.c: Rename to %.cc.
420
898e7f60
SM
4212020-02-11 Simon Marchi <simon.marchi@efficios.com>
422
423 * configure: Re-generate.
424
8ddd8e0e
SM
4252020-02-11 Simon Marchi <simon.marchi@efficios.com>
426
427 * warning.m4: Add -Wstrict-null-sentinel.
428 * configure: Re-generate.
429
58df732b
SM
4302020-02-11 Simon Marchi <simon.marchi@efficios.com>
431
432 * warning.m4: Move here, from gdb/warning.m4.
433 * acinclude.m4: Update warning.m4 path.
434 * Makefile.in: Re-generate.
435
629c2962
SM
4362020-02-11 Simon Marchi <simon.marchi@efficios.com>
437
438 * acinclude.m4: Include ../gdb/warning.m4.
439 * configure.ac: Use AM_GDB_WARNINGS.
440 * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
441 * Makefile.in: Re-generate.
442 * configure: Re-generate.
443
85f0dd3c
TV
4442020-02-10 Tom de Vries <tdevries@suse.de>
445
446 * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
447
43198d20
CB
4482020-01-24 Christian Biesinger <cbiesinger@google.com>
449
450 * thread-pool.c (set_thread_name): Add an overload for the NetBSD
451 version of pthread_setname_np.
452
67b10306
PA
4532020-01-17 Pedro Alves <palves@redhat.com>
454
455 * Makefile.am: Append CXX_DIALECT to CXX.
456 * Makefile.in: Regenerate.
457
3684d331
PA
4582020-01-17 Pedro Alves <palves@redhat.com>
459
460 * configure.ac: Generate config.h instead of support-config.h.
461 * common-defs.h: Include <gdbsupport/config.h> instead of
462 <gdbsupport/support-config.h>.
463 * Makefile.in: Regenerate.
464 * configure: Regenerate.
465
0454ef42
TT
4662020-01-14 Tom Tromey <tom@tromey.com>
467
468 * Makefile.in: Rebuild.
469 * Makefile.am (check-defines): New target.
470 * check-defines.el: New file.
471
05ea2a05
TT
4722020-01-14 Tom Tromey <tom@tromey.com>
473
474 * configure, Makefile.in, aclocal.m4, common.m4, config.in:
475 Rebuild.
476 * common.m4 (GDB_AC_COMMON): Move many checks from
477 gdb/configure.ac.
478 * acinclude.m4: Include bfd.m4, ptrace.m4.
479
01027315
TT
4802020-01-14 Tom Tromey <tom@tromey.com>
481
482 * common-defs.h: Add GDBSERVER case. Update includes.
483 * acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
484 Makefile.am, Makefile.in, README: New files.
485 * Moved from ../gdb/gdbsupport/