1 2020-07-28 Tom de Vries <tdevries@suse.de>
4 * gdb_optional.h (class optional): Add volatile member to union
5 contaning m_dummy and m_item.
7 2020-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
9 * tdesc.h (struct target_desc_deleter): Moved here
10 from gdb/target-descriptions.h, extend comment.
11 (target_desc_up): Likewise.
13 2020-06-30 Tom Tromey <tromey@adacore.com>
16 * gdb_string_view.h (basic_string_view::to_string): Remove.
17 (gdb::to_string): New function.
19 2020-06-27 Simon Marchi <simon.marchi@efficios.com>
21 * tdesc.h (class print_xml_feature) <add_line>: Add
24 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
26 * tdesc.cc (print_xml_feature::visit_pre): Use add_line to add
27 output content, and call indent as needed in all overloaded
29 (print_xml_feature::visit_post): Likewise.
30 (print_xml_feature::visit): Likewise.
31 (print_xml_feature::add_line): Two new overloaded functions.
32 * tdesc.h (print_xml_feature::indent): New member function.
33 (print_xml_feature::add_line): Two new overloaded member
35 (print_xml_feature::m_depth): New member variable.
37 2020-06-23 Andrew Burgess <andrew.burgess@embecosm.com>
39 * tdesc.cc (print_xml_feature::visit_pre): Print compatible
41 * tdesc.h (struct tdesc_compatible_info): Declare new struct.
42 (tdesc_compatible_info_up): New typedef.
43 (tdesc_compatible_info_list): Declare new function.
44 (tdesc_compatible_info_arch_name): Declare new function.
46 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
48 * common-utils.cc, common-utils.h (stringify_argv): Drop
49 now unused function stringify_argv
51 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
53 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
54 Adapt to take a gdb::array_view<char * const> parameter.
57 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
59 * common-inferior.cc, common-inferior.h (construct_inferior_arguments):
60 Adapt to handle zero args and return a std::string.
63 2020-05-25 Michael Weghorn <m.weghorn@posteo.de>
65 * common-inferior.h, common-inferior.cc: (construct_inferior_arguments):
66 Move function here from gdb/infcmd.c, gdb/inferior.h
68 2020-05-14 Kevin Buettner <kevinb@redhat.com>
70 * btrace-common.h (btrace_cpu_vendor): Add CV_AMD.
72 2020-05-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
74 * common-regcache.h (regcache_read_pc_protected): New function
77 2020-04-28 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
79 * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask).
81 2020-04-27 Simon Marchi <simon.marchi@polymtl.ca>
83 * common-defs.h: Include cstdlib.h.
85 2020-04-20 Tom Tromey <tromey@adacore.com>
87 * scoped_mmap.h (scoped_mmap): Mark move constructor as noexcept.
88 Use initialization style. Don't call destroy.
89 * scoped_fd.h (class scoped_fd): Mark move constructor as
91 * gdb_ref_ptr.h (class ref_ptr): Mark move constructor as
94 2020-04-13 Tom Tromey <tom@tromey.com>
96 * event-loop.c: Move comment. Remove obsolete comment.
98 2020-04-13 Tom Tromey <tom@tromey.com>
100 * event-loop.h: Move from ../gdb/.
101 * event-loop.cc: Move from ../gdb/.
103 2020-04-13 Tom Tromey <tom@tromey.com>
105 * errors.h (flush_streams): Declare.
107 2020-04-13 Tom Tromey <tom@tromey.com>
109 * gdb_select.h: Move from ../gdb/.
111 2020-04-13 Tom Tromey <tom@tromey.com>
113 * config.in, configure: Rebuild.
114 * common.m4 (GDB_AC_COMMON): Check for poll.h, sys/poll.h,
115 sys/select.h, and poll.
117 2020-03-31 Tom Tromey <tromey@adacore.com>
119 * btrace-common.cc (btrace_data_append): Conditionally call
122 2020-03-27 Andrew Burgess <andrew.burgess@embecosm.com>
124 * create-version.sh: Resolve issues highlighted by shellcheck.
126 2020-03-20 Simon Marchi <simon.marchi@efficios.com>
128 * config.in: Re-generate.
129 * configure: Re-generate.
131 2020-03-17 Kamil Rytarowski <n54@gmx.com>
133 * common-defs.h: Include alloca.h if HAVE_ALLOCA_H is defined.
135 2020-03-12 Tom Tromey <tom@tromey.com>
137 * common-types.h: Remove GDBSERVER code.
138 (gdb_byte, CORE_ADDR, LONGEST, ULONGEST): Redefine.
139 * common-defs.h: Remove GDBSERVER code.
141 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
143 * selftest.m4: Moved from gdb/.
144 * acinclude.m4: Update path to selftest.m4.
146 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
148 * configure.ac: Don't source bfd/development.sh.
149 * common.m4: Source bfd/development.sh.
150 * configure: Re-generate.
152 2020-03-12 Simon Marchi <simon.marchi@efficios.com>
154 * configure: Re-generate.
156 2020-03-11 Simon Marchi <simon.marchi@efficios.com>
158 * configure: Re-generate.
159 * warning.m4: Enable -Wmissing-prototypes.
161 2020-03-08 Tom Tromey <tom@tromey.com>
163 * gdb_binary_search.h: Fix two typos.
165 2020-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
167 * .dir-locals.el: New file.
169 2020-03-05 Vyacheslav Petrishchev <vyachemail@gmail.com>
171 * configure.ac: Added call development.sh.
172 * configure: Regenerate.
174 2020-03-05 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
176 * .gitattributes: New file.
178 2020-03-03 Simon Marchi <simon.marchi@efficios.com>
180 * Makefile.in: Re-generate.
182 2020-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
184 * gdb-dlfcn.h (gdb_dlopen): Update comment.
186 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
188 * configure: Regenerate.
190 2020-02-14 Tom Tromey <tom@tromey.com>
192 * common-defs.h: Change path to gnulib/config.h.
194 2020-02-13 Simon Marchi <simon.marchi@efficios.com>
196 * Makefile.am: Rename source files from .c to .cc.
197 (CC, CFLAGS): Don't override.
198 (AM_CFLAGS): Rename to ...
199 (AM_CXXFLAGS): ... this.
200 * Makefile.in: Re-generate.
201 * %.c: Rename to %.cc.
203 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
205 * configure: Re-generate.
207 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
209 * warning.m4: Add -Wstrict-null-sentinel.
210 * configure: Re-generate.
212 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
214 * warning.m4: Move here, from gdb/warning.m4.
215 * acinclude.m4: Update warning.m4 path.
216 * Makefile.in: Re-generate.
218 2020-02-11 Simon Marchi <simon.marchi@efficios.com>
220 * acinclude.m4: Include ../gdb/warning.m4.
221 * configure.ac: Use AM_GDB_WARNINGS.
222 * Makefile.am: Set AM_CFLAGS to WARN_CFLAGS and WERROR_CFLAGS.
223 * Makefile.in: Re-generate.
224 * configure: Re-generate.
226 2020-02-10 Tom de Vries <tdevries@suse.de>
228 * environ.c (gdb_environ::set): Cast concat NULL sentinel to char *.
230 2020-01-24 Christian Biesinger <cbiesinger@google.com>
232 * thread-pool.c (set_thread_name): Add an overload for the NetBSD
233 version of pthread_setname_np.
235 2020-01-17 Pedro Alves <palves@redhat.com>
237 * Makefile.am: Append CXX_DIALECT to CXX.
238 * Makefile.in: Regenerate.
240 2020-01-17 Pedro Alves <palves@redhat.com>
242 * configure.ac: Generate config.h instead of support-config.h.
243 * common-defs.h: Include <gdbsupport/config.h> instead of
244 <gdbsupport/support-config.h>.
245 * Makefile.in: Regenerate.
246 * configure: Regenerate.
248 2020-01-14 Tom Tromey <tom@tromey.com>
250 * Makefile.in: Rebuild.
251 * Makefile.am (check-defines): New target.
252 * check-defines.el: New file.
254 2020-01-14 Tom Tromey <tom@tromey.com>
256 * configure, Makefile.in, aclocal.m4, common.m4, config.in:
258 * common.m4 (GDB_AC_COMMON): Move many checks from
260 * acinclude.m4: Include bfd.m4, ptrace.m4.
262 2020-01-14 Tom Tromey <tom@tromey.com>
264 * common-defs.h: Add GDBSERVER case. Update includes.
265 * acinclude.m4, aclocal.m4, config.in, configure, configure.ac,
266 Makefile.am, Makefile.in, README: New files.
267 * Moved from ../gdb/gdbsupport/