]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
[gdb/testsuite] Fix gdb.fortran/array-slices.exp with -m32
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
17e89137
LS
12021-01-14 Lancelot Six <lsix@lancelotsix.com>
2
3 * MAINTAINERS (Write After Approval): Add myself.
4
58eadc4b
BE
52021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
6
7 * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error
8 because is_trivially_default_constructible was first implemented with
9 gcc-5.
10
5fae2a2c
TV
112021-01-14 Tom de Vries <tdevries@suse.de>
12
13 PR breakpoints/27151
14 * objfiles.h (in_plt_section): Handle .plt.sec.
15
8f66807b
AB
162021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
17
18 PR gdb/26819
19 * remote.c
20 (remote_target::select_thread_for_ambiguous_stop_reply): New
21 member function.
22 (remote_target::process_stop_reply): Call
23 select_thread_for_ambiguous_stop_reply.
24
bd497355
SM
252021-01-13 Simon Marchi <simon.marchi@efficios.com>
26
27 * record-btrace.c (class record_btrace_target): Remove.
28 (record_btrace_target::commit_resume): Remove.
29 * record-full.c (class record_full_target): Remove.
30 (record_full_target::commit_resume): Remove.
31
c9d22089
SM
322021-01-13 Simon Marchi <simon.marchi@efficios.com>
33
34 * remote.c (enum class resume_state): New.
35 (struct resumed_pending_vcont_info): New.
36 (struct remote_thread_info) <resume_state, set_not_resumed,
37 set_resumed_pending_vcont, resumed_pending_vcont_info,
38 set_resumed, m_resume_state, m_resumed_pending_vcont_info>:
39 New.
40 <last_resume_step, last_resume_sig, vcont_resumed>: Remove.
41 (remote_target::remote_add_thread): Adjust.
42 (remote_target::process_initial_stop_replies): Adjust.
43 (remote_target::resume): Adjust.
44 (remote_target::commit_resume): Rely on state in
45 remote_thread_info and not on tp->executing.
46 (remote_target::process_stop_reply): Adjust.
47
d8d1feb4
SM
482021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
49
50 * arc-tdep.h (arc_debug_printf): New.
51 * arc-tdep.c: Use arc_debug_printf.
52 * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use.
53 * arc-linux-tdep.c (arc_linux_debug_printf): Add and use.
54 * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use.
55
fb0f5031
SM
562021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
57
58 * arc-tdep.h (arc_debug): Change type to bool.
59 * arc-tdep.c (arc_debug): Change type to bool.
60 (arc_analyze_prologue): Adjust.
61 (_initialize_arc_tdep): Use add_setshow_boolean_cmd.
62 * arc-linux-nat.c (ps_get_thread_area): Adjust.
63
5bf7e91b
SM
642021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
65
66 * auto-load.c (auto_load_objfile_script_1): Use bool.
67 (execute_script_contents): Use bool.
68
db972fce
SM
692021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
70
71 * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move
72 comment here.
73 * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move
74 comment to header.
75 * extension-priv.h (struct extension_language_script_ops)
76 <auto_load_enabled>: Return bool.
77 * extension.h (ext_lang_auto_load_enabled): Return bool, move
78 comment here.
79 * extension.c (ext_lang_auto_load_enabled): Return bool, move
80 comment to header.
81 * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool,
82 move comment here.
83 * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool,
84 move comment to header.
85 * python/python-header.h (gdbpy_auto_load_enabled): Return bool,
86 move comment here.
87 * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool,
88 move comment to header.
89
5e12f48f
SM
902021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
91
92 * auto-load.h (file_is_auto_load_safe): Change return type to
93 bool, move comment here.
94 * auto-load.c (file_is_auto_load_safe): Change return type and
95 advice_printed to bool. Move comment to header.
96
54ca9002
SM
972021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
98
99 * jit.c (jit_debug_printf): New, use throughout file.
100
24a7f1b5
SM
1012021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
102
103 * infrun.c (normal_stop): Fix indentation.
104
fe7a351a
SM
1052021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
106
107 * top.h (readnow_symbol_files, readnever_symbol_files): Move
108 declarations to ...
109 * symfile.h: ... here.
110 * symfile.c: Update doc.
111
16e9019e
SM
1122021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
113
114 * target.h (baud_rate, serial_parity): Move declarations...
115 * serial.h: ... here.
116 * main.c: Include serial.h.
117 * serial.c (baud_rate, serial_parity): Update doc.
118
b2f2ae0d
SM
1192021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
120
121 * top.c (pre_init_ui_hook): Remove.
122
5291fe3c
SP
1232021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
124
125 * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers.
126 (aarch64_vnv_type): Add "bf" type in h field of v registers.
127 * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated.
128 * features/aarch64-fpu.xml: Add bfloat16 type.
129
ce38f5ed
AB
1302021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
131
132 * expprint.c (dump_subexp_body_standard): Handle OP_BOOL.
133
7c654b71
AB
1342021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
135
136 * f-exp.y (dot_ops): Rename to...
137 (fortran_operators): ...this. Add a header comment. Add symbol
138 based operators.
139 (yylex): Update to use fortran_operators not dot_ops. Remove
140 special handling for '**', this is now included in
141 fortran_operators.
142
c6185dce
SM
1432021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
144
145 * arch/aarch64-insn.h (aarch64_debug_printf): New.
146 * arch/aarch64-insn.c: Use aarch64_debug_printf.
147 * aarch64-tdep.c: Use aarch64_debug_printf.
148
eef401dc
SM
1492021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
150
151 * solib-aix.c (solib_aix_debug_printf): New, use throughout
152 file.
153
062eaacb
SM
1542021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
155
156 * jit.c (jit_debug): Change type to bool.
157 (_initialize_jit): Adjust.
158
54585eee
TT
1592021-01-09 Tom Tromey <tom@tromey.com>
160
161 PR compile/23672
162 * compile/compile.c (compile_to_object): Avoid crash when
163 osabi_triplet_regexp returns NULL.
164
bc167b6b
TT
1652021-01-09 Tom Tromey <tom@tromey.com>
166
167 * tracepoint.h (class collection_list) <append_exp>: Take a
168 std::string.
169 * tracepoint.c (collection_list::append_exp): Take a std::string.
170 (encode_actions_1): Update.
171
8fc48b79
TT
1722021-01-08 Tom Tromey <tromey@adacore.com>
173
174 * parse.c (parse_expression): Add void_context_p parameter. Use
175 parse_exp_in_context.
176 * printcmd.c (print_command_1): Change voidprint to bool. Pass to
177 parse_expression.
178 (print_command, call_command): Update.
179 * expression.h (parse_expression): Add void_context_p parameter.
180
3c8c6de2
AB
1812021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
182
183 * value.c (set_value_component_location): Adjust the VALUE_LVAL
184 for internalvar components that have a dynamic location.
185
1940319c
TV
1862021-01-08 Tom de Vries <tdevries@suse.de>
187
188 PR gdb/26881
189 * breakpoint.c (create_exception_master_breakpoint_probe)
190 (create_exception_master_breakpoint_hook): Factor out
191 of ...
192 (create_exception_master_breakpoint): ... here. Only try to install
193 the master exception breakpoint in objfile.debug using the
194 _Unwind_DebugHook method, if the install using probes in objfile
195 failed.
196
e3436813
AB
1972021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
198
199 * f-lang.c (fortran_value_subarray): Call value_from_component.
200
e904f56d
MF
2012021-01-07 Mike Frysinger <vapier@gentoo.org>
202
203 * remote-sim.c: Include memory-map.h.
204 (gdbsim_target): Define memory_map override.
205 (gdbsim_target::memory_map): Define.
206
959d6a67
TT
2072021-01-07 Tom Tromey <tromey@adacore.com>
208
209 * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix.
210
d4813f10
TT
2112021-01-07 Tom Tromey <tromey@adacore.com>
212
213 * ada-lang.c (add_component_interval): Start loop using vector's
214 updated size.
215
b49180ac
TT
2162021-01-06 Tom Tromey <tromey@adacore.com>
217
218 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>:
219 Do not cast result.
220 * valarith.c (fixed_point_binop): Handle multiplication
221 and division specially.
222 * valops.c (value_to_gdb_mpq): New function.
223 (value_cast_to_fixed_point): Use it.
224
55195361
HD
2252021-01-05 Hannes Domani <ssbssa@yahoo.de>
226
227 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
228 Call wnoutrefresh instead of tui_win_info::refresh_window.
229
1b6d4bb2
HD
2302021-01-05 Hannes Domani <ssbssa@yahoo.de>
231
232 * tui/tui-source.c (tui_source_window::show_line_number):
233 Redraw second space after line number.
234
b5ff370e
HD
2352021-01-05 Hannes Domani <ssbssa@yahoo.de>
236
237 PR tui/26927
238 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
239 Fix source pad size in prefresh.
240 (tui_source_window_base::show_source_content): Grow source pad
241 if necessary.
242
c68ea49f
MF
2432021-01-04 Mike Frysinger <vapier@gentoo.org>
244
245 * bfin-tdep.c (bfin_push_dummy_call): Use align_up.
246 (bfin_frame_align): Use align_down.
247
e4ad960a
TV
2482021-01-04 Tom de Vries <tdevries@suse.de>
249
250 * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq
251 terminators that do not terminate anything.
252
3ec3145c
SM
2532021-01-04 Simon Marchi <simon.marchi@efficios.com>
254
255 * debug.c (debug_print_depth): New.
256 * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New.
257 (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New.
258 * infrun.c (start_step_over): Use
259 INFRUN_SCOPED_DEBUG_ENTER_EXIT.
260 (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and
261 INFRUN_SCOPED_DEBUG_START_END.
262 (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT.
263
e71daf80
SM
2642021-01-04 Simon Marchi <simon.marchi@efficios.com>
265
266 * infrun.c (print_target_wait_results): Use infrun_debug_printf.
267
335709bc
SM
2682021-01-04 Simon Marchi <simon.marchi@efficios.com>
269
270 * utils.c (vfprintf_unfiltered): Print timestamp only when
271 previous debug output ended with a newline.
272
098caef4
LM
2732021-01-04 Luis Machado <luis.machado@linaro.org>
274
275 Update all users of trad_frame_saved_reg to use the new member
276 functions.
277
278 Remote all struct keywords from declarations of trad_frame_saved_reg
279 types, except on forward declarations.
280
281 * aarch64-tdep.c: Update.
282 * alpha-mdebug-tdep.c: Update.
283 * alpha-tdep.c: Update.
284 * arc-tdep.c: Update.
285 * arm-tdep.c: Update.
286 * avr-tdep.c: Update.
287 * cris-tdep.c: Update.
288 * csky-tdep.c: Update.
289 * frv-tdep.c: Update.
290 * hppa-linux-tdep.c: Update.
291 * hppa-tdep.c: Update.
292 * hppa-tdep.h: Update.
293 * lm32-tdep.c: Update.
294 * m32r-linux-tdep.c: Update.
295 * m32r-tdep.c: Update.
296 * m68hc11-tdep.c: Update.
297 * mips-tdep.c: Update.
298 * moxie-tdep.c: Update.
299 * riscv-tdep.c: Update.
300 * rs6000-tdep.c: Update.
301 * s390-linux-tdep.c: Update.
302 * s390-tdep.c: Update.
303 * score-tdep.c: Update.
304 * sparc-netbsd-tdep.c: Update.
305 * sparc-sol2-tdep.c: Update.
306 * sparc64-fbsd-tdep.c: Update.
307 * sparc64-netbsd-tdep.c: Update.
308 * sparc64-obsd-tdep.c: Update.
309 * sparc64-sol2-tdep.c: Update.
310 * tilegx-tdep.c: Update.
311 * v850-tdep.c: Update.
312 * vax-tdep.c: Update.
313
314 * frame-unwind.c (frame_unwind_got_bytes): Make parameter const.
315 * frame-unwind.h (frame_unwind_got_bytes): Likewise.
316
317 * trad-frame.c: Update.
318 Remove TF_REG_* enum.
319 (trad_frame_alloc_saved_regs): Add a static assertion to check for
320 a trivially-constructible struct.
321 (trad_frame_reset_saved_regs): Adjust to use member function.
322 (trad_frame_value_p): Likewise.
323 (trad_frame_addr_p): Likewise.
324 (trad_frame_realreg_p): Likewise.
325 (trad_frame_value_bytes_p): Likewise.
326 (trad_frame_set_value): Likewise.
327 (trad_frame_set_realreg): Likewise.
328 (trad_frame_set_addr): Likewise.
329 (trad_frame_set_unknown): Likewise.
330 (trad_frame_set_value_bytes): Likewise.
331 (trad_frame_get_prev_register): Likewise.
332 * trad-frame.h: Update.
333 (trad_frame_saved_reg_kind): New enum.
334 (struct trad_frame_saved_reg) <addr, realreg, data>: Remove.
335 <m_kind, m_reg>: New member fields.
336 <set_value, set_realreg, set_addr, set_unknown, set_value_bytes>
337 <kind, value, realreg, addr, value_bytes, is_value, is_realreg>
338 <is_addr, is_unknown, is_value_bytes>: New member functions.
339
9898e882
SM
3402021-01-02 Simon Marchi <simon.marchi@polymtl.ca>
341
342 * target-float.c: Fix typos.
343
b66b4e65
HD
3442021-01-02 Hannes Domani <ssbssa@yahoo.de>
345
346 * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer.
347
b5b5650a
JB
3482021-01-01 Joel Brobecker <brobecker@adacore.com>
349
350 * gdbarch.sh: Update copyright year range.
351
3666a048
JB
3522021-01-01 Joel Brobecker <brobecker@adacore.com>
353
354 Update copyright year range in copyright header of all GDB files.
355
ff7e39b6
JB
3562021-01-01 Joel Brobecker <brobecker@adacore.com>
357
358 * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
359 to the list of directories to update.
360
2b47c078
JB
3612021-01-01 Joel Brobecker <brobecker@adacore.com>
362
363 * top.c (print_gdb_version): Update copyright year.
364
476923f1 3652021-01-01 Joel Brobecker <brobecker@adacore.com>
c8f02daa 366
476923f1 367 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020.
c8f02daa 368
476923f1 369For older changes see ChangeLog-2020.
c906108c
SS
370\f
371Local Variables:
372mode: change-log
373left-margin: 8
374fill-column: 74
375version-control: never
57da7796 376coding: utf-8
c906108c 377End: