]>
Commit | Line | Data |
---|---|---|
de9f6060 LM |
1 | 2021-01-15 Luis Machado <luis.machado@arm.com> |
2 | ||
3 | capability.cc (capability::to_str): Don't print parenthesis if there | |
4 | are no attributes. | |
5 | ||
a2d62a17 LM |
6 | 2020-12-30 Luis Machado <luis.machado@arm.com> |
7 | ||
8 | * capability.cc (capability::to_str): Fix compact printing | |
9 | format and documentation. | |
10 | * capability.h (capability::is_sealed): Fix wrong check. | |
11 | ||
e6d8fe43 LM |
12 | 2020-12-16 Luis Machado <luis.machado@arm.com> |
13 | ||
14 | * capability.cc (cap_short_perms_strings): Remove. | |
15 | (capability::is_null_derived): New member function. | |
16 | (capability::to_str): Document and handle new CHERY-style printing | |
17 | format. | |
18 | * capability.h (cap_constants): Document the CAP_SEAL_TYPE_* | |
19 | constants. | |
20 | (struct capability) <is_null_derived>: New member function prototype. | |
21 | ||
dcbd343a LM |
22 | 2020-11-11 Luis Machado <luis.machado@arm.com> |
23 | ||
24 | * capability.cc (cap_short_perms_strings): New static global. | |
25 | (capability::to_str): New argument COMPACT. Print contents based | |
26 | on the new argument. | |
27 | (capability::print): Update calls. | |
28 | * capability.h (capability::to_str): Update prototype and | |
29 | documentation. | |
30 | ||
d3f6d232 LM |
31 | 2020-11-11 Luis Machado <luis.machado@arm.com> |
32 | ||
33 | * capability.cc (capability::to_str): Rename "attributes" to | |
34 | "permissions". | |
35 | ||
295ea638 LM |
36 | 2020-11-11 Luis Machado <luis.machado@arm.com> |
37 | ||
38 | * tdesc.cc (tdesc_predefined_types): Update type names for | |
39 | capabilities. | |
40 | ||
6664edc5 LM |
41 | 2020-10-20 Luis Machado <luis.machado@arm.com> |
42 | ||
43 | * tdesc.cc (tdesc_predefined_types): Add new capability types. | |
44 | * tdesc.h (tdesc_type_kind) <TDESC_TYPE_CODE_CAPABILITY> | |
45 | <TDESC_TYPE_DATA_CAPABILITY, TDESC_TYPE_INTCAP> | |
46 | <TDESC_TYPE_UINTCAP>: New fields. | |
47 | ||
144cbdb3 LM |
48 | 2020-10-20 Luis Machado <luis.machado@arm.com> |
49 | ||
50 | * gdbsupport/Makefile.am: Regenerate. | |
51 | * gdbsupport/Makefile.in: Adjust to include gdbsupport/capability.*. | |
52 | * gdbsupport/capability.cc: New file. | |
53 | * gdbsupport/capability.h: New file. | |
54 | ||
51a948fd AB |
55 | 2020-10-08 Andrew Burgess <andrew.burgess@embecosm.com> |
56 | ||
57 | * tdesc.h (allocate_target_description): Update return type. | |
58 | ||
4a72de73 TT |
59 | 2020-10-07 Tom Tromey <tromey@adacore.com> |
60 | ||
61 | * Makefile.in: Rebuild. | |
62 | * Makefile.am (libgdbsupport_a_SOURCES): Add search.cc. | |
63 | * search.h: New file. | |
64 | * search.cc: New file. | |
65 | ||
6b01403b SM |
66 | 2020-10-02 Simon Marchi <simon.marchi@polymtl.ca> |
67 | ||
68 | * event-loop.h (debug_event_loop): New variable declaration. | |
69 | (event_loop_debug_printf_1): New function declaration. | |
70 | (event_loop_debug_printf): New macro. | |
71 | * event-loop.cc (debug_event_loop): New variable. | |
72 | (handle_file_event): Add debug print. | |
73 | (event_loop_debug_printf_1): New function. | |
74 | ||
ba988419 SM |
75 | 2020-10-02 Simon Marchi <simon.marchi@polymtl.ca> |
76 | ||
77 | * common-debug.cc (debug_prefixed_vprintf): Move here. | |
78 | * common-debug.h (debug_prefixed_vprintf): Move here. | |
79 | ||
2554f6f5 SM |
80 | 2020-10-02 Simon Marchi <simon.marchi@polymtl.ca> |
81 | ||
82 | * event-loop.h (add_file_handler): Add "name" parameter. | |
83 | * event-loop.cc (struct file_handler) <name>: New field. | |
84 | (create_file_handler): Add "name" parameter, assign it to file | |
85 | handler. | |
86 | (add_file_handler): Add "name" parameter. | |
87 | ||
e2a2a24a KR |
88 | 2020-10-01 Kamil Rytarowski <n54@gmx.com> |
89 | ||
90 | * agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros. | |
91 | ||
de38d64a PA |
92 | 2020-09-29 Pedro Alves <pedro@palves.net> |
93 | ||
94 | * valid-expr.h (CHECK_VALID_EXPR_INT): Make archetype a template | |
95 | class instead of an alias template and adjust static_assert. | |
96 | ||
29363cfa SM |
97 | 2020-09-24 Simon Marchi <simon.marchi@efficios.com> |
98 | ||
99 | * event-loop.c (struct file_handler): Remove typedef, re-format. | |
100 | ||
e911c666 JB |
101 | 2020-09-16 John Baldwin <jhb@FreeBSD.org> |
102 | ||
103 | * common.m4 (GDB_AC_COMMON): Refactor checks for kinfo_getfile(). | |
104 | * configure, config.in: Regenerate. | |
105 | ||
04902b09 PA |
106 | 2020-09-14 Pedro Alves <pedro@palves.net> |
107 | ||
108 | * enum-flags.h: Include "traits.h". | |
109 | (DEF_ENUM_FLAGS_TYPE): Declare a function instead of defining a | |
110 | structure. | |
111 | (enum_underlying_type): Update comment. | |
112 | (namespace enum_flags_detail): New. Move struct zero_type here. | |
113 | (EnumIsUnsigned, EnumIsSigned): New. | |
114 | (class enum_flags): Make most methods constexpr. | |
115 | (operator&=, operator|=, operator^=): Take an enum_flags instead | |
116 | of an enum_type. Make rvalue ref versions deleted. | |
117 | (operator enum_type()): Delete. | |
118 | (operator&, operator|, operator^, operator~): Delete, moved out of | |
119 | class. | |
120 | (raw()): New method. | |
121 | (is_enum_flags_enum_type_t): Declare. | |
122 | (ENUM_FLAGS_GEN_BINOP, ENUM_FLAGS_GEN_COMPOUND_ASSIGN) | |
123 | (ENUM_FLAGS_GEN_COMP): New. Use them to reimplement global | |
124 | operators. | |
125 | (operator~): Now constexpr and reimplemented. | |
126 | (operator<<, operator>>): New deleted functions. | |
127 | * valid-expr.h (CHECK_VALID_EXPR_5, CHECK_VALID_EXPR_6): New. | |
128 | ||
1945192c PA |
129 | 2020-09-14 Pedro Alves <pedro@palves.net> |
130 | ||
131 | * traits.h (struct nonesuch, struct detector, detected_or) | |
132 | (detected_or_t, is_detected, detected_t, detected_or) | |
133 | (detected_or_t, is_detected_exact, is_detected_convertible): New. | |
134 | * valid-expr.h (CHECK_VALID_EXPR_INT): Use gdb::is_detected_exact. | |
135 | ||
48c9b433 KR |
136 | 2020-09-10 Kamil Rytarowski <n54@gmx.com> |
137 | ||
138 | * eintr.h: New file. | |
139 | ||
ece5bc8a SM |
140 | 2020-08-13 Simon Marchi <simon.marchi@polymtl.ca> |
141 | ||
142 | * selftest.h (run_tests): Change parameter to array_view. | |
143 | * selftest.c (run_tests): Change parameter to array_view and use | |
144 | it. | |
145 | ||
c8693053 RO |
146 | 2020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
147 | ||
148 | * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS. | |
149 | * common.m4 (GDB_AC_COMMON): Use BFD_SYS_PROCFS_H to check for | |
150 | <sys/procfs.h>. | |
151 | * Makefile.in: Regenerate. | |
152 | * configure, config.in: Regenerate. | |
153 | ||
866b34a1 TV |
154 | 2020-07-28 Tom de Vries <tdevries@suse.de> |
155 | ||
156 | PR build/26281 | |
157 | * gdb_optional.h (class optional): Add volatile member to union | |
158 | contaning m_dummy and m_item. | |
159 | ||
0e267416 AB |
160 | 2020-07-17 Andrew Burgess <andrew.burgess@embecosm.com> |
161 | ||
162 | * tdesc.h (struct target_desc_deleter): Moved here | |
163 | from gdb/target-descriptions.h, extend comment. | |
164 | (target_desc_up): Likewise. | |
165 | ||
5ac58899 TT |
166 | 2020-06-30 Tom Tromey <tromey@adacore.com> |
167 | ||
168 | PR build/26183: | |
169 | * gdb_string_view.h (basic_string_view::to_string): Remove. | |
170 | (gdb::to_string): New function. | |
171 | ||
6db3031e SM |
172 | 2020-06-27 Simon Marchi <simon.marchi@efficios.com> |
173 | ||
174 | * tdesc.h (class print_xml_feature) <add_line>: Add | |
175 | ATTRIBUTE_PRINTF. | |
176 | ||
caa7fd04 AB |
177 | 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com> |
178 | ||
179 | * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add | |
180 | output content, and call indent as needed in all overloaded | |
181 | variants. | |
182 | (print_xml_feature::visit_post): Likewise. | |
183 | (print_xml_feature::visit): Likewise. | |
184 | (print_xml_feature::add_line): Two new overloaded functions. | |
185 | * tdesc.h (print_xml_feature::indent): New member function. | |
186 | (print_xml_feature::add_line): Two new overloaded member | |
187 | functions. | |
188 | (print_xml_feature::m_depth): New member variable. | |
189 | ||
fbf42f4e AB |
190 | 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com> |
191 | ||
192 | * tdesc.cc (print_xml_feature::visit_pre): Print compatible | |
193 | information. | |
194 | * tdesc.h (struct tdesc_compatible_info): Declare new struct. | |
195 | (tdesc_compatible_info_up): New typedef. | |
196 | (tdesc_compatible_info_list): Declare new function. | |
197 | (tdesc_compatible_info_arch_name): Declare new function. | |
198 | ||
7dbfcd6f MW |
199 | 2020-05-25 Michael Weghorn <m.weghorn@posteo.de> |
200 | ||
201 | * common-utils.cc, common-utils.h (stringify_argv): Drop | |
202 | now unused function stringify_argv | |
203 | ||
8c4b5f3d MW |
204 | 2020-05-25 Michael Weghorn <m.weghorn@posteo.de> |
205 | ||
206 | * common-inferior.cc, common-inferior.h (construct_inferior_arguments): | |
207 | Adapt to take a gdb::array_view<char * const> parameter. | |
208 | Adapt call site. | |
209 | ||
c699004a MW |
210 | 2020-05-25 Michael Weghorn <m.weghorn@posteo.de> |
211 | ||
212 | * common-inferior.cc, common-inferior.h (construct_inferior_arguments): | |
213 | Adapt to handle zero args and return a std::string. | |
214 | Adapt call site. | |
215 | ||
92651b1d MW |
216 | 2020-05-25 Michael Weghorn <m.weghorn@posteo.de> |
217 | ||
218 | * common-inferior.h, common-inferior.cc: (construct_inferior_arguments): | |
219 | Move function here from gdb/infcmd.c, gdb/inferior.h | |
220 | ||
a51951c2 KB |
221 | 2020-05-14 Kevin Buettner <kevinb@redhat.com> |
222 | ||
223 | * btrace-common.h (btrace_cpu_vendor): Add CV_AMD. | |
224 | ||
fc75c28b TBA |
225 | 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> |
226 | ||
227 | * common-regcache.h (regcache_read_pc_protected): New function | |
228 | declaration. | |
229 | ||
32d1f47a TBA |
230 | 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> |
231 | ||
232 | * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask). | |
233 | ||
ff8885c3 SM |
234 | 2020-04-27 Simon Marchi <simon.marchi@polymtl.ca> |
235 | ||
236 | * common-defs.h: Include cstdlib.h. | |
237 | ||
0fa7617d TT |
238 | 2020-04-20 Tom Tromey <tromey@adacore.com> |
239 | ||
240 | * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept. | |
241 | Use initialization style. Don't call destroy. | |
242 | * scoped_fd.h (class scoped_fd): Mark move constructor as | |
243 | noexcept. | |
244 | * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as | |
245 | noexcept. | |
246 | ||
7990abcc TT |
247 | 2020-04-13 Tom Tromey <tom@tromey.com> |
248 | ||
249 | * event-loop.c: Move comment. Remove obsolete comment. | |
250 | ||
400b5eca TT |
251 | 2020-04-13 Tom Tromey <tom@tromey.com> |
252 | ||
253 | * event-loop.h: Move from ../gdb/. | |
254 | * event-loop.cc: Move from ../gdb/. | |
255 | ||
c1cd3163 TT |
256 | 2020-04-13 Tom Tromey <tom@tromey.com> |
257 | ||
258 | * errors.h (flush_streams): Declare. | |
259 | ||
06cc9596 TT |
260 | 2020-04-13 Tom Tromey <tom@tromey.com> |
261 | ||
262 | * gdb_select.h: Move from ../gdb/. | |
263 | ||
8ae8e197 TT |
264 | 2020-04-13 Tom Tromey <tom@tromey.com> |
265 | ||
266 | * config.in, configure: Rebuild. | |
267 | * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h, | |
268 | sys/select.h, and poll. | |
269 | ||
af62665e TT |
270 | 2020-03-31 Tom Tromey <tromey@adacore.com> |
271 | ||
272 | * btrace-common.cc (btrace_data_append): Conditionally call | |
273 | memcpy. | |
274 | ||
8f2dae6a AB |
275 | 2020-03-27 Andrew Burgess <andrew.burgess@embecosm.com> |
276 | ||
277 | * create-version.sh: Resolve issues highlighted by shellcheck. | |
278 | ||
c884cc46 SM |
279 | 2020-03-20 Simon Marchi <simon.marchi@efficios.com> |
280 | ||
281 | * config.in: Re-generate. | |
282 | * configure: Re-generate. | |
283 | ||
d3e2a5e8 KR |
284 | 2020-03-17 Kamil Rytarowski <n54@gmx.com> |
285 | ||
286 | * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined. | |
287 | ||
21329136 TT |
288 | 2020-03-12 Tom Tromey <tom@tromey.com> |
289 | ||
290 | * common-types.h: Remove GDBSERVER code. | |
291 | (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine. | |
292 | * common-defs.h: Remove GDBSERVER code. | |
293 | ||
272cd5a3 SM |
294 | 2020-03-12 Simon Marchi <simon.marchi@efficios.com> |
295 | ||
296 | * selftest.m4: Moved from gdb/. | |
297 | * acinclude.m4: Update path to selftest.m4. | |
298 | ||
db6878ac SM |
299 | 2020-03-12 Simon Marchi <simon.marchi@efficios.com> |
300 | ||
301 | * configure.ac: Don't source bfd/development.sh. | |
302 | * common.m4: Source bfd/development.sh. | |
303 | * configure: Re-generate. | |
304 | ||
4d696a5c SM |
305 | 2020-03-12 Simon Marchi <simon.marchi@efficios.com> |
306 | ||
307 | * configure: Re-generate. | |
308 | ||
a0761e34 SM |
309 | 2020-03-11 Simon Marchi <simon.marchi@efficios.com> |
310 | ||
311 | * configure: Re-generate. | |
312 | * warning.m4: Enable -Wmissing-prototypes. | |
313 | ||
e63ee24f TT |
314 | 2020-03-08 Tom Tromey <tom@tromey.com> |
315 | ||
316 | * gdb_binary_search.h: Fix two typos. | |
317 | ||
20ea4a60 AB |
318 | 2020-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
319 | ||
320 | * .dir-locals.el: New file. | |
321 | ||
3d1e5a43 VP |
322 | 2020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com> |
323 | ||
324 | * configure.ac: Added call development.sh. | |
325 | * configure: Regenerate. | |
326 | ||
842806cb TBA |
327 | 2020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> |
328 | ||
329 | * .gitattributes: New file. | |
330 | ||
89725b0d SM |
331 | 2020-03-03 Simon Marchi <simon.marchi@efficios.com> |
332 | ||
333 | * Makefile.in: Re-generate. | |
334 | ||
d7592e97 SDJ |
335 | 2020-02-28 Sergio Durigan Junior <sergiodj@redhat.com> |
336 | ||
337 | * gdb-dlfcn.h (gdb_dlopen): Update comment. | |
338 | ||
9f1528a1 AB |
339 | 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com> |
340 | ||
341 | * configure: Regenerate. | |
342 | ||
1a627e7e TT |
343 | 2020-02-14 Tom Tromey <tom@tromey.com> |
344 | ||
345 | * common-defs.h: Change path to gnulib/config.h. | |
346 | ||
06b3c5bd SM |
347 | 2020-02-13 Simon Marchi <simon.marchi@efficios.com> |
348 | ||
349 | * Makefile.am: Rename source files from .c to .cc. | |
350 | (CC, CFLAGS): Don't override. | |
351 | (AM_CFLAGS): Rename to ... | |
352 | (AM_CXXFLAGS): ... this. | |
353 | * Makefile.in: Re-generate. | |
354 | * %.c: Rename to %.cc. | |
355 | ||
898e7f60 SM |
356 | 2020-02-11 Simon Marchi <simon.marchi@efficios.com> |
357 | ||
358 | * configure: Re-generate. | |
359 | ||
8ddd8e0e SM |
360 | 2020-02-11 Simon Marchi <simon.marchi@efficios.com> |
361 | ||
362 | * warning.m4: Add -Wstrict-null-sentinel. | |
363 | * configure: Re-generate. | |
364 | ||
58df732b SM |
365 | 2020-02-11 Simon Marchi <simon.marchi@efficios.com> |
366 | ||
367 | * warning.m4: Move here, from gdb/warning.m4. | |
368 | * acinclude.m4: Update warning.m4 path. | |
369 | * Makefile.in: Re-generate. | |
370 | ||
629c2962 SM |
371 | 2020-02-11 Simon Marchi <simon.marchi@efficios.com> |
372 | ||
373 | * acinclude.m4: Include ../gdb/warning.m4. | |
374 | * configure.ac: Use AM_GDB_WARNINGS. | |
375 | * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS. | |
376 | * Makefile.in: Re-generate. | |
377 | * configure: Re-generate. | |
378 | ||
85f0dd3c TV |
379 | 2020-02-10 Tom de Vries <tdevries@suse.de> |
380 | ||
381 | * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *. | |
382 | ||
43198d20 CB |
383 | 2020-01-24 Christian Biesinger <cbiesinger@google.com> |
384 | ||
385 | * thread-pool.c (set_thread_name): Add an overload for the NetBSD | |
386 | version of pthread_setname_np. | |
387 | ||
67b10306 PA |
388 | 2020-01-17 Pedro Alves <palves@redhat.com> |
389 | ||
390 | * Makefile.am: Append CXX_DIALECT to CXX. | |
391 | * Makefile.in: Regenerate. | |
392 | ||
3684d331 PA |
393 | 2020-01-17 Pedro Alves <palves@redhat.com> |
394 | ||
395 | * configure.ac: Generate config.h instead of support-config.h. | |
396 | * common-defs.h: Include <gdbsupport/config.h> instead of | |
397 | <gdbsupport/support-config.h>. | |
398 | * Makefile.in: Regenerate. | |
399 | * configure: Regenerate. | |
400 | ||
0454ef42 TT |
401 | 2020-01-14 Tom Tromey <tom@tromey.com> |
402 | ||
403 | * Makefile.in: Rebuild. | |
404 | * Makefile.am (check-defines): New target. | |
405 | * check-defines.el: New file. | |
406 | ||
05ea2a05 TT |
407 | 2020-01-14 Tom Tromey <tom@tromey.com> |
408 | ||
409 | * configure, Makefile.in, aclocal.m4, common.m4, config.in: | |
410 | Rebuild. | |
411 | * common.m4 (GDB_AC_COMMON): Move many checks from | |
412 | gdb/configure.ac. | |
413 | * acinclude.m4: Include bfd.m4, ptrace.m4. | |
414 | ||
01027315 TT |
415 | 2020-01-14 Tom Tromey <tom@tromey.com> |
416 | ||
417 | * common-defs.h: Add GDBSERVER case. Update includes. | |
418 | * acinclude.m4, aclocal.m4, config.in, configure, configure.ac, | |
419 | Makefile.am, Makefile.in, README: New files. | |
420 | * Moved from ../gdb/gdbsupport/ |