1 2020-09-14 Pedro Alves <pedro@palves.net>
3 * traits.h (struct nonesuch, struct detector, detected_or)
4 (detected_or_t, is_detected, detected_t, detected_or)
5 (detected_or_t, is_detected_exact, is_detected_convertible): New.
6 * valid-expr.h (CHECK_VALID_EXPR_INT): Use gdb::is_detected_exact.
8 2020-09-10 Kamil Rytarowski <n54@gmx.com>
12 2020-08-13 Simon Marchi <simon.marchi@polymtl.ca>
14 * selftest.h (run_tests): Change parameter to array_view.
15 * selftest.c (run_tests): Change parameter to array_view and use
18 2020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
20 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
21 * common.m4 (GDB_AC_COMMON): Use BFD_SYS_PROCFS_H to check for
23 * Makefile.in: Regenerate.
24 * configure, config.in: Regenerate.
26 2020-07-28 Tom de Vries <tdevries@suse.de>
29 * gdb_optional.h (class optional): Add volatile member to union
30 contaning m_dummy and m_item.
32 2020-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
34 * tdesc.h (struct target_desc_deleter): Moved here
35 from gdb/target-descriptions.h, extend comment.
36 (target_desc_up): Likewise.
38 2020-06-30 Tom Tromey <tromey@adacore.com>
41 * gdb_string_view.h (basic_string_view::to_string): Remove.
42 (gdb::to_string): New function.
44 2020-06-27 Simon Marchi <simon.marchi@efficios.com>
46 * tdesc.h (class print_xml_feature) <add_line>: Add
49 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
51 * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add
52 output content, and call indent as needed in all overloaded
54 (print_xml_feature::visit_post): Likewise.
55 (print_xml_feature::visit): Likewise.
56 (print_xml_feature::add_line): Two new overloaded functions.
57 * tdesc.h (print_xml_feature::indent): New member function.
58 (print_xml_feature::add_line): Two new overloaded member
60 (print_xml_feature::m_depth): New member variable.
62 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
64 * tdesc.cc (print_xml_feature::visit_pre): Print compatible
66 * tdesc.h (struct tdesc_compatible_info): Declare new struct.
67 (tdesc_compatible_info_up): New typedef.
68 (tdesc_compatible_info_list): Declare new function.
69 (tdesc_compatible_info_arch_name): Declare new function.
71 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
73 * common-utils.cc, common-utils.h (stringify_argv): Drop
74 now unused function stringify_argv
76 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
78 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
79 Adapt to take a gdb::array_view<char * const> parameter.
82 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
84 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
85 Adapt to handle zero args and return a std::string.
88 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
90 * common-inferior.h, common-inferior.cc: (construct_inferior_arguments):
91 Move function here from gdb/infcmd.c, gdb/inferior.h
93 2020-05-14 Kevin Buettner <kevinb@redhat.com>
95 * btrace-common.h (btrace_cpu_vendor): Add CV_AMD.
97 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
99 * common-regcache.h (regcache_read_pc_protected): New function
102 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
104 * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask).
106 2020-04-27 Simon Marchi <simon.marchi@polymtl.ca>
108 * common-defs.h: Include cstdlib.h.
110 2020-04-20 Tom Tromey <tromey@adacore.com>
112 * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept.
113 Use initialization style. Don't call destroy.
114 * scoped_fd.h (class scoped_fd): Mark move constructor as
116 * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as
119 2020-04-13 Tom Tromey <tom@tromey.com>
121 * event-loop.c: Move comment. Remove obsolete comment.
123 2020-04-13 Tom Tromey <tom@tromey.com>
125 * event-loop.h: Move from ../gdb/.
126 * event-loop.cc: Move from ../gdb/.
128 2020-04-13 Tom Tromey <tom@tromey.com>
130 * errors.h (flush_streams): Declare.
132 2020-04-13 Tom Tromey <tom@tromey.com>
134 * gdb_select.h: Move from ../gdb/.
136 2020-04-13 Tom Tromey <tom@tromey.com>
138 * config.in, configure: Rebuild.
139 * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h,
140 sys/select.h, and poll.
142 2020-03-31 Tom Tromey <tromey@adacore.com>
144 * btrace-common.cc (btrace_data_append): Conditionally call
147 2020-03-27 Andrew Burgess <andrew.burgess@embecosm.com>
149 * create-version.sh: Resolve issues highlighted by shellcheck.
151 2020-03-20 Simon Marchi <simon.marchi@efficios.com>
153 * config.in: Re-generate.
154 * configure: Re-generate.
156 2020-03-17 Kamil Rytarowski <n54@gmx.com>
158 * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
160 2020-03-12 Tom Tromey <tom@tromey.com>
162 * common-types.h: Remove GDBSERVER code.
163 (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine.
164 * common-defs.h: Remove GDBSERVER code.
166 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
168 * selftest.m4: Moved from gdb/.
169 * acinclude.m4: Update path to selftest.m4.
171 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
173 * configure.ac: Don't source bfd/development.sh.
174 * common.m4: Source bfd/development.sh.
175 * configure: Re-generate.
177 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
179 * configure: Re-generate.
181 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
183 * configure: Re-generate.
184 * warning.m4: Enable -Wmissing-prototypes.
186 2020-03-08 Tom Tromey <tom@tromey.com>
188 * gdb_binary_search.h: Fix two typos.
190 2020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
192 * .dir-locals.el: New file.
194 2020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com>
196 * configure.ac: Added call development.sh.
197 * configure: Regenerate.
199 2020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
201 * .gitattributes: New file.
203 2020-03-03 Simon Marchi <simon.marchi@efficios.com>
205 * Makefile.in: Re-generate.
207 2020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
209 * gdb-dlfcn.h (gdb_dlopen): Update comment.
211 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
213 * configure: Regenerate.
215 2020-02-14 Tom Tromey <tom@tromey.com>
217 * common-defs.h: Change path to gnulib/config.h.
219 2020-02-13 Simon Marchi <simon.marchi@efficios.com>
221 * Makefile.am: Rename source files from .c to .cc.
222 (CC, CFLAGS): Don't override.
223 (AM_CFLAGS): Rename to ...
224 (AM_CXXFLAGS): ... this.
225 * Makefile.in: Re-generate.
226 * %.c: Rename to %.cc.
228 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
230 * configure: Re-generate.
232 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
234 * warning.m4: Add -Wstrict-null-sentinel.
235 * configure: Re-generate.
237 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
239 * warning.m4: Move here, from gdb/warning.m4.
240 * acinclude.m4: Update warning.m4 path.
241 * Makefile.in: Re-generate.
243 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
245 * acinclude.m4: Include ../gdb/warning.m4.
246 * configure.ac: Use AM_GDB_WARNINGS.
247 * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
248 * Makefile.in: Re-generate.
249 * configure: Re-generate.
251 2020-02-10 Tom de Vries <tdevries@suse.de>
253 * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
255 2020-01-24 Christian Biesinger <cbiesinger@google.com>
257 * thread-pool.c (set_thread_name): Add an overload for the NetBSD
258 version of pthread_setname_np.
260 2020-01-17 Pedro Alves <palves@redhat.com>
262 * Makefile.am: Append CXX_DIALECT to CXX.
263 * Makefile.in: Regenerate.
265 2020-01-17 Pedro Alves <palves@redhat.com>
267 * configure.ac: Generate config.h instead of support-config.h.
268 * common-defs.h: Include <gdbsupport/config.h> instead of
269 <gdbsupport/support-config.h>.
270 * Makefile.in: Regenerate.
271 * configure: Regenerate.
273 2020-01-14 Tom Tromey <tom@tromey.com>
275 * Makefile.in: Rebuild.
276 * Makefile.am (check-defines): New target.
277 * check-defines.el: New file.
279 2020-01-14 Tom Tromey <tom@tromey.com>
281 * configure, Makefile.in, aclocal.m4, common.m4, config.in:
283 * common.m4 (GDB_AC_COMMON): Move many checks from
285 * acinclude.m4: Include bfd.m4, ptrace.m4.
287 2020-01-14 Tom Tromey <tom@tromey.com>
289 * common-defs.h: Add GDBSERVER case. Update includes.
290 * acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
291 Makefile.am, Makefile.in, README: New files.
292 * Moved from ../gdb/gdbsupport/