1 2013-01-30 Tom Tromey <tromey@redhat.com>
3 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
5 2013-01-30 Tom Tromey <tromey@redhat.com>
7 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
8 * utils.c (gnu_debuglink_crc32): Remove.
9 * utils.h (gnu_debuglink_crc32): Don't declare.
11 2013-01-30 Tom Tromey <tromey@redhat.com>
13 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
14 (read_structure_type, read_enumeration_type): Remove cast.
16 2013-01-30 Tom Tromey <tromey@redhat.com>
18 * dwarf2read.c (read_namespace_type): Remove cast.
19 (read_typedef): Likewise.
21 2013-01-29 Tom Tromey <tromey@redhat.com>
23 * dwarf2read.c (free_dwo_file): Remove assert.
25 2013-01-29 Tom Tromey <tromey@redhat.com>
27 * value.c (deprecated_set_value_modifiable): Remove.
28 * value.h (deprecated_set_value_modifiable): Remove.
30 2013-01-28 Doug Evans <dje@google.com>
32 * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
33 to addresses from dwo files.
35 2013-01-25 Siva Chandra Reddy <sivachandra@google.com>
37 * valops.c (find_overload_match): Remove unused argument 'lax'.
38 * value.h: Remove unused argument 'lax' from the declaration of
40 * eval.c (value_subexp_standard): Do not pass a 'lax' argument
41 to find_overload_match.
42 * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
43 argument to find_overload_match.
45 2013-01-25 Tom Tromey <tromey@redhat.com>
47 * dwarf2read.c (processing_has_namespace_info): Remove.
48 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
49 (process_die, read_func_scope, dwarf2_start_symtab)
50 (new_symbol_full): Update.
52 2013-01-25 Tom Tromey <tromey@redhat.com>
54 * cp-namespace.c (cp_set_block_scope): Remove.
55 * cp-support.h (cp_set_block_scope): Remove.
56 * dbxread.c: Include block.h.
57 (cp_set_block_scope): New function.
58 (process_one_symbol): Update.
59 * dwarf2read.c (read_func_scope): Use block_set_scope.
61 2013-01-25 Pedro Alves <palves@redhat.com>
63 * remote.c (add_current_inferior_and_thread): Tweak comment.
65 2013-01-25 Tom Tromey <tromey@redhat.com>
67 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
68 (cp_add_using_directive): Add 'copy_names' argument.
69 * cp-support.h (cp_add_using_directive): Update.
70 (struct using_direct) <import_src, import_dest, alias,
71 declaration>: Now const.
72 * dwarf2read.c (read_import_statement): Use obconcat.
73 Don't copy names passed to cp_add_using_directive.
75 2013-01-25 Tom Tromey <tromey@redhat.com>
77 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
79 2013-01-25 Pedro Alves <palves@redhat.com>
81 * remote.c (stop_reply_extract_thread): New.
82 (add_current_inferior_and_thread): New parameter 'wait_status'.
84 (remote_start_remote): Pass wait status to
85 add_current_inferior_and_thread.
86 (extended_remote_run): Update comment.
87 (extended_remote_create_inferior_1): Pass wait status to
88 add_current_inferior_and_thread.
90 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
91 Ulrich Weigand <uweigand@de.ibm.com>
93 * valarith.c (value_vector_widen): New function for replicating a
95 (value_binop): Use value_vector_widen to widen scalar to vector
96 rather than casting, this better matches gcc C behaviour.
97 * valops.c (value_casst): Update logic for casting between vector
98 types, and for casting from scalar to vector, try to match gcc C
100 * value.h (value_vector_widen): Declare.
101 * opencl-lang.c (opencl_value_cast): New opencl specific casting
102 function, handle special case for casting scalar to vector.
103 (opencl_relop): Use opencl_value_cast.
104 (evaluate_subexp_opencl): Use opencl_value_cast instead of
105 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
106 in order to use opencl_value_cast.
108 2013-01-25 Yao Qi <yao@codesourcery.com>
110 * event-loop.c: Include "queue.h".
111 (gdb_event_p): New typedef.
112 (DECLARE_QUEUE_P): Use.
113 (DEFINE_QUEUE_P): Use.
114 (async_queue_event): Remove.
115 (gdb_event_xfree): New.
116 (initialize_event_loop): New.
117 (process_event): Use QUEUE macros.
118 (event_queue): Remove.
119 (gdb_wait_for_event): Caller update.
120 (check_async_event_handlers): Likewise.
121 (poll_timers): Likewise.
122 * event-loop.h (initialize_event_loop): Declare.
123 * event-loop.c (gdb_event_xfree): New.
124 * top.c (gdb_init): Call initialize_event_loop.
126 2013-01-25 Yao Qi <yao@codesourcery.com>
128 * event-loop.c (async_queue_event): Remove one parameter
129 'position'. Remove code handling 'position' == TAIL.
130 (gdb_wait_for_event): Caller update.
131 (check_async_event_handlers): Caller update.
132 (poll_timers): Caller update.
133 * event-loop.h (enum queue_position): Remove.
135 2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com>
137 * MAINTAINERS: Update my email.
139 2013-01-25 Yao Qi <yao@codesourcery.com>
141 * main.c (print_gdb_help): Remove "--epoch" from the help
144 2013-01-24 Ulrich Weigand <uweigand@de.ibm.com>
146 * symtab.c (skip_prologue_using_sal): Consider a file
147 change the same as an increased line number
149 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
151 * MAINTAINERS (Write After Approval): Add myself to the list.
153 2013-01-24 Tom Tromey <tromey@redhat.com>
155 * ada-lang.h (ada_decode_symbol): Make return type const.
156 * ada-lang.c (ada_decode_symbol): Likewise.
158 2013-01-23 Doug Evans <dje@google.com>
160 * linespec.c (find_linespec_symbols): Make static.
162 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
164 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
165 type on float conversion for complex type.
167 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
169 Add a new class gdb.Architecture which exposes GDB's
170 internal representation of architecture via GDB Python API.
171 * Makefile.in: Add entries corresponding to the new file
173 * NEWS (Python Scripting): Add entries for the new class
174 gdb.Architecture and the new method gdb.Frame.architecture.
175 * python/py-arch.c: Implement gdb.Architecture class.
176 * python/py-frame.c (frapy_arch): Implement the method
177 gdb.Frame.architecture().
178 (frame_object_methods): Add 'architecture' to the method table.
179 * python/python-internal.h: Add declarations of new utility
181 * python/python.c (_initialize_python): Initialize
182 gdb.Architecture class.
184 2013-01-23 Doug Evans <dje@google.com>
186 Work around binutils/15021.
187 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
188 type_unit_group out of union s. All uses updated.
189 (read_index_from_section): Watch for index version 8.
190 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
192 (write_psymtabs_to_index): Increment version number to 8.
194 2013-01-22 Pedro Alves <palves@redhat.com>
196 * annotate.c (breakpoint_changed): Skip if breakpoint is not
199 2013-01-22 Pedro Alves <palves@redhat.com>
201 * annotate.c (annotate_breakpoints_changed): Rename to ...
202 (annotate_breakpoints_invalid): ... this. Make static.
203 (breakpoint_changed): Adjust.
204 (_initialize_annotate): Always install the observers. Install a
205 "breakpoint_created" observer.
206 * annotate.h (annotate_breakpoints_changed): Delete declaration.
207 * breakpoint.c (set_breakpoint_condition)
208 (breakpoint_set_commands, do_map_commands_command)
209 (init_raw_breakpoint, clear_command, set_ignore_count)
210 (enable_breakpoint_disp): No longer call
211 annotate_breakpoints_changed.
213 2013-01-22 Pedro Alves <palves@redhat.com>
215 * annotate.c: Include "inferior.h".
216 (frames_invalid_emitted)
217 (breakpoints_invalid_emitted): New globals.
218 (async_background_execution_p): New function.
219 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
220 emitting the annotation if it has already been emitted.
221 (annotate_display_prompt): New function.
222 * annotate.h (annotate_display_prompt): New declaration.
223 * event-top.c: Include annotate.h.
224 (display_gdb_prompt): Call annotate_display_prompt.
226 2013-01-22 Pedro Alves <palves@redhat.com>
228 * annotate.c (ignore_count_changed): Delete.
229 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
230 (annotate_ignore_count_change): Delete.
231 (annotate_stopped): Don't emit a delayed breakpoints-changed
233 * annotate.h (annotate_ignore_count_change): Delete.
234 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
235 annotate_ignore_count_change.
237 2013-01-22 Tom Tromey <tromey@redhat.com>
239 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
240 require_rvalue for a register location.
242 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
244 * breakpoint.c (print_one_breakpoint_location): Add MI
245 field 'thread-groups' when printing a breakpoint.
246 (output_thread_groups): New function.
248 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
250 * python/lib/gdb/commands/explore.py
251 (CompoundExplorer.explore_expr): Correct the name of a method
253 (ExploreTypeCommand.invoke): Add a missing 'return'.
255 2013-01-21 Tom Tromey <tromey@redhat.com>
257 * gdb_obstack.h (obconcat): Move declaration here, from...
258 * symfile.h (obconcat): ... here.
259 * gdb_obstack.c: New file.
260 (obconcat): Move from...
261 * symfile.c (obconcat): ... here.
262 * Makefile.in (SFILES): Add gdb_obstack.c.
263 (COMMON_OBS): Add gdb_obstack.o.
265 2013-01-21 Tom Tromey <tromey@redhat.com>
267 * symfile.h (obsavestring): Don't declare.
268 * symfile.c (obsavestring): Remove.
269 * ada-exp.y: Use obstack_copy0, not obsavestring.
270 * ada-lang.c: Use obstack_copy0, not obsavestring.
271 * coffread.c: Use obstack_copy0, not obsavestring.
272 * cp-namespace.c: Use obstack_copy0, not obsavestring.
273 * dbxread.c: Use obstack_copy0, not obsavestring.
274 * dwarf2read.c: Use obstack_copy0, not obsavestring.
275 * jit.c: Use obstack_copy0, not obsavestring.
276 * mdebugread.c: Use obstack_copy0, not obsavestring.
277 * psymtab.c: Use obstack_copy0, not obsavestring.
278 * stabsread.c: Use obstack_copy0, not obsavestring.
279 * xcoffread.c: Use obstack_copy0, not obsavestring.
281 2013-01-21 Tom Tromey <tromey@redhat.com>
283 * dwarf2read.c (fixup_go_packaging): Save package name
285 * gdbtypes.c (init_type): Don't copy name.
287 2013-01-21 Tom Tromey <tromey@redhat.com>
289 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
291 (struct attribute) <u.str>: Now const.
292 (struct fnfieldlist) <name>: Now const.
293 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
294 (partial_die_parent_scope): Make return type const.
295 (partial_die_full_name, add_partial_symbol): Update.
296 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
298 (find_file_and_directory): Make 'name' and 'comp_dir' const.
299 (read_file_scope, read_func_scope, dwarf2_add_field)
300 (dwarf2_add_member_fn, read_structure_type)
301 (process_enumeration_scope, read_array_type, read_module_type)
302 (read_base_type, read_subrange_type): Update.
303 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
304 (new_symbol_full, guess_full_die_structure_name): Update.
305 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
306 (dwarf2_name): Return const type.
307 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
310 2013-01-21 Tom Tromey <tromey@redhat.com>
312 * gdbtypes.c (init_type): Make 'name' const.
313 * gdbtypes.h (init_type): Update.
315 2013-01-21 Tom Tromey <tromey@redhat.com>
317 * buildsym.c (patch_subfile_names): Use set_last_source_file.
318 (start_symtab): Make 'name' and 'dirname' const. Use
319 set_last_source_file.
320 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
321 (last_source_file): Define. Now static.
322 (set_last_source_file, get_last_source_file): New functions.
323 * buildsym.h (last_source_file): Don't declare.
324 (start_symtab): Update.
325 (set_last_source_file, get_last_source_file): Declare.
326 * coffread.c (complete_symtab): Use set_last_source_file.
327 (coff_end_symtab): Likewise.
328 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
329 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
330 set_last_source_file.
331 (process_one_symbol): Use get_last_source_file.
332 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
333 (psymtab_to_symtab_1): Use get_last_source_file.
334 * xcoffread.c (process_linenos): Use get_last_source_file.
335 (complete_symtab): Use set_last_source_file.
336 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
337 (scan_xcoff_symtab): Use set_last_source_file.
339 2013-01-21 Tom Tromey <tromey@redhat.com>
341 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
342 (symbol_set_names): Remove casts. Handle field const-ness.
344 2013-01-21 Tom Tromey <tromey@redhat.com>
346 * dwarf2read.c (new_symbol_full): Remove cast.
347 * symtab.c (symbol_set_demangled_name): Make 'name' const.
348 * symtab.h (symbol_set_demangled_name): Update.
350 2013-01-21 Tom Tromey <tromey@redhat.com>
352 * main.c (captured_main): Call bfd_init.
354 2013-01-21 Tom Tromey <tromey@redhat.com>
356 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
357 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
358 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
361 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
363 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
365 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
367 Fix gdb.fortran/common-block.exp crash in PIE mode.
368 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
370 * f-valprint.c (info_common_command_for_block): Expect
371 LOC_COMMON_BLOCK in gdb_assert.
372 * symtab.h (struct general_symbol_info): Update comment for the
374 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
375 (enum address_class): New member LOC_COMMON_BLOCK.
377 2013-01-18 David Blaikie <dblaikie@gmail.com>
379 * MAINTAINERS (Write After Approval): Add "David Blaikie".
381 2013-01-18 Tom Tromey <tromey@redhat.com>
384 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
387 2013-01-18 Yao Qi <yao@codesourcery.com>
389 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
390 (dbx_read_symtab): New declaration.
391 (dbx_psymtab_to_symtab): Delete.
392 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
393 Rename parameter PST to SELF. Exchanged two parameters.
394 (start_psymtab): Caller update.
395 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
396 (dwarf2_read_symtab): New declaration.
397 (dwarf2_psymtab_to_symtab): Delete.
398 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
399 Rename parameter PST to SELF. Exchanged two parameters.
400 (create_partial_symtab): Caller update.
401 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
402 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
403 Rename parameter PST to SELF. Exchanged two parameters.
404 (parse_partial_symbols, new_psymtab): Caller update.
405 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
407 * psymtab.c (psymtab_to_symtab): Caller update.
408 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
409 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
410 Rename parameter PST to SELF. Exchanged two parameters.
411 (xcoff_start_psymtab): Caller update.
413 2013-01-18 Yao Qi <yao@codesourcery.com>
415 * infrun.c (proceed): Rename local variable 'oneproc' to
418 2013-01-17 Doug Evans <dje@google.com>
420 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
421 (dw2_build_type_unit_groups): Delete. All uses updated.
423 * symtab.h (struct symbol_search): Add comment.
425 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
427 * symtab.c (compare_filenames_for_search): New comment for
430 2013-01-17 Tom Tromey <tromey@redhat.com>
432 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
434 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
436 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
437 initialize it by existing make_cleanup. Call new do_cleanups.
439 2013-01-17 Tom Tromey <tromey@redhat.com>
441 * cp-abi.c (cp_abi_completer): New function.
442 (_initialize_cp_abi): Set completer for "set cp-abi".
444 2013-01-17 Tom Tromey <tromey@redhat.com>
446 * mem-break.c: Remove obsolete comment.
447 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
449 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
451 * jit.c (jit_reader_load_command): Interpret the jit reader name
452 as an absolute path if it begins with a forward slash.
454 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
458 * jit.c (finalize_symtab): Ensure that only the global block has a
461 2013-01-17 Pedro Alves <palves@redhat.com>
463 * acinclude.m4: Include ../config/plugins.m4,
464 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
465 * Makefile.in (aclocal_m4_deps): Update.
466 * aclocal.m4: Renegerate.
468 2013-01-16 Doug Evans <dje@google.com>
470 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
472 2013-01-16 Pedro Alves <palves@redhat.com>
473 Tom Tromey <tromey@redhat.com>
476 * NEWS: Add "catch signal".
477 * breakpoint.c (base_breakpoint_ops): No longer static.
478 (bpstat_explains_signal): New function.
479 (init_catchpoint): No longer static.
480 (base_breakpoint_explains_signal): New function.
481 (base_breakpoint_ops): Initialize new field.
482 * breakpoint.h (enum bpstat_signal_value): New.
483 (struct breakpoint_ops) <explains_signal>: New field.
484 (bpstat_explains_signal): Remove macro, declare as function.
485 (base_breakpoint_ops, init_catchpoint): Declare.
486 * break-catch-sig.c: New file.
487 * inferior.h (signal_catch_update): Declare.
488 * infrun.c (signal_catch): New global.
489 (handle_syscall_event): Update for change to
490 bpstat_explains_signal.
491 (handle_inferior_event): Likewise. Always handle random signals
493 (signal_cache_update): Check signal_catch.
494 (signal_catch_update): New function.
495 (_initialize_infrun): Initialize signal_catch.
496 * Makefile.in (SFILES): Add break-catch-sig.c.
497 (COMMON_OBS): Add break-catch-sig.o.
499 2013-01-16 Tom Tromey <tromey@redhat.com>
501 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
502 (print_one_catch_solib, print_one_catch_syscall)
503 (print_one_catch_exec, print_one_exception_catchpoint): Emit
506 2013-01-16 Yao Qi <yao@codesourcery.com>
508 * printcmd.c (current_display_number): Make it static.
510 2013-01-16 Yao Qi <yao@codesourcery.com>
512 * infcmd.c (step_once): Don't check '!single_inst' as it was
515 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
517 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
519 2013-01-14 Tom Tromey <tromey@redhat.com>
521 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
523 * command.h (add_setshow_string_noescape_cmd): Update.
524 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
525 (complete_set_gnutarget): New function.
526 (_initialize_core): Set the "set gnutarget" completer.
528 2013-01-14 Tom Tromey <tromey@redhat.com>
531 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
532 (c_type_print_modifier): Likewise.
533 * dwarf2read.c (read_tag_restrict_type): New function.
534 (read_type_die_1): Handle DW_TAG_restrict_type.
535 * gdbtypes.c (make_restrict_type): New function.
536 (recursive_dump_type): Handle TYPE_RESTRICT.
537 * gdbtypes.h (enum type_flag_values): Renumber.
538 (enum type_instance_flag_value): Add
539 TYPE_INSTANCE_FLAG_RESTRICT.
540 (TYPE_RESTRICT): New macro.
541 (make_restrict_type): Declare.
543 2013-01-14 Tom Tromey <tromey@redhat.com>
546 * psymtab.c (struct psymtab_state): New.
547 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
549 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
550 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
552 2013-01-14 Richard Sharman <richard_sharman@mitel.com>
553 Pedro Alves <palves@redhat.com>
557 * remote.c (remote_threads_info): Make a copy of the reply from
558 qfThreadInfo and use that instead of rs->buf.
560 2013-01-14 Yao Qi <yao@codesourcery.com>
562 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
563 (dbx_psymtab_to_symtab): Likewise.
564 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
565 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
566 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
568 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
570 * parse.c (parse_exp_in_context): New variable inner_chain. Call
571 make_cleanup_restore_current_language. Call set_language. Move
572 OLD_CHAIN and INNER_CHAIN cleanups.
573 * utils.c (do_restore_current_language)
574 (make_cleanup_restore_current_language): New functions.
575 * utils.h (make_cleanup_restore_current_language): New declaration.
577 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
579 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
582 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
583 non-existing files if FILENAME is already absolute.
585 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
587 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
588 fputs_filtered. Append trailing newline.
590 2013-01-11 Yao Qi <yao@codesourcery.com>
591 Stan Shebs <stan@codesourcery.com>
593 * psymtab.c (init_psymbol_list): Clarify the comment.
595 2013-01-11 Yao Qi <yao@codesourcery.com>
597 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
598 (update_dprintf_command_list): Assert that 'printf_line' is
599 non-null. Remove condition check.
601 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
604 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
606 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
608 * tui/tui-source.h (tui_source_is_displayed): Likewise.
610 2013-01-09 Anthony Green <green@moxielogic.com>
612 * cp-abi.c (cplus_print_vtable): Don't return value from void
614 * ada-lang.c (re_set_catch_assert): Ditto.
616 2013-01-09 Doug Evans <dje@google.com>
618 * symfile.h (quick_symbol_functions): Delete member
619 pre_expand_symtabs_matching. All uses removed.
620 * dwarf2read.c (dw2_lookup_symbol): Implement.
621 (dw2_do_expand_symtabs_matching): Delete.
622 (dw2_pre_expand_symtabs_matching): Delete.
623 (struct dw2_symtab_iterator): New type.
624 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
625 (dw2_expand_symtabs_for_function): Rewrite.
626 (dwarf2_gdb_index_functions): Update.
627 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
628 (psym_functions): Update.
630 2013-01-09 Tom Tromey <tromey@redhat.com>
632 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
633 * configure: Rebuild.
634 * configure.ac: Add somread.o to the build if BFD has SOM
636 * somread.c: Include som/aout.h, not syms.h.
637 (som_symtab_read): Use som_external_symbol_dictionary_record.
638 Unpack records manually.
639 (_initialize_somread): Declare.
641 2012-01-08 Mike Frysinger <vapier@gentoo.org>
643 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
644 Cast return_address to 64bits.
646 2013-01-08 Hui Zhu <hui_zhu@mentor.com>
648 * printcmd.c: Remove define of function output_command.
649 * tracepoint.c: Remove extern of function output_command.
650 * valprint.h: (output_command): New extern.
652 2013-01-07 Tom Tromey <tromey@redhat.com>
654 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
656 (objc_language_defn): Use c_printchar, c_printstr,
659 2013-01-07 Tom Tromey <tromey@redhat.com>
663 * ada-valprint.c (printstr, print_field_values): Remove
665 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
667 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
669 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
670 * main.c (captured_main): Remove "epoch" argument.
671 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
672 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
673 * p-valprint.c (pascal_object_print_value_fields): Remove
675 * printcmd.c (print_command_1): Remove 'inspect' argument.
676 (print_command, call_command): Update.
677 (inspect_command): Remove.
678 (_initialize_printcmd): Make "inspect" an alias for "print".
679 * top.c (epoch_interface): Remove.
680 * top.h (epoch_interface): Remove.
681 * valprint.c (user_print_options): Update.
682 (print_converted_chars_to_obstack): Remove "inspect_it" code.
683 * valprint.h (struct value_print_options) <inspect_it>: Remove
686 2013-01-04 Tom Tromey <tromey@redhat.com>
688 * valprint.h (read_string): Add 'extern'.
690 2013-01-07 Joel Brobecker <brobecker@adacore.com>
692 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
693 used to decide whether to define darwin_read_dyld_info or not.
695 2013-01-03 Pierre Muller <muller@sourceware.org>
697 * main.c (relocate_gdb_directory): Avoid calling stat function
700 2013-01-03 Yao Qi <yao@codesourcery.com>
702 * psymtab.c (fixup_psymbol_section): Update declaration.
703 (fixup_psymbol_section): Remove code returning value.
705 2013-01-03 Yao Qi <yao@codesourcery.com>
707 * symtab.h: Remove some out of date comments.
708 (enum exception_event_kind): Move it ...
709 * breakpoint.c: ... here.
711 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
714 * darwin-nat.c (darwin_read_dyld_info): Only build if
715 TASK_DYLD_INFO_COUNT is defined.
716 (darwin_xfer_partial): Call darwin_read_dyld_info only if
717 TASK_DYLD_INFO_COUNT is defined.
719 2013-01-02 Tom Tromey <tromey@redhat.com>
721 * symfile.h (struct ecoff_debug_hack): Remove.
722 * objfiles.c: Don't include mdebugread.h.
724 2013-01-02 Tom Tromey <tromey@redhat.com>
726 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
727 * configure.ac: Check for Mach-O support in BFD. Update
729 * configure: Rebuild.
731 2013-01-02 Tom Tromey <tromey@redhat.com>
733 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
734 * configure.ac: Use GDB_AC_CHECK_BFD.
735 * configure: Rebuild.
737 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
739 * MAINTAINERS: Update my email.
741 2013-01-01 Joel Brobecker <brobecker@adacore.com>
743 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
745 2013-01-01 Joel Brobecker <brobecker@adacore.com>
747 * rs6000-nat.c (bss_data_overlap): New function.
748 (vmap_symtab): Use it to adjust the .bss section's offset.
750 2013-01-01 Joel Brobecker <brobecker@adacore.com>
752 Update year range in copyright notice of all files.
754 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
756 * top.c (print_gdb_version): Update copyright year.
758 For older changes see ChangeLog-2012.
764 version-control: never