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