AArch64 GDBserver support.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
176eb98c
MS
12013-02-04 Jim MacArthur <jim.macarthur@arm.com>
2 Marcus Shawcroft <marcus.shawcroft@arm.com>
3 Nigel Stephens <nigel.stephens@arm.com>
4 Yufeng Zhang <yufeng.zhang@arm.com>
5
6 * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes.
7
cf0dbd6f
MS
82013-02-04 Jim MacArthur <jim.macarthur@arm.com>
9 Marcus Shawcroft <marcus.shawcroft@arm.com>
10 Nigel Stephens <nigel.stephens@arm.com>
11 Yufeng Zhang <yufeng.zhang@arm.com>
12
13 * aarch64-newlib-tdep.c: New file.
14 * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of
15 aarch64*-*-elf.
16 * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB.
17 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o.
18 (ALLDEPFILES): Add aarch64-newlib-tdep.c.
19 * osabi.c (gdb_osabi_names): Add "Newlib".
20
1ae3db19
MS
212013-02-04 Jim MacArthur <jim.macarthur@arm.com>
22 Marcus Shawcroft <marcus.shawcroft@arm.com>
23 Nigel Stephens <nigel.stephens@arm.com>
24 Yufeng Zhang <yufeng.zhang@arm.com>
25
26 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o.
27 (ALLDEPFILES): Add aarch64-linux-tdep.c.
28 * aarch64-linux-tdep.c: New file.
29 * aarch64-linux-tdep.h: New file.
30 * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset.
31 * configure.tgt: Add aarch64-none-linux-gnu.
32
07b287a0
MS
332013-02-04 Jim MacArthur <jim.macarthur@arm.com>
34 Marcus Shawcroft <marcus.shawcroft@arm.com>
35 Nigel Stephens <nigel.stephens@arm.com>
36 Yufeng Zhang <yufeng.zhang@arm.com>
37
38 * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o.
39 (HFILES_NO_SRCDIR): Add aarch64-tdep.h.
40 (ALLDEPFILES): Add aarch64-tdep.c.
41 * aarch64-tdep.c: New file.
42 * aarch64-tdep.h: New file.
43 * configure.tgt: Add AArch64.
44 * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu.
45 (aarch64-expedite): New definition.
46 * features/aarch64-core.xml: New file.
47 * features/aarch64-fpu.xml: New file.
48 * features/aarch64-without-fpu.c: New file (generated).
49 * features/aarch64-without-fpu.xml: New file.
50 * features/aarch64.c: New file (generated).
51 * features/aarch64.xml: New file.
52 * regformats/aarch64-without-fpu.dat: New file (generated).
53 * regformats/aarch64.dat: New file (generated).
54
0f1b18ab
JK
552013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
56
57 * contrib/expect-read1.c: New file.
58 * contrib/expect-read1.sh: New file.
59
233d95b5
JK
602013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
61
62 * dwarf2read.c (file_file_name): New function with code from
63 file_full_name.
64 (file_full_name): Move most of the code to file_file_name.
65 (macro_start_file): Rename variable full_name to file_name and use
66 file_file_name for it. Add comp_dir parameter to new_macro_table.
67 * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any
68 macro_source_file->filename access by macro_source_fullname call.
69 * macroscope.c (_initialize_macroscope): Update the new_macro_table
70 caller.
71 * macrotab.c (struct macro_table): New field comp_dir.
72 (macro_include): New variables link_fullname and source_fullname.
73 Replace any macro_source_file->filename access by macro_source_fullname
74 call.
75 (macro_lookup_inclusion): Remove the partial filenames checking code.
76 (check_for_redefinition): New variables source_fullname and
77 found_key_fullname. Replace any macro_source_file->filename access by
78 macro_source_fullname call.
79 (macro_undef): New variables source_fullname and key_fullname. Replace
80 any macro_source_file->filename access by macro_source_fullname call.
81 (macro_lookup_definition): New variables retval and source_fullname.
82 Replace any macro_source_file->filename access by macro_source_fullname
83 call.
84 (foreach_macro): New variable key_fullname. Replace any
85 macro_source_file->filename access by macro_source_fullname call.
86 (foreach_macro_in_scope): New variable datum_fullname. Replace any
87 macro_source_file->filename access by macro_source_fullname call.
88 (new_macro_table): Add parameter comp_dir. Initialize T with it.
89 (macro_source_fullname): New function.
90 * macrotab.h (struct macro_source_file): Extent the filename field
91 comment.
92 (new_macro_table): New parameter comp_dir, add a comment for it.
93 (macro_source_fullname): new declaration.
94
da235a7c
JK
952013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
96
97 * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable
98 this_real_name to outer block. Use it also for
99 compare_filenames_for_search.
100 (dw2_expand_symtabs_matching): New variable this_real_name. Use it
101 with dw2_get_real_path for file_matcher, considering also
102 BASENAMES_MAY_DIFFER.
103 (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS.
104
fbd9ab74
JK
1052013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
106
107 * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter
108 to the file_matcher parameter. Pass 0 to it.
109 (dwarf2_create_include_psymtab): Copy also DIRNAME.
110 * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of
111 NULL psymtab_to_fullname result.
112 (psymtab_to_fullname): Remove variable r. Never return NULL, assemble
113 an expected filename instead.
114 (expand_symtabs_matching_via_partial): Add basenames parameter to the
115 file_matcher parameter. Call also psymtab_to_fullname, after newly
116 considering BASENAMES_MAY_DIFFER.
117 * source.c (rewrite_source_path): Remove static.
118 * source.h (rewrite_source_path): New declaration.
119 * symfile.h (struct quick_symbol_functions): Add basenames parameter to
120 the expand_symtabs_matching field. Comment it.
121 * symtab.c (file_matches): New function comment. Add parameter
122 basenames, implement it.
123 (search_symbols_file_matches): Add basenames parameter. Update the
124 file_matches caller.
125 (search_symbols): Match FILES also against symtab_to_fullname.
126 Optimize it for BASENAMES_MAY_DIFFER.
127
56d397a3
JK
1282013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
129
130 * source.c (print_source_lines_base): Print for TUI also "fullname".
131 * tui/tui-data.c (init_content_element): Change tui_locator_element
132 field to full_name.
133 * tui/tui-data.h (struct tui_locator_element): Likewise.
134 * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename
135 tui_update_locator_filename calls to tui_update_locator_fullname.
136 Replace symtab->filename refererence by symtab_to_fullname call.
137 * tui/tui-out.c (tui_field_string): Check for "fullname" now.
138 * tui/tui-source.c (tui_set_source_content): Change tui_locator_element
139 field to full_name. Replace symtab->filename refererence by
140 symtab_to_fullname call.
141 (tui_show_symtab_source): Rename parameter to fullname. Change
142 tui_locator_element field to full_name.
143 * tui/tui-stack.c: Include source.h.
144 (tui_set_locator_filename): Rename the declaration to ...
145 (tui_set_locator_fullname): ... here. Rename its parameter to
146 fullname, updates its comment.
147 (tui_set_locator_info): Rename its parameter to fullname.
148 (tui_set_locator_filename): Rename the definition to ...
149 (tui_set_locator_fullname): ... here. Rename its parameter to
150 fullname, updates its comment. Change tui_locator_element field to
151 full_name.
152 (tui_set_locator_info): Rename its parameter to fullname.
153 (tui_set_locator_info): Rename callee to tui_set_locator_fullname.
154 (tui_update_locator_filename): Rename to ...
155 (tui_update_locator_fullname): ... here. Rename callee to
156 tui_set_locator_fullname.
157 (tui_show_frame_info): Replace symtab->filename refererence by
158 symtab_to_fullname call.
159 * tui/tui-stack.h (tui_update_locator_filename): Rename to ...
160 (tui_update_locator_fullname): ... here.
161 * tui/tui-winsource.c (tui_display_main): Rename the callee to
162 tui_update_locator_fullname. Replace symtab->filename refererence by
163 symtab_to_fullname call.
164 * tui/tui.c (tui_show_source): Rename its parameter to fullname.
165 Rename the callee to tui_update_locator_fullname.
166 * tui/tui.h (tui_show_source): Rename its parameter to fullname.
167
05cba821
JK
1682013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
169
170 * ada-lang.c (user_select_syms): Replace symtab->filename refererences
171 by symtab_to_filename_for_display calls.
172 * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise.
173 (clear_command): New variable sal_fullname, initialize it. Replace
174 compare_filenames_for_search by filename_cmp with sal_fullname.
175 (say_where, update_static_tracepoint): Replace symtab->filename
176 refererences by symtab_to_filename_for_display calls.
177 * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec):
178 Likewise.
179 * dwarf2read.c: Include source.h.
180 (fixup_go_packaging): Replace symtab->filename refererences by
181 symtab_to_filename_for_display calls.
182 * linespec.c (add_sal_to_sals): Rename variable filename to fullname.
183 Replace symtab->filename refererences by symtab_to_filename_for_display
184 calls.
185 (create_sals_line_offset, convert_linespec_to_sals): New variable
186 fullname, initialize it, replace symtab->filename reference by the
187 variable.
188 * linux-fork.c: Include source.h.
189 (info_checkpoints_command): Replace symtab->filename refererences by
190 symtab_to_filename_for_display calls.
191 * macroscope.c (sal_macro_scope): Replace symtab->filename refererences
192 by symtab_to_filename_for_display calls.
193 * mdebugread.c: Include source.h.
194 (psymtab_to_symtab_1): Replace symtab->filename refererences by
195 symtab_to_filename_for_display calls.
196 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file)
197 (mi_cmd_file_list_exec_source_files): Likewise.
198 * printcmd.c: Include source.h.
199 (build_address_symbolic): Replace symtab->filename refererences by
200 symtab_to_filename_for_display calls.
201 * psymtab.c (partial_map_symtabs_matching_filename)
202 (read_psymtabs_with_fullname): Call compare_filenames_for_search also
203 with psymtab_to_fullname.
204 * python/py-symtab.c (stpy_str): Replace symtab->filename refererences
205 by symtab_to_filename_for_display calls.
206 (stpy_get_filename): New variable filename, initialize it, use instead
207 of symtab->filename refererences.
208 (salpy_str): Make variable filename const char *. Replace
209 symtab->filename refererences by symtab_to_filename_for_display calls.
210 * skip.c: Include source.h and filenames.h.
211 (skip_file_command): Remove const from the symtab variable. Replace
212 symtab->filename refererences by symtab_to_fullname call.
213 (function_name_is_marked_for_skip): New variables searched_for_fullname
214 and fullname. Use them to search also with symtab's fullname.
215 * source.c (find_source_lines): Replace symtab->filename refererences
216 by symtab_to_filename_for_display calls.
217 (print_source_lines_base): New variable filename, use it instead of
218 symtab->filename. Replace symtab->filename refererences by
219 symtab_to_filename_for_display calls.
220 (line_info, forward_search_command): Replace symtab->filename
221 refererences by symtab_to_filename_for_display calls.
222 (reverse_search_command): Replace symtab->filename refererences by
223 symtab_to_filename_for_display calls. New variable filename for it.
224 * stack.c (frame_info): Likewise.
225 * symmisc.c: Include source.h.
226 (dump_objfile, dump_symtab_1, maintenance_print_symbols)
227 (maintenance_info_symtabs): Replace symtab->filename refererences by
228 symtab_to_filename_for_display calls.
229 * symtab.c (iterate_over_some_symtabs): Call
230 compare_filenames_for_search also with symtab_to_fullname.
231 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace
232 symtab->filename refererences by symtab_to_filename_for_display calls.
233 (find_line_symtab): Replace symtab->filename refererences by
234 symtab_to_filename_for_display calls.
235 (file_matches): Replace filename_cmp by compare_filenames_for_search.
236 (print_symbol_info): Make the last parameter const char *. New
237 variable s_filename. Use it in the function.
238 (symtab_symbol_info): Make the last_filename variable const char *.
239 Replace symtab->filename refererences by symtab_to_filename_for_display
240 calls.
241 (rbreak_command): New variable fullname. Use it. Replace
242 symtab->filename refererence by symtab_to_filename_for_display call.
243 * tracepoint.c (set_traceframe_context, trace_find_line_command)
244 (print_one_static_tracepoint_marker): Replace symtab->filename
245 refererences by symtab_to_filename_for_display calls.
246 * tui/tui-source.c (tui_set_source_content): New variables filename and
247 s_filename. Replace symtab->filename refererences by this variable.
248 Replace other symtab->filename refererences by
249 symtab_to_filename_for_display calls.
250
1b56eb55
JK
2512013-02-03 Eldar Gaynetdinov <hal9000ed2k@gmail.com>
252 Jan Kratochvil <jan.kratochvil@redhat.com>
253
254 Add a new variable that controls a way in which filenames are
255 displayed.
256 * NEWS (set filename-display): New entry.
257 * source.c (filename_display_basename, filename_display_relative)
258 (filename_display_absolute, filename_display_kind_names)
259 (filename_display_string, show_filename_display_string)
260 (symtab_to_filename_for_display): New.
261 (_initialize_source): Added initialization of 'filename-display'
262 variable.
263 * source.h (symtab_to_filename_for_display): Added declaration.
264 * stack.c (print_frame): Added new variable and calling of a new
265 function and condition with this variable. Changed third argument of
266 calling of a function.
267
aa079c93
JK
2682013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
269
270 * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window):
271 Rename field reference filename to fullname.
272 * tui/tui-data.h (struct tui_source_info): Rename field filename to
273 fullname. New comment for it.
274 * tui/tui-source.c (tui_set_source_content): Rename field reference
275 filename to fullname. Initialize field by symtab_to_fullname now.
276 * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field
277 reference filename to fullname. Use symtab_to_fullname during
278 comparison.
279
652a8996
JK
2802013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
281
282 Code cleanup.
283 * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ...
284 (dw2_expand_symtabs_with_fullname): ... here. Rename parameter
285 filename to fullname. Rename variable this_name to this_fullname.
286 Lowercase FILENAME_CMP call.
287 (dw2_find_symbol_file): New comment for the returned string.
288 (dwarf2_gdb_index_functions): Rename the function to
289 dw2_expand_symtabs_with_fullname.
290 * psymtab.c (read_psymtabs_with_filename): Rename to ...
291 (read_psymtabs_with_fullname): ... here. Rename parameter filename to
292 fullname.
293 (psym_functions): Rename the function to read_psymtabs_with_fullname.
294 * symfile.h (struct quick_symbol_functions): Rename field
295 expand_symtabs_with_filename to expand_symtabs_with_fullname and its
296 parameter filename to fullname. Document returned string meaning for
297 find_symbol_file.
298 * symtab.c (find_line_symtab): Rename the called function to
299 expand_symtabs_with_fullname.
300
af529f8f
JK
3012013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
302
303 Code cleanup.
304 * breakpoint.c (clear_command): Remove variable is_abs, unify the
305 call of filename_cmp with compare_filenames_for_search.
306 * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable
307 is_abs, unify the call of FILENAME_CMP with
308 compare_filenames_for_search. New gdb_asserts for real_path and name.
309 Unify the call of compare_filenames_for_search with FILENAME_CMP.
310 * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
311 * symfile.h (struct quick_symbol_functions): Extend the comment for
312 map_symtabs_matching_filename.
313 * symtab.c (compare_filenames_for_search): Remove the function comment
314 relative path requirement. Handle absolute filenames, with a comment.
315 (iterate_over_some_symtabs): Remove variable is_abs, unify the call of
316 FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for
317 real_path and name. Unify the call of compare_filenames_for_search
318 with FILENAME_CMP.
319 (iterate_over_symtabs): New gdb_assert on REAL_PATH.
320
2f202fde
JK
3212013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
322
323 Code cleanup.
324 * breakpoint.c (print_breakpoint_location): Replace bp_location field
325 source_file references by symtab field references. Remove variables
326 sal and fullname.
327 (momentary_breakpoint_from_master, add_location_to_breakpoint):
328 (clear_command, say_where): Replace bp_location field source_file
329 references by symtab field references.
330 (bp_location_dtor): Remove the source_file reference.
331 (update_static_tracepoint): Replace bp_location field source_file
332 references by symtab field references.
333 (breakpoint_free_objfile): New function.
334 * breakpoint.h (struct bp_location): Extend the comment for line_number.
335 Replace the field source_file by field symtab, extend its comment.
336 (breakpoint_free_objfile): New declaration.
337 * objfiles.c (free_objfile): Call breakpoint_free_objfile.
338 * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location
339 field source_file references by symtab field references.
340
f5b95b50
JK
3412013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
342
343 Replace xfullpath calls by gdb_realpath calls.
344 * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the
345 function comment.
346 * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path.
347 Remove it from the iterate_over_some_symtabs call.
348 (dw2_map_symtabs_matching_filename): Remove parameter full_path.
349 Remove it from the dw2_map_expand_apply calls, remove a block handling
350 it.
351 * psymtab.c (partial_map_expand_apply): Remove parameter full_path.
352 Remove it from the iterate_over_some_symtabs call.
353 (partial_map_symtabs_matching_filename): Remove parameter full_path.
354 Remove it from the partial_map_expand_apply calls, remove a block
355 handling it. Drop gdb_realpath call and cleanups from the real_path
356 handling.
357 * source.c (openp): Drop the comment part about xfullpath. Replace
358 xfullpath calls by gdb_realpath calls.
359 (find_and_open_source): Replace xfullpath call by gdb_realpath call.
360 * symfile.h (struct quick_symbol_functions): Remove parameter full_path
361 from method map_symtabs_matching_filename and its comment.
362 * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by
363 gdb_realpath call.
364 * symtab.c (iterate_over_some_symtabs): Remove parameter full_path,
365 remove it also from the function comment, remove a block handling it.
366 Drop gdb_realpath call and cleanups from the real_path handling.
367 (iterate_over_symtabs): Drop variable full_path and its use.
368 * symtab.h (iterate_over_some_symtabs): Remove parameter full_path.
369 * utils.c (xfullpath): Remove.
370 * utils.h (xfullpath): Remove.
371
d78489bf
AT
3722013-02-01 Andreas Tobler <andreast@fgznet.ch>
373
374 * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o.
375 (HFILES_NO_SRCDIR): Add ppc64-tdep.h.
376 (ALLDEPFILES): Add ppc64-tdep.c.
377 * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add
378 ppc64-tdep.o to gdb_target_obs.
379 * ppc64-tdep.h: New file.
380 * ppc64-tdep.c: New file.
381 (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from
382 ppc-linux-tdep.c to here.
383 (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN)
384 (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro.
385 (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target)
386 (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move
387 from ppc-linux-tdep.c to here.
388 (ppc64_convert_from_func_ptr_addr): Rename from
389 ppc64_linux_convert_from_func_ptr_addr to
390 ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to
391 here.
392 * rs6000-tdep.c:
393 (read_insn): Move from ppc-linux-tdep.c to here.
394 (insns_match_pattern, insn_d_field, insn_ds_field): Move
395 from ppc-linux-tdep.c to here and rename them with the ppc_ prefix.
396 * ppc-linux-tdep.c: Include ppc64-tdep.h.
397 Removed above functions.
398 (ppc_linux_init_abi): Adjust.
399
8db60374
AR
4002013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
401
402 * ada-valprint.c (ada_print_floating): Remove unused 'len'.
403
f2e5f4ce
AR
4042013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
405
406 * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'.
407
c1f7d745
PA
4082013-02-01 Pedro Alves <palves@redhat.com>
409
410 * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function.
411 * frame.h (deprecated_pc_in_call_dummy): Delete declaration.
412
8a92335b
JK
4132013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
414
415 * elfread.c (elf_symfile_read): Limit separate debug info additions to
416 files with no separate debug info.
417 * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls.
418 * symfile.c (read_symbols): Call find_separate_debug_file_in_section
419 only for files with no separate debug info.
420
8eacb197
TT
4212013-01-31 Tom Tromey <tromey@redhat.com>
422
423 * jit.c (jit_program_space_data): Rename from jit_inferior_data;
424 change type.
425 (struct jit_program_space_data): Rename from jit_inferior_data.
426 Update comments.
427 (get_jit_program_space_data): Rename from get_jit_inferior_data.
428 Change return type. Attach data to program space.
429 (jit_program_space_data_cleanup): Rename from
430 jit_inferior_data_cleanup; change argument type.
431 (jit_read_descriptor): Change 'inf_data' argument to 'ps_data',
432 change type.
433 (jit_register_code): Update.
434 (jit_update_inferior_cache): Remove.
435 (jit_breakpoint_deleted): Get jit data from the location's program
436 space.
437 (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to
438 'ps_data', change type.
439 (jit_inferior_init, jit_breakpoint_re_set_internal)
440 (jit_event_handler): Update.
441 (free_objfile_data): Get data from objfile's program space.
442 (_initialize_jit): Update.
443
f25c0135
TT
4442013-01-31 Tom Tromey <tromey@redhat.com>
445
446 PR gdb/13987:
447 * jit.c (struct jit_inferior_data) <cached_code_address,
448 jit_breakpoint>: New fields.
449 (jit_breakpoint_re_set_internal): Fix logging. Only create
450 breakpoint if cached address has changed.
451 (jit_update_inferior_cache, jit_breakpoint_deleted): New
452 functions.
453 (_initialize_jit): Register breakpoint deleted observer.
454
974a734b
AR
4552013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
456
457 * infrun.c (handle_syscall_event): Remove unused gdbarch.
458 (save_infcall_suspend_state): Ifdef out unused inf.
459 (restore_infcall_suspend_state): Ifdef out unused inf.
460 * jit.c (jit_register_code): Remove unused i, b, inf_data.
461 (jit_frame_sniffer): Remove unused inf_data.
462
df54f8eb
AR
4632013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
464
465 * c-exp.y (classify_inner_name): Remove unused type.
466 * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed,
467 in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished,
468 need_escape.
469 (c_get_string): Remove unused kind.
470 * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2.
471
5799c0b9
AR
4722013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
473
474 * charset.c (intermediate_encoding): Remove unused i.
475 * completer.c (signal_completer): Remove unused i.
476 * continuations.c (discard_my_continuations_1): Remove unused
477 continuation_ptr.
478 * corelow.c (core_close): Remove unuseD name.
479 (get_core_siginfo): Remove unused pid.
480 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused
481 i, cps.
482 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset.
483 (loclist_describe_location): Remove unused first.
484 * event-top.c (command_line_handler): Remove unused got_eof.
485 * exec.c (exec_close_1): Remove unused need_symtab_cleanup.
486 (resize_section_table): Remove unused old_value.
487 * gdb_bfd.c (gdb_bfd_map_section): Remove unused header.
488 * gnu-v3-abi.c (compute_vtable_size): Remove unused addr.
489 * i386-tdep.c (i386_process_record): Remove unused rex.
490 * infcmd.c (get_return_value): Remove unused uiout.
491 * jv-lang.c (type_from_class): Remove unused is_array.
492 * jv-valprint.c (java_val_print): Remove unused i.
493 * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid.
494 * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid.
495 * m2-typeprint.c (m2_print_type): Remove unused code.
496 * macroexp.c (get_character_constant): Remove unused body_start.
497 (macro_stringify): Remove unused result.
498 * objc-lang.c (find_methods): Remove unused gdbarch.
499 * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2.
500 * regcache.c (regcache_cooked_read): Remove unused gdbarch.
501 * stack.c (print_frame_args): Remove unused summary.
502 * thread.c (thread_apply_command): Remove unused p.
503 * valarith.c (value_x_unop): Remove unused mangle_ptr.
504 * valops.c (search_struct_method): Remove unused skip.
505 * valprint.c (generic_val_print): Remove unused byte_order.
506 * varobj.c (varobj_update): Remove unused changed.
507 * cli/cli-cmds.c (complete_command): Remove unused next_item.
508 (alias_command): Remove unused c.
509 * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c.
510 * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused
511 format.
512 (mi_cmd_data_write_memory): Remove unused word_format.
513 (mi_cmd_data_write_memory_bytes): Remove unused r.
514 * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused
515 p_start, p_end.
516 * python/python.c (_initialize_python): Remove unused cmd_name, cmd.
517 * tui/tui-disasm.c (tui_set_disassem_content): Remove unused
518 line_width.
519
c656bca5
AR
5202013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
521
522 * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs.
523 * symtab.c (iterate_over_symtabs): Remove unused s.
524 (find_pc_sect_symtab): Remove unused pspAce.
525 (find_pc_sect_line): Remove unused alt_symtab.
526 (find_pcs_for_symtab_line): Remove unused ix, previous_function.
527 (completion_list_add_name): Remove unused newsize.
528
7078baeb
TT
5292013-01-31 Tom Tromey <tromey@redhat.com>
530
531 PR c++/14998:
532 * dwarf2read.c (read_tag_ptr_to_member_type): Handle
533 TYPE_CODE_FUNC.
534
c2e8b827
AR
5352013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
536
537 * target.c (target_read_string): Remove unused origlen.
538
0e43993a
AR
5392013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
540
541 * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
542 * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
543 * ax-general.c (ax_print): Remove unused is_float.
544 * blockframe.c (block_innermost_frame): Remove unused start, end.
545 * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
546
765a97ab
AR
5472013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
548
549 * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
550 (svr4_read_so_list): Remove unused lmo.
551 * solib-target.c (solib_target_relocate_section_addresses): Remove
552 unused flags.
553
a99dad3d
TT
5542013-01-30 Tom Tromey <tromey@redhat.com>
555
556 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
557
3bff1ecd
TT
5582013-01-30 Tom Tromey <tromey@redhat.com>
559
560 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
561 * utils.c (gnu_debuglink_crc32): Remove.
562 * utils.h (gnu_debuglink_crc32): Don't declare.
563
7d455152
TT
5642013-01-30 Tom Tromey <tromey@redhat.com>
565
566 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
567 (read_structure_type, read_enumeration_type): Remove cast.
568
abee88f2
TT
5692013-01-30 Tom Tromey <tromey@redhat.com>
570
571 * dwarf2read.c (read_namespace_type): Remove cast.
572 (read_typedef): Likewise.
573
8d9878a4
TT
5742013-01-29 Tom Tromey <tromey@redhat.com>
575
576 * dwarf2read.c (free_dwo_file): Remove assert.
577
a543d2a9
TT
5782013-01-29 Tom Tromey <tromey@redhat.com>
579
580 * value.c (deprecated_set_value_modifiable): Remove.
581 * value.h (deprecated_set_value_modifiable): Remove.
582
bed911e5
DE
5832013-01-28 Doug Evans <dje@google.com>
584
585 * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
586 to addresses from dwo files.
587
28c64fc2
SCR
5882013-01-25 Siva Chandra Reddy <sivachandra@google.com>
589
590 * valops.c (find_overload_match): Remove unused argument 'lax'.
591 * value.h: Remove unused argument 'lax' from the declaration of
592 find_overload_match.
593 * eval.c (value_subexp_standard): Do not pass a 'lax' argument
594 to find_overload_match.
595 * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
596 argument to find_overload_match.
597
4d4ec4e5
TT
5982013-01-25 Tom Tromey <tromey@redhat.com>
599
600 * dwarf2read.c (processing_has_namespace_info): Remove.
601 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
602 (process_die, read_func_scope, dwarf2_start_symtab)
603 (new_symbol_full): Update.
604
195a3f6c
TT
6052013-01-25 Tom Tromey <tromey@redhat.com>
606
607 * cp-namespace.c (cp_set_block_scope): Remove.
608 * cp-support.h (cp_set_block_scope): Remove.
609 * dbxread.c: Include block.h.
610 (cp_set_block_scope): New function.
611 (process_one_symbol): Update.
612 * dwarf2read.c (read_func_scope): Use block_set_scope.
613
8ba0730a
PA
6142013-01-25 Pedro Alves <palves@redhat.com>
615
616 * remote.c (add_current_inferior_and_thread): Tweak comment.
617
12aaed36
TT
6182013-01-25 Tom Tromey <tromey@redhat.com>
619
620 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
621 (cp_add_using_directive): Add 'copy_names' argument.
622 * cp-support.h (cp_add_using_directive): Update.
623 (struct using_direct) <import_src, import_dest, alias,
624 declaration>: Now const.
625 * dwarf2read.c (read_import_statement): Use obconcat.
626 Don't copy names passed to cp_add_using_directive.
627
7fc75ca7
TT
6282013-01-25 Tom Tromey <tromey@redhat.com>
629
630 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
631
3405876a
PA
6322013-01-25 Pedro Alves <palves@redhat.com>
633
634 * remote.c (stop_reply_extract_thread): New.
635 (add_current_inferior_and_thread): New parameter 'wait_status'.
636 Handle it.
637 (remote_start_remote): Pass wait status to
638 add_current_inferior_and_thread.
639 (extended_remote_run): Update comment.
640 (extended_remote_create_inferior_1): Pass wait status to
641 add_current_inferior_and_thread.
642
8954db33
AB
6432013-01-25 Andrew Burgess <aburgess@broadcom.com>
644 Ulrich Weigand <uweigand@de.ibm.com>
645
646 * valarith.c (value_vector_widen): New function for replicating a
647 scalar into a vector.
648 (value_binop): Use value_vector_widen to widen scalar to vector
649 rather than casting, this better matches gcc C behaviour.
650 * valops.c (value_casst): Update logic for casting between vector
651 types, and for casting from scalar to vector, try to match gcc C
652 behaviour.
653 * value.h (value_vector_widen): Declare.
654 * opencl-lang.c (opencl_value_cast): New opencl specific casting
655 function, handle special case for casting scalar to vector.
656 (opencl_relop): Use opencl_value_cast.
657 (evaluate_subexp_opencl): Use opencl_value_cast instead of
658 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
659 in order to use opencl_value_cast.
660
843b20dc
YQ
6612013-01-25 Yao Qi <yao@codesourcery.com>
662
663 * event-loop.c: Include "queue.h".
664 (gdb_event_p): New typedef.
665 (DECLARE_QUEUE_P): Use.
666 (DEFINE_QUEUE_P): Use.
667 (async_queue_event): Remove.
668 (gdb_event_xfree): New.
669 (initialize_event_loop): New.
670 (process_event): Use QUEUE macros.
671 (event_queue): Remove.
672 (gdb_wait_for_event): Caller update.
673 (check_async_event_handlers): Likewise.
674 (poll_timers): Likewise.
675 * event-loop.h (initialize_event_loop): Declare.
676 * event-loop.c (gdb_event_xfree): New.
677 * top.c (gdb_init): Call initialize_event_loop.
678
20ad8856
YQ
6792013-01-25 Yao Qi <yao@codesourcery.com>
680
681 * event-loop.c (async_queue_event): Remove one parameter
682 'position'. Remove code handling 'position' == TAIL.
683 (gdb_wait_for_event): Caller update.
684 (check_async_event_handlers): Caller update.
685 (poll_timers): Caller update.
686 * event-loop.h (enum queue_position): Remove.
687
3bbbe775
MK
6882013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com>
689
690 * MAINTAINERS: Update my email.
691
a87d9ac4
YQ
6922013-01-25 Yao Qi <yao@codesourcery.com>
693
694 * main.c (print_gdb_help): Remove "--epoch" from the help
695 message.
696
2077afdd
TD
6972013-01-24 Ulrich Weigand  <uweigand@de.ibm.com>
698
699 * symtab.c (skip_prologue_using_sal): Consider a file
700 change the same as an increased line number
701
63da4037
TD
7022013-01-24 Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
703
704 * MAINTAINERS (Write After Approval): Add myself to the list.
705
45e6c716
TT
7062013-01-24 Tom Tromey <tromey@redhat.com>
707
708 * ada-lang.h (ada_decode_symbol): Make return type const.
709 * ada-lang.c (ada_decode_symbol): Likewise.
710
b1ae631a
DE
7112013-01-23 Doug Evans <dje@google.com>
712
713 * linespec.c (find_linespec_symbols): Make static.
714
55a78401
SDJ
7152013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
716
717 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
718 type on float conversion for complex type.
719
bea883fd
SCR
7202013-01-23 Siva Chandra Reddy <sivachandra@google.com>
721
722 Add a new class gdb.Architecture which exposes GDB's
723 internal representation of architecture via GDB Python API.
724 * Makefile.in: Add entries corresponding to the new file
725 python/py-arch.c.
726 * NEWS (Python Scripting): Add entries for the new class
727 gdb.Architecture and the new method gdb.Frame.architecture.
728 * python/py-arch.c: Implement gdb.Architecture class.
729 * python/py-frame.c (frapy_arch): Implement the method
730 gdb.Frame.architecture().
731 (frame_object_methods): Add 'architecture' to the method table.
732 * python/python-internal.h: Add declarations of new utility
733 functions.
734 * python/python.c (_initialize_python): Initialize
735 gdb.Architecture class.
736
796a7ff8
DE
7372013-01-23 Doug Evans <dje@google.com>
738
739 Work around binutils/15021.
740 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
741 type_unit_group out of union s. All uses updated.
742 (read_index_from_section): Watch for index version 8.
743 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
744 an imported symtab.
745 (write_psymtabs_to_index): Increment version number to 8.
746
0928e93d
PA
7472013-01-22 Pedro Alves <palves@redhat.com>
748
749 * annotate.c (breakpoint_changed): Skip if breakpoint is not
750 user-visible.
751
9c97429f
PA
7522013-01-22 Pedro Alves <palves@redhat.com>
753
754 * annotate.c (annotate_breakpoints_changed): Rename to ...
755 (annotate_breakpoints_invalid): ... this. Make static.
756 (breakpoint_changed): Adjust.
757 (_initialize_annotate): Always install the observers. Install a
758 "breakpoint_created" observer.
759 * annotate.h (annotate_breakpoints_changed): Delete declaration.
760 * breakpoint.c (set_breakpoint_condition)
761 (breakpoint_set_commands, do_map_commands_command)
762 (init_raw_breakpoint, clear_command, set_ignore_count)
763 (enable_breakpoint_disp): No longer call
764 annotate_breakpoints_changed.
765
bd00c694
PA
7662013-01-22 Pedro Alves <palves@redhat.com>
767
768 * annotate.c: Include "inferior.h".
769 (frames_invalid_emitted)
770 (breakpoints_invalid_emitted): New globals.
771 (async_background_execution_p): New function.
772 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
773 emitting the annotation if it has already been emitted.
774 (annotate_display_prompt): New function.
775 * annotate.h (annotate_display_prompt): New declaration.
776 * event-top.c: Include annotate.h.
777 (display_gdb_prompt): Call annotate_display_prompt.
778
187d10dd
PA
7792013-01-22 Pedro Alves <palves@redhat.com>
780
781 * annotate.c (ignore_count_changed): Delete.
782 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
783 (annotate_ignore_count_change): Delete.
784 (annotate_stopped): Don't emit a delayed breakpoints-changed
785 annotation.
786 * annotate.h (annotate_ignore_count_change): Delete.
787 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
788 annotate_ignore_count_change.
789
d84cf7eb
TT
7902013-01-22 Tom Tromey <tromey@redhat.com>
791
792 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
793 require_rvalue for a register location.
794
8f1d5693
MK
7952013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
796
797 * breakpoint.c (print_one_breakpoint_location): Add MI
798 field 'thread-groups' when printing a breakpoint.
799 (output_thread_groups): New function.
800
aa6199c6
SCR
8012013-01-21 Siva Chandra Reddy <sivachandra@google.com>
802
803 * python/lib/gdb/commands/explore.py
804 (CompoundExplorer.explore_expr): Correct the name of a method
805 being invoked.
806 (ExploreTypeCommand.invoke): Add a missing 'return'.
807
d2afef13
TT
8082013-01-21 Tom Tromey <tromey@redhat.com>
809
810 * gdb_obstack.h (obconcat): Move declaration here, from...
811 * symfile.h (obconcat): ... here.
812 * gdb_obstack.c: New file.
813 (obconcat): Move from...
814 * symfile.c (obconcat): ... here.
815 * Makefile.in (SFILES): Add gdb_obstack.c.
816 (COMMON_OBS): Add gdb_obstack.o.
817
10f0c4bb
TT
8182013-01-21 Tom Tromey <tromey@redhat.com>
819
820 * symfile.h (obsavestring): Don't declare.
821 * symfile.c (obsavestring): Remove.
822 * ada-exp.y: Use obstack_copy0, not obsavestring.
823 * ada-lang.c: Use obstack_copy0, not obsavestring.
824 * coffread.c: Use obstack_copy0, not obsavestring.
825 * cp-namespace.c: Use obstack_copy0, not obsavestring.
826 * dbxread.c: Use obstack_copy0, not obsavestring.
827 * dwarf2read.c: Use obstack_copy0, not obsavestring.
828 * jit.c: Use obstack_copy0, not obsavestring.
829 * mdebugread.c: Use obstack_copy0, not obsavestring.
830 * psymtab.c: Use obstack_copy0, not obsavestring.
831 * stabsread.c: Use obstack_copy0, not obsavestring.
832 * xcoffread.c: Use obstack_copy0, not obsavestring.
833
86f62fd7
TT
8342013-01-21 Tom Tromey <tromey@redhat.com>
835
836 * dwarf2read.c (fixup_go_packaging): Save package name
837 on objfile obstack.
838 * gdbtypes.c (init_type): Don't copy name.
839
15d034d0
TT
8402013-01-21 Tom Tromey <tromey@redhat.com>
841
842 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
843 const.
844 (struct attribute) <u.str>: Now const.
845 (struct fnfieldlist) <name>: Now const.
846 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
847 (partial_die_parent_scope): Make return type const.
848 (partial_die_full_name, add_partial_symbol): Update.
849 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
850 'name' const.
851 (find_file_and_directory): Make 'name' and 'comp_dir' const.
852 (read_file_scope, read_func_scope, dwarf2_add_field)
853 (dwarf2_add_member_fn, read_structure_type)
854 (process_enumeration_scope, read_array_type, read_module_type)
855 (read_base_type, read_subrange_type): Update.
856 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
857 (new_symbol_full, guess_full_die_structure_name): Update.
858 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
859 (dwarf2_name): Return const type.
860 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
861 const.
862
748e18ae
TT
8632013-01-21 Tom Tromey <tromey@redhat.com>
864
865 * gdbtypes.c (init_type): Make 'name' const.
866 * gdbtypes.h (init_type): Update.
867
46212e0b
TT
8682013-01-21 Tom Tromey <tromey@redhat.com>
869
870 * buildsym.c (patch_subfile_names): Use set_last_source_file.
871 (start_symtab): Make 'name' and 'dirname' const. Use
872 set_last_source_file.
873 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
874 (last_source_file): Define. Now static.
875 (set_last_source_file, get_last_source_file): New functions.
876 * buildsym.h (last_source_file): Don't declare.
877 (start_symtab): Update.
878 (set_last_source_file, get_last_source_file): Declare.
879 * coffread.c (complete_symtab): Use set_last_source_file.
880 (coff_end_symtab): Likewise.
881 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
882 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
883 set_last_source_file.
884 (process_one_symbol): Use get_last_source_file.
885 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
886 (psymtab_to_symtab_1): Use get_last_source_file.
887 * xcoffread.c (process_linenos): Use get_last_source_file.
888 (complete_symtab): Use set_last_source_file.
889 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
890 (scan_xcoff_symtab): Use set_last_source_file.
891
9d2ceabe
TT
8922013-01-21 Tom Tromey <tromey@redhat.com>
893
894 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
895 (symbol_set_names): Remove casts. Handle field const-ness.
896
cfc594ee
TT
8972013-01-21 Tom Tromey <tromey@redhat.com>
898
899 * dwarf2read.c (new_symbol_full): Remove cast.
900 * symtab.c (symbol_set_demangled_name): Make 'name' const.
901 * symtab.h (symbol_set_demangled_name): Update.
902
5484b13a
TT
9032013-01-21 Tom Tromey <tromey@redhat.com>
904
905 * main.c (captured_main): Call bfd_init.
906
1605ef26
TT
9072013-01-21 Tom Tromey <tromey@redhat.com>
908
909 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
910 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
911 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
912 * NEWS: Update.
913
3b74cdc3
JK
9142013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
915
916 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
917
5a352474
JK
9182013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
919
920 Fix gdb.fortran/common-block.exp crash in PIE mode.
921 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
922 LOC_COMMON_BLOCK.
923 * f-valprint.c (info_common_command_for_block): Expect
924 LOC_COMMON_BLOCK in gdb_assert.
925 * symtab.h (struct general_symbol_info): Update comment for the
926 common_block member.
927 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
928 (enum address_class): New member LOC_COMMON_BLOCK.
929
c60797fd
DB
9302013-01-18 David Blaikie <dblaikie@gmail.com>
931
932 * MAINTAINERS (Write After Approval): Add "David Blaikie".
0cae7dfb 933
46f35228
TT
9342013-01-18 Tom Tromey <tromey@redhat.com>
935
936 PR c++/14999:
937 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
938 Call require_rvalue.
939
257e7a09
YQ
9402013-01-18 Yao Qi <yao@codesourcery.com>
941
942 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
943 (dbx_read_symtab): New declaration.
944 (dbx_psymtab_to_symtab): Delete.
945 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
946 Rename parameter PST to SELF. Exchanged two parameters.
947 (start_psymtab): Caller update.
948 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
949 (dwarf2_read_symtab): New declaration.
950 (dwarf2_psymtab_to_symtab): Delete.
951 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
952 Rename parameter PST to SELF. Exchanged two parameters.
953 (create_partial_symtab): Caller update.
954 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
955 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
956 Rename parameter PST to SELF. Exchanged two parameters.
957 (parse_partial_symbols, new_psymtab): Caller update.
958 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
959 two parameters.
960 * psymtab.c (psymtab_to_symtab): Caller update.
961 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
962 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
963 Rename parameter PST to SELF. Exchanged two parameters.
964 (xcoff_start_psymtab): Caller update.
965
0de5618e
YQ
9662013-01-18 Yao Qi <yao@codesourcery.com>
967
968 * infrun.c (proceed): Rename local variable 'oneproc' to
969 'force_step'.
970
5c04624b
DE
9712013-01-17 Doug Evans <dje@google.com>
972
848e3e78
DE
973 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
974 (dw2_build_type_unit_groups): Delete. All uses updated.
975
5c04624b
DE
976 * symtab.h (struct symbol_search): Add comment.
977
d84fca2c
JK
9782013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
979
980 * symtab.c (compare_filenames_for_search): New comment for
981 HAS_DRIVE_SPEC.
982
6108433d
TT
9832013-01-17 Tom Tromey <tromey@redhat.com>
984
985 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
986
c89ffd86
JK
9872013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
988
989 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
990 initialize it by existing make_cleanup. Call new do_cleanups.
991
db2b2972
TT
9922013-01-17 Tom Tromey <tromey@redhat.com>
993
994 * cp-abi.c (cp_abi_completer): New function.
995 (_initialize_cp_abi): Set completer for "set cp-abi".
996
be7d37a2
TT
9972013-01-17 Tom Tromey <tromey@redhat.com>
998
999 * mem-break.c: Remove obsolete comment.
1000 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
1001
c9fb1240
SD
10022012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1003
1004 * jit.c (jit_reader_load_command): Interpret the jit reader name
1005 as an absolute path if it begins with a forward slash.
1006
db334a01
SD
10072012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1008
1009 PR gdb/14550
1010
1011 * jit.c (finalize_symtab): Ensure that only the global block has a
1012 NULL superblock.
1013
7d928dac
PA
10142013-01-17 Pedro Alves <palves@redhat.com>
1015
1016 * acinclude.m4: Include ../config/plugins.m4,
1017 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
1018 * Makefile.in (aclocal_m4_deps): Update.
1019 * aclocal.m4: Renegerate.
1020
fb8cf7c5
DE
10212013-01-16 Doug Evans <dje@google.com>
1022
1023 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
1024
ab04a2af
TT
10252013-01-16 Pedro Alves <palves@redhat.com>
1026 Tom Tromey <tromey@redhat.com>
1027
1028 PR cli/7221:
1029 * NEWS: Add "catch signal".
1030 * breakpoint.c (base_breakpoint_ops): No longer static.
1031 (bpstat_explains_signal): New function.
1032 (init_catchpoint): No longer static.
1033 (base_breakpoint_explains_signal): New function.
1034 (base_breakpoint_ops): Initialize new field.
1035 * breakpoint.h (enum bpstat_signal_value): New.
1036 (struct breakpoint_ops) <explains_signal>: New field.
1037 (bpstat_explains_signal): Remove macro, declare as function.
1038 (base_breakpoint_ops, init_catchpoint): Declare.
1039 * break-catch-sig.c: New file.
1040 * inferior.h (signal_catch_update): Declare.
1041 * infrun.c (signal_catch): New global.
1042 (handle_syscall_event): Update for change to
1043 bpstat_explains_signal.
1044 (handle_inferior_event): Likewise. Always handle random signals
1045 via bpstats.
1046 (signal_cache_update): Check signal_catch.
1047 (signal_catch_update): New function.
1048 (_initialize_infrun): Initialize signal_catch.
1049 * Makefile.in (SFILES): Add break-catch-sig.c.
1050 (COMMON_OBS): Add break-catch-sig.o.
1051
8ac3646f
TT
10522013-01-16 Tom Tromey <tromey@redhat.com>
1053
1054 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
1055 (print_one_catch_solib, print_one_catch_syscall)
1056 (print_one_catch_exec, print_one_exception_catchpoint): Emit
1057 "catch-type".
1058
5a18e302
YQ
10592013-01-16 Yao Qi <yao@codesourcery.com>
1060
1061 * printcmd.c (current_display_number): Make it static.
1062
3f01d0d0
YQ
10632013-01-16 Yao Qi <yao@codesourcery.com>
1064
1065 * infcmd.c (step_once): Don't check '!single_inst' as it was
1066 checked before.
1067
1ed59174
JK
10682013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1069
1070 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
1071
44478ab3
TT
10722013-01-14 Tom Tromey <tromey@redhat.com>
1073
1074 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
1075 set command.
1076 * command.h (add_setshow_string_noescape_cmd): Update.
1077 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
1078 (complete_set_gnutarget): New function.
1079 (_initialize_core): Set the "set gnutarget" completer.
1080
06d66ee9
TT
10812013-01-14 Tom Tromey <tromey@redhat.com>
1082
1083 PR symtab/14442:
1084 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
1085 (c_type_print_modifier): Likewise.
1086 * dwarf2read.c (read_tag_restrict_type): New function.
1087 (read_type_die_1): Handle DW_TAG_restrict_type.
1088 * gdbtypes.c (make_restrict_type): New function.
1089 (recursive_dump_type): Handle TYPE_RESTRICT.
1090 * gdbtypes.h (enum type_flag_values): Renumber.
1091 (enum type_instance_flag_value): Add
1092 TYPE_INSTANCE_FLAG_RESTRICT.
1093 (TYPE_RESTRICT): New macro.
1094 (make_restrict_type): Declare.
1095
c9bf0622
TT
10962013-01-14 Tom Tromey <tromey@redhat.com>
1097
1098 PR symtab/14931:
1099 * psymtab.c (struct psymtab_state): New.
1100 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
1101 functions.
1102 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
1103 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
1104
44d594fd
PA
11052013-01-14 Richard Sharman <richard_sharman@mitel.com>
1106 Pedro Alves <palves@redhat.com>
1107
1108 PR remote/14786
1109
1110 * remote.c (remote_threads_info): Make a copy of the reply from
1111 qfThreadInfo and use that instead of rs->buf.
1112
442e4d9c
YQ
11132013-01-14 Yao Qi <yao@codesourcery.com>
1114
1115 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
1116 (dbx_psymtab_to_symtab): Likewise.
1117 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
1118 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
1119 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
1120
5b12a61c
JK
11212013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1122
1123 * parse.c (parse_exp_in_context): New variable inner_chain. Call
1124 make_cleanup_restore_current_language. Call set_language. Move
1125 OLD_CHAIN and INNER_CHAIN cleanups.
1126 * utils.c (do_restore_current_language)
1127 (make_cleanup_restore_current_language): New functions.
1128 * utils.h (make_cleanup_restore_current_language): New declaration.
1129
f0a4b570
JK
11302013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1131
1132 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
1133 non-existing files.
1134
57b3c00c
JK
1135 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
1136 non-existing files if FILENAME is already absolute.
1137
daefa854
JK
11382013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1139
1140 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
1141 fputs_filtered. Append trailing newline.
1142
ca9c6ee2
YQ
11432013-01-11 Yao Qi <yao@codesourcery.com>
1144 Stan Shebs <stan@codesourcery.com>
1145
1146 * psymtab.c (init_psymbol_list): Clarify the comment.
1147
f28045c2
YQ
11482013-01-11 Yao Qi <yao@codesourcery.com>
1149
1150 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
1151 (update_dprintf_command_list): Assert that 'printf_line' is
1152 non-null. Remove condition check.
1153
da5132d3
JK
11542013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1155
1156 Code cleanup.
1157 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
1158 type const char *.
1159 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
1160 const char *.
1161 * tui/tui-source.h (tui_source_is_displayed): Likewise.
1162
843e694d
AG
11632013-01-09 Anthony Green <green@moxielogic.com>
1164
1165 * cp-abi.c (cplus_print_vtable): Don't return value from void
1166 function.
1167 * ada-lang.c (re_set_catch_assert): Ditto.
1168
da51c347
DE
11692013-01-09 Doug Evans <dje@google.com>
1170
1171 * symfile.h (quick_symbol_functions): Delete member
1172 pre_expand_symtabs_matching. All uses removed.
1173 * dwarf2read.c (dw2_lookup_symbol): Implement.
1174 (dw2_do_expand_symtabs_matching): Delete.
1175 (dw2_pre_expand_symtabs_matching): Delete.
1176 (struct dw2_symtab_iterator): New type.
1177 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
1178 (dw2_expand_symtabs_for_function): Rewrite.
1179 (dwarf2_gdb_index_functions): Update.
1180 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
1181 (psym_functions): Update.
1182
b2259038
TT
11832013-01-09 Tom Tromey <tromey@redhat.com>
1184
1185 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
1186 * configure: Rebuild.
1187 * configure.ac: Add somread.o to the build if BFD has SOM
1188 support.
1189 * somread.c: Include som/aout.h, not syms.h.
1190 (som_symtab_read): Use som_external_symbol_dictionary_record.
1191 Unpack records manually.
1192 (_initialize_somread): Declare.
1193
bdad4180
MF
11942012-01-08 Mike Frysinger <vapier@gentoo.org>
1195
1196 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
1197 Cast return_address to 64bits.
1198
03cdf680
HZ
11992013-01-08 Hui Zhu <hui_zhu@mentor.com>
1200
1201 * printcmd.c: Remove define of function output_command.
1202 * tracepoint.c: Remove extern of function output_command.
1203 * valprint.h: (output_command): New extern.
1204
8a808554
TT
12052013-01-07 Tom Tromey <tromey@redhat.com>
1206
1207 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
1208 Remove.
1209 (objc_language_defn): Use c_printchar, c_printstr,
1210 c_emit_char.
1211
e93a8774
TT
12122013-01-07 Tom Tromey <tromey@redhat.com>
1213
1214 PR cli/7719:
1215 * NEWS: Update.
1216 * ada-valprint.c (printstr, print_field_values): Remove
1217 "inspect_it" code.
1218 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
1219 code.
1220 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
1221 code.
1222 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
1223 * main.c (captured_main): Remove "epoch" argument.
1224 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
1225 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
1226 * p-valprint.c (pascal_object_print_value_fields): Remove
1227 "inspect_it" code.
1228 * printcmd.c (print_command_1): Remove 'inspect' argument.
1229 (print_command, call_command): Update.
1230 (inspect_command): Remove.
1231 (_initialize_printcmd): Make "inspect" an alias for "print".
1232 * top.c (epoch_interface): Remove.
1233 * top.h (epoch_interface): Remove.
1234 * valprint.c (user_print_options): Update.
1235 (print_converted_chars_to_obstack): Remove "inspect_it" code.
1236 * valprint.h (struct value_print_options) <inspect_it>: Remove
1237 field.
1238
12392013-01-04 Tom Tromey <tromey@redhat.com>
1240
1241 * valprint.h (read_string): Add 'extern'.
1242
b967eb24
JB
12432013-01-07 Joel Brobecker <brobecker@adacore.com>
1244
1245 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
1246 used to decide whether to define darwin_read_dyld_info or not.
1247
78a8b30e
PM
12482013-01-03 Pierre Muller <muller@sourceware.org>
1249
1250 * main.c (relocate_gdb_directory): Avoid calling stat function
1251 if DIR is empty.
1252
50da2f25
YQ
12532013-01-03 Yao Qi <yao@codesourcery.com>
1254
1255 * psymtab.c (fixup_psymbol_section): Update declaration.
1256 (fixup_psymbol_section): Remove code returning value.
1257
e7e8980f
YQ
12582013-01-03 Yao Qi <yao@codesourcery.com>
1259
1260 * symtab.h: Remove some out of date comments.
1261 (enum exception_event_kind): Move it ...
1262 * breakpoint.c: ... here.
1263
569283d4
MF
12642013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
1265
9f9d9a96 1266 PR gdb/14405
569283d4
MF
1267 * darwin-nat.c (darwin_read_dyld_info): Only build if
1268 TASK_DYLD_INFO_COUNT is defined.
1269 (darwin_xfer_partial): Call darwin_read_dyld_info only if
1270 TASK_DYLD_INFO_COUNT is defined.
1271
2e36fbea
TT
12722013-01-02 Tom Tromey <tromey@redhat.com>
1273
1274 * symfile.h (struct ecoff_debug_hack): Remove.
1275 * objfiles.c: Don't include mdebugread.h.
1276
4f05add4
TT
12772013-01-02 Tom Tromey <tromey@redhat.com>
1278
1279 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
1280 * configure.ac: Check for Mach-O support in BFD. Update
1281 CONFIG_OBS.
1282 * configure: Rebuild.
1283
def63ff0
TT
12842013-01-02 Tom Tromey <tromey@redhat.com>
1285
1286 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
1287 * configure.ac: Use GDB_AC_CHECK_BFD.
1288 * configure: Rebuild.
1289
60c5dd93
MK
12902013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1291
1292 * MAINTAINERS: Update my email.
1293
6e58437e
JB
12942013-01-01 Joel Brobecker <brobecker@adacore.com>
1295
1296 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
1297
627fe805
JB
12982013-01-01 Joel Brobecker <brobecker@adacore.com>
1299
1300 * rs6000-nat.c (bss_data_overlap): New function.
1301 (vmap_symtab): Use it to adjust the .bss section's offset.
1302
28e7fd62
JB
13032013-01-01 Joel Brobecker <brobecker@adacore.com>
1304
1305 Update year range in copyright notice of all files.
1306
e93a8774 13072013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
b9786c74
JB
1308
1309 * top.c (print_gdb_version): Update copyright year.
1310
72b20e9c 1311For older changes see ChangeLog-2012.
c906108c
SS
1312\f
1313Local Variables:
1314mode: change-log
1315left-margin: 8
1316fill-column: 74
1317version-control: never
57da7796 1318coding: utf-8
c906108c 1319End:
This page took 2.025118 seconds and 4 git commands to generate.