1 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
3 * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs.
4 * symtab.c (iterate_over_symtabs): Remove unused s.
5 (find_pc_sect_symtab): Remove unused pspAce.
6 (find_pc_sect_line): Remove unused alt_symtab.
7 (find_pcs_for_symtab_line): Remove unused ix, previous_function.
8 (completion_list_add_name): Remove unused newsize.
10 2013-01-31 Tom Tromey <tromey@redhat.com>
13 * dwarf2read.c (read_tag_ptr_to_member_type): Handle
16 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
18 * target.c (target_read_string): Remove unused origlen.
20 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
22 * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
23 * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
24 * ax-general.c (ax_print): Remove unused is_float.
25 * blockframe.c (block_innermost_frame): Remove unused start, end.
26 * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
28 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
30 * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
31 (svr4_read_so_list): Remove unused lmo.
32 * solib-target.c (solib_target_relocate_section_addresses): Remove
35 2013-01-30 Tom Tromey <tromey@redhat.com>
37 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
39 2013-01-30 Tom Tromey <tromey@redhat.com>
41 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
42 * utils.c (gnu_debuglink_crc32): Remove.
43 * utils.h (gnu_debuglink_crc32): Don't declare.
45 2013-01-30 Tom Tromey <tromey@redhat.com>
47 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
48 (read_structure_type, read_enumeration_type): Remove cast.
50 2013-01-30 Tom Tromey <tromey@redhat.com>
52 * dwarf2read.c (read_namespace_type): Remove cast.
53 (read_typedef): Likewise.
55 2013-01-29 Tom Tromey <tromey@redhat.com>
57 * dwarf2read.c (free_dwo_file): Remove assert.
59 2013-01-29 Tom Tromey <tromey@redhat.com>
61 * value.c (deprecated_set_value_modifiable): Remove.
62 * value.h (deprecated_set_value_modifiable): Remove.
64 2013-01-28 Doug Evans <dje@google.com>
66 * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
67 to addresses from dwo files.
69 2013-01-25 Siva Chandra Reddy <sivachandra@google.com>
71 * valops.c (find_overload_match): Remove unused argument 'lax'.
72 * value.h: Remove unused argument 'lax' from the declaration of
74 * eval.c (value_subexp_standard): Do not pass a 'lax' argument
75 to find_overload_match.
76 * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
77 argument to find_overload_match.
79 2013-01-25 Tom Tromey <tromey@redhat.com>
81 * dwarf2read.c (processing_has_namespace_info): Remove.
82 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
83 (process_die, read_func_scope, dwarf2_start_symtab)
84 (new_symbol_full): Update.
86 2013-01-25 Tom Tromey <tromey@redhat.com>
88 * cp-namespace.c (cp_set_block_scope): Remove.
89 * cp-support.h (cp_set_block_scope): Remove.
90 * dbxread.c: Include block.h.
91 (cp_set_block_scope): New function.
92 (process_one_symbol): Update.
93 * dwarf2read.c (read_func_scope): Use block_set_scope.
95 2013-01-25 Pedro Alves <palves@redhat.com>
97 * remote.c (add_current_inferior_and_thread): Tweak comment.
99 2013-01-25 Tom Tromey <tromey@redhat.com>
101 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
102 (cp_add_using_directive): Add 'copy_names' argument.
103 * cp-support.h (cp_add_using_directive): Update.
104 (struct using_direct) <import_src, import_dest, alias,
105 declaration>: Now const.
106 * dwarf2read.c (read_import_statement): Use obconcat.
107 Don't copy names passed to cp_add_using_directive.
109 2013-01-25 Tom Tromey <tromey@redhat.com>
111 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
113 2013-01-25 Pedro Alves <palves@redhat.com>
115 * remote.c (stop_reply_extract_thread): New.
116 (add_current_inferior_and_thread): New parameter 'wait_status'.
118 (remote_start_remote): Pass wait status to
119 add_current_inferior_and_thread.
120 (extended_remote_run): Update comment.
121 (extended_remote_create_inferior_1): Pass wait status to
122 add_current_inferior_and_thread.
124 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
125 Ulrich Weigand <uweigand@de.ibm.com>
127 * valarith.c (value_vector_widen): New function for replicating a
128 scalar into a vector.
129 (value_binop): Use value_vector_widen to widen scalar to vector
130 rather than casting, this better matches gcc C behaviour.
131 * valops.c (value_casst): Update logic for casting between vector
132 types, and for casting from scalar to vector, try to match gcc C
134 * value.h (value_vector_widen): Declare.
135 * opencl-lang.c (opencl_value_cast): New opencl specific casting
136 function, handle special case for casting scalar to vector.
137 (opencl_relop): Use opencl_value_cast.
138 (evaluate_subexp_opencl): Use opencl_value_cast instead of
139 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
140 in order to use opencl_value_cast.
142 2013-01-25 Yao Qi <yao@codesourcery.com>
144 * event-loop.c: Include "queue.h".
145 (gdb_event_p): New typedef.
146 (DECLARE_QUEUE_P): Use.
147 (DEFINE_QUEUE_P): Use.
148 (async_queue_event): Remove.
149 (gdb_event_xfree): New.
150 (initialize_event_loop): New.
151 (process_event): Use QUEUE macros.
152 (event_queue): Remove.
153 (gdb_wait_for_event): Caller update.
154 (check_async_event_handlers): Likewise.
155 (poll_timers): Likewise.
156 * event-loop.h (initialize_event_loop): Declare.
157 * event-loop.c (gdb_event_xfree): New.
158 * top.c (gdb_init): Call initialize_event_loop.
160 2013-01-25 Yao Qi <yao@codesourcery.com>
162 * event-loop.c (async_queue_event): Remove one parameter
163 'position'. Remove code handling 'position' == TAIL.
164 (gdb_wait_for_event): Caller update.
165 (check_async_event_handlers): Caller update.
166 (poll_timers): Caller update.
167 * event-loop.h (enum queue_position): Remove.
169 2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com>
171 * MAINTAINERS: Update my email.
173 2013-01-25 Yao Qi <yao@codesourcery.com>
175 * main.c (print_gdb_help): Remove "--epoch" from the help
178 2013-01-24 Ulrich Weigand <uweigand@de.ibm.com>
180 * symtab.c (skip_prologue_using_sal): Consider a file
181 change the same as an increased line number
183 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
185 * MAINTAINERS (Write After Approval): Add myself to the list.
187 2013-01-24 Tom Tromey <tromey@redhat.com>
189 * ada-lang.h (ada_decode_symbol): Make return type const.
190 * ada-lang.c (ada_decode_symbol): Likewise.
192 2013-01-23 Doug Evans <dje@google.com>
194 * linespec.c (find_linespec_symbols): Make static.
196 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
198 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
199 type on float conversion for complex type.
201 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
203 Add a new class gdb.Architecture which exposes GDB's
204 internal representation of architecture via GDB Python API.
205 * Makefile.in: Add entries corresponding to the new file
207 * NEWS (Python Scripting): Add entries for the new class
208 gdb.Architecture and the new method gdb.Frame.architecture.
209 * python/py-arch.c: Implement gdb.Architecture class.
210 * python/py-frame.c (frapy_arch): Implement the method
211 gdb.Frame.architecture().
212 (frame_object_methods): Add 'architecture' to the method table.
213 * python/python-internal.h: Add declarations of new utility
215 * python/python.c (_initialize_python): Initialize
216 gdb.Architecture class.
218 2013-01-23 Doug Evans <dje@google.com>
220 Work around binutils/15021.
221 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
222 type_unit_group out of union s. All uses updated.
223 (read_index_from_section): Watch for index version 8.
224 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
226 (write_psymtabs_to_index): Increment version number to 8.
228 2013-01-22 Pedro Alves <palves@redhat.com>
230 * annotate.c (breakpoint_changed): Skip if breakpoint is not
233 2013-01-22 Pedro Alves <palves@redhat.com>
235 * annotate.c (annotate_breakpoints_changed): Rename to ...
236 (annotate_breakpoints_invalid): ... this. Make static.
237 (breakpoint_changed): Adjust.
238 (_initialize_annotate): Always install the observers. Install a
239 "breakpoint_created" observer.
240 * annotate.h (annotate_breakpoints_changed): Delete declaration.
241 * breakpoint.c (set_breakpoint_condition)
242 (breakpoint_set_commands, do_map_commands_command)
243 (init_raw_breakpoint, clear_command, set_ignore_count)
244 (enable_breakpoint_disp): No longer call
245 annotate_breakpoints_changed.
247 2013-01-22 Pedro Alves <palves@redhat.com>
249 * annotate.c: Include "inferior.h".
250 (frames_invalid_emitted)
251 (breakpoints_invalid_emitted): New globals.
252 (async_background_execution_p): New function.
253 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
254 emitting the annotation if it has already been emitted.
255 (annotate_display_prompt): New function.
256 * annotate.h (annotate_display_prompt): New declaration.
257 * event-top.c: Include annotate.h.
258 (display_gdb_prompt): Call annotate_display_prompt.
260 2013-01-22 Pedro Alves <palves@redhat.com>
262 * annotate.c (ignore_count_changed): Delete.
263 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
264 (annotate_ignore_count_change): Delete.
265 (annotate_stopped): Don't emit a delayed breakpoints-changed
267 * annotate.h (annotate_ignore_count_change): Delete.
268 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
269 annotate_ignore_count_change.
271 2013-01-22 Tom Tromey <tromey@redhat.com>
273 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
274 require_rvalue for a register location.
276 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
278 * breakpoint.c (print_one_breakpoint_location): Add MI
279 field 'thread-groups' when printing a breakpoint.
280 (output_thread_groups): New function.
282 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
284 * python/lib/gdb/commands/explore.py
285 (CompoundExplorer.explore_expr): Correct the name of a method
287 (ExploreTypeCommand.invoke): Add a missing 'return'.
289 2013-01-21 Tom Tromey <tromey@redhat.com>
291 * gdb_obstack.h (obconcat): Move declaration here, from...
292 * symfile.h (obconcat): ... here.
293 * gdb_obstack.c: New file.
294 (obconcat): Move from...
295 * symfile.c (obconcat): ... here.
296 * Makefile.in (SFILES): Add gdb_obstack.c.
297 (COMMON_OBS): Add gdb_obstack.o.
299 2013-01-21 Tom Tromey <tromey@redhat.com>
301 * symfile.h (obsavestring): Don't declare.
302 * symfile.c (obsavestring): Remove.
303 * ada-exp.y: Use obstack_copy0, not obsavestring.
304 * ada-lang.c: Use obstack_copy0, not obsavestring.
305 * coffread.c: Use obstack_copy0, not obsavestring.
306 * cp-namespace.c: Use obstack_copy0, not obsavestring.
307 * dbxread.c: Use obstack_copy0, not obsavestring.
308 * dwarf2read.c: Use obstack_copy0, not obsavestring.
309 * jit.c: Use obstack_copy0, not obsavestring.
310 * mdebugread.c: Use obstack_copy0, not obsavestring.
311 * psymtab.c: Use obstack_copy0, not obsavestring.
312 * stabsread.c: Use obstack_copy0, not obsavestring.
313 * xcoffread.c: Use obstack_copy0, not obsavestring.
315 2013-01-21 Tom Tromey <tromey@redhat.com>
317 * dwarf2read.c (fixup_go_packaging): Save package name
319 * gdbtypes.c (init_type): Don't copy name.
321 2013-01-21 Tom Tromey <tromey@redhat.com>
323 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
325 (struct attribute) <u.str>: Now const.
326 (struct fnfieldlist) <name>: Now const.
327 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
328 (partial_die_parent_scope): Make return type const.
329 (partial_die_full_name, add_partial_symbol): Update.
330 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
332 (find_file_and_directory): Make 'name' and 'comp_dir' const.
333 (read_file_scope, read_func_scope, dwarf2_add_field)
334 (dwarf2_add_member_fn, read_structure_type)
335 (process_enumeration_scope, read_array_type, read_module_type)
336 (read_base_type, read_subrange_type): Update.
337 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
338 (new_symbol_full, guess_full_die_structure_name): Update.
339 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
340 (dwarf2_name): Return const type.
341 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
344 2013-01-21 Tom Tromey <tromey@redhat.com>
346 * gdbtypes.c (init_type): Make 'name' const.
347 * gdbtypes.h (init_type): Update.
349 2013-01-21 Tom Tromey <tromey@redhat.com>
351 * buildsym.c (patch_subfile_names): Use set_last_source_file.
352 (start_symtab): Make 'name' and 'dirname' const. Use
353 set_last_source_file.
354 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
355 (last_source_file): Define. Now static.
356 (set_last_source_file, get_last_source_file): New functions.
357 * buildsym.h (last_source_file): Don't declare.
358 (start_symtab): Update.
359 (set_last_source_file, get_last_source_file): Declare.
360 * coffread.c (complete_symtab): Use set_last_source_file.
361 (coff_end_symtab): Likewise.
362 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
363 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
364 set_last_source_file.
365 (process_one_symbol): Use get_last_source_file.
366 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
367 (psymtab_to_symtab_1): Use get_last_source_file.
368 * xcoffread.c (process_linenos): Use get_last_source_file.
369 (complete_symtab): Use set_last_source_file.
370 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
371 (scan_xcoff_symtab): Use set_last_source_file.
373 2013-01-21 Tom Tromey <tromey@redhat.com>
375 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
376 (symbol_set_names): Remove casts. Handle field const-ness.
378 2013-01-21 Tom Tromey <tromey@redhat.com>
380 * dwarf2read.c (new_symbol_full): Remove cast.
381 * symtab.c (symbol_set_demangled_name): Make 'name' const.
382 * symtab.h (symbol_set_demangled_name): Update.
384 2013-01-21 Tom Tromey <tromey@redhat.com>
386 * main.c (captured_main): Call bfd_init.
388 2013-01-21 Tom Tromey <tromey@redhat.com>
390 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
391 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
392 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
395 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
397 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
399 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
401 Fix gdb.fortran/common-block.exp crash in PIE mode.
402 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
404 * f-valprint.c (info_common_command_for_block): Expect
405 LOC_COMMON_BLOCK in gdb_assert.
406 * symtab.h (struct general_symbol_info): Update comment for the
408 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
409 (enum address_class): New member LOC_COMMON_BLOCK.
411 2013-01-18 David Blaikie <dblaikie@gmail.com>
413 * MAINTAINERS (Write After Approval): Add "David Blaikie".
415 2013-01-18 Tom Tromey <tromey@redhat.com>
418 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
421 2013-01-18 Yao Qi <yao@codesourcery.com>
423 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
424 (dbx_read_symtab): New declaration.
425 (dbx_psymtab_to_symtab): Delete.
426 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
427 Rename parameter PST to SELF. Exchanged two parameters.
428 (start_psymtab): Caller update.
429 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
430 (dwarf2_read_symtab): New declaration.
431 (dwarf2_psymtab_to_symtab): Delete.
432 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
433 Rename parameter PST to SELF. Exchanged two parameters.
434 (create_partial_symtab): Caller update.
435 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
436 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
437 Rename parameter PST to SELF. Exchanged two parameters.
438 (parse_partial_symbols, new_psymtab): Caller update.
439 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
441 * psymtab.c (psymtab_to_symtab): Caller update.
442 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
443 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
444 Rename parameter PST to SELF. Exchanged two parameters.
445 (xcoff_start_psymtab): Caller update.
447 2013-01-18 Yao Qi <yao@codesourcery.com>
449 * infrun.c (proceed): Rename local variable 'oneproc' to
452 2013-01-17 Doug Evans <dje@google.com>
454 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
455 (dw2_build_type_unit_groups): Delete. All uses updated.
457 * symtab.h (struct symbol_search): Add comment.
459 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
461 * symtab.c (compare_filenames_for_search): New comment for
464 2013-01-17 Tom Tromey <tromey@redhat.com>
466 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
468 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
470 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
471 initialize it by existing make_cleanup. Call new do_cleanups.
473 2013-01-17 Tom Tromey <tromey@redhat.com>
475 * cp-abi.c (cp_abi_completer): New function.
476 (_initialize_cp_abi): Set completer for "set cp-abi".
478 2013-01-17 Tom Tromey <tromey@redhat.com>
480 * mem-break.c: Remove obsolete comment.
481 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
483 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
485 * jit.c (jit_reader_load_command): Interpret the jit reader name
486 as an absolute path if it begins with a forward slash.
488 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
492 * jit.c (finalize_symtab): Ensure that only the global block has a
495 2013-01-17 Pedro Alves <palves@redhat.com>
497 * acinclude.m4: Include ../config/plugins.m4,
498 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
499 * Makefile.in (aclocal_m4_deps): Update.
500 * aclocal.m4: Renegerate.
502 2013-01-16 Doug Evans <dje@google.com>
504 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
506 2013-01-16 Pedro Alves <palves@redhat.com>
507 Tom Tromey <tromey@redhat.com>
510 * NEWS: Add "catch signal".
511 * breakpoint.c (base_breakpoint_ops): No longer static.
512 (bpstat_explains_signal): New function.
513 (init_catchpoint): No longer static.
514 (base_breakpoint_explains_signal): New function.
515 (base_breakpoint_ops): Initialize new field.
516 * breakpoint.h (enum bpstat_signal_value): New.
517 (struct breakpoint_ops) <explains_signal>: New field.
518 (bpstat_explains_signal): Remove macro, declare as function.
519 (base_breakpoint_ops, init_catchpoint): Declare.
520 * break-catch-sig.c: New file.
521 * inferior.h (signal_catch_update): Declare.
522 * infrun.c (signal_catch): New global.
523 (handle_syscall_event): Update for change to
524 bpstat_explains_signal.
525 (handle_inferior_event): Likewise. Always handle random signals
527 (signal_cache_update): Check signal_catch.
528 (signal_catch_update): New function.
529 (_initialize_infrun): Initialize signal_catch.
530 * Makefile.in (SFILES): Add break-catch-sig.c.
531 (COMMON_OBS): Add break-catch-sig.o.
533 2013-01-16 Tom Tromey <tromey@redhat.com>
535 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
536 (print_one_catch_solib, print_one_catch_syscall)
537 (print_one_catch_exec, print_one_exception_catchpoint): Emit
540 2013-01-16 Yao Qi <yao@codesourcery.com>
542 * printcmd.c (current_display_number): Make it static.
544 2013-01-16 Yao Qi <yao@codesourcery.com>
546 * infcmd.c (step_once): Don't check '!single_inst' as it was
549 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
551 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
553 2013-01-14 Tom Tromey <tromey@redhat.com>
555 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
557 * command.h (add_setshow_string_noescape_cmd): Update.
558 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
559 (complete_set_gnutarget): New function.
560 (_initialize_core): Set the "set gnutarget" completer.
562 2013-01-14 Tom Tromey <tromey@redhat.com>
565 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
566 (c_type_print_modifier): Likewise.
567 * dwarf2read.c (read_tag_restrict_type): New function.
568 (read_type_die_1): Handle DW_TAG_restrict_type.
569 * gdbtypes.c (make_restrict_type): New function.
570 (recursive_dump_type): Handle TYPE_RESTRICT.
571 * gdbtypes.h (enum type_flag_values): Renumber.
572 (enum type_instance_flag_value): Add
573 TYPE_INSTANCE_FLAG_RESTRICT.
574 (TYPE_RESTRICT): New macro.
575 (make_restrict_type): Declare.
577 2013-01-14 Tom Tromey <tromey@redhat.com>
580 * psymtab.c (struct psymtab_state): New.
581 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
583 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
584 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
586 2013-01-14 Richard Sharman <richard_sharman@mitel.com>
587 Pedro Alves <palves@redhat.com>
591 * remote.c (remote_threads_info): Make a copy of the reply from
592 qfThreadInfo and use that instead of rs->buf.
594 2013-01-14 Yao Qi <yao@codesourcery.com>
596 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
597 (dbx_psymtab_to_symtab): Likewise.
598 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
599 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
600 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
602 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
604 * parse.c (parse_exp_in_context): New variable inner_chain. Call
605 make_cleanup_restore_current_language. Call set_language. Move
606 OLD_CHAIN and INNER_CHAIN cleanups.
607 * utils.c (do_restore_current_language)
608 (make_cleanup_restore_current_language): New functions.
609 * utils.h (make_cleanup_restore_current_language): New declaration.
611 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
613 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
616 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
617 non-existing files if FILENAME is already absolute.
619 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
621 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
622 fputs_filtered. Append trailing newline.
624 2013-01-11 Yao Qi <yao@codesourcery.com>
625 Stan Shebs <stan@codesourcery.com>
627 * psymtab.c (init_psymbol_list): Clarify the comment.
629 2013-01-11 Yao Qi <yao@codesourcery.com>
631 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
632 (update_dprintf_command_list): Assert that 'printf_line' is
633 non-null. Remove condition check.
635 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
638 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
640 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
642 * tui/tui-source.h (tui_source_is_displayed): Likewise.
644 2013-01-09 Anthony Green <green@moxielogic.com>
646 * cp-abi.c (cplus_print_vtable): Don't return value from void
648 * ada-lang.c (re_set_catch_assert): Ditto.
650 2013-01-09 Doug Evans <dje@google.com>
652 * symfile.h (quick_symbol_functions): Delete member
653 pre_expand_symtabs_matching. All uses removed.
654 * dwarf2read.c (dw2_lookup_symbol): Implement.
655 (dw2_do_expand_symtabs_matching): Delete.
656 (dw2_pre_expand_symtabs_matching): Delete.
657 (struct dw2_symtab_iterator): New type.
658 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
659 (dw2_expand_symtabs_for_function): Rewrite.
660 (dwarf2_gdb_index_functions): Update.
661 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
662 (psym_functions): Update.
664 2013-01-09 Tom Tromey <tromey@redhat.com>
666 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
667 * configure: Rebuild.
668 * configure.ac: Add somread.o to the build if BFD has SOM
670 * somread.c: Include som/aout.h, not syms.h.
671 (som_symtab_read): Use som_external_symbol_dictionary_record.
672 Unpack records manually.
673 (_initialize_somread): Declare.
675 2012-01-08 Mike Frysinger <vapier@gentoo.org>
677 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
678 Cast return_address to 64bits.
680 2013-01-08 Hui Zhu <hui_zhu@mentor.com>
682 * printcmd.c: Remove define of function output_command.
683 * tracepoint.c: Remove extern of function output_command.
684 * valprint.h: (output_command): New extern.
686 2013-01-07 Tom Tromey <tromey@redhat.com>
688 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
690 (objc_language_defn): Use c_printchar, c_printstr,
693 2013-01-07 Tom Tromey <tromey@redhat.com>
697 * ada-valprint.c (printstr, print_field_values): Remove
699 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
701 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
703 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
704 * main.c (captured_main): Remove "epoch" argument.
705 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
706 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
707 * p-valprint.c (pascal_object_print_value_fields): Remove
709 * printcmd.c (print_command_1): Remove 'inspect' argument.
710 (print_command, call_command): Update.
711 (inspect_command): Remove.
712 (_initialize_printcmd): Make "inspect" an alias for "print".
713 * top.c (epoch_interface): Remove.
714 * top.h (epoch_interface): Remove.
715 * valprint.c (user_print_options): Update.
716 (print_converted_chars_to_obstack): Remove "inspect_it" code.
717 * valprint.h (struct value_print_options) <inspect_it>: Remove
720 2013-01-04 Tom Tromey <tromey@redhat.com>
722 * valprint.h (read_string): Add 'extern'.
724 2013-01-07 Joel Brobecker <brobecker@adacore.com>
726 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
727 used to decide whether to define darwin_read_dyld_info or not.
729 2013-01-03 Pierre Muller <muller@sourceware.org>
731 * main.c (relocate_gdb_directory): Avoid calling stat function
734 2013-01-03 Yao Qi <yao@codesourcery.com>
736 * psymtab.c (fixup_psymbol_section): Update declaration.
737 (fixup_psymbol_section): Remove code returning value.
739 2013-01-03 Yao Qi <yao@codesourcery.com>
741 * symtab.h: Remove some out of date comments.
742 (enum exception_event_kind): Move it ...
743 * breakpoint.c: ... here.
745 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
748 * darwin-nat.c (darwin_read_dyld_info): Only build if
749 TASK_DYLD_INFO_COUNT is defined.
750 (darwin_xfer_partial): Call darwin_read_dyld_info only if
751 TASK_DYLD_INFO_COUNT is defined.
753 2013-01-02 Tom Tromey <tromey@redhat.com>
755 * symfile.h (struct ecoff_debug_hack): Remove.
756 * objfiles.c: Don't include mdebugread.h.
758 2013-01-02 Tom Tromey <tromey@redhat.com>
760 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
761 * configure.ac: Check for Mach-O support in BFD. Update
763 * configure: Rebuild.
765 2013-01-02 Tom Tromey <tromey@redhat.com>
767 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
768 * configure.ac: Use GDB_AC_CHECK_BFD.
769 * configure: Rebuild.
771 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
773 * MAINTAINERS: Update my email.
775 2013-01-01 Joel Brobecker <brobecker@adacore.com>
777 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
779 2013-01-01 Joel Brobecker <brobecker@adacore.com>
781 * rs6000-nat.c (bss_data_overlap): New function.
782 (vmap_symtab): Use it to adjust the .bss section's offset.
784 2013-01-01 Joel Brobecker <brobecker@adacore.com>
786 Update year range in copyright notice of all files.
788 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
790 * top.c (print_gdb_version): Update copyright year.
792 For older changes see ChangeLog-2012.
798 version-control: never