[gdb/tdep] Handle si_addr_bnd in compat_siginfo_from_siginfo
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2021-01-18 Tom de Vries <tdevries@suse.de>
2
3 PR tdep/27172
4 * nat/amd64-linux-siginfo.c (cpt_si_lower, cpt_si_upper, SEGV_BNDERR):
5 New macro.
6 (compat_siginfo_from_siginfo): Copy cpt_si_lower and cpt_si_upper
7 for SEGV_BNDERR.
8
9 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
10
11 * remote.c (class remote_target) <remote_hostio_send_command,
12 remote_hostio_parse_result>: Constify parameter.
13 (remote_hostio_parse_result): Likewise.
14 (remote_target::remote_hostio_send_command): Adjust.
15 (remote_target::remote_hostio_pread_vFile): Adjust.
16 (remote_target::fileio_readlink): Adjust.
17 (remote_target::fileio_fstat): Adjust.
18
19 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
20
21 * remote.c (remote_target::start_remote): Move wait_status to
22 narrower scope.
23
24 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
25
26 * remote.c (class remote_target):
27 <add_current_inferior_and_thread>: Constify parameter.
28 (stop_reply_extract_thread): Likewise.
29 (remote_target::get_current_thread): Likewise.
30 (remote_target::add_current_inferior_and_thread): Likewise.
31
32 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
33
34 * remote.c (class remote_target)
35 <remote_unpack_thread_info_response,
36 parse_threadlist_response>: Constify parameter and/or return
37 value and or local variable.
38 (stub_unpack_int): Likewise.
39 (unpack_nibble): Likewise.
40 (unpack_byte): Likewise.
41 (unpack_int): Likewise.
42 (unpack_string): Likewise.
43 (unpack_threadid): Likewise.
44 (remote_target::remote_unpack_thread_info_response): Likewise.
45 (remote_target::parse_threadlist_response): Likewise.
46
47 2021-01-15 Andrew Burgess <andrew.burgess@embecosm.com>
48
49 * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0.
50
51 2021-01-14 Lancelot Six <lsix@lancelotsix.com>
52
53 * MAINTAINERS (Write After Approval): Add myself.
54
55 2021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
56
57 * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error
58 because is_trivially_default_constructible was first implemented with
59 gcc-5.
60
61 2021-01-14 Tom de Vries <tdevries@suse.de>
62
63 PR breakpoints/27151
64 * objfiles.h (in_plt_section): Handle .plt.sec.
65
66 2021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
67
68 PR gdb/26819
69 * remote.c
70 (remote_target::select_thread_for_ambiguous_stop_reply): New
71 member function.
72 (remote_target::process_stop_reply): Call
73 select_thread_for_ambiguous_stop_reply.
74
75 2021-01-13 Simon Marchi <simon.marchi@efficios.com>
76
77 * record-btrace.c (class record_btrace_target): Remove.
78 (record_btrace_target::commit_resume): Remove.
79 * record-full.c (class record_full_target): Remove.
80 (record_full_target::commit_resume): Remove.
81
82 2021-01-13 Simon Marchi <simon.marchi@efficios.com>
83
84 * remote.c (enum class resume_state): New.
85 (struct resumed_pending_vcont_info): New.
86 (struct remote_thread_info) <resume_state, set_not_resumed,
87 set_resumed_pending_vcont, resumed_pending_vcont_info,
88 set_resumed, m_resume_state, m_resumed_pending_vcont_info>:
89 New.
90 <last_resume_step, last_resume_sig, vcont_resumed>: Remove.
91 (remote_target::remote_add_thread): Adjust.
92 (remote_target::process_initial_stop_replies): Adjust.
93 (remote_target::resume): Adjust.
94 (remote_target::commit_resume): Rely on state in
95 remote_thread_info and not on tp->executing.
96 (remote_target::process_stop_reply): Adjust.
97
98 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
99
100 * arc-tdep.h (arc_debug_printf): New.
101 * arc-tdep.c: Use arc_debug_printf.
102 * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use.
103 * arc-linux-tdep.c (arc_linux_debug_printf): Add and use.
104 * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use.
105
106 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
107
108 * arc-tdep.h (arc_debug): Change type to bool.
109 * arc-tdep.c (arc_debug): Change type to bool.
110 (arc_analyze_prologue): Adjust.
111 (_initialize_arc_tdep): Use add_setshow_boolean_cmd.
112 * arc-linux-nat.c (ps_get_thread_area): Adjust.
113
114 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
115
116 * auto-load.c (auto_load_objfile_script_1): Use bool.
117 (execute_script_contents): Use bool.
118
119 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
120
121 * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move
122 comment here.
123 * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move
124 comment to header.
125 * extension-priv.h (struct extension_language_script_ops)
126 <auto_load_enabled>: Return bool.
127 * extension.h (ext_lang_auto_load_enabled): Return bool, move
128 comment here.
129 * extension.c (ext_lang_auto_load_enabled): Return bool, move
130 comment to header.
131 * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool,
132 move comment here.
133 * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool,
134 move comment to header.
135 * python/python-header.h (gdbpy_auto_load_enabled): Return bool,
136 move comment here.
137 * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool,
138 move comment to header.
139
140 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
141
142 * auto-load.h (file_is_auto_load_safe): Change return type to
143 bool, move comment here.
144 * auto-load.c (file_is_auto_load_safe): Change return type and
145 advice_printed to bool. Move comment to header.
146
147 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
148
149 * jit.c (jit_debug_printf): New, use throughout file.
150
151 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
152
153 * infrun.c (normal_stop): Fix indentation.
154
155 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
156
157 * top.h (readnow_symbol_files, readnever_symbol_files): Move
158 declarations to ...
159 * symfile.h: ... here.
160 * symfile.c: Update doc.
161
162 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
163
164 * target.h (baud_rate, serial_parity): Move declarations...
165 * serial.h: ... here.
166 * main.c: Include serial.h.
167 * serial.c (baud_rate, serial_parity): Update doc.
168
169 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
170
171 * top.c (pre_init_ui_hook): Remove.
172
173 2021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
174
175 * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers.
176 (aarch64_vnv_type): Add "bf" type in h field of v registers.
177 * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated.
178 * features/aarch64-fpu.xml: Add bfloat16 type.
179
180 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
181
182 * expprint.c (dump_subexp_body_standard): Handle OP_BOOL.
183
184 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
185
186 * f-exp.y (dot_ops): Rename to...
187 (fortran_operators): ...this. Add a header comment. Add symbol
188 based operators.
189 (yylex): Update to use fortran_operators not dot_ops. Remove
190 special handling for '**', this is now included in
191 fortran_operators.
192
193 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
194
195 * arch/aarch64-insn.h (aarch64_debug_printf): New.
196 * arch/aarch64-insn.c: Use aarch64_debug_printf.
197 * aarch64-tdep.c: Use aarch64_debug_printf.
198
199 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
200
201 * solib-aix.c (solib_aix_debug_printf): New, use throughout
202 file.
203
204 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
205
206 * jit.c (jit_debug): Change type to bool.
207 (_initialize_jit): Adjust.
208
209 2021-01-09 Tom Tromey <tom@tromey.com>
210
211 PR compile/23672
212 * compile/compile.c (compile_to_object): Avoid crash when
213 osabi_triplet_regexp returns NULL.
214
215 2021-01-09 Tom Tromey <tom@tromey.com>
216
217 * tracepoint.h (class collection_list) <append_exp>: Take a
218 std::string.
219 * tracepoint.c (collection_list::append_exp): Take a std::string.
220 (encode_actions_1): Update.
221
222 2021-01-08 Tom Tromey <tromey@adacore.com>
223
224 * parse.c (parse_expression): Add void_context_p parameter. Use
225 parse_exp_in_context.
226 * printcmd.c (print_command_1): Change voidprint to bool. Pass to
227 parse_expression.
228 (print_command, call_command): Update.
229 * expression.h (parse_expression): Add void_context_p parameter.
230
231 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
232
233 * value.c (set_value_component_location): Adjust the VALUE_LVAL
234 for internalvar components that have a dynamic location.
235
236 2021-01-08 Tom de Vries <tdevries@suse.de>
237
238 PR gdb/26881
239 * breakpoint.c (create_exception_master_breakpoint_probe)
240 (create_exception_master_breakpoint_hook): Factor out
241 of ...
242 (create_exception_master_breakpoint): ... here. Only try to install
243 the master exception breakpoint in objfile.debug using the
244 _Unwind_DebugHook method, if the install using probes in objfile
245 failed.
246
247 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
248
249 * f-lang.c (fortran_value_subarray): Call value_from_component.
250
251 2021-01-07 Mike Frysinger <vapier@gentoo.org>
252
253 * remote-sim.c: Include memory-map.h.
254 (gdbsim_target): Define memory_map override.
255 (gdbsim_target::memory_map): Define.
256
257 2021-01-07 Tom Tromey <tromey@adacore.com>
258
259 * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix.
260
261 2021-01-07 Tom Tromey <tromey@adacore.com>
262
263 * ada-lang.c (add_component_interval): Start loop using vector's
264 updated size.
265
266 2021-01-06 Tom Tromey <tromey@adacore.com>
267
268 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>:
269 Do not cast result.
270 * valarith.c (fixed_point_binop): Handle multiplication
271 and division specially.
272 * valops.c (value_to_gdb_mpq): New function.
273 (value_cast_to_fixed_point): Use it.
274
275 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
276
277 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
278 Call wnoutrefresh instead of tui_win_info::refresh_window.
279
280 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
281
282 * tui/tui-source.c (tui_source_window::show_line_number):
283 Redraw second space after line number.
284
285 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
286
287 PR tui/26927
288 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
289 Fix source pad size in prefresh.
290 (tui_source_window_base::show_source_content): Grow source pad
291 if necessary.
292
293 2021-01-04 Mike Frysinger <vapier@gentoo.org>
294
295 * bfin-tdep.c (bfin_push_dummy_call): Use align_up.
296 (bfin_frame_align): Use align_down.
297
298 2021-01-04 Tom de Vries <tdevries@suse.de>
299
300 * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq
301 terminators that do not terminate anything.
302
303 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
304
305 * debug.c (debug_print_depth): New.
306 * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New.
307 (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New.
308 * infrun.c (start_step_over): Use
309 INFRUN_SCOPED_DEBUG_ENTER_EXIT.
310 (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and
311 INFRUN_SCOPED_DEBUG_START_END.
312 (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT.
313
314 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
315
316 * infrun.c (print_target_wait_results): Use infrun_debug_printf.
317
318 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
319
320 * utils.c (vfprintf_unfiltered): Print timestamp only when
321 previous debug output ended with a newline.
322
323 2021-01-04 Luis Machado <luis.machado@linaro.org>
324
325 Update all users of trad_frame_saved_reg to use the new member
326 functions.
327
328 Remote all struct keywords from declarations of trad_frame_saved_reg
329 types, except on forward declarations.
330
331 * aarch64-tdep.c: Update.
332 * alpha-mdebug-tdep.c: Update.
333 * alpha-tdep.c: Update.
334 * arc-tdep.c: Update.
335 * arm-tdep.c: Update.
336 * avr-tdep.c: Update.
337 * cris-tdep.c: Update.
338 * csky-tdep.c: Update.
339 * frv-tdep.c: Update.
340 * hppa-linux-tdep.c: Update.
341 * hppa-tdep.c: Update.
342 * hppa-tdep.h: Update.
343 * lm32-tdep.c: Update.
344 * m32r-linux-tdep.c: Update.
345 * m32r-tdep.c: Update.
346 * m68hc11-tdep.c: Update.
347 * mips-tdep.c: Update.
348 * moxie-tdep.c: Update.
349 * riscv-tdep.c: Update.
350 * rs6000-tdep.c: Update.
351 * s390-linux-tdep.c: Update.
352 * s390-tdep.c: Update.
353 * score-tdep.c: Update.
354 * sparc-netbsd-tdep.c: Update.
355 * sparc-sol2-tdep.c: Update.
356 * sparc64-fbsd-tdep.c: Update.
357 * sparc64-netbsd-tdep.c: Update.
358 * sparc64-obsd-tdep.c: Update.
359 * sparc64-sol2-tdep.c: Update.
360 * tilegx-tdep.c: Update.
361 * v850-tdep.c: Update.
362 * vax-tdep.c: Update.
363
364 * frame-unwind.c (frame_unwind_got_bytes): Make parameter const.
365 * frame-unwind.h (frame_unwind_got_bytes): Likewise.
366
367 * trad-frame.c: Update.
368 Remove TF_REG_* enum.
369 (trad_frame_alloc_saved_regs): Add a static assertion to check for
370 a trivially-constructible struct.
371 (trad_frame_reset_saved_regs): Adjust to use member function.
372 (trad_frame_value_p): Likewise.
373 (trad_frame_addr_p): Likewise.
374 (trad_frame_realreg_p): Likewise.
375 (trad_frame_value_bytes_p): Likewise.
376 (trad_frame_set_value): Likewise.
377 (trad_frame_set_realreg): Likewise.
378 (trad_frame_set_addr): Likewise.
379 (trad_frame_set_unknown): Likewise.
380 (trad_frame_set_value_bytes): Likewise.
381 (trad_frame_get_prev_register): Likewise.
382 * trad-frame.h: Update.
383 (trad_frame_saved_reg_kind): New enum.
384 (struct trad_frame_saved_reg) <addr, realreg, data>: Remove.
385 <m_kind, m_reg>: New member fields.
386 <set_value, set_realreg, set_addr, set_unknown, set_value_bytes>
387 <kind, value, realreg, addr, value_bytes, is_value, is_realreg>
388 <is_addr, is_unknown, is_value_bytes>: New member functions.
389
390 2021-01-02 Simon Marchi <simon.marchi@polymtl.ca>
391
392 * target-float.c: Fix typos.
393
394 2021-01-02 Hannes Domani <ssbssa@yahoo.de>
395
396 * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer.
397
398 2021-01-01 Joel Brobecker <brobecker@adacore.com>
399
400 * gdbarch.sh: Update copyright year range.
401
402 2021-01-01 Joel Brobecker <brobecker@adacore.com>
403
404 Update copyright year range in copyright header of all GDB files.
405
406 2021-01-01 Joel Brobecker <brobecker@adacore.com>
407
408 * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
409 to the list of directories to update.
410
411 2021-01-01 Joel Brobecker <brobecker@adacore.com>
412
413 * top.c (print_gdb_version): Update copyright year.
414
415 2021-01-01 Joel Brobecker <brobecker@adacore.com>
416
417 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020.
418
419 For older changes see ChangeLog-2020.
420 \f
421 Local Variables:
422 mode: change-log
423 left-margin: 8
424 fill-column: 74
425 version-control: never
426 coding: utf-8
427 End:
This page took 0.0406 seconds and 5 git commands to generate.