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