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