1 2013-01-31 Tom Tromey <tromey@redhat.com>
4 * dwarf2read.c (read_tag_ptr_to_member_type): Handle
7 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
9 * target.c (target_read_string): Remove unused origlen.
11 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
13 * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
14 * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
15 * ax-general.c (ax_print): Remove unused is_float.
16 * blockframe.c (block_innermost_frame): Remove unused start, end.
17 * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
19 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
21 * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
22 (svr4_read_so_list): Remove unused lmo.
23 * solib-target.c (solib_target_relocate_section_addresses): Remove
26 2013-01-30 Tom Tromey <tromey@redhat.com>
28 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
30 2013-01-30 Tom Tromey <tromey@redhat.com>
32 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
33 * utils.c (gnu_debuglink_crc32): Remove.
34 * utils.h (gnu_debuglink_crc32): Don't declare.
36 2013-01-30 Tom Tromey <tromey@redhat.com>
38 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
39 (read_structure_type, read_enumeration_type): Remove cast.
41 2013-01-30 Tom Tromey <tromey@redhat.com>
43 * dwarf2read.c (read_namespace_type): Remove cast.
44 (read_typedef): Likewise.
46 2013-01-29 Tom Tromey <tromey@redhat.com>
48 * dwarf2read.c (free_dwo_file): Remove assert.
50 2013-01-29 Tom Tromey <tromey@redhat.com>
52 * value.c (deprecated_set_value_modifiable): Remove.
53 * value.h (deprecated_set_value_modifiable): Remove.
55 2013-01-28 Doug Evans <dje@google.com>
57 * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
58 to addresses from dwo files.
60 2013-01-25 Siva Chandra Reddy <sivachandra@google.com>
62 * valops.c (find_overload_match): Remove unused argument 'lax'.
63 * value.h: Remove unused argument 'lax' from the declaration of
65 * eval.c (value_subexp_standard): Do not pass a 'lax' argument
66 to find_overload_match.
67 * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
68 argument to find_overload_match.
70 2013-01-25 Tom Tromey <tromey@redhat.com>
72 * dwarf2read.c (processing_has_namespace_info): Remove.
73 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
74 (process_die, read_func_scope, dwarf2_start_symtab)
75 (new_symbol_full): Update.
77 2013-01-25 Tom Tromey <tromey@redhat.com>
79 * cp-namespace.c (cp_set_block_scope): Remove.
80 * cp-support.h (cp_set_block_scope): Remove.
81 * dbxread.c: Include block.h.
82 (cp_set_block_scope): New function.
83 (process_one_symbol): Update.
84 * dwarf2read.c (read_func_scope): Use block_set_scope.
86 2013-01-25 Pedro Alves <palves@redhat.com>
88 * remote.c (add_current_inferior_and_thread): Tweak comment.
90 2013-01-25 Tom Tromey <tromey@redhat.com>
92 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
93 (cp_add_using_directive): Add 'copy_names' argument.
94 * cp-support.h (cp_add_using_directive): Update.
95 (struct using_direct) <import_src, import_dest, alias,
96 declaration>: Now const.
97 * dwarf2read.c (read_import_statement): Use obconcat.
98 Don't copy names passed to cp_add_using_directive.
100 2013-01-25 Tom Tromey <tromey@redhat.com>
102 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
104 2013-01-25 Pedro Alves <palves@redhat.com>
106 * remote.c (stop_reply_extract_thread): New.
107 (add_current_inferior_and_thread): New parameter 'wait_status'.
109 (remote_start_remote): Pass wait status to
110 add_current_inferior_and_thread.
111 (extended_remote_run): Update comment.
112 (extended_remote_create_inferior_1): Pass wait status to
113 add_current_inferior_and_thread.
115 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
116 Ulrich Weigand <uweigand@de.ibm.com>
118 * valarith.c (value_vector_widen): New function for replicating a
119 scalar into a vector.
120 (value_binop): Use value_vector_widen to widen scalar to vector
121 rather than casting, this better matches gcc C behaviour.
122 * valops.c (value_casst): Update logic for casting between vector
123 types, and for casting from scalar to vector, try to match gcc C
125 * value.h (value_vector_widen): Declare.
126 * opencl-lang.c (opencl_value_cast): New opencl specific casting
127 function, handle special case for casting scalar to vector.
128 (opencl_relop): Use opencl_value_cast.
129 (evaluate_subexp_opencl): Use opencl_value_cast instead of
130 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
131 in order to use opencl_value_cast.
133 2013-01-25 Yao Qi <yao@codesourcery.com>
135 * event-loop.c: Include "queue.h".
136 (gdb_event_p): New typedef.
137 (DECLARE_QUEUE_P): Use.
138 (DEFINE_QUEUE_P): Use.
139 (async_queue_event): Remove.
140 (gdb_event_xfree): New.
141 (initialize_event_loop): New.
142 (process_event): Use QUEUE macros.
143 (event_queue): Remove.
144 (gdb_wait_for_event): Caller update.
145 (check_async_event_handlers): Likewise.
146 (poll_timers): Likewise.
147 * event-loop.h (initialize_event_loop): Declare.
148 * event-loop.c (gdb_event_xfree): New.
149 * top.c (gdb_init): Call initialize_event_loop.
151 2013-01-25 Yao Qi <yao@codesourcery.com>
153 * event-loop.c (async_queue_event): Remove one parameter
154 'position'. Remove code handling 'position' == TAIL.
155 (gdb_wait_for_event): Caller update.
156 (check_async_event_handlers): Caller update.
157 (poll_timers): Caller update.
158 * event-loop.h (enum queue_position): Remove.
160 2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com>
162 * MAINTAINERS: Update my email.
164 2013-01-25 Yao Qi <yao@codesourcery.com>
166 * main.c (print_gdb_help): Remove "--epoch" from the help
169 2013-01-24 Ulrich Weigand <uweigand@de.ibm.com>
171 * symtab.c (skip_prologue_using_sal): Consider a file
172 change the same as an increased line number
174 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
176 * MAINTAINERS (Write After Approval): Add myself to the list.
178 2013-01-24 Tom Tromey <tromey@redhat.com>
180 * ada-lang.h (ada_decode_symbol): Make return type const.
181 * ada-lang.c (ada_decode_symbol): Likewise.
183 2013-01-23 Doug Evans <dje@google.com>
185 * linespec.c (find_linespec_symbols): Make static.
187 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
189 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
190 type on float conversion for complex type.
192 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
194 Add a new class gdb.Architecture which exposes GDB's
195 internal representation of architecture via GDB Python API.
196 * Makefile.in: Add entries corresponding to the new file
198 * NEWS (Python Scripting): Add entries for the new class
199 gdb.Architecture and the new method gdb.Frame.architecture.
200 * python/py-arch.c: Implement gdb.Architecture class.
201 * python/py-frame.c (frapy_arch): Implement the method
202 gdb.Frame.architecture().
203 (frame_object_methods): Add 'architecture' to the method table.
204 * python/python-internal.h: Add declarations of new utility
206 * python/python.c (_initialize_python): Initialize
207 gdb.Architecture class.
209 2013-01-23 Doug Evans <dje@google.com>
211 Work around binutils/15021.
212 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
213 type_unit_group out of union s. All uses updated.
214 (read_index_from_section): Watch for index version 8.
215 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
217 (write_psymtabs_to_index): Increment version number to 8.
219 2013-01-22 Pedro Alves <palves@redhat.com>
221 * annotate.c (breakpoint_changed): Skip if breakpoint is not
224 2013-01-22 Pedro Alves <palves@redhat.com>
226 * annotate.c (annotate_breakpoints_changed): Rename to ...
227 (annotate_breakpoints_invalid): ... this. Make static.
228 (breakpoint_changed): Adjust.
229 (_initialize_annotate): Always install the observers. Install a
230 "breakpoint_created" observer.
231 * annotate.h (annotate_breakpoints_changed): Delete declaration.
232 * breakpoint.c (set_breakpoint_condition)
233 (breakpoint_set_commands, do_map_commands_command)
234 (init_raw_breakpoint, clear_command, set_ignore_count)
235 (enable_breakpoint_disp): No longer call
236 annotate_breakpoints_changed.
238 2013-01-22 Pedro Alves <palves@redhat.com>
240 * annotate.c: Include "inferior.h".
241 (frames_invalid_emitted)
242 (breakpoints_invalid_emitted): New globals.
243 (async_background_execution_p): New function.
244 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
245 emitting the annotation if it has already been emitted.
246 (annotate_display_prompt): New function.
247 * annotate.h (annotate_display_prompt): New declaration.
248 * event-top.c: Include annotate.h.
249 (display_gdb_prompt): Call annotate_display_prompt.
251 2013-01-22 Pedro Alves <palves@redhat.com>
253 * annotate.c (ignore_count_changed): Delete.
254 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
255 (annotate_ignore_count_change): Delete.
256 (annotate_stopped): Don't emit a delayed breakpoints-changed
258 * annotate.h (annotate_ignore_count_change): Delete.
259 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
260 annotate_ignore_count_change.
262 2013-01-22 Tom Tromey <tromey@redhat.com>
264 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
265 require_rvalue for a register location.
267 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
269 * breakpoint.c (print_one_breakpoint_location): Add MI
270 field 'thread-groups' when printing a breakpoint.
271 (output_thread_groups): New function.
273 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
275 * python/lib/gdb/commands/explore.py
276 (CompoundExplorer.explore_expr): Correct the name of a method
278 (ExploreTypeCommand.invoke): Add a missing 'return'.
280 2013-01-21 Tom Tromey <tromey@redhat.com>
282 * gdb_obstack.h (obconcat): Move declaration here, from...
283 * symfile.h (obconcat): ... here.
284 * gdb_obstack.c: New file.
285 (obconcat): Move from...
286 * symfile.c (obconcat): ... here.
287 * Makefile.in (SFILES): Add gdb_obstack.c.
288 (COMMON_OBS): Add gdb_obstack.o.
290 2013-01-21 Tom Tromey <tromey@redhat.com>
292 * symfile.h (obsavestring): Don't declare.
293 * symfile.c (obsavestring): Remove.
294 * ada-exp.y: Use obstack_copy0, not obsavestring.
295 * ada-lang.c: Use obstack_copy0, not obsavestring.
296 * coffread.c: Use obstack_copy0, not obsavestring.
297 * cp-namespace.c: Use obstack_copy0, not obsavestring.
298 * dbxread.c: Use obstack_copy0, not obsavestring.
299 * dwarf2read.c: Use obstack_copy0, not obsavestring.
300 * jit.c: Use obstack_copy0, not obsavestring.
301 * mdebugread.c: Use obstack_copy0, not obsavestring.
302 * psymtab.c: Use obstack_copy0, not obsavestring.
303 * stabsread.c: Use obstack_copy0, not obsavestring.
304 * xcoffread.c: Use obstack_copy0, not obsavestring.
306 2013-01-21 Tom Tromey <tromey@redhat.com>
308 * dwarf2read.c (fixup_go_packaging): Save package name
310 * gdbtypes.c (init_type): Don't copy name.
312 2013-01-21 Tom Tromey <tromey@redhat.com>
314 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
316 (struct attribute) <u.str>: Now const.
317 (struct fnfieldlist) <name>: Now const.
318 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
319 (partial_die_parent_scope): Make return type const.
320 (partial_die_full_name, add_partial_symbol): Update.
321 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
323 (find_file_and_directory): Make 'name' and 'comp_dir' const.
324 (read_file_scope, read_func_scope, dwarf2_add_field)
325 (dwarf2_add_member_fn, read_structure_type)
326 (process_enumeration_scope, read_array_type, read_module_type)
327 (read_base_type, read_subrange_type): Update.
328 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
329 (new_symbol_full, guess_full_die_structure_name): Update.
330 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
331 (dwarf2_name): Return const type.
332 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
335 2013-01-21 Tom Tromey <tromey@redhat.com>
337 * gdbtypes.c (init_type): Make 'name' const.
338 * gdbtypes.h (init_type): Update.
340 2013-01-21 Tom Tromey <tromey@redhat.com>
342 * buildsym.c (patch_subfile_names): Use set_last_source_file.
343 (start_symtab): Make 'name' and 'dirname' const. Use
344 set_last_source_file.
345 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
346 (last_source_file): Define. Now static.
347 (set_last_source_file, get_last_source_file): New functions.
348 * buildsym.h (last_source_file): Don't declare.
349 (start_symtab): Update.
350 (set_last_source_file, get_last_source_file): Declare.
351 * coffread.c (complete_symtab): Use set_last_source_file.
352 (coff_end_symtab): Likewise.
353 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
354 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
355 set_last_source_file.
356 (process_one_symbol): Use get_last_source_file.
357 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
358 (psymtab_to_symtab_1): Use get_last_source_file.
359 * xcoffread.c (process_linenos): Use get_last_source_file.
360 (complete_symtab): Use set_last_source_file.
361 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
362 (scan_xcoff_symtab): Use set_last_source_file.
364 2013-01-21 Tom Tromey <tromey@redhat.com>
366 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
367 (symbol_set_names): Remove casts. Handle field const-ness.
369 2013-01-21 Tom Tromey <tromey@redhat.com>
371 * dwarf2read.c (new_symbol_full): Remove cast.
372 * symtab.c (symbol_set_demangled_name): Make 'name' const.
373 * symtab.h (symbol_set_demangled_name): Update.
375 2013-01-21 Tom Tromey <tromey@redhat.com>
377 * main.c (captured_main): Call bfd_init.
379 2013-01-21 Tom Tromey <tromey@redhat.com>
381 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
382 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
383 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
386 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
388 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
390 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
392 Fix gdb.fortran/common-block.exp crash in PIE mode.
393 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
395 * f-valprint.c (info_common_command_for_block): Expect
396 LOC_COMMON_BLOCK in gdb_assert.
397 * symtab.h (struct general_symbol_info): Update comment for the
399 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
400 (enum address_class): New member LOC_COMMON_BLOCK.
402 2013-01-18 David Blaikie <dblaikie@gmail.com>
404 * MAINTAINERS (Write After Approval): Add "David Blaikie".
406 2013-01-18 Tom Tromey <tromey@redhat.com>
409 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
412 2013-01-18 Yao Qi <yao@codesourcery.com>
414 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
415 (dbx_read_symtab): New declaration.
416 (dbx_psymtab_to_symtab): Delete.
417 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
418 Rename parameter PST to SELF. Exchanged two parameters.
419 (start_psymtab): Caller update.
420 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
421 (dwarf2_read_symtab): New declaration.
422 (dwarf2_psymtab_to_symtab): Delete.
423 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
424 Rename parameter PST to SELF. Exchanged two parameters.
425 (create_partial_symtab): Caller update.
426 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
427 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
428 Rename parameter PST to SELF. Exchanged two parameters.
429 (parse_partial_symbols, new_psymtab): Caller update.
430 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
432 * psymtab.c (psymtab_to_symtab): Caller update.
433 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
434 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
435 Rename parameter PST to SELF. Exchanged two parameters.
436 (xcoff_start_psymtab): Caller update.
438 2013-01-18 Yao Qi <yao@codesourcery.com>
440 * infrun.c (proceed): Rename local variable 'oneproc' to
443 2013-01-17 Doug Evans <dje@google.com>
445 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
446 (dw2_build_type_unit_groups): Delete. All uses updated.
448 * symtab.h (struct symbol_search): Add comment.
450 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
452 * symtab.c (compare_filenames_for_search): New comment for
455 2013-01-17 Tom Tromey <tromey@redhat.com>
457 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
459 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
461 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
462 initialize it by existing make_cleanup. Call new do_cleanups.
464 2013-01-17 Tom Tromey <tromey@redhat.com>
466 * cp-abi.c (cp_abi_completer): New function.
467 (_initialize_cp_abi): Set completer for "set cp-abi".
469 2013-01-17 Tom Tromey <tromey@redhat.com>
471 * mem-break.c: Remove obsolete comment.
472 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
474 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
476 * jit.c (jit_reader_load_command): Interpret the jit reader name
477 as an absolute path if it begins with a forward slash.
479 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
483 * jit.c (finalize_symtab): Ensure that only the global block has a
486 2013-01-17 Pedro Alves <palves@redhat.com>
488 * acinclude.m4: Include ../config/plugins.m4,
489 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
490 * Makefile.in (aclocal_m4_deps): Update.
491 * aclocal.m4: Renegerate.
493 2013-01-16 Doug Evans <dje@google.com>
495 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
497 2013-01-16 Pedro Alves <palves@redhat.com>
498 Tom Tromey <tromey@redhat.com>
501 * NEWS: Add "catch signal".
502 * breakpoint.c (base_breakpoint_ops): No longer static.
503 (bpstat_explains_signal): New function.
504 (init_catchpoint): No longer static.
505 (base_breakpoint_explains_signal): New function.
506 (base_breakpoint_ops): Initialize new field.
507 * breakpoint.h (enum bpstat_signal_value): New.
508 (struct breakpoint_ops) <explains_signal>: New field.
509 (bpstat_explains_signal): Remove macro, declare as function.
510 (base_breakpoint_ops, init_catchpoint): Declare.
511 * break-catch-sig.c: New file.
512 * inferior.h (signal_catch_update): Declare.
513 * infrun.c (signal_catch): New global.
514 (handle_syscall_event): Update for change to
515 bpstat_explains_signal.
516 (handle_inferior_event): Likewise. Always handle random signals
518 (signal_cache_update): Check signal_catch.
519 (signal_catch_update): New function.
520 (_initialize_infrun): Initialize signal_catch.
521 * Makefile.in (SFILES): Add break-catch-sig.c.
522 (COMMON_OBS): Add break-catch-sig.o.
524 2013-01-16 Tom Tromey <tromey@redhat.com>
526 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
527 (print_one_catch_solib, print_one_catch_syscall)
528 (print_one_catch_exec, print_one_exception_catchpoint): Emit
531 2013-01-16 Yao Qi <yao@codesourcery.com>
533 * printcmd.c (current_display_number): Make it static.
535 2013-01-16 Yao Qi <yao@codesourcery.com>
537 * infcmd.c (step_once): Don't check '!single_inst' as it was
540 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
542 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
544 2013-01-14 Tom Tromey <tromey@redhat.com>
546 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
548 * command.h (add_setshow_string_noescape_cmd): Update.
549 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
550 (complete_set_gnutarget): New function.
551 (_initialize_core): Set the "set gnutarget" completer.
553 2013-01-14 Tom Tromey <tromey@redhat.com>
556 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
557 (c_type_print_modifier): Likewise.
558 * dwarf2read.c (read_tag_restrict_type): New function.
559 (read_type_die_1): Handle DW_TAG_restrict_type.
560 * gdbtypes.c (make_restrict_type): New function.
561 (recursive_dump_type): Handle TYPE_RESTRICT.
562 * gdbtypes.h (enum type_flag_values): Renumber.
563 (enum type_instance_flag_value): Add
564 TYPE_INSTANCE_FLAG_RESTRICT.
565 (TYPE_RESTRICT): New macro.
566 (make_restrict_type): Declare.
568 2013-01-14 Tom Tromey <tromey@redhat.com>
571 * psymtab.c (struct psymtab_state): New.
572 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
574 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
575 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
577 2013-01-14 Richard Sharman <richard_sharman@mitel.com>
578 Pedro Alves <palves@redhat.com>
582 * remote.c (remote_threads_info): Make a copy of the reply from
583 qfThreadInfo and use that instead of rs->buf.
585 2013-01-14 Yao Qi <yao@codesourcery.com>
587 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
588 (dbx_psymtab_to_symtab): Likewise.
589 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
590 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
591 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
593 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
595 * parse.c (parse_exp_in_context): New variable inner_chain. Call
596 make_cleanup_restore_current_language. Call set_language. Move
597 OLD_CHAIN and INNER_CHAIN cleanups.
598 * utils.c (do_restore_current_language)
599 (make_cleanup_restore_current_language): New functions.
600 * utils.h (make_cleanup_restore_current_language): New declaration.
602 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
604 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
607 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
608 non-existing files if FILENAME is already absolute.
610 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
612 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
613 fputs_filtered. Append trailing newline.
615 2013-01-11 Yao Qi <yao@codesourcery.com>
616 Stan Shebs <stan@codesourcery.com>
618 * psymtab.c (init_psymbol_list): Clarify the comment.
620 2013-01-11 Yao Qi <yao@codesourcery.com>
622 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
623 (update_dprintf_command_list): Assert that 'printf_line' is
624 non-null. Remove condition check.
626 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
629 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
631 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
633 * tui/tui-source.h (tui_source_is_displayed): Likewise.
635 2013-01-09 Anthony Green <green@moxielogic.com>
637 * cp-abi.c (cplus_print_vtable): Don't return value from void
639 * ada-lang.c (re_set_catch_assert): Ditto.
641 2013-01-09 Doug Evans <dje@google.com>
643 * symfile.h (quick_symbol_functions): Delete member
644 pre_expand_symtabs_matching. All uses removed.
645 * dwarf2read.c (dw2_lookup_symbol): Implement.
646 (dw2_do_expand_symtabs_matching): Delete.
647 (dw2_pre_expand_symtabs_matching): Delete.
648 (struct dw2_symtab_iterator): New type.
649 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
650 (dw2_expand_symtabs_for_function): Rewrite.
651 (dwarf2_gdb_index_functions): Update.
652 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
653 (psym_functions): Update.
655 2013-01-09 Tom Tromey <tromey@redhat.com>
657 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
658 * configure: Rebuild.
659 * configure.ac: Add somread.o to the build if BFD has SOM
661 * somread.c: Include som/aout.h, not syms.h.
662 (som_symtab_read): Use som_external_symbol_dictionary_record.
663 Unpack records manually.
664 (_initialize_somread): Declare.
666 2012-01-08 Mike Frysinger <vapier@gentoo.org>
668 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
669 Cast return_address to 64bits.
671 2013-01-08 Hui Zhu <hui_zhu@mentor.com>
673 * printcmd.c: Remove define of function output_command.
674 * tracepoint.c: Remove extern of function output_command.
675 * valprint.h: (output_command): New extern.
677 2013-01-07 Tom Tromey <tromey@redhat.com>
679 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
681 (objc_language_defn): Use c_printchar, c_printstr,
684 2013-01-07 Tom Tromey <tromey@redhat.com>
688 * ada-valprint.c (printstr, print_field_values): Remove
690 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
692 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
694 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
695 * main.c (captured_main): Remove "epoch" argument.
696 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
697 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
698 * p-valprint.c (pascal_object_print_value_fields): Remove
700 * printcmd.c (print_command_1): Remove 'inspect' argument.
701 (print_command, call_command): Update.
702 (inspect_command): Remove.
703 (_initialize_printcmd): Make "inspect" an alias for "print".
704 * top.c (epoch_interface): Remove.
705 * top.h (epoch_interface): Remove.
706 * valprint.c (user_print_options): Update.
707 (print_converted_chars_to_obstack): Remove "inspect_it" code.
708 * valprint.h (struct value_print_options) <inspect_it>: Remove
711 2013-01-04 Tom Tromey <tromey@redhat.com>
713 * valprint.h (read_string): Add 'extern'.
715 2013-01-07 Joel Brobecker <brobecker@adacore.com>
717 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
718 used to decide whether to define darwin_read_dyld_info or not.
720 2013-01-03 Pierre Muller <muller@sourceware.org>
722 * main.c (relocate_gdb_directory): Avoid calling stat function
725 2013-01-03 Yao Qi <yao@codesourcery.com>
727 * psymtab.c (fixup_psymbol_section): Update declaration.
728 (fixup_psymbol_section): Remove code returning value.
730 2013-01-03 Yao Qi <yao@codesourcery.com>
732 * symtab.h: Remove some out of date comments.
733 (enum exception_event_kind): Move it ...
734 * breakpoint.c: ... here.
736 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
739 * darwin-nat.c (darwin_read_dyld_info): Only build if
740 TASK_DYLD_INFO_COUNT is defined.
741 (darwin_xfer_partial): Call darwin_read_dyld_info only if
742 TASK_DYLD_INFO_COUNT is defined.
744 2013-01-02 Tom Tromey <tromey@redhat.com>
746 * symfile.h (struct ecoff_debug_hack): Remove.
747 * objfiles.c: Don't include mdebugread.h.
749 2013-01-02 Tom Tromey <tromey@redhat.com>
751 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
752 * configure.ac: Check for Mach-O support in BFD. Update
754 * configure: Rebuild.
756 2013-01-02 Tom Tromey <tromey@redhat.com>
758 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
759 * configure.ac: Use GDB_AC_CHECK_BFD.
760 * configure: Rebuild.
762 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
764 * MAINTAINERS: Update my email.
766 2013-01-01 Joel Brobecker <brobecker@adacore.com>
768 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
770 2013-01-01 Joel Brobecker <brobecker@adacore.com>
772 * rs6000-nat.c (bss_data_overlap): New function.
773 (vmap_symtab): Use it to adjust the .bss section's offset.
775 2013-01-01 Joel Brobecker <brobecker@adacore.com>
777 Update year range in copyright notice of all files.
779 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
781 * top.c (print_gdb_version): Update copyright year.
783 For older changes see ChangeLog-2012.
789 version-control: never