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