1 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
3 * ada-valprint.c (ada_print_floating): Remove unused 'len'.
5 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
7 * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'.
9 2013-02-01 Pedro Alves <palves@redhat.com>
11 * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function.
12 * frame.h (deprecated_pc_in_call_dummy): Delete declaration.
14 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16 * elfread.c (elf_symfile_read): Limit separate debug info additions to
17 files with no separate debug info.
18 * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls.
19 * symfile.c (read_symbols): Call find_separate_debug_file_in_section
20 only for files with no separate debug info.
22 2013-01-31 Tom Tromey <tromey@redhat.com>
24 * jit.c (jit_program_space_data): Rename from jit_inferior_data;
26 (struct jit_program_space_data): Rename from jit_inferior_data.
28 (get_jit_program_space_data): Rename from get_jit_inferior_data.
29 Change return type. Attach data to program space.
30 (jit_program_space_data_cleanup): Rename from
31 jit_inferior_data_cleanup; change argument type.
32 (jit_read_descriptor): Change 'inf_data' argument to 'ps_data',
34 (jit_register_code): Update.
35 (jit_update_inferior_cache): Remove.
36 (jit_breakpoint_deleted): Get jit data from the location's program
38 (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to
39 'ps_data', change type.
40 (jit_inferior_init, jit_breakpoint_re_set_internal)
41 (jit_event_handler): Update.
42 (free_objfile_data): Get data from objfile's program space.
43 (_initialize_jit): Update.
45 2013-01-31 Tom Tromey <tromey@redhat.com>
48 * jit.c (struct jit_inferior_data) <cached_code_address,
49 jit_breakpoint>: New fields.
50 (jit_breakpoint_re_set_internal): Fix logging. Only create
51 breakpoint if cached address has changed.
52 (jit_update_inferior_cache, jit_breakpoint_deleted): New
54 (_initialize_jit): Register breakpoint deleted observer.
56 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
58 * infrun.c (handle_syscall_event): Remove unused gdbarch.
59 (save_infcall_suspend_state): Ifdef out unused inf.
60 (restore_infcall_suspend_state): Ifdef out unused inf.
61 * jit.c (jit_register_code): Remove unused i, b, inf_data.
62 (jit_frame_sniffer): Remove unused inf_data.
64 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
66 * c-exp.y (classify_inner_name): Remove unused type.
67 * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed,
68 in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished,
70 (c_get_string): Remove unused kind.
71 * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2.
73 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
75 * charset.c (intermediate_encoding): Remove unused i.
76 * completer.c (signal_completer): Remove unused i.
77 * continuations.c (discard_my_continuations_1): Remove unused
79 * corelow.c (core_close): Remove unuseD name.
80 (get_core_siginfo): Remove unused pid.
81 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused
83 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset.
84 (loclist_describe_location): Remove unused first.
85 * event-top.c (command_line_handler): Remove unused got_eof.
86 * exec.c (exec_close_1): Remove unused need_symtab_cleanup.
87 (resize_section_table): Remove unused old_value.
88 * gdb_bfd.c (gdb_bfd_map_section): Remove unused header.
89 * gnu-v3-abi.c (compute_vtable_size): Remove unused addr.
90 * i386-tdep.c (i386_process_record): Remove unused rex.
91 * infcmd.c (get_return_value): Remove unused uiout.
92 * jv-lang.c (type_from_class): Remove unused is_array.
93 * jv-valprint.c (java_val_print): Remove unused i.
94 * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid.
95 * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid.
96 * m2-typeprint.c (m2_print_type): Remove unused code.
97 * macroexp.c (get_character_constant): Remove unused body_start.
98 (macro_stringify): Remove unused result.
99 * objc-lang.c (find_methods): Remove unused gdbarch.
100 * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2.
101 * regcache.c (regcache_cooked_read): Remove unused gdbarch.
102 * stack.c (print_frame_args): Remove unused summary.
103 * thread.c (thread_apply_command): Remove unused p.
104 * valarith.c (value_x_unop): Remove unused mangle_ptr.
105 * valops.c (search_struct_method): Remove unused skip.
106 * valprint.c (generic_val_print): Remove unused byte_order.
107 * varobj.c (varobj_update): Remove unused changed.
108 * cli/cli-cmds.c (complete_command): Remove unused next_item.
109 (alias_command): Remove unused c.
110 * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c.
111 * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused
113 (mi_cmd_data_write_memory): Remove unused word_format.
114 (mi_cmd_data_write_memory_bytes): Remove unused r.
115 * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused
117 * python/python.c (_initialize_python): Remove unused cmd_name, cmd.
118 * tui/tui-disasm.c (tui_set_disassem_content): Remove unused
121 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
123 * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs.
124 * symtab.c (iterate_over_symtabs): Remove unused s.
125 (find_pc_sect_symtab): Remove unused pspAce.
126 (find_pc_sect_line): Remove unused alt_symtab.
127 (find_pcs_for_symtab_line): Remove unused ix, previous_function.
128 (completion_list_add_name): Remove unused newsize.
130 2013-01-31 Tom Tromey <tromey@redhat.com>
133 * dwarf2read.c (read_tag_ptr_to_member_type): Handle
136 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
138 * target.c (target_read_string): Remove unused origlen.
140 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
142 * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
143 * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
144 * ax-general.c (ax_print): Remove unused is_float.
145 * blockframe.c (block_innermost_frame): Remove unused start, end.
146 * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
148 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
150 * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
151 (svr4_read_so_list): Remove unused lmo.
152 * solib-target.c (solib_target_relocate_section_addresses): Remove
155 2013-01-30 Tom Tromey <tromey@redhat.com>
157 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
159 2013-01-30 Tom Tromey <tromey@redhat.com>
161 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
162 * utils.c (gnu_debuglink_crc32): Remove.
163 * utils.h (gnu_debuglink_crc32): Don't declare.
165 2013-01-30 Tom Tromey <tromey@redhat.com>
167 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
168 (read_structure_type, read_enumeration_type): Remove cast.
170 2013-01-30 Tom Tromey <tromey@redhat.com>
172 * dwarf2read.c (read_namespace_type): Remove cast.
173 (read_typedef): Likewise.
175 2013-01-29 Tom Tromey <tromey@redhat.com>
177 * dwarf2read.c (free_dwo_file): Remove assert.
179 2013-01-29 Tom Tromey <tromey@redhat.com>
181 * value.c (deprecated_set_value_modifiable): Remove.
182 * value.h (deprecated_set_value_modifiable): Remove.
184 2013-01-28 Doug Evans <dje@google.com>
186 * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
187 to addresses from dwo files.
189 2013-01-25 Siva Chandra Reddy <sivachandra@google.com>
191 * valops.c (find_overload_match): Remove unused argument 'lax'.
192 * value.h: Remove unused argument 'lax' from the declaration of
194 * eval.c (value_subexp_standard): Do not pass a 'lax' argument
195 to find_overload_match.
196 * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
197 argument to find_overload_match.
199 2013-01-25 Tom Tromey <tromey@redhat.com>
201 * dwarf2read.c (processing_has_namespace_info): Remove.
202 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
203 (process_die, read_func_scope, dwarf2_start_symtab)
204 (new_symbol_full): Update.
206 2013-01-25 Tom Tromey <tromey@redhat.com>
208 * cp-namespace.c (cp_set_block_scope): Remove.
209 * cp-support.h (cp_set_block_scope): Remove.
210 * dbxread.c: Include block.h.
211 (cp_set_block_scope): New function.
212 (process_one_symbol): Update.
213 * dwarf2read.c (read_func_scope): Use block_set_scope.
215 2013-01-25 Pedro Alves <palves@redhat.com>
217 * remote.c (add_current_inferior_and_thread): Tweak comment.
219 2013-01-25 Tom Tromey <tromey@redhat.com>
221 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
222 (cp_add_using_directive): Add 'copy_names' argument.
223 * cp-support.h (cp_add_using_directive): Update.
224 (struct using_direct) <import_src, import_dest, alias,
225 declaration>: Now const.
226 * dwarf2read.c (read_import_statement): Use obconcat.
227 Don't copy names passed to cp_add_using_directive.
229 2013-01-25 Tom Tromey <tromey@redhat.com>
231 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
233 2013-01-25 Pedro Alves <palves@redhat.com>
235 * remote.c (stop_reply_extract_thread): New.
236 (add_current_inferior_and_thread): New parameter 'wait_status'.
238 (remote_start_remote): Pass wait status to
239 add_current_inferior_and_thread.
240 (extended_remote_run): Update comment.
241 (extended_remote_create_inferior_1): Pass wait status to
242 add_current_inferior_and_thread.
244 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
245 Ulrich Weigand <uweigand@de.ibm.com>
247 * valarith.c (value_vector_widen): New function for replicating a
248 scalar into a vector.
249 (value_binop): Use value_vector_widen to widen scalar to vector
250 rather than casting, this better matches gcc C behaviour.
251 * valops.c (value_casst): Update logic for casting between vector
252 types, and for casting from scalar to vector, try to match gcc C
254 * value.h (value_vector_widen): Declare.
255 * opencl-lang.c (opencl_value_cast): New opencl specific casting
256 function, handle special case for casting scalar to vector.
257 (opencl_relop): Use opencl_value_cast.
258 (evaluate_subexp_opencl): Use opencl_value_cast instead of
259 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
260 in order to use opencl_value_cast.
262 2013-01-25 Yao Qi <yao@codesourcery.com>
264 * event-loop.c: Include "queue.h".
265 (gdb_event_p): New typedef.
266 (DECLARE_QUEUE_P): Use.
267 (DEFINE_QUEUE_P): Use.
268 (async_queue_event): Remove.
269 (gdb_event_xfree): New.
270 (initialize_event_loop): New.
271 (process_event): Use QUEUE macros.
272 (event_queue): Remove.
273 (gdb_wait_for_event): Caller update.
274 (check_async_event_handlers): Likewise.
275 (poll_timers): Likewise.
276 * event-loop.h (initialize_event_loop): Declare.
277 * event-loop.c (gdb_event_xfree): New.
278 * top.c (gdb_init): Call initialize_event_loop.
280 2013-01-25 Yao Qi <yao@codesourcery.com>
282 * event-loop.c (async_queue_event): Remove one parameter
283 'position'. Remove code handling 'position' == TAIL.
284 (gdb_wait_for_event): Caller update.
285 (check_async_event_handlers): Caller update.
286 (poll_timers): Caller update.
287 * event-loop.h (enum queue_position): Remove.
289 2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com>
291 * MAINTAINERS: Update my email.
293 2013-01-25 Yao Qi <yao@codesourcery.com>
295 * main.c (print_gdb_help): Remove "--epoch" from the help
298 2013-01-24 Ulrich Weigand <uweigand@de.ibm.com>
300 * symtab.c (skip_prologue_using_sal): Consider a file
301 change the same as an increased line number
303 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
305 * MAINTAINERS (Write After Approval): Add myself to the list.
307 2013-01-24 Tom Tromey <tromey@redhat.com>
309 * ada-lang.h (ada_decode_symbol): Make return type const.
310 * ada-lang.c (ada_decode_symbol): Likewise.
312 2013-01-23 Doug Evans <dje@google.com>
314 * linespec.c (find_linespec_symbols): Make static.
316 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
318 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
319 type on float conversion for complex type.
321 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
323 Add a new class gdb.Architecture which exposes GDB's
324 internal representation of architecture via GDB Python API.
325 * Makefile.in: Add entries corresponding to the new file
327 * NEWS (Python Scripting): Add entries for the new class
328 gdb.Architecture and the new method gdb.Frame.architecture.
329 * python/py-arch.c: Implement gdb.Architecture class.
330 * python/py-frame.c (frapy_arch): Implement the method
331 gdb.Frame.architecture().
332 (frame_object_methods): Add 'architecture' to the method table.
333 * python/python-internal.h: Add declarations of new utility
335 * python/python.c (_initialize_python): Initialize
336 gdb.Architecture class.
338 2013-01-23 Doug Evans <dje@google.com>
340 Work around binutils/15021.
341 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
342 type_unit_group out of union s. All uses updated.
343 (read_index_from_section): Watch for index version 8.
344 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
346 (write_psymtabs_to_index): Increment version number to 8.
348 2013-01-22 Pedro Alves <palves@redhat.com>
350 * annotate.c (breakpoint_changed): Skip if breakpoint is not
353 2013-01-22 Pedro Alves <palves@redhat.com>
355 * annotate.c (annotate_breakpoints_changed): Rename to ...
356 (annotate_breakpoints_invalid): ... this. Make static.
357 (breakpoint_changed): Adjust.
358 (_initialize_annotate): Always install the observers. Install a
359 "breakpoint_created" observer.
360 * annotate.h (annotate_breakpoints_changed): Delete declaration.
361 * breakpoint.c (set_breakpoint_condition)
362 (breakpoint_set_commands, do_map_commands_command)
363 (init_raw_breakpoint, clear_command, set_ignore_count)
364 (enable_breakpoint_disp): No longer call
365 annotate_breakpoints_changed.
367 2013-01-22 Pedro Alves <palves@redhat.com>
369 * annotate.c: Include "inferior.h".
370 (frames_invalid_emitted)
371 (breakpoints_invalid_emitted): New globals.
372 (async_background_execution_p): New function.
373 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
374 emitting the annotation if it has already been emitted.
375 (annotate_display_prompt): New function.
376 * annotate.h (annotate_display_prompt): New declaration.
377 * event-top.c: Include annotate.h.
378 (display_gdb_prompt): Call annotate_display_prompt.
380 2013-01-22 Pedro Alves <palves@redhat.com>
382 * annotate.c (ignore_count_changed): Delete.
383 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
384 (annotate_ignore_count_change): Delete.
385 (annotate_stopped): Don't emit a delayed breakpoints-changed
387 * annotate.h (annotate_ignore_count_change): Delete.
388 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
389 annotate_ignore_count_change.
391 2013-01-22 Tom Tromey <tromey@redhat.com>
393 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
394 require_rvalue for a register location.
396 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
398 * breakpoint.c (print_one_breakpoint_location): Add MI
399 field 'thread-groups' when printing a breakpoint.
400 (output_thread_groups): New function.
402 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
404 * python/lib/gdb/commands/explore.py
405 (CompoundExplorer.explore_expr): Correct the name of a method
407 (ExploreTypeCommand.invoke): Add a missing 'return'.
409 2013-01-21 Tom Tromey <tromey@redhat.com>
411 * gdb_obstack.h (obconcat): Move declaration here, from...
412 * symfile.h (obconcat): ... here.
413 * gdb_obstack.c: New file.
414 (obconcat): Move from...
415 * symfile.c (obconcat): ... here.
416 * Makefile.in (SFILES): Add gdb_obstack.c.
417 (COMMON_OBS): Add gdb_obstack.o.
419 2013-01-21 Tom Tromey <tromey@redhat.com>
421 * symfile.h (obsavestring): Don't declare.
422 * symfile.c (obsavestring): Remove.
423 * ada-exp.y: Use obstack_copy0, not obsavestring.
424 * ada-lang.c: Use obstack_copy0, not obsavestring.
425 * coffread.c: Use obstack_copy0, not obsavestring.
426 * cp-namespace.c: Use obstack_copy0, not obsavestring.
427 * dbxread.c: Use obstack_copy0, not obsavestring.
428 * dwarf2read.c: Use obstack_copy0, not obsavestring.
429 * jit.c: Use obstack_copy0, not obsavestring.
430 * mdebugread.c: Use obstack_copy0, not obsavestring.
431 * psymtab.c: Use obstack_copy0, not obsavestring.
432 * stabsread.c: Use obstack_copy0, not obsavestring.
433 * xcoffread.c: Use obstack_copy0, not obsavestring.
435 2013-01-21 Tom Tromey <tromey@redhat.com>
437 * dwarf2read.c (fixup_go_packaging): Save package name
439 * gdbtypes.c (init_type): Don't copy name.
441 2013-01-21 Tom Tromey <tromey@redhat.com>
443 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
445 (struct attribute) <u.str>: Now const.
446 (struct fnfieldlist) <name>: Now const.
447 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
448 (partial_die_parent_scope): Make return type const.
449 (partial_die_full_name, add_partial_symbol): Update.
450 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
452 (find_file_and_directory): Make 'name' and 'comp_dir' const.
453 (read_file_scope, read_func_scope, dwarf2_add_field)
454 (dwarf2_add_member_fn, read_structure_type)
455 (process_enumeration_scope, read_array_type, read_module_type)
456 (read_base_type, read_subrange_type): Update.
457 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
458 (new_symbol_full, guess_full_die_structure_name): Update.
459 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
460 (dwarf2_name): Return const type.
461 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
464 2013-01-21 Tom Tromey <tromey@redhat.com>
466 * gdbtypes.c (init_type): Make 'name' const.
467 * gdbtypes.h (init_type): Update.
469 2013-01-21 Tom Tromey <tromey@redhat.com>
471 * buildsym.c (patch_subfile_names): Use set_last_source_file.
472 (start_symtab): Make 'name' and 'dirname' const. Use
473 set_last_source_file.
474 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
475 (last_source_file): Define. Now static.
476 (set_last_source_file, get_last_source_file): New functions.
477 * buildsym.h (last_source_file): Don't declare.
478 (start_symtab): Update.
479 (set_last_source_file, get_last_source_file): Declare.
480 * coffread.c (complete_symtab): Use set_last_source_file.
481 (coff_end_symtab): Likewise.
482 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
483 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
484 set_last_source_file.
485 (process_one_symbol): Use get_last_source_file.
486 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
487 (psymtab_to_symtab_1): Use get_last_source_file.
488 * xcoffread.c (process_linenos): Use get_last_source_file.
489 (complete_symtab): Use set_last_source_file.
490 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
491 (scan_xcoff_symtab): Use set_last_source_file.
493 2013-01-21 Tom Tromey <tromey@redhat.com>
495 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
496 (symbol_set_names): Remove casts. Handle field const-ness.
498 2013-01-21 Tom Tromey <tromey@redhat.com>
500 * dwarf2read.c (new_symbol_full): Remove cast.
501 * symtab.c (symbol_set_demangled_name): Make 'name' const.
502 * symtab.h (symbol_set_demangled_name): Update.
504 2013-01-21 Tom Tromey <tromey@redhat.com>
506 * main.c (captured_main): Call bfd_init.
508 2013-01-21 Tom Tromey <tromey@redhat.com>
510 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
511 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
512 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
515 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
517 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
519 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
521 Fix gdb.fortran/common-block.exp crash in PIE mode.
522 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
524 * f-valprint.c (info_common_command_for_block): Expect
525 LOC_COMMON_BLOCK in gdb_assert.
526 * symtab.h (struct general_symbol_info): Update comment for the
528 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
529 (enum address_class): New member LOC_COMMON_BLOCK.
531 2013-01-18 David Blaikie <dblaikie@gmail.com>
533 * MAINTAINERS (Write After Approval): Add "David Blaikie".
535 2013-01-18 Tom Tromey <tromey@redhat.com>
538 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
541 2013-01-18 Yao Qi <yao@codesourcery.com>
543 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
544 (dbx_read_symtab): New declaration.
545 (dbx_psymtab_to_symtab): Delete.
546 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
547 Rename parameter PST to SELF. Exchanged two parameters.
548 (start_psymtab): Caller update.
549 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
550 (dwarf2_read_symtab): New declaration.
551 (dwarf2_psymtab_to_symtab): Delete.
552 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
553 Rename parameter PST to SELF. Exchanged two parameters.
554 (create_partial_symtab): Caller update.
555 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
556 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
557 Rename parameter PST to SELF. Exchanged two parameters.
558 (parse_partial_symbols, new_psymtab): Caller update.
559 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
561 * psymtab.c (psymtab_to_symtab): Caller update.
562 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
563 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
564 Rename parameter PST to SELF. Exchanged two parameters.
565 (xcoff_start_psymtab): Caller update.
567 2013-01-18 Yao Qi <yao@codesourcery.com>
569 * infrun.c (proceed): Rename local variable 'oneproc' to
572 2013-01-17 Doug Evans <dje@google.com>
574 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
575 (dw2_build_type_unit_groups): Delete. All uses updated.
577 * symtab.h (struct symbol_search): Add comment.
579 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
581 * symtab.c (compare_filenames_for_search): New comment for
584 2013-01-17 Tom Tromey <tromey@redhat.com>
586 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
588 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
590 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
591 initialize it by existing make_cleanup. Call new do_cleanups.
593 2013-01-17 Tom Tromey <tromey@redhat.com>
595 * cp-abi.c (cp_abi_completer): New function.
596 (_initialize_cp_abi): Set completer for "set cp-abi".
598 2013-01-17 Tom Tromey <tromey@redhat.com>
600 * mem-break.c: Remove obsolete comment.
601 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
603 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
605 * jit.c (jit_reader_load_command): Interpret the jit reader name
606 as an absolute path if it begins with a forward slash.
608 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
612 * jit.c (finalize_symtab): Ensure that only the global block has a
615 2013-01-17 Pedro Alves <palves@redhat.com>
617 * acinclude.m4: Include ../config/plugins.m4,
618 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
619 * Makefile.in (aclocal_m4_deps): Update.
620 * aclocal.m4: Renegerate.
622 2013-01-16 Doug Evans <dje@google.com>
624 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
626 2013-01-16 Pedro Alves <palves@redhat.com>
627 Tom Tromey <tromey@redhat.com>
630 * NEWS: Add "catch signal".
631 * breakpoint.c (base_breakpoint_ops): No longer static.
632 (bpstat_explains_signal): New function.
633 (init_catchpoint): No longer static.
634 (base_breakpoint_explains_signal): New function.
635 (base_breakpoint_ops): Initialize new field.
636 * breakpoint.h (enum bpstat_signal_value): New.
637 (struct breakpoint_ops) <explains_signal>: New field.
638 (bpstat_explains_signal): Remove macro, declare as function.
639 (base_breakpoint_ops, init_catchpoint): Declare.
640 * break-catch-sig.c: New file.
641 * inferior.h (signal_catch_update): Declare.
642 * infrun.c (signal_catch): New global.
643 (handle_syscall_event): Update for change to
644 bpstat_explains_signal.
645 (handle_inferior_event): Likewise. Always handle random signals
647 (signal_cache_update): Check signal_catch.
648 (signal_catch_update): New function.
649 (_initialize_infrun): Initialize signal_catch.
650 * Makefile.in (SFILES): Add break-catch-sig.c.
651 (COMMON_OBS): Add break-catch-sig.o.
653 2013-01-16 Tom Tromey <tromey@redhat.com>
655 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
656 (print_one_catch_solib, print_one_catch_syscall)
657 (print_one_catch_exec, print_one_exception_catchpoint): Emit
660 2013-01-16 Yao Qi <yao@codesourcery.com>
662 * printcmd.c (current_display_number): Make it static.
664 2013-01-16 Yao Qi <yao@codesourcery.com>
666 * infcmd.c (step_once): Don't check '!single_inst' as it was
669 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
671 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
673 2013-01-14 Tom Tromey <tromey@redhat.com>
675 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
677 * command.h (add_setshow_string_noescape_cmd): Update.
678 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
679 (complete_set_gnutarget): New function.
680 (_initialize_core): Set the "set gnutarget" completer.
682 2013-01-14 Tom Tromey <tromey@redhat.com>
685 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
686 (c_type_print_modifier): Likewise.
687 * dwarf2read.c (read_tag_restrict_type): New function.
688 (read_type_die_1): Handle DW_TAG_restrict_type.
689 * gdbtypes.c (make_restrict_type): New function.
690 (recursive_dump_type): Handle TYPE_RESTRICT.
691 * gdbtypes.h (enum type_flag_values): Renumber.
692 (enum type_instance_flag_value): Add
693 TYPE_INSTANCE_FLAG_RESTRICT.
694 (TYPE_RESTRICT): New macro.
695 (make_restrict_type): Declare.
697 2013-01-14 Tom Tromey <tromey@redhat.com>
700 * psymtab.c (struct psymtab_state): New.
701 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
703 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
704 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
706 2013-01-14 Richard Sharman <richard_sharman@mitel.com>
707 Pedro Alves <palves@redhat.com>
711 * remote.c (remote_threads_info): Make a copy of the reply from
712 qfThreadInfo and use that instead of rs->buf.
714 2013-01-14 Yao Qi <yao@codesourcery.com>
716 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
717 (dbx_psymtab_to_symtab): Likewise.
718 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
719 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
720 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
722 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
724 * parse.c (parse_exp_in_context): New variable inner_chain. Call
725 make_cleanup_restore_current_language. Call set_language. Move
726 OLD_CHAIN and INNER_CHAIN cleanups.
727 * utils.c (do_restore_current_language)
728 (make_cleanup_restore_current_language): New functions.
729 * utils.h (make_cleanup_restore_current_language): New declaration.
731 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
733 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
736 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
737 non-existing files if FILENAME is already absolute.
739 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
741 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
742 fputs_filtered. Append trailing newline.
744 2013-01-11 Yao Qi <yao@codesourcery.com>
745 Stan Shebs <stan@codesourcery.com>
747 * psymtab.c (init_psymbol_list): Clarify the comment.
749 2013-01-11 Yao Qi <yao@codesourcery.com>
751 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
752 (update_dprintf_command_list): Assert that 'printf_line' is
753 non-null. Remove condition check.
755 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
758 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
760 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
762 * tui/tui-source.h (tui_source_is_displayed): Likewise.
764 2013-01-09 Anthony Green <green@moxielogic.com>
766 * cp-abi.c (cplus_print_vtable): Don't return value from void
768 * ada-lang.c (re_set_catch_assert): Ditto.
770 2013-01-09 Doug Evans <dje@google.com>
772 * symfile.h (quick_symbol_functions): Delete member
773 pre_expand_symtabs_matching. All uses removed.
774 * dwarf2read.c (dw2_lookup_symbol): Implement.
775 (dw2_do_expand_symtabs_matching): Delete.
776 (dw2_pre_expand_symtabs_matching): Delete.
777 (struct dw2_symtab_iterator): New type.
778 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
779 (dw2_expand_symtabs_for_function): Rewrite.
780 (dwarf2_gdb_index_functions): Update.
781 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
782 (psym_functions): Update.
784 2013-01-09 Tom Tromey <tromey@redhat.com>
786 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
787 * configure: Rebuild.
788 * configure.ac: Add somread.o to the build if BFD has SOM
790 * somread.c: Include som/aout.h, not syms.h.
791 (som_symtab_read): Use som_external_symbol_dictionary_record.
792 Unpack records manually.
793 (_initialize_somread): Declare.
795 2012-01-08 Mike Frysinger <vapier@gentoo.org>
797 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
798 Cast return_address to 64bits.
800 2013-01-08 Hui Zhu <hui_zhu@mentor.com>
802 * printcmd.c: Remove define of function output_command.
803 * tracepoint.c: Remove extern of function output_command.
804 * valprint.h: (output_command): New extern.
806 2013-01-07 Tom Tromey <tromey@redhat.com>
808 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
810 (objc_language_defn): Use c_printchar, c_printstr,
813 2013-01-07 Tom Tromey <tromey@redhat.com>
817 * ada-valprint.c (printstr, print_field_values): Remove
819 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
821 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
823 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
824 * main.c (captured_main): Remove "epoch" argument.
825 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
826 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
827 * p-valprint.c (pascal_object_print_value_fields): Remove
829 * printcmd.c (print_command_1): Remove 'inspect' argument.
830 (print_command, call_command): Update.
831 (inspect_command): Remove.
832 (_initialize_printcmd): Make "inspect" an alias for "print".
833 * top.c (epoch_interface): Remove.
834 * top.h (epoch_interface): Remove.
835 * valprint.c (user_print_options): Update.
836 (print_converted_chars_to_obstack): Remove "inspect_it" code.
837 * valprint.h (struct value_print_options) <inspect_it>: Remove
840 2013-01-04 Tom Tromey <tromey@redhat.com>
842 * valprint.h (read_string): Add 'extern'.
844 2013-01-07 Joel Brobecker <brobecker@adacore.com>
846 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
847 used to decide whether to define darwin_read_dyld_info or not.
849 2013-01-03 Pierre Muller <muller@sourceware.org>
851 * main.c (relocate_gdb_directory): Avoid calling stat function
854 2013-01-03 Yao Qi <yao@codesourcery.com>
856 * psymtab.c (fixup_psymbol_section): Update declaration.
857 (fixup_psymbol_section): Remove code returning value.
859 2013-01-03 Yao Qi <yao@codesourcery.com>
861 * symtab.h: Remove some out of date comments.
862 (enum exception_event_kind): Move it ...
863 * breakpoint.c: ... here.
865 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
868 * darwin-nat.c (darwin_read_dyld_info): Only build if
869 TASK_DYLD_INFO_COUNT is defined.
870 (darwin_xfer_partial): Call darwin_read_dyld_info only if
871 TASK_DYLD_INFO_COUNT is defined.
873 2013-01-02 Tom Tromey <tromey@redhat.com>
875 * symfile.h (struct ecoff_debug_hack): Remove.
876 * objfiles.c: Don't include mdebugread.h.
878 2013-01-02 Tom Tromey <tromey@redhat.com>
880 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
881 * configure.ac: Check for Mach-O support in BFD. Update
883 * configure: Rebuild.
885 2013-01-02 Tom Tromey <tromey@redhat.com>
887 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
888 * configure.ac: Use GDB_AC_CHECK_BFD.
889 * configure: Rebuild.
891 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
893 * MAINTAINERS: Update my email.
895 2013-01-01 Joel Brobecker <brobecker@adacore.com>
897 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
899 2013-01-01 Joel Brobecker <brobecker@adacore.com>
901 * rs6000-nat.c (bss_data_overlap): New function.
902 (vmap_symtab): Use it to adjust the .bss section's offset.
904 2013-01-01 Joel Brobecker <brobecker@adacore.com>
906 Update year range in copyright notice of all files.
908 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
910 * top.c (print_gdb_version): Update copyright year.
912 For older changes see ChangeLog-2012.
918 version-control: never