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