1 2013-01-28 Doug Evans <dje@google.com>
3 * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
4 to addresses from dwo files.
6 2013-01-25 Siva Chandra Reddy <sivachandra@google.com>
8 * valops.c (find_overload_match): Remove unused argument 'lax'.
9 * value.h: Remove unused argument 'lax' from the declaration of
11 * eval.c (value_subexp_standard): Do not pass a 'lax' argument
12 to find_overload_match.
13 * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
14 argument to find_overload_match.
16 2013-01-25 Tom Tromey <tromey@redhat.com>
18 * dwarf2read.c (processing_has_namespace_info): Remove.
19 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
20 (process_die, read_func_scope, dwarf2_start_symtab)
21 (new_symbol_full): Update.
23 2013-01-25 Tom Tromey <tromey@redhat.com>
25 * cp-namespace.c (cp_set_block_scope): Remove.
26 * cp-support.h (cp_set_block_scope): Remove.
27 * dbxread.c: Include block.h.
28 (cp_set_block_scope): New function.
29 (process_one_symbol): Update.
30 * dwarf2read.c (read_func_scope): Use block_set_scope.
32 2013-01-25 Pedro Alves <palves@redhat.com>
34 * remote.c (add_current_inferior_and_thread): Tweak comment.
36 2013-01-25 Tom Tromey <tromey@redhat.com>
38 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
39 (cp_add_using_directive): Add 'copy_names' argument.
40 * cp-support.h (cp_add_using_directive): Update.
41 (struct using_direct) <import_src, import_dest, alias,
42 declaration>: Now const.
43 * dwarf2read.c (read_import_statement): Use obconcat.
44 Don't copy names passed to cp_add_using_directive.
46 2013-01-25 Tom Tromey <tromey@redhat.com>
48 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
50 2013-01-25 Pedro Alves <palves@redhat.com>
52 * remote.c (stop_reply_extract_thread): New.
53 (add_current_inferior_and_thread): New parameter 'wait_status'.
55 (remote_start_remote): Pass wait status to
56 add_current_inferior_and_thread.
57 (extended_remote_run): Update comment.
58 (extended_remote_create_inferior_1): Pass wait status to
59 add_current_inferior_and_thread.
61 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
62 Ulrich Weigand <uweigand@de.ibm.com>
64 * valarith.c (value_vector_widen): New function for replicating a
66 (value_binop): Use value_vector_widen to widen scalar to vector
67 rather than casting, this better matches gcc C behaviour.
68 * valops.c (value_casst): Update logic for casting between vector
69 types, and for casting from scalar to vector, try to match gcc C
71 * value.h (value_vector_widen): Declare.
72 * opencl-lang.c (opencl_value_cast): New opencl specific casting
73 function, handle special case for casting scalar to vector.
74 (opencl_relop): Use opencl_value_cast.
75 (evaluate_subexp_opencl): Use opencl_value_cast instead of
76 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
77 in order to use opencl_value_cast.
79 2013-01-25 Yao Qi <yao@codesourcery.com>
81 * event-loop.c: Include "queue.h".
82 (gdb_event_p): New typedef.
83 (DECLARE_QUEUE_P): Use.
84 (DEFINE_QUEUE_P): Use.
85 (async_queue_event): Remove.
86 (gdb_event_xfree): New.
87 (initialize_event_loop): New.
88 (process_event): Use QUEUE macros.
89 (event_queue): Remove.
90 (gdb_wait_for_event): Caller update.
91 (check_async_event_handlers): Likewise.
92 (poll_timers): Likewise.
93 * event-loop.h (initialize_event_loop): Declare.
94 * event-loop.c (gdb_event_xfree): New.
95 * top.c (gdb_init): Call initialize_event_loop.
97 2013-01-25 Yao Qi <yao@codesourcery.com>
99 * event-loop.c (async_queue_event): Remove one parameter
100 'position'. Remove code handling 'position' == TAIL.
101 (gdb_wait_for_event): Caller update.
102 (check_async_event_handlers): Caller update.
103 (poll_timers): Caller update.
104 * event-loop.h (enum queue_position): Remove.
106 2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com>
108 * MAINTAINERS: Update my email.
110 2013-01-25 Yao Qi <yao@codesourcery.com>
112 * main.c (print_gdb_help): Remove "--epoch" from the help
115 2013-01-24 Ulrich Weigand <uweigand@de.ibm.com>
117 * symtab.c (skip_prologue_using_sal): Consider a file
118 change the same as an increased line number
120 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
122 * MAINTAINERS (Write After Approval): Add myself to the list.
124 2013-01-24 Tom Tromey <tromey@redhat.com>
126 * ada-lang.h (ada_decode_symbol): Make return type const.
127 * ada-lang.c (ada_decode_symbol): Likewise.
129 2013-01-23 Doug Evans <dje@google.com>
131 * linespec.c (find_linespec_symbols): Make static.
133 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
135 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
136 type on float conversion for complex type.
138 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
140 Add a new class gdb.Architecture which exposes GDB's
141 internal representation of architecture via GDB Python API.
142 * Makefile.in: Add entries corresponding to the new file
144 * NEWS (Python Scripting): Add entries for the new class
145 gdb.Architecture and the new method gdb.Frame.architecture.
146 * python/py-arch.c: Implement gdb.Architecture class.
147 * python/py-frame.c (frapy_arch): Implement the method
148 gdb.Frame.architecture().
149 (frame_object_methods): Add 'architecture' to the method table.
150 * python/python-internal.h: Add declarations of new utility
152 * python/python.c (_initialize_python): Initialize
153 gdb.Architecture class.
155 2013-01-23 Doug Evans <dje@google.com>
157 Work around binutils/15021.
158 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
159 type_unit_group out of union s. All uses updated.
160 (read_index_from_section): Watch for index version 8.
161 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
163 (write_psymtabs_to_index): Increment version number to 8.
165 2013-01-22 Pedro Alves <palves@redhat.com>
167 * annotate.c (breakpoint_changed): Skip if breakpoint is not
170 2013-01-22 Pedro Alves <palves@redhat.com>
172 * annotate.c (annotate_breakpoints_changed): Rename to ...
173 (annotate_breakpoints_invalid): ... this. Make static.
174 (breakpoint_changed): Adjust.
175 (_initialize_annotate): Always install the observers. Install a
176 "breakpoint_created" observer.
177 * annotate.h (annotate_breakpoints_changed): Delete declaration.
178 * breakpoint.c (set_breakpoint_condition)
179 (breakpoint_set_commands, do_map_commands_command)
180 (init_raw_breakpoint, clear_command, set_ignore_count)
181 (enable_breakpoint_disp): No longer call
182 annotate_breakpoints_changed.
184 2013-01-22 Pedro Alves <palves@redhat.com>
186 * annotate.c: Include "inferior.h".
187 (frames_invalid_emitted)
188 (breakpoints_invalid_emitted): New globals.
189 (async_background_execution_p): New function.
190 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
191 emitting the annotation if it has already been emitted.
192 (annotate_display_prompt): New function.
193 * annotate.h (annotate_display_prompt): New declaration.
194 * event-top.c: Include annotate.h.
195 (display_gdb_prompt): Call annotate_display_prompt.
197 2013-01-22 Pedro Alves <palves@redhat.com>
199 * annotate.c (ignore_count_changed): Delete.
200 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
201 (annotate_ignore_count_change): Delete.
202 (annotate_stopped): Don't emit a delayed breakpoints-changed
204 * annotate.h (annotate_ignore_count_change): Delete.
205 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
206 annotate_ignore_count_change.
208 2013-01-22 Tom Tromey <tromey@redhat.com>
210 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
211 require_rvalue for a register location.
213 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
215 * breakpoint.c (print_one_breakpoint_location): Add MI
216 field 'thread-groups' when printing a breakpoint.
217 (output_thread_groups): New function.
219 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
221 * python/lib/gdb/commands/explore.py
222 (CompoundExplorer.explore_expr): Correct the name of a method
224 (ExploreTypeCommand.invoke): Add a missing 'return'.
226 2013-01-21 Tom Tromey <tromey@redhat.com>
228 * gdb_obstack.h (obconcat): Move declaration here, from...
229 * symfile.h (obconcat): ... here.
230 * gdb_obstack.c: New file.
231 (obconcat): Move from...
232 * symfile.c (obconcat): ... here.
233 * Makefile.in (SFILES): Add gdb_obstack.c.
234 (COMMON_OBS): Add gdb_obstack.o.
236 2013-01-21 Tom Tromey <tromey@redhat.com>
238 * symfile.h (obsavestring): Don't declare.
239 * symfile.c (obsavestring): Remove.
240 * ada-exp.y: Use obstack_copy0, not obsavestring.
241 * ada-lang.c: Use obstack_copy0, not obsavestring.
242 * coffread.c: Use obstack_copy0, not obsavestring.
243 * cp-namespace.c: Use obstack_copy0, not obsavestring.
244 * dbxread.c: Use obstack_copy0, not obsavestring.
245 * dwarf2read.c: Use obstack_copy0, not obsavestring.
246 * jit.c: Use obstack_copy0, not obsavestring.
247 * mdebugread.c: Use obstack_copy0, not obsavestring.
248 * psymtab.c: Use obstack_copy0, not obsavestring.
249 * stabsread.c: Use obstack_copy0, not obsavestring.
250 * xcoffread.c: Use obstack_copy0, not obsavestring.
252 2013-01-21 Tom Tromey <tromey@redhat.com>
254 * dwarf2read.c (fixup_go_packaging): Save package name
256 * gdbtypes.c (init_type): Don't copy name.
258 2013-01-21 Tom Tromey <tromey@redhat.com>
260 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
262 (struct attribute) <u.str>: Now const.
263 (struct fnfieldlist) <name>: Now const.
264 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
265 (partial_die_parent_scope): Make return type const.
266 (partial_die_full_name, add_partial_symbol): Update.
267 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
269 (find_file_and_directory): Make 'name' and 'comp_dir' const.
270 (read_file_scope, read_func_scope, dwarf2_add_field)
271 (dwarf2_add_member_fn, read_structure_type)
272 (process_enumeration_scope, read_array_type, read_module_type)
273 (read_base_type, read_subrange_type): Update.
274 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
275 (new_symbol_full, guess_full_die_structure_name): Update.
276 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
277 (dwarf2_name): Return const type.
278 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
281 2013-01-21 Tom Tromey <tromey@redhat.com>
283 * gdbtypes.c (init_type): Make 'name' const.
284 * gdbtypes.h (init_type): Update.
286 2013-01-21 Tom Tromey <tromey@redhat.com>
288 * buildsym.c (patch_subfile_names): Use set_last_source_file.
289 (start_symtab): Make 'name' and 'dirname' const. Use
290 set_last_source_file.
291 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
292 (last_source_file): Define. Now static.
293 (set_last_source_file, get_last_source_file): New functions.
294 * buildsym.h (last_source_file): Don't declare.
295 (start_symtab): Update.
296 (set_last_source_file, get_last_source_file): Declare.
297 * coffread.c (complete_symtab): Use set_last_source_file.
298 (coff_end_symtab): Likewise.
299 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
300 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
301 set_last_source_file.
302 (process_one_symbol): Use get_last_source_file.
303 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
304 (psymtab_to_symtab_1): Use get_last_source_file.
305 * xcoffread.c (process_linenos): Use get_last_source_file.
306 (complete_symtab): Use set_last_source_file.
307 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
308 (scan_xcoff_symtab): Use set_last_source_file.
310 2013-01-21 Tom Tromey <tromey@redhat.com>
312 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
313 (symbol_set_names): Remove casts. Handle field const-ness.
315 2013-01-21 Tom Tromey <tromey@redhat.com>
317 * dwarf2read.c (new_symbol_full): Remove cast.
318 * symtab.c (symbol_set_demangled_name): Make 'name' const.
319 * symtab.h (symbol_set_demangled_name): Update.
321 2013-01-21 Tom Tromey <tromey@redhat.com>
323 * main.c (captured_main): Call bfd_init.
325 2013-01-21 Tom Tromey <tromey@redhat.com>
327 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
328 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
329 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
332 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
334 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
336 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
338 Fix gdb.fortran/common-block.exp crash in PIE mode.
339 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
341 * f-valprint.c (info_common_command_for_block): Expect
342 LOC_COMMON_BLOCK in gdb_assert.
343 * symtab.h (struct general_symbol_info): Update comment for the
345 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
346 (enum address_class): New member LOC_COMMON_BLOCK.
348 2013-01-18 David Blaikie <dblaikie@gmail.com>
350 * MAINTAINERS (Write After Approval): Add "David Blaikie".
352 2013-01-18 Tom Tromey <tromey@redhat.com>
355 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
358 2013-01-18 Yao Qi <yao@codesourcery.com>
360 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
361 (dbx_read_symtab): New declaration.
362 (dbx_psymtab_to_symtab): Delete.
363 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
364 Rename parameter PST to SELF. Exchanged two parameters.
365 (start_psymtab): Caller update.
366 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
367 (dwarf2_read_symtab): New declaration.
368 (dwarf2_psymtab_to_symtab): Delete.
369 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
370 Rename parameter PST to SELF. Exchanged two parameters.
371 (create_partial_symtab): Caller update.
372 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
373 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
374 Rename parameter PST to SELF. Exchanged two parameters.
375 (parse_partial_symbols, new_psymtab): Caller update.
376 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
378 * psymtab.c (psymtab_to_symtab): Caller update.
379 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
380 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
381 Rename parameter PST to SELF. Exchanged two parameters.
382 (xcoff_start_psymtab): Caller update.
384 2013-01-18 Yao Qi <yao@codesourcery.com>
386 * infrun.c (proceed): Rename local variable 'oneproc' to
389 2013-01-17 Doug Evans <dje@google.com>
391 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
392 (dw2_build_type_unit_groups): Delete. All uses updated.
394 * symtab.h (struct symbol_search): Add comment.
396 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
398 * symtab.c (compare_filenames_for_search): New comment for
401 2013-01-17 Tom Tromey <tromey@redhat.com>
403 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
405 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
407 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
408 initialize it by existing make_cleanup. Call new do_cleanups.
410 2013-01-17 Tom Tromey <tromey@redhat.com>
412 * cp-abi.c (cp_abi_completer): New function.
413 (_initialize_cp_abi): Set completer for "set cp-abi".
415 2013-01-17 Tom Tromey <tromey@redhat.com>
417 * mem-break.c: Remove obsolete comment.
418 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
420 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
422 * jit.c (jit_reader_load_command): Interpret the jit reader name
423 as an absolute path if it begins with a forward slash.
425 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
429 * jit.c (finalize_symtab): Ensure that only the global block has a
432 2013-01-17 Pedro Alves <palves@redhat.com>
434 * acinclude.m4: Include ../config/plugins.m4,
435 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
436 * Makefile.in (aclocal_m4_deps): Update.
437 * aclocal.m4: Renegerate.
439 2013-01-16 Doug Evans <dje@google.com>
441 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
443 2013-01-16 Pedro Alves <palves@redhat.com>
444 Tom Tromey <tromey@redhat.com>
447 * NEWS: Add "catch signal".
448 * breakpoint.c (base_breakpoint_ops): No longer static.
449 (bpstat_explains_signal): New function.
450 (init_catchpoint): No longer static.
451 (base_breakpoint_explains_signal): New function.
452 (base_breakpoint_ops): Initialize new field.
453 * breakpoint.h (enum bpstat_signal_value): New.
454 (struct breakpoint_ops) <explains_signal>: New field.
455 (bpstat_explains_signal): Remove macro, declare as function.
456 (base_breakpoint_ops, init_catchpoint): Declare.
457 * break-catch-sig.c: New file.
458 * inferior.h (signal_catch_update): Declare.
459 * infrun.c (signal_catch): New global.
460 (handle_syscall_event): Update for change to
461 bpstat_explains_signal.
462 (handle_inferior_event): Likewise. Always handle random signals
464 (signal_cache_update): Check signal_catch.
465 (signal_catch_update): New function.
466 (_initialize_infrun): Initialize signal_catch.
467 * Makefile.in (SFILES): Add break-catch-sig.c.
468 (COMMON_OBS): Add break-catch-sig.o.
470 2013-01-16 Tom Tromey <tromey@redhat.com>
472 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
473 (print_one_catch_solib, print_one_catch_syscall)
474 (print_one_catch_exec, print_one_exception_catchpoint): Emit
477 2013-01-16 Yao Qi <yao@codesourcery.com>
479 * printcmd.c (current_display_number): Make it static.
481 2013-01-16 Yao Qi <yao@codesourcery.com>
483 * infcmd.c (step_once): Don't check '!single_inst' as it was
486 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
488 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
490 2013-01-14 Tom Tromey <tromey@redhat.com>
492 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
494 * command.h (add_setshow_string_noescape_cmd): Update.
495 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
496 (complete_set_gnutarget): New function.
497 (_initialize_core): Set the "set gnutarget" completer.
499 2013-01-14 Tom Tromey <tromey@redhat.com>
502 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
503 (c_type_print_modifier): Likewise.
504 * dwarf2read.c (read_tag_restrict_type): New function.
505 (read_type_die_1): Handle DW_TAG_restrict_type.
506 * gdbtypes.c (make_restrict_type): New function.
507 (recursive_dump_type): Handle TYPE_RESTRICT.
508 * gdbtypes.h (enum type_flag_values): Renumber.
509 (enum type_instance_flag_value): Add
510 TYPE_INSTANCE_FLAG_RESTRICT.
511 (TYPE_RESTRICT): New macro.
512 (make_restrict_type): Declare.
514 2013-01-14 Tom Tromey <tromey@redhat.com>
517 * psymtab.c (struct psymtab_state): New.
518 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
520 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
521 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
523 2013-01-14 Richard Sharman <richard_sharman@mitel.com>
524 Pedro Alves <palves@redhat.com>
528 * remote.c (remote_threads_info): Make a copy of the reply from
529 qfThreadInfo and use that instead of rs->buf.
531 2013-01-14 Yao Qi <yao@codesourcery.com>
533 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
534 (dbx_psymtab_to_symtab): Likewise.
535 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
536 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
537 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
539 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
541 * parse.c (parse_exp_in_context): New variable inner_chain. Call
542 make_cleanup_restore_current_language. Call set_language. Move
543 OLD_CHAIN and INNER_CHAIN cleanups.
544 * utils.c (do_restore_current_language)
545 (make_cleanup_restore_current_language): New functions.
546 * utils.h (make_cleanup_restore_current_language): New declaration.
548 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
550 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
553 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
554 non-existing files if FILENAME is already absolute.
556 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
558 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
559 fputs_filtered. Append trailing newline.
561 2013-01-11 Yao Qi <yao@codesourcery.com>
562 Stan Shebs <stan@codesourcery.com>
564 * psymtab.c (init_psymbol_list): Clarify the comment.
566 2013-01-11 Yao Qi <yao@codesourcery.com>
568 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
569 (update_dprintf_command_list): Assert that 'printf_line' is
570 non-null. Remove condition check.
572 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
575 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
577 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
579 * tui/tui-source.h (tui_source_is_displayed): Likewise.
581 2013-01-09 Anthony Green <green@moxielogic.com>
583 * cp-abi.c (cplus_print_vtable): Don't return value from void
585 * ada-lang.c (re_set_catch_assert): Ditto.
587 2013-01-09 Doug Evans <dje@google.com>
589 * symfile.h (quick_symbol_functions): Delete member
590 pre_expand_symtabs_matching. All uses removed.
591 * dwarf2read.c (dw2_lookup_symbol): Implement.
592 (dw2_do_expand_symtabs_matching): Delete.
593 (dw2_pre_expand_symtabs_matching): Delete.
594 (struct dw2_symtab_iterator): New type.
595 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
596 (dw2_expand_symtabs_for_function): Rewrite.
597 (dwarf2_gdb_index_functions): Update.
598 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
599 (psym_functions): Update.
601 2013-01-09 Tom Tromey <tromey@redhat.com>
603 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
604 * configure: Rebuild.
605 * configure.ac: Add somread.o to the build if BFD has SOM
607 * somread.c: Include som/aout.h, not syms.h.
608 (som_symtab_read): Use som_external_symbol_dictionary_record.
609 Unpack records manually.
610 (_initialize_somread): Declare.
612 2012-01-08 Mike Frysinger <vapier@gentoo.org>
614 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
615 Cast return_address to 64bits.
617 2013-01-08 Hui Zhu <hui_zhu@mentor.com>
619 * printcmd.c: Remove define of function output_command.
620 * tracepoint.c: Remove extern of function output_command.
621 * valprint.h: (output_command): New extern.
623 2013-01-07 Tom Tromey <tromey@redhat.com>
625 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
627 (objc_language_defn): Use c_printchar, c_printstr,
630 2013-01-07 Tom Tromey <tromey@redhat.com>
634 * ada-valprint.c (printstr, print_field_values): Remove
636 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
638 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
640 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
641 * main.c (captured_main): Remove "epoch" argument.
642 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
643 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
644 * p-valprint.c (pascal_object_print_value_fields): Remove
646 * printcmd.c (print_command_1): Remove 'inspect' argument.
647 (print_command, call_command): Update.
648 (inspect_command): Remove.
649 (_initialize_printcmd): Make "inspect" an alias for "print".
650 * top.c (epoch_interface): Remove.
651 * top.h (epoch_interface): Remove.
652 * valprint.c (user_print_options): Update.
653 (print_converted_chars_to_obstack): Remove "inspect_it" code.
654 * valprint.h (struct value_print_options) <inspect_it>: Remove
657 2013-01-04 Tom Tromey <tromey@redhat.com>
659 * valprint.h (read_string): Add 'extern'.
661 2013-01-07 Joel Brobecker <brobecker@adacore.com>
663 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
664 used to decide whether to define darwin_read_dyld_info or not.
666 2013-01-03 Pierre Muller <muller@sourceware.org>
668 * main.c (relocate_gdb_directory): Avoid calling stat function
671 2013-01-03 Yao Qi <yao@codesourcery.com>
673 * psymtab.c (fixup_psymbol_section): Update declaration.
674 (fixup_psymbol_section): Remove code returning value.
676 2013-01-03 Yao Qi <yao@codesourcery.com>
678 * symtab.h: Remove some out of date comments.
679 (enum exception_event_kind): Move it ...
680 * breakpoint.c: ... here.
682 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
685 * darwin-nat.c (darwin_read_dyld_info): Only build if
686 TASK_DYLD_INFO_COUNT is defined.
687 (darwin_xfer_partial): Call darwin_read_dyld_info only if
688 TASK_DYLD_INFO_COUNT is defined.
690 2013-01-02 Tom Tromey <tromey@redhat.com>
692 * symfile.h (struct ecoff_debug_hack): Remove.
693 * objfiles.c: Don't include mdebugread.h.
695 2013-01-02 Tom Tromey <tromey@redhat.com>
697 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
698 * configure.ac: Check for Mach-O support in BFD. Update
700 * configure: Rebuild.
702 2013-01-02 Tom Tromey <tromey@redhat.com>
704 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
705 * configure.ac: Use GDB_AC_CHECK_BFD.
706 * configure: Rebuild.
708 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
710 * MAINTAINERS: Update my email.
712 2013-01-01 Joel Brobecker <brobecker@adacore.com>
714 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
716 2013-01-01 Joel Brobecker <brobecker@adacore.com>
718 * rs6000-nat.c (bss_data_overlap): New function.
719 (vmap_symtab): Use it to adjust the .bss section's offset.
721 2013-01-01 Joel Brobecker <brobecker@adacore.com>
723 Update year range in copyright notice of all files.
725 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
727 * top.c (print_gdb_version): Update copyright year.
729 For older changes see ChangeLog-2012.
735 version-control: never