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