]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdbsupport/ChangeLog
gdb: move debug_prefixed_vprintf here
[thirdparty/binutils-gdb.git] / gdbsupport / ChangeLog
CommitLineData
ba988419
SM
12020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
2
3 * common-debug.cc (debug_prefixed_vprintf): Move here.
4 * common-debug.h (debug_prefixed_vprintf): Move here.
5
2554f6f5
SM
62020-10-02 Simon Marchi <simon.marchi@polymtl.ca>
7
8 * event-loop.h (add_file_handler): Add "name" parameter.
9 * event-loop.cc (struct file_handler) <name>: New field.
10 (create_file_handler): Add "name" parameter, assign it to file
11 handler.
12 (add_file_handler): Add "name" parameter.
13
e2a2a24a
KR
142020-10-01 Kamil Rytarowski <n54@gmx.com>
15
16 * agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros.
17
de38d64a
PA
182020-09-29 Pedro Alves <pedro@palves.net>
19
20 * valid-expr.h (CHECK_VALID_EXPR_INT): Make archetype a template
21 class instead of an alias template and adjust static_assert.
22
29363cfa
SM
232020-09-24 Simon Marchi <simon.marchi@efficios.com>
24
25 * event-loop.c (struct file_handler): Remove typedef, re-format.
26
e911c666
JB
272020-09-16 John Baldwin <jhb@FreeBSD.org>
28
29 * common.m4 (GDB_AC_COMMON): Refactor checks for kinfo_getfile().
30 * configure, config.in: Regenerate.
31
04902b09
PA
322020-09-14 Pedro Alves <pedro@palves.net>
33
34 * enum-flags.h: Include "traits.h".
35 (DEF_ENUM_FLAGS_TYPE): Declare a function instead of defining a
36 structure.
37 (enum_underlying_type): Update comment.
38 (namespace enum_flags_detail): New. Move struct zero_type here.
39 (EnumIsUnsigned, EnumIsSigned): New.
40 (class enum_flags): Make most methods constexpr.
41 (operator&=, operator|=, operator^=): Take an enum_flags instead
42 of an enum_type. Make rvalue ref versions deleted.
43 (operator enum_type()): Delete.
44 (operator&, operator|, operator^, operator~): Delete, moved out of
45 class.
46 (raw()): New method.
47 (is_enum_flags_enum_type_t): Declare.
48 (ENUM_FLAGS_GEN_BINOP, ENUM_FLAGS_GEN_COMPOUND_ASSIGN)
49 (ENUM_FLAGS_GEN_COMP): New. Use them to reimplement global
50 operators.
51 (operator~): Now constexpr and reimplemented.
52 (operator<<, operator>>): New deleted functions.
53 * valid-expr.h (CHECK_VALID_EXPR_5, CHECK_VALID_EXPR_6): New.
54
1945192c
PA
552020-09-14 Pedro Alves <pedro@palves.net>
56
57 * traits.h (struct nonesuch, struct detector, detected_or)
58 (detected_or_t, is_detected, detected_t, detected_or)
59 (detected_or_t, is_detected_exact, is_detected_convertible): New.
60 * valid-expr.h (CHECK_VALID_EXPR_INT): Use gdb::is_detected_exact.
61
48c9b433
KR
622020-09-10 Kamil Rytarowski <n54@gmx.com>
63
64 * eintr.h: New file.
65
ece5bc8a
SM
662020-08-13 Simon Marchi <simon.marchi@polymtl.ca>
67
68 * selftest.h (run_tests): Change parameter to array_view.
69 * selftest.c (run_tests): Change parameter to array_view and use
70 it.
71
c8693053
RO
722020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
73
74 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
75 * common.m4 (GDB_AC_COMMON): Use BFD_SYS_PROCFS_H to check for
76 <sys/procfs.h>.
77 * Makefile.in: Regenerate.
78 * configure, config.in: Regenerate.
79
866b34a1
TV
802020-07-28 Tom de Vries <tdevries@suse.de>
81
82 PR build/26281
83 * gdb_optional.h (class optional): Add volatile member to union
84 contaning m_dummy and m_item.
85
0e267416
AB
862020-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
87
88 * tdesc.h (struct target_desc_deleter): Moved here
89 from gdb/target-descriptions.h, extend comment.
90 (target_desc_up): Likewise.
91
5ac58899
TT
922020-06-30 Tom Tromey <tromey@adacore.com>
93
94 PR build/26183:
95 * gdb_string_view.h (basic_string_view::to_string): Remove.
96 (gdb::to_string): New function.
97
6db3031e
SM
982020-06-27 Simon Marchi <simon.marchi@efficios.com>
99
100 * tdesc.h (class print_xml_feature) <add_line>: Add
101 ATTRIBUTE_PRINTF.
102
caa7fd04
AB
1032020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
104
105 * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add
106 output content, and call indent as needed in all overloaded
107 variants.
108 (print_xml_feature::visit_post): Likewise.
109 (print_xml_feature::visit): Likewise.
110 (print_xml_feature::add_line): Two new overloaded functions.
111 * tdesc.h (print_xml_feature::indent): New member function.
112 (print_xml_feature::add_line): Two new overloaded member
113 functions.
114 (print_xml_feature::m_depth): New member variable.
115
fbf42f4e
AB
1162020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
117
118 * tdesc.cc (print_xml_feature::visit_pre): Print compatible
119 information.
120 * tdesc.h (struct tdesc_compatible_info): Declare new struct.
121 (tdesc_compatible_info_up): New typedef.
122 (tdesc_compatible_info_list): Declare new function.
123 (tdesc_compatible_info_arch_name): Declare new function.
124
7dbfcd6f
MW
1252020-05-25 Michael Weghorn <m.weghorn@posteo.de>
126
127 * common-utils.cc, common-utils.h (stringify_argv): Drop
128 now unused function stringify_argv
129
8c4b5f3d
MW
1302020-05-25 Michael Weghorn <m.weghorn@posteo.de>
131
132 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
133 Adapt to take a gdb::array_view<char * const> parameter.
134 Adapt call site.
135
c699004a
MW
1362020-05-25 Michael Weghorn <m.weghorn@posteo.de>
137
138 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
139 Adapt to handle zero args and return a std::string.
140 Adapt call site.
141
92651b1d
MW
1422020-05-25 Michael Weghorn <m.weghorn@posteo.de>
143
144 * common-inferior.h, common-inferior.cc: (construct_inferior_arguments):
145 Move function here from gdb/infcmd.c, gdb/inferior.h
146
a51951c2
KB
1472020-05-14 Kevin Buettner <kevinb@redhat.com>
148
149 * btrace-common.h (btrace_cpu_vendor): Add CV_AMD.
150
fc75c28b
TBA
1512020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
152
153 * common-regcache.h (regcache_read_pc_protected): New function
154 declaration.
155
32d1f47a
TBA
1562020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
157
158 * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask).
159
ff8885c3
SM
1602020-04-27 Simon Marchi <simon.marchi@polymtl.ca>
161
162 * common-defs.h: Include cstdlib.h.
163
0fa7617d
TT
1642020-04-20 Tom Tromey <tromey@adacore.com>
165
166 * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept.
167 Use initialization style. Don't call destroy.
168 * scoped_fd.h (class scoped_fd): Mark move constructor as
169 noexcept.
170 * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as
171 noexcept.
172
7990abcc
TT
1732020-04-13 Tom Tromey <tom@tromey.com>
174
175 * event-loop.c: Move comment. Remove obsolete comment.
176
400b5eca
TT
1772020-04-13 Tom Tromey <tom@tromey.com>
178
179 * event-loop.h: Move from ../gdb/.
180 * event-loop.cc: Move from ../gdb/.
181
c1cd3163
TT
1822020-04-13 Tom Tromey <tom@tromey.com>
183
184 * errors.h (flush_streams): Declare.
185
06cc9596
TT
1862020-04-13 Tom Tromey <tom@tromey.com>
187
188 * gdb_select.h: Move from ../gdb/.
189
8ae8e197
TT
1902020-04-13 Tom Tromey <tom@tromey.com>
191
192 * config.in, configure: Rebuild.
193 * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h,
194 sys/select.h, and poll.
195
af62665e
TT
1962020-03-31 Tom Tromey <tromey@adacore.com>
197
198 * btrace-common.cc (btrace_data_append): Conditionally call
199 memcpy.
200
8f2dae6a
AB
2012020-03-27 Andrew Burgess <andrew.burgess@embecosm.com>
202
203 * create-version.sh: Resolve issues highlighted by shellcheck.
204
c884cc46
SM
2052020-03-20 Simon Marchi <simon.marchi@efficios.com>
206
207 * config.in: Re-generate.
208 * configure: Re-generate.
209
d3e2a5e8
KR
2102020-03-17 Kamil Rytarowski <n54@gmx.com>
211
212 * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
213
21329136
TT
2142020-03-12 Tom Tromey <tom@tromey.com>
215
216 * common-types.h: Remove GDBSERVER code.
217 (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine.
218 * common-defs.h: Remove GDBSERVER code.
219
272cd5a3
SM
2202020-03-12 Simon Marchi <simon.marchi@efficios.com>
221
222 * selftest.m4: Moved from gdb/.
223 * acinclude.m4: Update path to selftest.m4.
224
db6878ac
SM
2252020-03-12 Simon Marchi <simon.marchi@efficios.com>
226
227 * configure.ac: Don't source bfd/development.sh.
228 * common.m4: Source bfd/development.sh.
229 * configure: Re-generate.
230
4d696a5c
SM
2312020-03-12 Simon Marchi <simon.marchi@efficios.com>
232
233 * configure: Re-generate.
234
a0761e34
SM
2352020-03-11 Simon Marchi <simon.marchi@efficios.com>
236
237 * configure: Re-generate.
238 * warning.m4: Enable -Wmissing-prototypes.
239
e63ee24f
TT
2402020-03-08 Tom Tromey <tom@tromey.com>
241
242 * gdb_binary_search.h: Fix two typos.
243
20ea4a60
AB
2442020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
245
246 * .dir-locals.el: New file.
247
3d1e5a43
VP
2482020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com>
249
250 * configure.ac: Added call development.sh.
251 * configure: Regenerate.
252
842806cb
TBA
2532020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
254
255 * .gitattributes: New file.
256
89725b0d
SM
2572020-03-03 Simon Marchi <simon.marchi@efficios.com>
258
259 * Makefile.in: Re-generate.
260
d7592e97
SDJ
2612020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
262
263 * gdb-dlfcn.h (gdb_dlopen): Update comment.
264
9f1528a1
AB
2652020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
266
267 * configure: Regenerate.
268
1a627e7e
TT
2692020-02-14 Tom Tromey <tom@tromey.com>
270
271 * common-defs.h: Change path to gnulib/config.h.
272
06b3c5bd
SM
2732020-02-13 Simon Marchi <simon.marchi@efficios.com>
274
275 * Makefile.am: Rename source files from .c to .cc.
276 (CC, CFLAGS): Don't override.
277 (AM_CFLAGS): Rename to ...
278 (AM_CXXFLAGS): ... this.
279 * Makefile.in: Re-generate.
280 * %.c: Rename to %.cc.
281
898e7f60
SM
2822020-02-11 Simon Marchi <simon.marchi@efficios.com>
283
284 * configure: Re-generate.
285
8ddd8e0e
SM
2862020-02-11 Simon Marchi <simon.marchi@efficios.com>
287
288 * warning.m4: Add -Wstrict-null-sentinel.
289 * configure: Re-generate.
290
58df732b
SM
2912020-02-11 Simon Marchi <simon.marchi@efficios.com>
292
293 * warning.m4: Move here, from gdb/warning.m4.
294 * acinclude.m4: Update warning.m4 path.
295 * Makefile.in: Re-generate.
296
629c2962
SM
2972020-02-11 Simon Marchi <simon.marchi@efficios.com>
298
299 * acinclude.m4: Include ../gdb/warning.m4.
300 * configure.ac: Use AM_GDB_WARNINGS.
301 * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
302 * Makefile.in: Re-generate.
303 * configure: Re-generate.
304
85f0dd3c
TV
3052020-02-10 Tom de Vries <tdevries@suse.de>
306
307 * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
308
43198d20
CB
3092020-01-24 Christian Biesinger <cbiesinger@google.com>
310
311 * thread-pool.c (set_thread_name): Add an overload for the NetBSD
312 version of pthread_setname_np.
313
67b10306
PA
3142020-01-17 Pedro Alves <palves@redhat.com>
315
316 * Makefile.am: Append CXX_DIALECT to CXX.
317 * Makefile.in: Regenerate.
318
3684d331
PA
3192020-01-17 Pedro Alves <palves@redhat.com>
320
321 * configure.ac: Generate config.h instead of support-config.h.
322 * common-defs.h: Include <gdbsupport/config.h> instead of
323 <gdbsupport/support-config.h>.
324 * Makefile.in: Regenerate.
325 * configure: Regenerate.
326
0454ef42
TT
3272020-01-14 Tom Tromey <tom@tromey.com>
328
329 * Makefile.in: Rebuild.
330 * Makefile.am (check-defines): New target.
331 * check-defines.el: New file.
332
05ea2a05
TT
3332020-01-14 Tom Tromey <tom@tromey.com>
334
335 * configure, Makefile.in, aclocal.m4, common.m4, config.in:
336 Rebuild.
337 * common.m4 (GDB_AC_COMMON): Move many checks from
338 gdb/configure.ac.
339 * acinclude.m4: Include bfd.m4, ptrace.m4.
340
01027315
TT
3412020-01-14 Tom Tromey <tom@tromey.com>
342
343 * common-defs.h: Add GDBSERVER case. Update includes.
344 * acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
345 Makefile.am, Makefile.in, README: New files.
346 * Moved from ../gdb/gdbsupport/