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