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