]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdbsupport/ChangeLog
gdb: make debug_infrun a bool
[thirdparty/binutils-gdb.git] / gdbsupport / ChangeLog
CommitLineData
74b773fc
SM
12020-12-11 Simon Marchi <simon.marchi@polymtl.ca>
2
3 * common-debug.h (debug_prefixed_printf_cond): New.
4 * event-loop.h (event_loop_debug_printf): Use
5 debug_prefixed_printf_cond.
6
60a7223f
AF
72020-12-08 Alexander Fedotov <alfedotov@gmail.com>
8
9 * pathstuff.cc (get_standard_cache_dir): Use LOCALAPPDATA environment
10 variable when running on Windows.
11
54e75f29
AB
122020-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
13
14 * tdesc.cc (print_xml_feature::visit): Print enum fields using
15 'evalue' syntax.
16
4f36e61b
CC
172020-12-01 Chungyi Chi <demonic@csie.io>
18
19 * tdesc.cc (print_xml_feature::visit): Print enum size attribute.
20
14f62a09
TT
212020-11-20 Tom Tromey <tromey@adacore.com>
22
23 * thread-pool.cc (thread_pool::set_thread_count): Ignore system
24 errors.
25
6c51cf51
TT
262020-11-10 Tom Tromey <tromey@adacore.com>
27
28 PR build/26848:
29 * pathstuff.h: Move include block here...
30 * pathstuff.cc: ... from here.
31
8768c3e3
TT
322020-11-02 Tom Tromey <tom@tromey.com>
33
34 * pathstuff.h (get_standard_config_dir): Declare.
35 * pathstuff.cc (get_standard_config_dir): New function.
36
dda83cd7
SM
372020-11-02 Simon Marchi <simon.marchi@efficios.com>
38
39 * common-exceptions.h: Fix indentation.
40 * event-loop.cc: Fix indentation.
41 * fileio.cc: Fix indentation.
42 * filestuff.cc: Fix indentation.
43 * gdb-dlfcn.cc: Fix indentation.
44 * gdb_string_view.h: Fix indentation.
45 * job-control.cc: Fix indentation.
46 * signals.cc: Fix indentation.
47
17417fb0
SM
482020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
49
50 * common-debug.cc (debug_prefixed_printf): New.
51 * common-debug.h (debug_prefixed_printf): New declaration.
52 * event-loop.cc (event_loop_debug_printf_1): Remove.
53 * event-loop.h (event_loop_debug_printf_1): Remove.
54 (event_loop_debug_printf): Use debug_prefixed_printf.
55 (event_loop_ui_debug_printf): Use debug_prefixed_printf.
56
b9442ec1
SM
572020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
58
59 * common.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
60 AC_LANG_PROGRAM.
61 * configure: Re-generate.
62
15dabc52
SM
632020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
64
65 * common.m4: Replace AC_FUNC_VFORK with AC_FUNC_FORK.
66
864ca435
SM
672020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
68
69 * configure: Re-generate.
70 * warning.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
71 AC_LANG_PROGRAM.
72
5164c117
SM
732020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
74
75 * configure: Re-generate.
76 * ptrace.m4: Replace AC_TRY_COMPILE with AC_COMPILE_IFELSE +
77 AC_LANG_PROGRAM.
78
b6fb30ed
SM
792020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
80
81 * configure: Re-generate.
82 * ptrace.m4: Re-indent.
83
e41fda1d
SM
842020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
85
86 * aclocal.m4: Re-generate.
87 * configure: Re-generate.
88 * configure.ac: Remove AM_PROG_CC_STDC.
89
91e1a0ed
SM
902020-10-31 Simon Marchi <simon.marchi@polymtl.ca>
91
92 * configure.ac: Use AC_CANONICAL_{BUILD,HOST,TARGET} instead of
93 AC_CANONICAL_SYSTEM.
94 * configure: Re-generate.
95
d744f0f9
PA
962020-10-26 Pedro Alves <pedro@palves.net>
97
98 * eintr.h (handle_eintr): Replace Ret template parameter with
99 ErrorValType. Use it as type of the failure value. Deduce the
100 function's return type using decltype. Use lowercase for function
101 parameter names.
102
006811bc
SM
1032020-10-25 Simon Marchi <simon.marchi@polymtl.ca>
104
105 * Makefile.in: Re-generate.
106 * acinclude.m4: Update ptrace.m4 path.
107 * ptrace.m4: Move here.
108
51a948fd
AB
1092020-10-08 Andrew Burgess <andrew.burgess@embecosm.com>
110
111 * tdesc.h (allocate_target_description): Update return type.
112
4a72de73
TT
1132020-10-07 Tom Tromey <tromey@adacore.com>
114
115 * Makefile.in: Rebuild.
116 * Makefile.am (libgdbsupport_a_SOURCES): Add search.cc.
117 * search.h: New file.
118 * search.cc: New file.
119
6b01403b
SM
1202020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
121
122 * event-loop.h (debug_event_loop): New variable declaration.
123 (event_loop_debug_printf_1): New function declaration.
124 (event_loop_debug_printf): New macro.
125 * event-loop.cc (debug_event_loop): New variable.
126 (handle_file_event): Add debug print.
127 (event_loop_debug_printf_1): New function.
128
ba988419
SM
1292020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
130
131 * common-debug.cc (debug_prefixed_vprintf): Move here.
132 * common-debug.h (debug_prefixed_vprintf): Move here.
133
2554f6f5
SM
1342020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
135
136 * event-loop.h (add_file_handler): Add "name" parameter.
137 * event-loop.cc (struct file_handler) <name>: New field.
138 (create_file_handler): Add "name" parameter, assign it to file
139 handler.
140 (add_file_handler): Add "name" parameter.
141
e2a2a24a
KR
1422020-10-01 Kamil Rytarowski <n54@gmx.com>
143
144 * agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros.
145
de38d64a
PA
1462020-09-29 Pedro Alves <pedro@palves.net>
147
148 * valid-expr.h (CHECK_VALID_EXPR_INT): Make archetype a template
149 class instead of an alias template and adjust static_assert.
150
29363cfa
SM
1512020-09-24 Simon Marchi <simon.marchi@efficios.com>
152
153 * event-loop.c (struct file_handler): Remove typedef, re-format.
154
e911c666
JB
1552020-09-16 John Baldwin <jhb@FreeBSD.org>
156
157 * common.m4 (GDB_AC_COMMON): Refactor checks for kinfo_getfile().
158 * configure, config.in: Regenerate.
159
04902b09
PA
1602020-09-14 Pedro Alves <pedro@palves.net>
161
162 * enum-flags.h: Include "traits.h".
163 (DEF_ENUM_FLAGS_TYPE): Declare a function instead of defining a
164 structure.
165 (enum_underlying_type): Update comment.
166 (namespace enum_flags_detail): New. Move struct zero_type here.
167 (EnumIsUnsigned, EnumIsSigned): New.
168 (class enum_flags): Make most methods constexpr.
169 (operator&=, operator|=, operator^=): Take an enum_flags instead
170 of an enum_type. Make rvalue ref versions deleted.
171 (operator enum_type()): Delete.
172 (operator&, operator|, operator^, operator~): Delete, moved out of
173 class.
174 (raw()): New method.
175 (is_enum_flags_enum_type_t): Declare.
176 (ENUM_FLAGS_GEN_BINOP, ENUM_FLAGS_GEN_COMPOUND_ASSIGN)
177 (ENUM_FLAGS_GEN_COMP): New. Use them to reimplement global
178 operators.
179 (operator~): Now constexpr and reimplemented.
180 (operator<<, operator>>): New deleted functions.
181 * valid-expr.h (CHECK_VALID_EXPR_5, CHECK_VALID_EXPR_6): New.
182
1945192c
PA
1832020-09-14 Pedro Alves <pedro@palves.net>
184
185 * traits.h (struct nonesuch, struct detector, detected_or)
186 (detected_or_t, is_detected, detected_t, detected_or)
187 (detected_or_t, is_detected_exact, is_detected_convertible): New.
188 * valid-expr.h (CHECK_VALID_EXPR_INT): Use gdb::is_detected_exact.
189
48c9b433
KR
1902020-09-10 Kamil Rytarowski <n54@gmx.com>
191
192 * eintr.h: New file.
193
ece5bc8a
SM
1942020-08-13 Simon Marchi <simon.marchi@polymtl.ca>
195
196 * selftest.h (run_tests): Change parameter to array_view.
197 * selftest.c (run_tests): Change parameter to array_view and use
198 it.
199
c8693053
RO
2002020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
201
202 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
203 * common.m4 (GDB_AC_COMMON): Use BFD_SYS_PROCFS_H to check for
204 <sys/procfs.h>.
205 * Makefile.in: Regenerate.
206 * configure, config.in: Regenerate.
207
866b34a1
TV
2082020-07-28 Tom de Vries <tdevries@suse.de>
209
210 PR build/26281
211 * gdb_optional.h (class optional): Add volatile member to union
212 contaning m_dummy and m_item.
213
0e267416
AB
2142020-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
215
216 * tdesc.h (struct target_desc_deleter): Moved here
217 from gdb/target-descriptions.h, extend comment.
218 (target_desc_up): Likewise.
219
5ac58899
TT
2202020-06-30 Tom Tromey <tromey@adacore.com>
221
222 PR build/26183:
223 * gdb_string_view.h (basic_string_view::to_string): Remove.
224 (gdb::to_string): New function.
225
6db3031e
SM
2262020-06-27 Simon Marchi <simon.marchi@efficios.com>
227
228 * tdesc.h (class print_xml_feature) <add_line>: Add
229 ATTRIBUTE_PRINTF.
230
caa7fd04
AB
2312020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
232
233 * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add
234 output content, and call indent as needed in all overloaded
235 variants.
236 (print_xml_feature::visit_post): Likewise.
237 (print_xml_feature::visit): Likewise.
238 (print_xml_feature::add_line): Two new overloaded functions.
239 * tdesc.h (print_xml_feature::indent): New member function.
240 (print_xml_feature::add_line): Two new overloaded member
241 functions.
242 (print_xml_feature::m_depth): New member variable.
243
fbf42f4e
AB
2442020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
245
246 * tdesc.cc (print_xml_feature::visit_pre): Print compatible
247 information.
248 * tdesc.h (struct tdesc_compatible_info): Declare new struct.
249 (tdesc_compatible_info_up): New typedef.
250 (tdesc_compatible_info_list): Declare new function.
251 (tdesc_compatible_info_arch_name): Declare new function.
252
7dbfcd6f
MW
2532020-05-25 Michael Weghorn <m.weghorn@posteo.de>
254
255 * common-utils.cc, common-utils.h (stringify_argv): Drop
256 now unused function stringify_argv
257
8c4b5f3d
MW
2582020-05-25 Michael Weghorn <m.weghorn@posteo.de>
259
260 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
261 Adapt to take a gdb::array_view<char * const> parameter.
262 Adapt call site.
263
c699004a
MW
2642020-05-25 Michael Weghorn <m.weghorn@posteo.de>
265
266 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
267 Adapt to handle zero args and return a std::string.
268 Adapt call site.
269
92651b1d
MW
2702020-05-25 Michael Weghorn <m.weghorn@posteo.de>
271
272 * common-inferior.h, common-inferior.cc: (construct_inferior_arguments):
273 Move function here from gdb/infcmd.c, gdb/inferior.h
274
a51951c2
KB
2752020-05-14 Kevin Buettner <kevinb@redhat.com>
276
277 * btrace-common.h (btrace_cpu_vendor): Add CV_AMD.
278
fc75c28b
TBA
2792020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
280
281 * common-regcache.h (regcache_read_pc_protected): New function
282 declaration.
283
32d1f47a
TBA
2842020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
285
286 * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask).
287
ff8885c3
SM
2882020-04-27 Simon Marchi <simon.marchi@polymtl.ca>
289
290 * common-defs.h: Include cstdlib.h.
291
0fa7617d
TT
2922020-04-20 Tom Tromey <tromey@adacore.com>
293
294 * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept.
295 Use initialization style. Don't call destroy.
296 * scoped_fd.h (class scoped_fd): Mark move constructor as
297 noexcept.
298 * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as
299 noexcept.
300
7990abcc
TT
3012020-04-13 Tom Tromey <tom@tromey.com>
302
303 * event-loop.c: Move comment. Remove obsolete comment.
304
400b5eca
TT
3052020-04-13 Tom Tromey <tom@tromey.com>
306
307 * event-loop.h: Move from ../gdb/.
308 * event-loop.cc: Move from ../gdb/.
309
c1cd3163
TT
3102020-04-13 Tom Tromey <tom@tromey.com>
311
312 * errors.h (flush_streams): Declare.
313
06cc9596
TT
3142020-04-13 Tom Tromey <tom@tromey.com>
315
316 * gdb_select.h: Move from ../gdb/.
317
8ae8e197
TT
3182020-04-13 Tom Tromey <tom@tromey.com>
319
320 * config.in, configure: Rebuild.
321 * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h,
322 sys/select.h, and poll.
323
af62665e
TT
3242020-03-31 Tom Tromey <tromey@adacore.com>
325
326 * btrace-common.cc (btrace_data_append): Conditionally call
327 memcpy.
328
8f2dae6a
AB
3292020-03-27 Andrew Burgess <andrew.burgess@embecosm.com>
330
331 * create-version.sh: Resolve issues highlighted by shellcheck.
332
c884cc46
SM
3332020-03-20 Simon Marchi <simon.marchi@efficios.com>
334
335 * config.in: Re-generate.
336 * configure: Re-generate.
337
d3e2a5e8
KR
3382020-03-17 Kamil Rytarowski <n54@gmx.com>
339
340 * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
341
21329136
TT
3422020-03-12 Tom Tromey <tom@tromey.com>
343
344 * common-types.h: Remove GDBSERVER code.
345 (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine.
346 * common-defs.h: Remove GDBSERVER code.
347
272cd5a3
SM
3482020-03-12 Simon Marchi <simon.marchi@efficios.com>
349
350 * selftest.m4: Moved from gdb/.
351 * acinclude.m4: Update path to selftest.m4.
352
db6878ac
SM
3532020-03-12 Simon Marchi <simon.marchi@efficios.com>
354
355 * configure.ac: Don't source bfd/development.sh.
356 * common.m4: Source bfd/development.sh.
357 * configure: Re-generate.
358
4d696a5c
SM
3592020-03-12 Simon Marchi <simon.marchi@efficios.com>
360
361 * configure: Re-generate.
362
a0761e34
SM
3632020-03-11 Simon Marchi <simon.marchi@efficios.com>
364
365 * configure: Re-generate.
366 * warning.m4: Enable -Wmissing-prototypes.
367
e63ee24f
TT
3682020-03-08 Tom Tromey <tom@tromey.com>
369
370 * gdb_binary_search.h: Fix two typos.
371
20ea4a60
AB
3722020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
373
374 * .dir-locals.el: New file.
375
3d1e5a43
VP
3762020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com>
377
378 * configure.ac: Added call development.sh.
379 * configure: Regenerate.
380
842806cb
TBA
3812020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
382
383 * .gitattributes: New file.
384
89725b0d
SM
3852020-03-03 Simon Marchi <simon.marchi@efficios.com>
386
387 * Makefile.in: Re-generate.
388
d7592e97
SDJ
3892020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
390
391 * gdb-dlfcn.h (gdb_dlopen): Update comment.
392
9f1528a1
AB
3932020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
394
395 * configure: Regenerate.
396
1a627e7e
TT
3972020-02-14 Tom Tromey <tom@tromey.com>
398
399 * common-defs.h: Change path to gnulib/config.h.
400
06b3c5bd
SM
4012020-02-13 Simon Marchi <simon.marchi@efficios.com>
402
403 * Makefile.am: Rename source files from .c to .cc.
404 (CC, CFLAGS): Don't override.
405 (AM_CFLAGS): Rename to ...
406 (AM_CXXFLAGS): ... this.
407 * Makefile.in: Re-generate.
408 * %.c: Rename to %.cc.
409
898e7f60
SM
4102020-02-11 Simon Marchi <simon.marchi@efficios.com>
411
412 * configure: Re-generate.
413
8ddd8e0e
SM
4142020-02-11 Simon Marchi <simon.marchi@efficios.com>
415
416 * warning.m4: Add -Wstrict-null-sentinel.
417 * configure: Re-generate.
418
58df732b
SM
4192020-02-11 Simon Marchi <simon.marchi@efficios.com>
420
421 * warning.m4: Move here, from gdb/warning.m4.
422 * acinclude.m4: Update warning.m4 path.
423 * Makefile.in: Re-generate.
424
629c2962
SM
4252020-02-11 Simon Marchi <simon.marchi@efficios.com>
426
427 * acinclude.m4: Include ../gdb/warning.m4.
428 * configure.ac: Use AM_GDB_WARNINGS.
429 * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
430 * Makefile.in: Re-generate.
431 * configure: Re-generate.
432
85f0dd3c
TV
4332020-02-10 Tom de Vries <tdevries@suse.de>
434
435 * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
436
43198d20
CB
4372020-01-24 Christian Biesinger <cbiesinger@google.com>
438
439 * thread-pool.c (set_thread_name): Add an overload for the NetBSD
440 version of pthread_setname_np.
441
67b10306
PA
4422020-01-17 Pedro Alves <palves@redhat.com>
443
444 * Makefile.am: Append CXX_DIALECT to CXX.
445 * Makefile.in: Regenerate.
446
3684d331
PA
4472020-01-17 Pedro Alves <palves@redhat.com>
448
449 * configure.ac: Generate config.h instead of support-config.h.
450 * common-defs.h: Include <gdbsupport/config.h> instead of
451 <gdbsupport/support-config.h>.
452 * Makefile.in: Regenerate.
453 * configure: Regenerate.
454
0454ef42
TT
4552020-01-14 Tom Tromey <tom@tromey.com>
456
457 * Makefile.in: Rebuild.
458 * Makefile.am (check-defines): New target.
459 * check-defines.el: New file.
460
05ea2a05
TT
4612020-01-14 Tom Tromey <tom@tromey.com>
462
463 * configure, Makefile.in, aclocal.m4, common.m4, config.in:
464 Rebuild.
465 * common.m4 (GDB_AC_COMMON): Move many checks from
466 gdb/configure.ac.
467 * acinclude.m4: Include bfd.m4, ptrace.m4.
468
01027315
TT
4692020-01-14 Tom Tromey <tom@tromey.com>
470
471 * common-defs.h: Add GDBSERVER case. Update includes.
472 * acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
473 Makefile.am, Makefile.in, README: New files.
474 * Moved from ../gdb/gdbsupport/