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