]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
Fix an attempt to free a static pointer when using objcopy's symbol addition feature.
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
6a053cb1
TT
12020-01-08 Tom Tromey <tromey@adacore.com>
2
3 * xcoffread.c (enter_line_range, read_xcoff_symtab)
4 (process_xcoff_symbol, xcoff_symfile_offsets): Update.
5 * symtab.h (MSYMBOL_VALUE_ADDRESS): Update.
6 (struct section_offsets, ANOFFSET, SIZEOF_N_SECTION_OFFSETS):
7 Remove.
8 (section_offsets): New typedef.
9 * symtab.c (fixup_section, get_msymbol_address): Update.
10 * symmisc.c (dump_msymbols): Update.
11 * symfile.h (relative_addr_info_to_section_offsets)
12 (symfile_map_offsets_to_segments): Update.
13 * symfile.c (build_section_addr_info_from_objfile)
14 (init_objfile_sect_indices): Update.
15 (struct place_section_arg): Change type of "offsets".
16 (place_section): Update.
17 (relative_addr_info_to_section_offsets): Change type of
18 "section_offsets". Remove "num_sections" parameter.
19 (default_symfile_offsets, syms_from_objfile_1)
20 (set_objfile_default_section_offset): Update.
21 (reread_symbols): No need to preserve section offsets by hand.
22 (symfile_map_offsets_to_segments): Change type of "offsets".
23 * stap-probe.c (relocate_address): Update.
24 * stabsread.h (process_one_symbol): Update.
25 * solib-target.c (struct lm_info_target) <offsets>: Change type.
26 (solib_target_relocate_section_addresses): Update.
27 * solib-svr4.c (enable_break, svr4_relocate_main_executable):
28 Update.
29 * solib-frv.c (frv_relocate_main_executable): Update.
30 * solib-dsbt.c (dsbt_relocate_main_executable): Update.
31 * solib-aix.c (solib_aix_get_section_offsets): Change return
32 type.
33 (solib_aix_solib_create_inferior_hook): Update.
34 * remote.c (remote_target::get_offsets): Update.
35 * psymtab.c (find_pc_sect_psymtab): Update.
36 * psympriv.h (struct partial_symbol) <address, text_low,
37 text_high>: Update.
38 * objfiles.h (obj_section_offset): Update.
39 (struct objfile) <section_offsets>: Change type.
40 <num_sections>: Remove.
41 (objfile_relocate): Update.
42 * objfiles.c (entry_point_address_query): Update
43 (relocate_one_symbol): Change type of "section_offsets".
44 (objfile_relocate1, objfile_relocate1): Change type of
45 "new_offsets".
46 (objfile_rebase1): Update.
47 * mipsread.c (mipscoff_symfile_read): Update.
48 (read_alphacoff_dynamic_symtab): Remove "section_offsets"
49 parameter.
50 * mdebugread.c (parse_symbol): Change type of "section_offsets".
51 (parse_external, psymtab_to_symtab_1): Update.
52 * machoread.c (macho_symfile_offsets): Update.
53 * ia64-tdep.c (ia64_find_unwind_table): Update.
54 * hppa-tdep.c (read_unwind_info): Update.
55 * hppa-bsd-tdep.c (hppabsd_find_global_pointer): Update.
56 * dwarf2read.c (create_addrmap_from_index)
57 (create_addrmap_from_aranges, dw2_find_pc_sect_compunit_symtab)
58 (process_psymtab_comp_unit_reader, add_partial_symbol)
59 (add_partial_subprogram, process_full_comp_unit)
60 (read_file_scope, read_func_scope, read_lexical_block_scope)
61 (read_call_site_scope, dwarf2_rnglists_process)
62 (dwarf2_ranges_process, dwarf2_ranges_read)
63 (dwarf_decode_lines_1, var_decode_location, new_symbol)
64 (dwarf2_fetch_die_loc_sect_off, dwarf2_per_cu_text_offset):
65 Update.
66 * dwarf2-frame.c (execute_cfa_program, dwarf2_frame_find_fde):
67 Update.
68 * dtrace-probe.c (dtrace_probe::get_relocated_address): Update.
69 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Update.
70 (process_one_symbol): Change type of "section_offsets".
71 * ctfread.c (get_objfile_text_range): Update.
72 * coffread.c (coff_symtab_read, enter_linenos)
73 (process_coff_symbol): Update.
74 * coff-pe-read.c (add_pe_forwarded_sym): Update.
75 * amd64-windows-tdep.c (amd64_windows_find_unwind_info): Update.
76
456e800a
TT
772020-01-08 Tom Tromey <tromey@adacore.com>
78
79 * dwarf2read.c (parse_macro_definition): Use std::string.
80 (parse_macro_definition): Likewise.
81
6dfa2fc2
TT
822020-01-08 Tom Tromey <tromey@adacore.com>
83
84 * dwarf2read.c (abbrev_table_read_table): Use std::vector.
85 (ATTR_ALLOC_CHUNK): Remove.
86
421d1616
TT
872020-01-08 Tom Tromey <tromey@adacore.com>
88
89 * dwarf2read.c (fixup_go_packaging): Use unique_xmalloc_ptr.
90
43816ebc
TT
912020-01-08 Tom Tromey <tromey@adacore.com>
92
93 * dwarf2read.c (add_partial_symbol): Use unique_xmalloc_ptr.
94 (dwarf2_compute_name, open_dwo_file): Likewise.
95 (process_enumeration_scope): Use std::vector.
96 (guess_partial_die_structure_name): Use unique_xmalloc_ptr.
97 (partial_die_info::fixup, dwarf2_start_subfile)
98 (guess_full_die_structure_name, dwarf2_name): Likewise.
99 (determine_prefix): Update.
100 (guess_full_die_structure_name): Make return type const.
101 (partial_die_full_name): Return unique_xmalloc_ptr.
102 (DW_FIELD_ALLOC_CHUNK): Remove.
103
4212d509
TT
1042020-01-07 Tom Tromey <tromey@adacore.com>
105
106 PR build/24937:
107 * stap-probe.c (class stap_static_probe_ops): Add constructor.
108
06a6207a
JT
1092020-01-02 Jon Turney <jon.turney@dronecode.org.uk>
110
111 * cli/cli-style.c: Set cli_styling to 'true' in the Cygwin build.
112
153d79c4
AB
1132020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
114
115 * stack.c (print_frame_info): Move disassemble_next_line code
116 inside source_print block.
117
66182876
EZ
1182020-01-06 Eli Zaretskii <eliz@gnu.org>
119
120 * gdbsupport/gdb_wait.c: Include <signal.h> instead of
121 gdb/signals.h, as we are now using native signal symbols.
122
cbfa8581
SV
1232020-01-06 Shahab Vahedi <shahab@synopsys.com>
124
125 * tui/tui-disasm.c (tui_disasm_window::addr_is_displayed): Avoid
126 overflow by an early check of content vs threshold.
127 * tui/tui-source.c (tui_source_window::line_is_displayed):
128 Likewise.
129
3f602821
EZ
1302020-01-06 Eli Zaretskii <eliz@gnu.org>
131
132 * NEWS: Mention the recent fix of $_exitsignal on MS-Windows.
133
a08c904d
JT
1342020-01-02 Jon Turney <jon.turney@dronecode.org.uk>
135
136 * coff-pe-read.c (read_pe_exported_syms): Don't try to read the
137 export table if no section contains it's RVA.
138
89a65580
EZ
1392020-01-06 Eli Zaretskii <eliz@gnu.org>
140
141 * windows-tdep.c: Fix a typo in WINDOWS_SIGABRT.
142
8b7fcda2
HD
1432020-01-06 Hannes Domani <ssbssa@yahoo.de>
144
145 * source.c (print_source_lines_base): Set last_line_listed.
146
a61b4f69
SV
1472020-01-06 Shahab Vahedi <shahab@synopsys.com>
148
149 * tui/tui-disasm.c: Remove trailing spaces.
150
559e7e50
EZ
1512020-01-06 Eli Zaretskii <eliz@gnu.org>
152 Pedro Alves <palves@redhat.com>
153
154 * Makefile.in (COMMON_SFILES): Add gdbsupport/gdb_wait.c.
155 * windows-tdep.c: New enumeration of WINDOWS_SIG* signals.
156 (windows_gdb_signal_to_target): New function, uses the above
157 enumeration to convert GDB internal signal codes to equivalent
158 Windows codes.
159 (windows_init_abi): Call set_gdbarch_gdb_signal_to_target.
160 * windows-nat.c: Include "gdb_wait.h".
161 (get_windows_debug_event): Extract the fatal exception from the
162 exit status and convert to the equivalent Posix signal number.
163 * cli/cli-cmds.c (exit_status_set_internal_vars): Account for the
164 possibility that WTERMSIG returns GDB_SIGNAL_UNKNOWN.
165 * gdbsupport/gdb_wait.c: New file, implements
166 windows_status_to_termsig.
167 * gdbsupport/gdb_wait.h (WIFEXITED, WIFSIGNALED, WEXITSTATUS)
168 (WTERMSIG) [__MINGW32__]: Separate definitions for MinGW.
169
f2302a34
AB
1702020-01-05 Andrew Burgess <andrew.burgess@embecosm.com>
171
172 * tui/tui-layout.c (tui_add_win_to_layout): Use tui_set_layout not
173 show_layout.
174
6a5206eb
LM
1752020-01-05 Luis Machado <luis.machado@linaro.org>
176
177 * aarch64-linux-nat.c
178 (aarch64_linux_nat_target::thread_architecture): Use bfd_arch_aarch64
179 and bfd_mach_aarch64.
180
6ec1d75e
PW
1812020-01-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
182
183 * ui-file.c (stdio_file::can_emit_style_escape)
184 (tee_file::can_emit_style_escape): Ensure style is used also on
185 gdb_stderr when gdb_stderr is a tty supporting styling, similarly
186 to gdb_stdout.
187 * main.c (set_gdb_data_directory): Use file style to output the
188 warning that the given pathname is not a directory.
189 * top.c (show_history_filename, gdb_safe_append_history)
190 (show_gdb_datadir): Use file style.
191
44f81a76
HD
1922020-01-03 Hannes Domani <ssbssa@yahoo.de>
193
194 * solib-target.c (struct lm_info_target):
195 Change offsets to be a unique_xmalloc_ptr.
196 (solib_target_relocate_section_addresses): Update.
197
25057eb0
HD
1982020-01-03 Hannes Domani <ssbssa@yahoo.de>
199
200 * windows-nat.c (windows_clear_solib): Free so_list linked list.
201
6e2118f5
BE
2022020-01-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
203
204 * MAINTAINERS (Write After Approval): Add myself.
205
8133c7dc
LM
2062020-01-02 Luis Machado <luis.machado@linaro.org>
207
208 * proc-service.c (get_ps_regcache): Remove reference to obsolete
209 Cell BE architecture.
210 * target.h (struct target_ops) <thread_architecture>: Likewise.
211
48189bec
HD
2122020-01-01 Hannes Domani <ssbssa@yahoo.de>
213
214 * Makefile.in: Use INSTALL_PROGRAM_ENV.
215
ead1063b
HD
2162020-01-01 Hannes Domani <ssbssa@yahoo.de>
217
218 * MAINTAINERS (Write After Approval): Add myself.
219
e5d78223
JB
2202020-01-01 Joel Brobecker <brobecker@adacore.com>
221
222 * gdbarch.sh: Update copyright year range of generated files.
223
b811d2c2
JB
2242020-01-01 Joel Brobecker <brobecker@adacore.com>
225
226 Update copyright year range in all GDB files.
227
5f4def5c
JB
2282020-01-01 Joel Brobecker <brobecker@adacore.com>
229
230 * copyright.py: Convert to Python 3.
231
51fd4002
JB
2322020-01-01 Joel Brobecker <brobecker@adacore.com>
233
234 * copyright.py: Adapt after move of gnulib directory from gdb
235 directory to toplevel directory.
236
5fb651f2
JB
2372020-01-01 Joel Brobecker <brobecker@adacore.com>
238
239 * copyright.py (main): Exit if run from the wrong directory.
240
5dd8bf88
JB
2412020-01-01 Joel Brobecker <brobecker@adacore.com>
242
243 * top.c (print_gdb_version): Change copyright year to 2020.
244
9f71dacb 2452020-01-01 Joel Brobecker <brobecker@adacore.com>
3d34df0a 246
9f71dacb 247 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2019.
3d34df0a 248
9f71dacb 249For older changes see ChangeLog-2019.
c906108c
SS
250\f
251Local Variables:
252mode: change-log
253left-margin: 8
254fill-column: 74
255version-control: never
57da7796 256coding: utf-8
c906108c 257End: