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