4c789119cec5576c54f3d3123d6cccbe6e6a7f7e
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2020-01-09 Tom Tromey <tom@tromey.com>
2
3 PR tui/18932:
4 * tui/tui-source.c (tui_source_window::do_scroll_vertical): Call
5 update_source_window, not print_source_lines.
6
7 2020-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
8
9 * tui/tui.c (tui_enable): Register tui hooks after calling
10 tui_display_main.
11
12 2020-01-09 Christian Biesinger <cbiesinger@google.com>
13
14 * gdbsupport/common-defs.h: Don't define _FORTIFY_SOURCE on MinGW.
15
16 2020-01-08 Simon Marchi <simon.marchi@efficios.com>
17
18 * thread.c (print_thread_info_1): Fix indentation.
19
20 2020-01-09 Christian Biesinger <cbiesinger@google.com>
21
22 * symtab.c (general_symbol_info::compute_and_set_names): Move the
23 unique_xmalloc_ptr outside the if to always free the demangled name.
24
25 2020-01-08 Tom Tromey <tromey@adacore.com>
26
27 * xcoffread.c (enter_line_range, read_xcoff_symtab)
28 (process_xcoff_symbol, xcoff_symfile_offsets): Update.
29 * symtab.h (MSYMBOL_VALUE_ADDRESS): Update.
30 (struct section_offsets, ANOFFSET, SIZEOF_N_SECTION_OFFSETS):
31 Remove.
32 (section_offsets): New typedef.
33 * symtab.c (fixup_section, get_msymbol_address): Update.
34 * symmisc.c (dump_msymbols): Update.
35 * symfile.h (relative_addr_info_to_section_offsets)
36 (symfile_map_offsets_to_segments): Update.
37 * symfile.c (build_section_addr_info_from_objfile)
38 (init_objfile_sect_indices): Update.
39 (struct place_section_arg): Change type of "offsets".
40 (place_section): Update.
41 (relative_addr_info_to_section_offsets): Change type of
42 "section_offsets". Remove "num_sections" parameter.
43 (default_symfile_offsets, syms_from_objfile_1)
44 (set_objfile_default_section_offset): Update.
45 (reread_symbols): No need to preserve section offsets by hand.
46 (symfile_map_offsets_to_segments): Change type of "offsets".
47 * stap-probe.c (relocate_address): Update.
48 * stabsread.h (process_one_symbol): Update.
49 * solib-target.c (struct lm_info_target) <offsets>: Change type.
50 (solib_target_relocate_section_addresses): Update.
51 * solib-svr4.c (enable_break, svr4_relocate_main_executable):
52 Update.
53 * solib-frv.c (frv_relocate_main_executable): Update.
54 * solib-dsbt.c (dsbt_relocate_main_executable): Update.
55 * solib-aix.c (solib_aix_get_section_offsets): Change return
56 type.
57 (solib_aix_solib_create_inferior_hook): Update.
58 * remote.c (remote_target::get_offsets): Update.
59 * psymtab.c (find_pc_sect_psymtab): Update.
60 * psympriv.h (struct partial_symbol) <address, text_low,
61 text_high>: Update.
62 * objfiles.h (obj_section_offset): Update.
63 (struct objfile) <section_offsets>: Change type.
64 <num_sections>: Remove.
65 (objfile_relocate): Update.
66 * objfiles.c (entry_point_address_query): Update
67 (relocate_one_symbol): Change type of "section_offsets".
68 (objfile_relocate1, objfile_relocate1): Change type of
69 "new_offsets".
70 (objfile_rebase1): Update.
71 * mipsread.c (mipscoff_symfile_read): Update.
72 (read_alphacoff_dynamic_symtab): Remove "section_offsets"
73 parameter.
74 * mdebugread.c (parse_symbol): Change type of "section_offsets".
75 (parse_external, psymtab_to_symtab_1): Update.
76 * machoread.c (macho_symfile_offsets): Update.
77 * ia64-tdep.c (ia64_find_unwind_table): Update.
78 * hppa-tdep.c (read_unwind_info): Update.
79 * hppa-bsd-tdep.c (hppabsd_find_global_pointer): Update.
80 * dwarf2read.c (create_addrmap_from_index)
81 (create_addrmap_from_aranges, dw2_find_pc_sect_compunit_symtab)
82 (process_psymtab_comp_unit_reader, add_partial_symbol)
83 (add_partial_subprogram, process_full_comp_unit)
84 (read_file_scope, read_func_scope, read_lexical_block_scope)
85 (read_call_site_scope, dwarf2_rnglists_process)
86 (dwarf2_ranges_process, dwarf2_ranges_read)
87 (dwarf_decode_lines_1, var_decode_location, new_symbol)
88 (dwarf2_fetch_die_loc_sect_off, dwarf2_per_cu_text_offset):
89 Update.
90 * dwarf2-frame.c (execute_cfa_program, dwarf2_frame_find_fde):
91 Update.
92 * dtrace-probe.c (dtrace_probe::get_relocated_address): Update.
93 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Update.
94 (process_one_symbol): Change type of "section_offsets".
95 * ctfread.c (get_objfile_text_range): Update.
96 * coffread.c (coff_symtab_read, enter_linenos)
97 (process_coff_symbol): Update.
98 * coff-pe-read.c (add_pe_forwarded_sym): Update.
99 * amd64-windows-tdep.c (amd64_windows_find_unwind_info): Update.
100
101 2020-01-08 Tom Tromey <tromey@adacore.com>
102
103 * dwarf2read.c (parse_macro_definition): Use std::string.
104 (parse_macro_definition): Likewise.
105
106 2020-01-08 Tom Tromey <tromey@adacore.com>
107
108 * dwarf2read.c (abbrev_table_read_table): Use std::vector.
109 (ATTR_ALLOC_CHUNK): Remove.
110
111 2020-01-08 Tom Tromey <tromey@adacore.com>
112
113 * dwarf2read.c (fixup_go_packaging): Use unique_xmalloc_ptr.
114
115 2020-01-08 Tom Tromey <tromey@adacore.com>
116
117 * dwarf2read.c (add_partial_symbol): Use unique_xmalloc_ptr.
118 (dwarf2_compute_name, open_dwo_file): Likewise.
119 (process_enumeration_scope): Use std::vector.
120 (guess_partial_die_structure_name): Use unique_xmalloc_ptr.
121 (partial_die_info::fixup, dwarf2_start_subfile)
122 (guess_full_die_structure_name, dwarf2_name): Likewise.
123 (determine_prefix): Update.
124 (guess_full_die_structure_name): Make return type const.
125 (partial_die_full_name): Return unique_xmalloc_ptr.
126 (DW_FIELD_ALLOC_CHUNK): Remove.
127
128 2020-01-07 Tom Tromey <tromey@adacore.com>
129
130 PR build/24937:
131 * stap-probe.c (class stap_static_probe_ops): Add constructor.
132
133 2020-01-02 Jon Turney <jon.turney@dronecode.org.uk>
134
135 * cli/cli-style.c: Set cli_styling to 'true' in the Cygwin build.
136
137 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
138
139 * stack.c (print_frame_info): Move disassemble_next_line code
140 inside source_print block.
141
142 2020-01-06 Eli Zaretskii <eliz@gnu.org>
143
144 * gdbsupport/gdb_wait.c: Include <signal.h> instead of
145 gdb/signals.h, as we are now using native signal symbols.
146
147 2020-01-06 Shahab Vahedi <shahab@synopsys.com>
148
149 * tui/tui-disasm.c (tui_disasm_window::addr_is_displayed): Avoid
150 overflow by an early check of content vs threshold.
151 * tui/tui-source.c (tui_source_window::line_is_displayed):
152 Likewise.
153
154 2020-01-06 Eli Zaretskii <eliz@gnu.org>
155
156 * NEWS: Mention the recent fix of $_exitsignal on MS-Windows.
157
158 2020-01-02 Jon Turney <jon.turney@dronecode.org.uk>
159
160 * coff-pe-read.c (read_pe_exported_syms): Don't try to read the
161 export table if no section contains it's RVA.
162
163 2020-01-06 Eli Zaretskii <eliz@gnu.org>
164
165 * windows-tdep.c: Fix a typo in WINDOWS_SIGABRT.
166
167 2020-01-06 Hannes Domani <ssbssa@yahoo.de>
168
169 * source.c (print_source_lines_base): Set last_line_listed.
170
171 2020-01-06 Shahab Vahedi <shahab@synopsys.com>
172
173 * tui/tui-disasm.c: Remove trailing spaces.
174
175 2020-01-06 Eli Zaretskii <eliz@gnu.org>
176 Pedro Alves <palves@redhat.com>
177
178 * Makefile.in (COMMON_SFILES): Add gdbsupport/gdb_wait.c.
179 * windows-tdep.c: New enumeration of WINDOWS_SIG* signals.
180 (windows_gdb_signal_to_target): New function, uses the above
181 enumeration to convert GDB internal signal codes to equivalent
182 Windows codes.
183 (windows_init_abi): Call set_gdbarch_gdb_signal_to_target.
184 * windows-nat.c: Include "gdb_wait.h".
185 (get_windows_debug_event): Extract the fatal exception from the
186 exit status and convert to the equivalent Posix signal number.
187 * cli/cli-cmds.c (exit_status_set_internal_vars): Account for the
188 possibility that WTERMSIG returns GDB_SIGNAL_UNKNOWN.
189 * gdbsupport/gdb_wait.c: New file, implements
190 windows_status_to_termsig.
191 * gdbsupport/gdb_wait.h (WIFEXITED, WIFSIGNALED, WEXITSTATUS)
192 (WTERMSIG) [__MINGW32__]: Separate definitions for MinGW.
193
194 2020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
195
196 * tui/tui-layout.c (tui_add_win_to_layout): Use tui_set_layout not
197 show_layout.
198
199 2020-01-05 Luis Machado <luis.machado@linaro.org>
200
201 * aarch64-linux-nat.c
202 (aarch64_linux_nat_target::thread_architecture): Use bfd_arch_aarch64
203 and bfd_mach_aarch64.
204
205 2020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
206
207 * ui-file.c (stdio_file::can_emit_style_escape)
208 (tee_file::can_emit_style_escape): Ensure style is used also on
209 gdb_stderr when gdb_stderr is a tty supporting styling, similarly
210 to gdb_stdout.
211 * main.c (set_gdb_data_directory): Use file style to output the
212 warning that the given pathname is not a directory.
213 * top.c (show_history_filename, gdb_safe_append_history)
214 (show_gdb_datadir): Use file style.
215
216 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
217
218 * solib-target.c (struct lm_info_target):
219 Change offsets to be a unique_xmalloc_ptr.
220 (solib_target_relocate_section_addresses): Update.
221
222 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
223
224 * windows-nat.c (windows_clear_solib): Free so_list linked list.
225
226 2020-01-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
227
228 * MAINTAINERS (Write After Approval): Add myself.
229
230 2020-01-02 Luis Machado <luis.machado@linaro.org>
231
232 * proc-service.c (get_ps_regcache): Remove reference to obsolete
233 Cell BE architecture.
234 * target.h (struct target_ops) <thread_architecture>: Likewise.
235
236 2020-01-01 Hannes Domani <ssbssa@yahoo.de>
237
238 * Makefile.in: Use INSTALL_PROGRAM_ENV.
239
240 2020-01-01 Hannes Domani <ssbssa@yahoo.de>
241
242 * MAINTAINERS (Write After Approval): Add myself.
243
244 2020-01-01 Joel Brobecker <brobecker@adacore.com>
245
246 * gdbarch.sh: Update copyright year range of generated files.
247
248 2020-01-01 Joel Brobecker <brobecker@adacore.com>
249
250 Update copyright year range in all GDB files.
251
252 2020-01-01 Joel Brobecker <brobecker@adacore.com>
253
254 * copyright.py: Convert to Python 3.
255
256 2020-01-01 Joel Brobecker <brobecker@adacore.com>
257
258 * copyright.py: Adapt after move of gnulib directory from gdb
259 directory to toplevel directory.
260
261 2020-01-01 Joel Brobecker <brobecker@adacore.com>
262
263 * copyright.py (main): Exit if run from the wrong directory.
264
265 2020-01-01 Joel Brobecker <brobecker@adacore.com>
266
267 * top.c (print_gdb_version): Change copyright year to 2020.
268
269 2020-01-01 Joel Brobecker <brobecker@adacore.com>
270
271 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2019.
272
273 For older changes see ChangeLog-2019.
274 \f
275 Local Variables:
276 mode: change-log
277 left-margin: 8
278 fill-column: 74
279 version-control: never
280 coding: utf-8
281 End:
This page took 0.034685 seconds and 3 git commands to generate.