]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
Don't rely on inferior_ptid in record_full_wait
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
ec506636
PA
12020-01-10 Pedro Alves <palves@redhat.com>
2
3 * record-full.c (record_full_resume_ptid): New global.
4 (record_full_target::resume): Set it.
5 (record_full_wait_1): Use record_full_resume_ptid instead of
6 inferior_ptid.
7
873657b9
PA
82020-01-10 Pedro Alves <palves@redhat.com>
9
10 * gdbthread.h (scoped_restore_current_thread)
11 <dont_restore, restore, m_dont_restore>: Declare.
12 * thread.c (thread_alive): Add assertion. Return bool.
13 (switch_to_thread_if_alive): New.
14 (prune_threads): Switch inferior/thread.
15 (print_thread_info_1): Switch thread before calling target methods.
16 (scoped_restore_current_thread::restore): New, factored out from
17 ...
18 (scoped_restore_current_thread::~scoped_restore_current_thread):
19 ... this.
20 (scoped_restore_current_thread::scoped_restore_current_thread):
21 Add assertion.
22 (thread_apply_all_command, thread_select): Use
23 switch_to_thread_if_alive.
24
7f0ae84c
GB
252020-01-10 George Barrett <bob@bob131.so>
26
27 * stap-probe.c (stap_modify_semaphore): Don't check for null
28 semaphores.
29 (stap_probe::set_semaphore, stap_probe::clear_semaphore): Check
30 for null semaphores.
31
f5a7c406
AB
322020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
33
34 * tui/tui-source.c (tui_source_window::do_scroll_vertical): Update
35 all source windows, and maintain horizontal scroll status while
36 doing so.
37
9ae6bf64
TT
382020-01-09 Tom Tromey <tom@tromey.com>
39
40 PR tui/18932:
41 * tui/tui-source.c (tui_source_window::do_scroll_vertical): Call
42 update_source_window, not print_source_lines.
43
b2efe70c
AB
442020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
45
46 * tui/tui.c (tui_enable): Register tui hooks after calling
47 tui_display_main.
48
5f23a082
CB
492020-01-09 Christian Biesinger <cbiesinger@google.com>
50
51 * gdbsupport/common-defs.h: Don't define _FORTIFY_SOURCE on MinGW.
52
3061113b
SM
532020-01-08 Simon Marchi <simon.marchi@efficios.com>
54
55 * thread.c (print_thread_info_1): Fix indentation.
56
57d75002
CB
572020-01-09 Christian Biesinger <cbiesinger@google.com>
58
59 * symtab.c (general_symbol_info::compute_and_set_names): Move the
60 unique_xmalloc_ptr outside the if to always free the demangled name.
61
6a053cb1
TT
622020-01-08 Tom Tromey <tromey@adacore.com>
63
64 * xcoffread.c (enter_line_range, read_xcoff_symtab)
65 (process_xcoff_symbol, xcoff_symfile_offsets): Update.
66 * symtab.h (MSYMBOL_VALUE_ADDRESS): Update.
67 (struct section_offsets, ANOFFSET, SIZEOF_N_SECTION_OFFSETS):
68 Remove.
69 (section_offsets): New typedef.
70 * symtab.c (fixup_section, get_msymbol_address): Update.
71 * symmisc.c (dump_msymbols): Update.
72 * symfile.h (relative_addr_info_to_section_offsets)
73 (symfile_map_offsets_to_segments): Update.
74 * symfile.c (build_section_addr_info_from_objfile)
75 (init_objfile_sect_indices): Update.
76 (struct place_section_arg): Change type of "offsets".
77 (place_section): Update.
78 (relative_addr_info_to_section_offsets): Change type of
79 "section_offsets". Remove "num_sections" parameter.
80 (default_symfile_offsets, syms_from_objfile_1)
81 (set_objfile_default_section_offset): Update.
82 (reread_symbols): No need to preserve section offsets by hand.
83 (symfile_map_offsets_to_segments): Change type of "offsets".
84 * stap-probe.c (relocate_address): Update.
85 * stabsread.h (process_one_symbol): Update.
86 * solib-target.c (struct lm_info_target) <offsets>: Change type.
87 (solib_target_relocate_section_addresses): Update.
88 * solib-svr4.c (enable_break, svr4_relocate_main_executable):
89 Update.
90 * solib-frv.c (frv_relocate_main_executable): Update.
91 * solib-dsbt.c (dsbt_relocate_main_executable): Update.
92 * solib-aix.c (solib_aix_get_section_offsets): Change return
93 type.
94 (solib_aix_solib_create_inferior_hook): Update.
95 * remote.c (remote_target::get_offsets): Update.
96 * psymtab.c (find_pc_sect_psymtab): Update.
97 * psympriv.h (struct partial_symbol) <address, text_low,
98 text_high>: Update.
99 * objfiles.h (obj_section_offset): Update.
100 (struct objfile) <section_offsets>: Change type.
101 <num_sections>: Remove.
102 (objfile_relocate): Update.
103 * objfiles.c (entry_point_address_query): Update
104 (relocate_one_symbol): Change type of "section_offsets".
105 (objfile_relocate1, objfile_relocate1): Change type of
106 "new_offsets".
107 (objfile_rebase1): Update.
108 * mipsread.c (mipscoff_symfile_read): Update.
109 (read_alphacoff_dynamic_symtab): Remove "section_offsets"
110 parameter.
111 * mdebugread.c (parse_symbol): Change type of "section_offsets".
112 (parse_external, psymtab_to_symtab_1): Update.
113 * machoread.c (macho_symfile_offsets): Update.
114 * ia64-tdep.c (ia64_find_unwind_table): Update.
115 * hppa-tdep.c (read_unwind_info): Update.
116 * hppa-bsd-tdep.c (hppabsd_find_global_pointer): Update.
117 * dwarf2read.c (create_addrmap_from_index)
118 (create_addrmap_from_aranges, dw2_find_pc_sect_compunit_symtab)
119 (process_psymtab_comp_unit_reader, add_partial_symbol)
120 (add_partial_subprogram, process_full_comp_unit)
121 (read_file_scope, read_func_scope, read_lexical_block_scope)
122 (read_call_site_scope, dwarf2_rnglists_process)
123 (dwarf2_ranges_process, dwarf2_ranges_read)
124 (dwarf_decode_lines_1, var_decode_location, new_symbol)
125 (dwarf2_fetch_die_loc_sect_off, dwarf2_per_cu_text_offset):
126 Update.
127 * dwarf2-frame.c (execute_cfa_program, dwarf2_frame_find_fde):
128 Update.
129 * dtrace-probe.c (dtrace_probe::get_relocated_address): Update.
130 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Update.
131 (process_one_symbol): Change type of "section_offsets".
132 * ctfread.c (get_objfile_text_range): Update.
133 * coffread.c (coff_symtab_read, enter_linenos)
134 (process_coff_symbol): Update.
135 * coff-pe-read.c (add_pe_forwarded_sym): Update.
136 * amd64-windows-tdep.c (amd64_windows_find_unwind_info): Update.
137
456e800a
TT
1382020-01-08 Tom Tromey <tromey@adacore.com>
139
140 * dwarf2read.c (parse_macro_definition): Use std::string.
141 (parse_macro_definition): Likewise.
142
6dfa2fc2
TT
1432020-01-08 Tom Tromey <tromey@adacore.com>
144
145 * dwarf2read.c (abbrev_table_read_table): Use std::vector.
146 (ATTR_ALLOC_CHUNK): Remove.
147
421d1616
TT
1482020-01-08 Tom Tromey <tromey@adacore.com>
149
150 * dwarf2read.c (fixup_go_packaging): Use unique_xmalloc_ptr.
151
43816ebc
TT
1522020-01-08 Tom Tromey <tromey@adacore.com>
153
154 * dwarf2read.c (add_partial_symbol): Use unique_xmalloc_ptr.
155 (dwarf2_compute_name, open_dwo_file): Likewise.
156 (process_enumeration_scope): Use std::vector.
157 (guess_partial_die_structure_name): Use unique_xmalloc_ptr.
158 (partial_die_info::fixup, dwarf2_start_subfile)
159 (guess_full_die_structure_name, dwarf2_name): Likewise.
160 (determine_prefix): Update.
161 (guess_full_die_structure_name): Make return type const.
162 (partial_die_full_name): Return unique_xmalloc_ptr.
163 (DW_FIELD_ALLOC_CHUNK): Remove.
164
4212d509
TT
1652020-01-07 Tom Tromey <tromey@adacore.com>
166
167 PR build/24937:
168 * stap-probe.c (class stap_static_probe_ops): Add constructor.
169
06a6207a
JT
1702020-01-02 Jon Turney <jon.turney@dronecode.org.uk>
171
172 * cli/cli-style.c: Set cli_styling to 'true' in the Cygwin build.
173
153d79c4
AB
1742020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
175
176 * stack.c (print_frame_info): Move disassemble_next_line code
177 inside source_print block.
178
66182876
EZ
1792020-01-06 Eli Zaretskii <eliz@gnu.org>
180
181 * gdbsupport/gdb_wait.c: Include <signal.h> instead of
182 gdb/signals.h, as we are now using native signal symbols.
183
cbfa8581
SV
1842020-01-06 Shahab Vahedi <shahab@synopsys.com>
185
186 * tui/tui-disasm.c (tui_disasm_window::addr_is_displayed): Avoid
187 overflow by an early check of content vs threshold.
188 * tui/tui-source.c (tui_source_window::line_is_displayed):
189 Likewise.
190
3f602821
EZ
1912020-01-06 Eli Zaretskii <eliz@gnu.org>
192
193 * NEWS: Mention the recent fix of $_exitsignal on MS-Windows.
194
a08c904d
JT
1952020-01-02 Jon Turney <jon.turney@dronecode.org.uk>
196
197 * coff-pe-read.c (read_pe_exported_syms): Don't try to read the
198 export table if no section contains it's RVA.
199
89a65580
EZ
2002020-01-06 Eli Zaretskii <eliz@gnu.org>
201
202 * windows-tdep.c: Fix a typo in WINDOWS_SIGABRT.
203
8b7fcda2
HD
2042020-01-06 Hannes Domani <ssbssa@yahoo.de>
205
206 * source.c (print_source_lines_base): Set last_line_listed.
207
a61b4f69
SV
2082020-01-06 Shahab Vahedi <shahab@synopsys.com>
209
210 * tui/tui-disasm.c: Remove trailing spaces.
211
559e7e50
EZ
2122020-01-06 Eli Zaretskii <eliz@gnu.org>
213 Pedro Alves <palves@redhat.com>
214
215 * Makefile.in (COMMON_SFILES): Add gdbsupport/gdb_wait.c.
216 * windows-tdep.c: New enumeration of WINDOWS_SIG* signals.
217 (windows_gdb_signal_to_target): New function, uses the above
218 enumeration to convert GDB internal signal codes to equivalent
219 Windows codes.
220 (windows_init_abi): Call set_gdbarch_gdb_signal_to_target.
221 * windows-nat.c: Include "gdb_wait.h".
222 (get_windows_debug_event): Extract the fatal exception from the
223 exit status and convert to the equivalent Posix signal number.
224 * cli/cli-cmds.c (exit_status_set_internal_vars): Account for the
225 possibility that WTERMSIG returns GDB_SIGNAL_UNKNOWN.
226 * gdbsupport/gdb_wait.c: New file, implements
227 windows_status_to_termsig.
228 * gdbsupport/gdb_wait.h (WIFEXITED, WIFSIGNALED, WEXITSTATUS)
229 (WTERMSIG) [__MINGW32__]: Separate definitions for MinGW.
230
f2302a34
AB
2312020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
232
233 * tui/tui-layout.c (tui_add_win_to_layout): Use tui_set_layout not
234 show_layout.
235
6a5206eb
LM
2362020-01-05 Luis Machado <luis.machado@linaro.org>
237
238 * aarch64-linux-nat.c
239 (aarch64_linux_nat_target::thread_architecture): Use bfd_arch_aarch64
240 and bfd_mach_aarch64.
241
6ec1d75e
PW
2422020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
243
244 * ui-file.c (stdio_file::can_emit_style_escape)
245 (tee_file::can_emit_style_escape): Ensure style is used also on
246 gdb_stderr when gdb_stderr is a tty supporting styling, similarly
247 to gdb_stdout.
248 * main.c (set_gdb_data_directory): Use file style to output the
249 warning that the given pathname is not a directory.
250 * top.c (show_history_filename, gdb_safe_append_history)
251 (show_gdb_datadir): Use file style.
252
44f81a76
HD
2532020-01-03 Hannes Domani <ssbssa@yahoo.de>
254
255 * solib-target.c (struct lm_info_target):
256 Change offsets to be a unique_xmalloc_ptr.
257 (solib_target_relocate_section_addresses): Update.
258
25057eb0
HD
2592020-01-03 Hannes Domani <ssbssa@yahoo.de>
260
261 * windows-nat.c (windows_clear_solib): Free so_list linked list.
262
6e2118f5
BE
2632020-01-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
264
265 * MAINTAINERS (Write After Approval): Add myself.
266
8133c7dc
LM
2672020-01-02 Luis Machado <luis.machado@linaro.org>
268
269 * proc-service.c (get_ps_regcache): Remove reference to obsolete
270 Cell BE architecture.
271 * target.h (struct target_ops) <thread_architecture>: Likewise.
272
48189bec
HD
2732020-01-01 Hannes Domani <ssbssa@yahoo.de>
274
275 * Makefile.in: Use INSTALL_PROGRAM_ENV.
276
ead1063b
HD
2772020-01-01 Hannes Domani <ssbssa@yahoo.de>
278
279 * MAINTAINERS (Write After Approval): Add myself.
280
e5d78223
JB
2812020-01-01 Joel Brobecker <brobecker@adacore.com>
282
283 * gdbarch.sh: Update copyright year range of generated files.
284
b811d2c2
JB
2852020-01-01 Joel Brobecker <brobecker@adacore.com>
286
287 Update copyright year range in all GDB files.
288
5f4def5c
JB
2892020-01-01 Joel Brobecker <brobecker@adacore.com>
290
291 * copyright.py: Convert to Python 3.
292
51fd4002
JB
2932020-01-01 Joel Brobecker <brobecker@adacore.com>
294
295 * copyright.py: Adapt after move of gnulib directory from gdb
296 directory to toplevel directory.
297
5fb651f2
JB
2982020-01-01 Joel Brobecker <brobecker@adacore.com>
299
300 * copyright.py (main): Exit if run from the wrong directory.
301
5dd8bf88
JB
3022020-01-01 Joel Brobecker <brobecker@adacore.com>
303
304 * top.c (print_gdb_version): Change copyright year to 2020.
305
9f71dacb 3062020-01-01 Joel Brobecker <brobecker@adacore.com>
3d34df0a 307
9f71dacb 308 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2019.
3d34df0a 309
9f71dacb 310For older changes see ChangeLog-2019.
c906108c
SS
311\f
312Local Variables:
313mode: change-log
314left-margin: 8
315fill-column: 74
316version-control: never
57da7796 317coding: utf-8
c906108c 318End: