1 2014-02-11 Joel Brobecker <brobecker@adacore.com>
3 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
6 2014-02-10 Will Newton <will.newton@linaro.org>
8 * elfread.c (elf_rel_plt_read): Look for a .got section if
9 looking up .got.plt fails.
10 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
11 on address passed to elf_gnu_ifunc_record_cache.
12 (elf_gnu_ifunc_resolve_addr): Likewise.
13 (elf_gnu_ifunc_resolver_return_stop): Likewise.
15 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
17 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
18 (X_RETTURN): New macro.
19 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
21 * sparc64-tdep.c (sparc64_init_abi): Hook
22 sparc_in_function_epilogue_p.
24 2014-02-10 Gary Benson <gbenson@redhat.com>
26 * symfile-debug.c (debug_qf_expand_symtabs_matching):
27 Rename name_matcher to symbol_matcher.
29 2014-02-10 Gary Benson <gbenson@redhat.com>
31 * symfile-debug.c (debug_qf_expand_symtabs_matching):
32 Use expand_symtabs_file_matcher_ftype and
33 expand_symtabs_symbol_matcher_ftype.
35 2014-02-10 Joel Brobecker <brobecker@adacore.com>
37 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
38 (struct ada_symbol_cache): New.
39 (ada_free_symbol_cache): Forward declare.
40 (struct ada_pspace_data): New.
41 (ada_pspace_data_handle): New static global.
42 (get_ada_pspace_data, ada_pspace_data_cleanup)
43 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
44 (cache_space, cache): Delete, now folded inside struct
46 (ada_get_symbol_cache): New function.
47 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
49 (_initialize_ada_language): Remove initialization of cache_space.
50 Move call to observer_attach_inferior_exit up, grouping it
51 with the other observer registrations inside this function.
52 Rename command to be more general. Add call to
53 register_program_space_data_with_cleanup.
55 2014-02-10 Joel Brobecker <brobecker@adacore.com>
57 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
58 ada_new_objfile_observer.
59 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
60 (_initialize_tasks): Update uses of ada_new_objfile_observer
61 and ada_tasks_normal_stop_observer.
63 2014-02-10 Joel Brobecker <brobecker@adacore.com>
65 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
66 returned by the 'Length attribute to integer.
68 2014-02-10 Joel Brobecker <brobecker@adacore.com>
70 * ada-lang.c (_initialize_ada_language): Initialize
73 2014-02-10 Joel Brobecker <brobecker@adacore.com>
75 * ada-lang.c (HASH_SIZE): New macro.
76 (struct cache_entry): New type.
77 (cache_space, cache): New static globals.
78 (ada_clear_symbol_cache, find_entry): New functions.
79 (lookup_cached_symbol, cache_symbol): Implement.
80 (ada_new_objfile_observer, ada_free_objfile_observer): New.
81 (_initialize_ada_language): Attach ada_new_objfile_observer
82 and ada_free_objfile_observer.
84 2014-02-10 Joel Brobecker <brobecker@adacore.com>
86 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
87 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
88 struct block * parameter.
89 (ada_lookup_symbol_list_worker): Constify local variable "block".
90 Remove cast which is no longer necessary.
92 2014-02-10 Doug Evans <xdje42@gmail.com>
94 Add Guile as an extension language.
95 * NEWS: Mention Guile scripting.
96 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
97 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
98 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
99 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
100 (CLIBS): Add GUILE_LIBS.
101 (install-guile): New rule.
103 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
104 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
105 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
106 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
107 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
108 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
109 (scm-type.o, scm-utils.o, scm-value.o): New rules.
110 * configure.ac: New option --with-guile.
111 * configure: Regenerate.
112 * config.in: Regenerate.
113 * auto-load.c: Remove #include "python/python.h". Add #include
114 "gdb/section-scripts.h".
115 (source_section_scripts): Handle Guile scripts.
116 (_initialize_auto_load): Add name of Guile objfile script to
117 scripts-directory help text.
118 * breakpoint.c (condition_command): Tweak comment to include Scheme.
119 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
120 (struct breakpoint): New member scm_bp_object.
121 * defs.h (enum command_control_type): New value guile_control.
122 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
124 (show_user): Update comment.
125 (_initialize_cli_cmds): Update help text for "show user". Update help
126 text for max-user-call-depth.
127 * cli/cli-script.c: Remove #include "python/python.h". Add #include
129 (multi_line_command_p): Add guile_control.
130 (print_command_lines): Handle guile_control.
131 (execute_control_command, recurse_read_control_structure): Ditto.
132 (process_next_line): Recognize "guile" commands.
133 * disasm.c (gdb_disassemble_info): Make non-static.
134 * disasm.h: #include "dis-asm.h".
135 (struct gdbarch): Add forward decl.
136 (gdb_disassemble_info): Declare.
137 * extension.c: #include "guile/guile.h".
138 (extension_languages): Add guile.
139 (get_ext_lang_defn): Handle EXT_LANG_GDB.
140 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
141 * gdbtypes.c (get_unsigned_type_max): New function.
142 (get_signed_type_minmax): New function.
143 * gdbtypes.h (get_unsigned_type_max): Declare.
144 (get_signed_type_minmax): Declare.
145 * guile/README: New file.
146 * guile/guile-internal.h: New file.
147 * guile/guile.c: New file.
148 * guile/guile.h: New file.
149 * guile/scm-arch.c: New file.
150 * guile/scm-auto-load.c: New file.
151 * guile/scm-block.c: New file.
152 * guile/scm-breakpoint.c: New file.
153 * guile/scm-disasm.c: New file.
154 * guile/scm-exception.c: New file.
155 * guile/scm-frame.c: New file.
156 * guile/scm-gsmob.c: New file.
157 * guile/scm-iterator.c: New file.
158 * guile/scm-lazy-string.c: New file.
159 * guile/scm-math.c: New file.
160 * guile/scm-objfile.c: New file.
161 * guile/scm-ports.c: New file.
162 * guile/scm-pretty-print.c: New file.
163 * guile/scm-safe-call.c: New file.
164 * guile/scm-string.c: New file.
165 * guile/scm-symbol.c: New file.
166 * guile/scm-symtab.c: New file.
167 * guile/scm-type.c: New file.
168 * guile/scm-utils.c: New file.
169 * guile/scm-value.c: New file.
170 * guile/lib/gdb.scm: New file.
171 * guile/lib/gdb/boot.scm: New file.
172 * guile/lib/gdb/experimental.scm: New file.
173 * guile/lib/gdb/init.scm: New file.
174 * guile/lib/gdb/iterator.scm: New file.
175 * guile/lib/gdb/printing.scm: New file.
176 * guile/lib/gdb/types.scm: New file.
177 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
178 (VPATH): Add $(GUILE_SRCDIR).
179 (GUILE_DIR): New variable.
180 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
181 (all): Add stamp-guile dependency.
182 (stamp-guile): New rule.
183 (clean-guile, install-guile, uninstall-guile): New rules.
184 (install-only): Add install-guile dependency.
185 (uninstall): Add uninstall-guile dependency.
186 (clean): Add clean-guile dependency.
188 2014-02-09 Doug Evans <xdje42@gmail.com>
190 Revert this patch (which I approved, mea culpa).
192 2014-02-08 Mark Kettenis <kettenis@gnu.org>
194 * Makefile.in (all-lib): Remove.
195 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
197 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
199 Fix Python stack corruption.
200 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
203 2014-02-08 Mark Kettenis <kettenis@gnu.org>
205 * Makefile.in (all-lib): Remove.
206 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
208 2014-02-07 Doug Evans <dje@google.com>
210 * extension-priv.h (extension_language_script_ops): Add comment.
211 (extension_language_ops): Add comment.
212 (active_ext_lang_state): Fix typo in comment.
214 2014-02-07 Pedro Alves <palves@redhat.com>
216 * infrun.c (handle_signal_stop) <signal arrives while stepping
217 over a breakpoint>: Switch back to the stepping thread.
219 2014-02-07 Yao Qi <yao@codesourcery.com>
221 * target.c (target_xfer_partial): Return zero if LEN is zero.
223 2014-02-07 Yao Qi <yao@codesourcery.com>
225 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
226 (ld_so_xfer_auxv): Likewise.
227 * bfd-target.c (target_bfd_xfer_partial): Likewise.
228 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
229 * corelow.c (core_xfer_partial): Likewise.
230 * ctf.c (ctf_xfer_partial): Likewise.
231 * darwin-nat.c (darwin_read_dyld_info): Likewise.
232 (darwin_xfer_partial): Likewise.
233 * exec.c (exec_xfer_partial): Likewise.
234 * gnu-nat.c (gnu_xfer_partial): Likewise.
235 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
236 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
237 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
238 * linux-nat.c (linux_xfer_siginfo): Likewise.
239 (linux_proc_xfer_spu): Likewise.
240 * procfs.c (procfs_xfer_partial): Likewise.
241 * record-full.c (record_full_xfer_partial): Likewise.
242 (record_full_core_xfer_partial): Likewise.
243 * remote-sim.c (gdbsim_xfer_partial): Likewise.
244 * remote.c (remote_write_qxfer): Likewise.
245 (remote_write_qxfer, remote_read_qxfer): Likewise.
246 (remote_xfer_partial): Likewise.
247 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
248 (rs6000_xfer_shared_libraries): Likewise.
249 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
250 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
251 (spu_xfer_partial): Likewise.
252 * target.c (memory_xfer_partial_1): Likewise.
253 * tracepoint.c (tfile_xfer_partial): Likewise.
254 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
255 (windows_xfer_partial): Likewise.
257 2014-02-07 Yao Qi <yao@codesourcery.com>
259 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
261 (core_xfer_shared_libraries_aix): Likewise.
262 * gdbarch.c, gdbarch.h: Regenerated.
263 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
264 ULONGEST. Change 'len_avail' type to ULONGEST.
265 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
266 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
268 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
270 2014-02-07 Yao Qi <yao@codesourcery.com>
272 * corefile.c (memory_error): Get 'exception' from ERR and pass
273 'exception' to throw_error.
275 2014-02-06 Doug Evans <xdje42@gmail.com>
277 * configure.ac (libpython checking): Remove all but python.o from
278 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
279 * configure: Regenerate.
281 * Makefile.in (SFILES): Add extension.c.
282 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
283 (COMMON_OBS): Add extension.o.
284 * extension.h: New file.
285 * extension-priv.h: New file.
286 * extension.c: New file.
288 * python/python-internal.h: #include "extension.h".
289 (gdbpy_auto_load_enabled): Declare.
290 (gdbpy_apply_val_pretty_printer): Declare.
291 (gdbpy_apply_frame_filter): Declare.
292 (gdbpy_preserve_values): Declare.
293 (gdbpy_breakpoint_cond_says_stop): Declare.
294 (gdbpy_breakpoint_has_cond): Declare.
295 (void source_python_script_for_objfile): Delete.
296 * python/python.c: #include "extension-priv.h".
297 Delete inclusion of "observer.h".
298 (extension_language_python): Moved here and renamed from
299 script_language_python in py-auto-load.c.
300 Redefined to be of type extension_language_defn.
301 (python_extension_script_ops): New global.
302 (python_extension_ops): New global.
303 (struct python_env): New member previous_active.
304 (restore_python_env): Call restore_active_ext_lang.
305 (ensure_python_env): Call set_active_ext_lang.
306 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
308 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
310 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
312 (gdbpy_eval_from_control_command): Renamed from
313 eval_python_from_control_command, made static. New arg extlang.
314 (gdbpy_source_script) Renamed from source_python_script, made static.
316 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
317 result to int. New arg extlang.
318 (gdbpy_source_objfile_script): Renamed from
319 source_python_script_for_objfile, made static. New arg extlang.
320 (gdbpy_start_type_printers): Renamed from start_type_printers, made
321 static. New args extlang, extlang_printers. Change result type to
323 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
324 static. New arg extlang. Rename arg printers to extlang_printers
325 and change type to ext_lang_type_printers *.
326 (gdbpy_free_type_printers): Renamed from free_type_printers, made
327 static. Replace argument arg with extlang, extlang_printers.
328 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
329 (!HAVE_PYTHON, source_python_script): Delete.
330 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
331 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
332 (!HAVE_PYTHON, start_type_printers): Delete.
333 (!HAVE_PYTHON, apply_type_printers): Delete.
334 (!HAVE_PYTHON, free_type_printers): Delete.
335 (_initialize_python): Delete call to observer_attach_before_prompt.
336 (finalize_python): Set/restore active extension language.
337 (gdbpy_finish_initialization) Renamed from
338 finish_python_initialization, made static. New arg extlang.
339 (gdbpy_initialized): New function.
340 * python/python.h: #include "extension.h". Delete #include
341 "value.h", "mi/mi-cmds.h".
342 (extension_language_python): Declare.
343 (GDBPY_AUTO_FILE_NAME): Delete.
344 (enum py_bt_status): Moved to extension.h and renamed to
346 (enum frame_filter_flags): Moved to extension.h.
347 (enum py_frame_args): Moved to extension.h and renamed to
349 (finish_python_initialization): Delete.
350 (eval_python_from_control_command): Delete.
351 (source_python_script): Delete.
352 (apply_val_pretty_printer): Delete.
353 (apply_frame_filter): Delete.
354 (preserve_python_values): Delete.
355 (gdbpy_script_language_defn): Delete.
356 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
357 (start_type_printers, apply_type_printers, free_type_printers): Delete.
359 * auto-load.c: #include "extension.h".
360 (GDB_AUTO_FILE_NAME): Delete.
361 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
362 (script_language_gdb): Delete, moved to extension.c and renamed to
363 extension_language_gdb.
364 (source_gdb_script_for_objfile): Delete.
365 (auto_load_pspace_info): New member unsupported_script_warning_printed.
366 (loaded_script): Change type of language member to
367 struct extension_language_defn *.
368 (init_loaded_scripts_info): Initialize
369 unsupported_script_warning_printed.
370 (maybe_add_script): Make static. Change type of language arg to
371 struct extension_language_defn *.
372 (clear_section_scripts): Reset unsupported_script_warning_printed.
373 (auto_load_objfile_script_1): Rewrite to use extension language API.
374 (auto_load_objfile_script): Make public. Remove support-compiled-in
375 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
376 (source_section_scripts): Rewrite to use extension language API.
377 (load_auto_scripts_for_objfile): Rewrite to use
378 auto_load_scripts_for_objfile.
379 (collect_matching_scripts_data): Change type of language member to
380 struct extension_language_defn *.
381 (auto_load_info_scripts): Change type of language arg to
382 struct extension_language_defn *.
383 (unsupported_script_warning_print): New function.
384 (script_not_found_warning_print): Make static.
385 (_initialize_auto_load): Rewrite construction of scripts-directory
387 * auto-load.h (struct objfile): Add forward decl.
388 (struct script_language): Delete.
389 (struct auto_load_pspace_info): Add forward decl.
390 (struct extension_language_defn): Add forward decl.
391 (maybe_add_script): Delete.
392 (auto_load_objfile_script): Declare.
393 (script_not_found_warning_print): Delete.
394 (auto_load_info_scripts): Update prototype.
395 (auto_load_gdb_scripts_enabled): Declare.
396 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
397 auto_load_python_scripts_enabled and made public.
398 (script_language_python): Delete, moved to python.c.
399 (gdbpy_script_language_defn): Delete.
400 (info_auto_load_python_scripts): Update to use
401 extension_language_python.
403 * breakpoint.c (condition_command): Replace call to
404 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
405 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
406 with call to breakpoint_ext_lang_cond_says_stop.
407 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
408 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
409 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
410 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
412 (local_setattro): Print name of extension language with existing
415 * valprint.c (val_print, value_print): Update to call
416 apply_ext_lang_val_pretty_printer.
417 * cp-valprint.c (cp_print_value): Update call to
418 apply_ext_lang_val_pretty_printer.
419 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
420 (gdbpy_apply_val_pretty_printer): Renamed from
421 apply_val_pretty_printer. New arg extlang.
422 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
424 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
425 extension language API.
426 * cli/cli-script.c (execute_control_command): Update to call
427 eval_ext_lang_from_control_command.
429 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
430 enum ext_lang_bt_status values. Update call to
431 apply_ext_lang_frame_filter.
432 (mi_cmd_stack_list_locals): Ditto.
433 (mi_cmd_stack_list_args): Ditto.
434 (mi_cmd_stack_list_variables): Ditto.
435 * mi/mi-main.c: Delete #include "python/python-internal.h".
436 Add #include "extension.h".
437 (mi_cmd_list_features): Replace reference to python internal variable
438 gdb_python_initialized with call to ext_lang_initialized_p.
440 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
441 Update to use enum ext_lang_frame_args. Update to call
442 apply_ext_lang_frame_filter.
443 * python/py-framefilter.c (extract_sym): Update to use enum
445 (extract_value, py_print_type, py_print_value): Ditto.
446 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
447 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
448 (py_print_frame): Ditto.
449 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
450 New arg extlang. Update to use enum ext_lang_bt_status.
452 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
453 finish_python_initialization. Replace with call to
454 finish_ext_lang_initialization.
456 * typeprint.c (do_free_global_table): Update to call
457 free_ext_lang_type_printers.
458 (create_global_typedef_table): Update to call
459 start_ext_lang_type_printers.
460 (find_global_typedef): Update to call apply_ext_lang_type_printers.
461 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
462 (type_print_options): Change type of global_printers from "void *"
463 to "struct ext_lang_type_printers *".
465 * value.c (preserve_values): Update to call preserve_ext_lang_values.
466 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
467 (gdbpy_preserve_values): Renamed from preserve_python_values.
469 (!HAVE_PYTHON, preserve_python_values): Delete.
471 * utils.c (quit_flag): Delete, moved to extension.c.
472 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
475 * eval.c: Delete #include "python/python.h".
476 * main.c: Delete #include "python/python.h".
478 * defs.h: Update comment.
480 2014-02-06 Joel Brobecker <brobecker@adacore.com>
484 2014-02-05 Mark Kettenis <kettenis@gnu.org>
486 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
489 2014-02-05 Yao Qi <yao@codesourcery.com>
491 * remote.c (remote_pass_signals): Remove local 'buf' and use
493 (remote_program_signals): Likewise.
495 2014-02-05 Yao Qi <yao@codesourcery.com>
497 * ctf.c: Include "inferior.h" and "gdbthread.h".
498 (CTF_PID): A new macro.
499 (ctf_open): Call inferior_appeared and add_thread_silent.
500 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
501 (ctf_thread_alive): New function.
502 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
504 2014-02-05 Yao Qi <yao@codesourcery.com>
508 2013-05-24 Yao Qi <yao@codesourcery.com>
510 * tracepoint.c (TFILE_PID): Remove.
511 (tfile_open): Don't add thread and inferior.
512 (tfile_close): Don't set 'inferior_ptid'. Don't call
513 exit_inferior_silent.
514 (tfile_thread_alive): Remove.
515 (init_tfile_ops): Don't set field 'to_thread_alive' of
518 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
520 * remote.c (remote_start_remote): Call remote_check_symbols even
521 if only symbol-file (not file) has been given.
523 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
525 * gdbarch.sh (skip_entrypoint): New callback.
526 * gdbarch.c, gdbarch.h: Regenerate.
527 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
528 * infrun.c (fill_in_stop_func): Likewise.
529 * ppc-linux-tdep.c: Include "elf/ppc64.h".
530 (ppc_elfv2_elf_make_msymbol_special): New function.
531 (ppc_elfv2_skip_entrypoint): Likewise.
532 (ppc_linux_init_abi): Install them for ELFv2.
534 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
536 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
537 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
538 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
539 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
540 structures returned in GPRs.
542 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
544 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
545 offset to the stack parameter list for the ELFv2 ABI.
547 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
549 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
550 set_gdbarch_convert_from_func_ptr_addr and
551 set_gdbarch_elf_make_msymbol_special for ELFv1.
552 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
553 function descriptors on ELFv1.
554 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
555 set up r12 at function entry.
557 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
559 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
560 (struct gdbarch_tdep): New member elf_abi.
562 * rs6000-tdep.c: Include "elf/ppc64.h".
563 (rs6000_gdbarch_init): Detect ELF ABI version.
565 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
567 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
568 within a register pair holding a DFP 128-bit value on little-endian.
569 (ppc64_sysv_abi_return_value_base): Likewise.
570 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
571 (dfp_pseudo_register_write): Likewise.
573 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
575 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
576 offset on little-endian when passing _Decimal32.
577 (ppc64_sysv_abi_return_value_base): Likewise for return values.
579 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
581 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
582 of the overlapped FP register within the VSX register on little-
584 (efpr_pseudo_register_write): Likewise.
586 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
588 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
589 offset on little-endian when passing small structures.
591 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
593 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
594 (struct ppc64_sysv_argpos): New data structure.
595 (ppc64_sysv_abi_push_float): Remove.
596 (ppc64_sysv_abi_push_val): New function.
597 (ppc64_sysv_abi_push_integer): Likewise.
598 (ppc64_sysv_abi_push_freg): Likewise.
599 (ppc64_sysv_abi_push_vreg): Likewise.
600 (ppc64_sysv_abi_push_param): Likewise.
601 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
602 (ppc64_sysv_abi_return_value_base): New function.
603 (ppc64_sysv_abi_return_value): Refactor to use it.
605 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
607 * NEWS: Document new target powerpc64le-*-linux*.
609 2014-02-04 Mark Kettenis <kettenis@gnu.org>
611 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
612 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
614 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
615 register set used in ELF core dumps. Add floating-point register set.
617 2014-02-03 Kevin Buettner <kevinb@redhat.com>
619 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
620 dwarf2_to_gdb[] table using symbolic constants. Adjust
621 penultimate entry from number representing the PC register
622 to symbolic constant representing the MDR register. Add
623 constant for the PC register to the end of the table.
625 2014-02-03 Mark Kettenis <kettenis@gnu.org>
627 * bsd-kvm.c: Include <sys/param.h>
629 2014-02-03 Mark Kettenis <kettenis@gnu.org>
631 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
633 2014-01-31 Joel Brobecker <brobecker@adacore.com>
635 * ada-lang.h (clear_ada_sym_cache): Delete.
637 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
639 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
641 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
643 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
644 the sigreturn register save area only if the syscall is
647 2014-01-29 Joel Brobecker <brobecker@adacore.com>
649 * valops.c (value_slice): Minor reformatting.
651 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
653 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
655 2014-01-28 Joel Brobecker <brobecker@adacore.com>
657 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
659 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
660 (ada_ignore_descriptive_types_p): New static global.
661 (find_parallel_type_by_descriptive_type): Return immediately
662 if ada_ignore_descriptive_types_p is set.
663 (_initialize_ada_language): Register new commands "maintenance
664 set ada", "maintenance show ada", "maintenance set ada
665 ignore-descriptive-types" and "maintenance show ada
666 ignore-descriptive-types".
667 * NEWS: Add entry for new "maint ada set/show
668 ignore-descriptive-types" commands.
670 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
672 * record-btrace.c (record_btrace_close): Call btrace_teardown
675 2014-01-27 Joel Brobecker <brobecker@adacore.com>
677 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
680 2014-01-27 Joel Brobecker <brobecker@adacore.com>
682 * ada-typeprint (type_is_full_subrange_of_target_type):
684 (print_range): Add parameter bounds_prefered_p. If not set,
685 try printing range types using the name of their base type.
686 (print_range_type): Add parameter bounds_prefered_p.
687 Use it in call to print_range.
688 (print_array_type, ada_print_type): Update calls to print_range
689 and print_range_type.
691 2014-01-27 Joel Brobecker <brobecker@adacore.com>
693 * ada-typeprint.c (print_array_type, print_choices, print_range)
694 (print_range_bound, print_dynamic_range_bound, print_range_type):
697 2014-01-27 Joel Brobecker <brobecker@adacore.com>
699 * ada-typeprint.c (print_range): Add missing empty line
700 after local declaration.
702 2014-01-27 Joel Brobecker <brobecker@adacore.com>
704 * ada-valprint.c (print_optional_low_bound): Get index_type's
705 target type for as long as it is a TYPE_CODE_RANGE.
707 2014-01-27 Joel Brobecker <brobecker@adacore.com>
709 * procfs.c (procfs_make_note_section): Remove assertion and
712 2014-01-24 Yao Qi <yao@codesourcery.com>
714 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
715 * corelow.c (get_core_siginfo): Likewise.
717 2014-01-24 Yao Qi <yao@codesourcery.com>
719 * remote.c (remote_write_bytes_aux): Change type of 'len' to
720 ULONGEST. Don't check 'len' is negative.
721 (remote_write_bytes): Change type of 'len' to ULONGEST.
723 2014-01-23 Tom Tromey <tromey@redhat.com>
726 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
727 Handle exception from frame.block.
728 (FrameVars.fetch_frame_locals): Likewise.
730 2014-01-23 Tom Tromey <tromey@redhat.com>
733 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
734 on a NULL pointer. Move "goto error" to correct place.
736 2014-01-23 Tom Tromey <tromey@redhat.com>
739 * python/py-framefilter.c (apply_frame_filter): Call
740 ensure_python_env after computing gdbarch.
742 2014-01-23 Yao Qi <yao@codesourcery.com>
744 * target.c (raw_memory_xfer_partial): Change argument type
745 from void * to gdb_byte *.
746 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
748 2014-01-22 Doug Evans <dje@google.com>
750 New gdbserver option --debug-format=timestamp.
753 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
755 * syscalls/s390x-linux.xml: New file.
756 * syscalls/s390-linux.xml: New file.
757 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
758 (XML_SYSCALL_FILENAME_S390X): Likewise.
759 (op_svc): New enum value for SVC opcode.
760 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
761 (s390_linux_get_syscall_number): New function.
762 (s390_gdbarch_init): Register '*get_syscall_number' and the
763 syscall xml file name.
764 * data-directory/Makefile.in (SYSCALLS_FILES): Add
765 "s390-linux.xml" and "s390x-linux.xml".
766 * NEWS: Announce new feature.
768 2014-01-22 Baruch Siach <baruch@tkos.co.il>
770 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
772 2014-01-22 Pedro Alves <palves@redhat.com>
774 * xtensa-config.c: Include defs.h.
776 2014-01-22 Joel Brobecker <brobecker@adacore.com>
778 * common/common-utils.h: Add "ARI:" comment beside __func__
781 2014-01-22 Joel Brobecker <brobecker@adacore.com>
783 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
786 2014-01-21 Roland McGrath <mcgrathr@google.com>
788 * configure.ac: Call AM_PROG_INSTALL_STRIP.
789 * configure: Regenerate.
790 * aclocal.m4: Regenerate.
791 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
792 New substituted variables.
793 (install-strip): New target.
794 (INSTALL_SCRIPT): New substituted variable.
795 (FLAGS_TO_PASS): Add it.
796 (install-only): Use $(INSTALL_SCRIPT) rather than
797 $(INSTALL_PROGRAM) for gcore.
799 2014-01-20 Tom Tromey <tromey@redhat.com>
801 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
804 2014-01-20 Tom Tromey <tromey@redhat.com>
806 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
807 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
808 (deprecated_cmd_warning, complete_on_cmdlist): Update.
809 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
810 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
811 (struct cmd_list_element) <flags>: Remove.
812 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
813 doc_allocated>: New fields.
814 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
816 * maint.c (maintenance_do_deprecate): Update.
817 * top.c (execute_command): Update.
819 2014-01-20 Baruch Siach <baruch@tkos.co.il>
821 * xtensa-linux-nat.c: Include asm/ptrace.h.
823 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
825 * Makefile.in (SFILES): Add d-support.c.
826 (COMMON_OBS): Add d-support.o.
827 * d-lang.h (d_parse_symbol): Add comment, now defined in
829 * d-lang.c (parse_call_convention)
830 (parse_attributes, parse_function_types)
831 (parse_function_args, parse_type, parse_identifier)
832 (call_convention_p, d_parse_symbol): Move functions to ...
833 * d-support.c: ... New file.
835 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
837 * d-lang.h (d_parse_symbol): Add declaration.
838 * d-lang.c (extract_identifiers)
839 (extract_type_info): Remove functions.
840 (parse_call_convention, parse_attributes)
841 (parse_function_types, parse_function_args)
842 (parse_type, parse_identifier, call_convention_p)
843 (d_parse_symbol): New functions.
844 (d_demangle): Use d_parse_symbol to demangle D symbols.
846 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
848 * d-lang.h (struct builtin_d_type): New data type.
849 (builtin_d_type): Add declaration.
850 * d-lang.c (d_language_arch_info, build_d_types)
851 (builtin_d_type): New functions.
852 (enum d_primitive_types): New data type.
853 (d_language_defn): Change c_language_arch_info to
854 d_language_arch_info.
855 (d_type_data): New static variable.
856 (_initialize_d_language): Initialize d_type_data.
858 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
860 * d-lang.h (d_main_name): Add declaration.
861 * d-lang.c (d_main_name): New function.
862 * symtab.c (find_main_name): Add call to d_main_name.
864 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
866 * d-lang.c (d_language_defn): Change macro_expansion_c to
869 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
871 * MAINTAINERS: Add myself as a write-after-approval maintainer.
873 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
875 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
876 gdb_exception" declaration.
877 * remote.c (getpkt_or_notif_sane): Likewise.
879 2014-01-17 Doug Evans <dje@google.com>
881 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
882 function, contents of dirnames_to_char_ptr_vec_append moved here.
883 (delim_string_to_char_ptr_vec): New function.
884 (dirnames_to_char_ptr_vec_append): Rewrite.
885 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
887 2014-01-17 Doug Evans <dje@google.com>
889 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
891 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
892 #include "common-utils.h".
893 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
894 * common/vec.h (VEC_ASSERT_PASS): Update.
895 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
896 (MACH_CHECK_ERROR): Update.
898 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
900 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
902 * gdbarch.h: Regenerate.
904 2014-01-16 Tom Tromey <tromey@redhat.com>
906 * value.c (struct value) <regnum>: Move earlier.
908 2014-01-16 Tom Tromey <tromey@redhat.com>
910 * remote.c (extended_remote_create_inferior): Rename from
911 extended_remote_create_inferior_1. Add "ops" argument. Remove
914 2014-01-16 Pedro Alves <palves@redhat.com>
916 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
917 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
920 2014-01-16 Doug Evans <dje@google.com>
922 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
924 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
926 * btrace.h (btrace_thread_flag): New.
927 (struct btrace_thread_info) <flags>: New.
928 * record-btrace.c (record_btrace_resume_thread)
929 (record_btrace_find_thread_to_move, btrace_step_no_history)
930 (btrace_step_stopped, record_btrace_start_replaying)
931 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
932 (record_btrace_find_resume_thread): New.
933 (record_btrace_resume, record_btrace_wait): Extend.
934 (record_btrace_can_execute_reverse): New.
935 (record_btrace_open): Fail in non-stop mode.
936 (record_btrace_set_replay): Split into this, ...
937 (record_btrace_stop_replaying): ... this, ...
938 (record_btrace_clear_histories): ... and this.
939 (init_record_btrace_ops): Init to_can_execute_reverse.
942 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
944 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
945 (forward_target_decr_pc_after_break)
946 (target_decr_pc_after_break): New.
947 * target.c (forward_target_decr_pc_after_break)
948 (target_decr_pc_after_break): New.
949 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
950 instead of gdbarch_decr_pc_after_break.
951 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
952 instead of gdbarch_decr_pc_after_break.
953 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
954 instead of gdbarch_decr_pc_after_break.
955 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
956 instead of gdbarch_decr_pc_after_break.
957 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
958 instead of gdbarch_decr_pc_after_break.
959 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
960 instead of gdbarch_decr_pc_after_break.
962 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
964 * btrace.c: Include regcache.h.
965 (btrace_add_pc): New.
966 (btrace_enable): Call btrace_add_pc.
967 (btrace_is_empty): New.
968 * btrace.h (btrace_is_empty): New.
969 * record-btrace.c (require_btrace, record_btrace_info): Call
972 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
974 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
976 (linux_disable_btrace): Change return type.
977 * common/linux-btrace.h (linux_read_btrace): Change parameters
978 and return type to allow error reporting. Update users.
979 (linux_disable_btrace): Change return type. Update users.
980 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
983 (btrace_block) <begin>: Comment on BEGIN == 0.
984 * btrace.c (btrace_compute_ftrace): Start from the end of
986 (btrace_stitch_trace, btrace_clear_history): New.
987 (btrace_fetch): Read delta trace, return if replaying.
988 (btrace_clear): Move clear history code to btrace_clear_history.
989 (parse_xml_btrace): Throw an error if parsing failed.
990 * target.h (struct target_ops) <to_read_btrace>: Change parameters
991 and return type to allow error reporting.
992 (target_read_btrace): Change parameters and return type to allow
994 * target.c (target_read_btrace): Update.
995 * remote.c (remote_read_btrace): Support delta reads. Pass
999 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1001 * record.h (record_btrace_frame_unwind)
1002 (record_btrace_tailcall_frame_unwind): New declarations.
1003 * dwarf2-frame: Include record.h
1004 (dwarf2_frame_cfa): Throw an error for btrace frames.
1005 * record-btrace.c: Include hashtab.h.
1006 (btrace_get_bfun_name): New.
1007 (btrace_call_history): Call btrace_get_bfun_name.
1008 (struct btrace_frame_cache): New.
1010 (bfcache_hash, bfcache_eq, bfcache_new): New.
1011 (btrace_get_frame_function): New.
1012 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
1013 (record_btrace_frame_this_id): Compute own id.
1014 (record_btrace_frame_prev_register): Provide PC, throw_error
1015 for all other registers.
1016 (record_btrace_frame_sniffer): Detect btrace frames.
1017 (record_btrace_tailcall_frame_sniffer): New.
1018 (record_btrace_frame_dealloc_cache): New.
1019 (record_btrace_frame_unwind): Add new functions.
1020 (record_btrace_tailcall_frame_unwind): New.
1021 (_initialize_record_btrace): Allocate cache.
1022 * btrace.c (btrace_clear): Call reinit_frame_cache.
1023 * NEWS: Announce it.
1025 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1027 * record-btrace.c (record_btrace_set_replay)
1028 (record_btrace_goto_begin, record_btrace_goto_end)
1029 (record_btrace_goto): New.
1030 (init_record_btrace_ops): Initialize them.
1031 * NEWS: Announce it.
1033 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1035 * record-btrace.c (record_btrace_find_new_threads)
1036 (record_btrace_thread_alive): New.
1037 (init_record_btrace_ops): Initialize to_find_new_threads and
1040 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1042 * record-btrace.c (record_btrace_resume): New.
1043 (record_btrace_wait): New.
1044 (init_record_btrace_ops): Initialize to_wait and to_resume.
1046 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1048 * record-btrace.c (record_btrace_xfer_partial)
1049 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
1050 (record_btrace_allow_memory_access): New.
1051 (init_record_btrace_ops): Initialize new methods.
1052 * target.c (raw_memory_xfer_partial): Bail out if target reports
1053 that this memory is not available.
1055 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1057 * target.h (target_ops) <to_insert_breakpoint>
1058 <to_remove_breakpoint>: Add target_ops parameter.
1059 (forward_target_insert_breakpoint): New.
1060 (forward_target_remove_breakpoint): New.
1061 (memory_remove_breakpoint, memory_insert_breakpoint):
1062 Add target_ops parameter.
1063 * target.c (target_insert_breakpoint): Split into this and ...
1064 (forward_target_insert_breakpoint): ... this.
1065 (target_remove_breakpoint): Split into this and ...
1066 (forward_target_remove_breakpoint): ... this.
1067 (debug_to_insert_breakpoint): Add target_ops parameter.
1068 Call forward_target_insert_breakpoint.
1069 (debug_to_remove_breakpoint): Add target_ops parameter.
1070 Call forward_target_remove_breakpoint.
1071 (update_current_target): Do not inherit or default to_insert_breakpoint
1072 and to_remove_breakpoint.
1073 * corelow.c (ignore): Add target_ops parameter.
1074 * exec.c (ignore): Add target_ops parameter.
1075 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
1076 Add target_ops parameter.
1077 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
1078 Add target_ops parameter.
1079 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
1080 Add target_ops parameter.
1081 * record-full.c (record_full_beneath_to_insert_breakpoint)
1082 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
1083 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
1084 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
1085 (record_full_core_remove_breakpoint): Add target_ops parameter.
1087 (record_full_beneath_to_insert_breakpoint_ops)
1088 (record_full_beneath_to_remove_breakpoint_ops)
1089 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
1090 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
1091 tmp_to_remove_breakpoint_ops,
1092 record_full_beneath_to_insert_breakpoint_ops, and
1093 record_full_beneath_to_remove_breakpoint_ops.
1094 * remote-m32r-sdi.c (m32r_insert_breakpoint)
1095 (m32r_remove_breakpoint): Add target_ops parameter.
1096 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
1097 Add target_ops parameter.
1098 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
1099 Add target_ops parameter.
1101 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1102 Markus Metzger <markus.t.metzger@intel.com>
1104 * record-btrace.c: Include frame-unwind.h.
1105 (record_btrace_frame_unwind_stop_reason)
1106 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
1107 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
1109 (init_record_btrace_ops): Install it.
1111 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1113 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
1116 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1118 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
1121 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1123 * frame-unwind.c: Include target.h.
1124 (frame_unwind_try_unwinder): New function with code from ...
1125 (frame_unwind_find_by_frame): ... here. New variable
1126 unwinder_from_target, call also target_get_unwinder)
1127 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
1128 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
1129 * target.h (struct target_ops): New fields to_get_unwinder and
1130 to_get_tailcall_unwinder.
1131 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
1133 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1135 * record-btrace.c (record_btrace_fetch_registers)
1136 (record_btrace_store_registers)
1137 (record_btrace_to_prepare_to_store): New.
1138 (init_record_btrace_ops): Add the above.
1140 2014-01-16 Tom Tromey <tromey@redhat.com>
1142 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
1143 * target.h (struct target_ops) <to_prepare_to_store>: Add
1145 (target_prepare_to_store): Add argument.
1146 * target.c (debug_to_prepare_to_store): Add argument.
1147 (update_current_target): Update.
1148 * remote.c (remote_prepare_to_store): Add 'self' argument.
1149 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
1150 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
1151 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
1152 * record-full.c (record_full_core_prepare_to_store): Add 'self'
1154 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
1155 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
1156 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
1157 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
1158 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
1160 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1162 * btrace.h (replay) <replay>: New.
1163 (btrace_is_replaying): New.
1164 * btrace.c (btrace_clear): Free replay iterator.
1165 (btrace_is_replaying): New.
1166 * record-btrace.c (record_btrace_is_replaying): New.
1167 (record_btrace_info): Print insn number if replaying.
1168 (record_btrace_insn_history): Start at replay position.
1169 (record_btrace_call_history): Start at replay position.
1170 (init_record_btrace_ops): Init to_record_is_replaying.
1172 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1174 * record-btrace.c (record_btrace_insn_history_range): Include
1176 (record_btrace_insn_history_from): Adjust range.
1177 (record_btrace_call_history_range): Include
1179 (record_btrace_call_history_from): Adjust range.
1180 * NEWS: Announce changes.
1182 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1184 * record.h (enum record_print_flag)
1185 <record_print_indent_calls>: New.
1186 * record.c (get_call_history_modifiers): Recognize /c modifier.
1187 (_initialize_record): Document /c modifier.
1188 * record-btrace.c (btrace_call_history): Add btinfo parameter.
1189 Reorder fields. Optionally indent the function name. Update
1191 * NEWS: Announce changes.
1193 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1195 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
1197 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1199 * btrace.c (ftrace_new_function): Start counting at one.
1200 * record-btrace.c (record_btrace_info): Adjust number of calls
1202 * NEWS: Announce it.
1204 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1206 * record-btrace.c (btrace_call_history_insn_range): Print
1207 insn range as [begin, end].
1209 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1211 * btrace.h (struct btrace_func_link): New.
1212 (enum btrace_function_flag): New.
1213 (struct btrace_inst): Rename to ...
1214 (struct btrace_insn): ...this. Update all users.
1215 (struct btrace_func) <ibegin, iend>: Remove.
1216 (struct btrace_func_link): New.
1217 (struct btrace_func): Rename to ...
1218 (struct btrace_function): ...this. Update all users.
1219 (struct btrace_function) <segment, flow, up, insn, insn_offset)
1220 (number, level, flags>: New.
1221 (struct btrace_insn_iterator): Rename to ...
1222 (struct btrace_insn_history): ...this.
1224 (struct btrace_insn_iterator, btrace_call_iterator): New.
1225 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
1226 (struct btrace_target_info) <begin, end, level>
1227 <insn_history, call_history>: New.
1228 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
1229 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
1230 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
1231 (btrace_call_number, btrace_call_begin, btrace_call_end)
1232 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
1233 (btrace_find_function_by_number, btrace_set_insn_history)
1234 (btrace_set_call_history): New.
1235 * btrace.c (btrace_init_insn_iterator)
1236 (btrace_init_func_iterator, compute_itrace): Remove.
1237 (ftrace_print_function_name, ftrace_print_filename)
1238 (ftrace_skip_file): Change
1240 (ftrace_init_func): Remove.
1241 (ftrace_debug): Use new btrace_function fields.
1242 (ftrace_function_switched): Also consider gaining and
1243 losing symbol information).
1244 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
1245 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
1246 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
1248 (ftrace_new_function): Move. Remove debug print.
1249 (ftrace_update_lines, ftrace_update_insns): New.
1250 (ftrace_update_function): Check for call, ret, and jump.
1251 (compute_ftrace): Renamed to ...
1252 (btrace_compute_ftrace): ...this. Rewritten to compute call
1254 (btrace_fetch, btrace_clear): Updated.
1255 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
1256 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
1257 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
1258 (btrace_call_number, btrace_call_begin, btrace_call_end)
1259 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
1260 (btrace_find_function_by_number, btrace_set_insn_history)
1261 (btrace_set_call_history): New.
1262 * record-btrace.c (require_btrace): Use new btrace thread
1264 (record_btrace_info, btrace_insn_history)
1265 (record_btrace_insn_history, record_btrace_insn_history_range):
1266 Use new btrace thread info fields and new iterator.
1267 (btrace_func_history_src_line): Rename to ...
1268 (btrace_call_history_src_line): ...this. Use new btrace
1270 (btrace_func_history): Rename to ...
1271 (btrace_call_history): ...this. Use new btrace thread info
1272 fields and new iterator.
1273 (record_btrace_call_history, record_btrace_call_history_range):
1274 Use new btrace thread info fields and new iterator.
1276 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1278 * frame.h (frame_id_build_unavailable_stack_special): New.
1279 * frame.c (frame_id_build_unavailable_stack_special): New.
1281 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1283 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
1284 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
1285 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
1287 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
1288 (i386_insn_is_jump, i386_jmp_p): New.
1289 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
1290 insn_is_jump to gdbarch.
1291 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
1292 * gdbarch.h: Regenerated.
1293 * gdbarch.c: Regenerated.
1294 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
1295 (default_insn_is_jump): New.
1296 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
1297 (default_insn_is_jump): New.
1299 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1301 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
1303 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
1304 (btrace_read_type) <btrace_read_new>: Change to ...
1305 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
1307 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
1309 * common/linux-btrace.c (linux_read_btrace): Free trace from
1312 2014-01-15 Doug Evans <dje@google.com>
1314 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
1317 2014-01-15 Tom Tromey <tromey@redhat.com>
1319 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
1320 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
1321 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
1322 (set_objfile_main_name): New function.
1323 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
1324 language_of_main>: New fields.
1325 (set_objfile_main_name): Declare.
1326 * symtab.c (find_main_name): Loop over objfiles to find the main
1328 (set_main_name): Now static.
1329 (get_main_info): Add comment.
1330 * symtab.h (set_main_name): Don't declare.
1332 2014-01-15 Tom Tromey <tromey@redhat.com>
1334 * symtab.c (main_progspace_key): New global.
1335 (struct main_info): New.
1336 (name_of_main, language_of_main): Remove.
1337 (get_main_info, main_info_cleanup): New function.
1338 (set_main_name, main_name, main_language): Use get_main_info.
1339 (_initialize_symtab): Initialize main_progspace_key.
1341 2014-01-15 Tom Tromey <tromey@redhat.com>
1343 * dbxread.c (process_one_symbol): Update.
1344 * dwarf2read.c (read_partial_die): Update.
1345 * symfile.c (set_initial_language): Call main_language.
1346 * symtab.c (language_of_main): Now static.
1347 (set_main_name): Add 'lang' parameter.
1348 (find_main_name): Update.
1349 (main_language): New function.
1350 (symtab_observer_executable_changed): Update.
1351 * symtab.h (set_main_name): Update.
1352 (language_of_main): Remove.
1353 (main_language): Declare.
1355 2014-01-15 Tom Tromey <tromey@redhat.com>
1357 * symfile.c (init_entry_point_info): Use new "initialized" field.
1359 * objfiles.h (struct entry_point) <initialized>: New field.
1360 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
1361 (struct objfile) <ei>: ...here. Remove.
1362 * objfiles.c (entry_point_address_query): Update.
1364 2014-01-15 Tom Tromey <tromey@redhat.com>
1366 * objfiles.c (entry_point_address_query): Relocate entry point
1368 (objfile_relocate1): Do not relocate entry point address.
1369 * objfiles.h (struct entry_info) <entry_point>: Update comment.
1370 <the_bfd_section_index>: New field.
1371 * symfile.c (init_entry_point_info): Find the entry point's
1374 2014-01-15 Tom Tromey <tromey@redhat.com>
1376 * solib-frv.c (enable_break): Use entry_point_address_query.
1378 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1380 * NEWS: Add note on improved process record-replay on
1381 arm*-linux* targets.
1383 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1385 * arm-tdep.c (enum arm_record_result): New enum.
1386 (arm_record_unsupported_insn): New function.
1387 (arm_record_coproc_data_proc): Removed.
1388 (thumb2_record_ld_st_multiple): New function.
1389 (thumb2_record_ld_st_dual_ex_tbb): New function.
1390 (thumb2_record_data_proc_sreg_mimm): New function.
1391 (thumb2_record_ps_dest_generic): New function.
1392 (thumb2_record_branch_misc_cntrl): New function.
1393 (thumb2_record_str_single_data): New function.
1394 (thumb2_record_ld_mem_hints): New function.
1395 (thumb2_record_ld_word): New function.
1396 (thumb2_record_lmul_lmla_div): New function.
1397 (thumb2_record_decode_insn_handler): New function.
1398 (decode_insn): Add thumb32 instruction handlers.
1400 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1402 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
1403 (struct arm_linux_record_tdep): Declare.
1404 (arm_canonicalize_syscall): New function.
1405 (arm_all_but_pc_registers_record): New function.
1406 (arm_linux_syscall_record): New function.
1407 (arm_linux_init_abi): Add syscall recording constructs.
1408 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
1409 decoding. (arm_record_coproc_data_proc): Update arm syscall
1411 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
1412 <arm_syscall_record>: New field.
1413 * configure.tgt (arm*-*-linux*): Add linux-record.o to
1416 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1418 * arm-tdep.c (thumb_record_misc): Update to use sp as base
1419 register for push instruction recording.
1421 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1423 * arm-tdep.c (thumb_record_misc): Update to correct logical
1424 error while recording ldm, ldmia and pop instructions.
1426 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
1428 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
1430 2014-01-15 Pedro Alves <palves@redhat.com>
1432 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
1433 (go32_resume, go32_fetch_registers, store_register)
1434 (go32_store_registers, go32_prepare_to_store)
1435 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
1436 (go32_create_inferior, go32_can_run, go32_terminal_init)
1437 (go32_terminal_inferior, go32_terminal_ours): Delete forward
1440 2014-01-15 Tom Tromey <tromey@redhat.com>
1442 * target.h (async_callback_ftype): New typedef.
1443 (struct target_ops) <to_async>: Use it.
1445 2014-01-15 Joel Brobecker <brobecker@adacore.com>
1447 * python/py-value.c (get_field_type): Remove unnecessary curly
1448 braces for single-statement if block.
1450 2014-01-15 Joel Brobecker <brobecker@adacore.com>
1452 * python/py-type.c (convert_field): Add missing empty line
1455 2014-01-14 Doug Evans <dje@google.com>
1457 * symfile.h (expand_symtabs_matching): Renamed from
1458 expand_partial_symbol_names. Update prototype.
1459 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
1460 * symfile.c (expand_symtabs_matching): Renamed from
1461 expand_partial_symbol_names. New args file_matcher, kind.
1462 Rename arg fun to symbol_matcher.
1463 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
1464 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
1465 ada_expand_partial_symbol_name.
1466 (ada_make_symbol_completion_list): Update to call
1467 expand_symtabs_matching.
1468 (ada_add_global_exceptions): Call expand_symtabs_matching.
1469 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
1470 call map_symbol_filenames.
1471 * symtab.c (sources_info): Update to call map_symbol_filenames.
1472 (search_symbols): Call expand_symtabs_matching.
1473 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
1474 (default_make_symbol_completion_list_break_on): Update to call
1475 expand_symtabs_matching.
1476 (make_source_files_completion_list): Update to call
1477 map_symbol_filenames.
1479 2014-01-14 Doug Evans <dje@google.com>
1481 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
1482 (expand_symtabs_symbol_matcher_ftype): New typedef.
1483 (quick_symbol_functions.expand_symtabs_matching): Update to use.
1484 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
1485 * symfile.c (expand_partial_symbol_names): Update to use
1486 expand_symtabs_symbol_matcher_ftype.
1487 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
1488 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
1489 Arg name_matcher renamed to symbol_matcher.
1490 * psymtab.c (recursively_search_psymtabs): Update to use
1491 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
1493 (expand_symtabs_matching_via_partial): Update to use
1494 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
1495 Arg name_matcher renamed to symbol_matcher.
1497 2014-01-14 Doug Evans <dje@google.com>
1499 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
1500 (map_partial_symbol_filenames): Ditto.
1501 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
1502 (map_partial_symbol_filenames): Ditto.
1503 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
1504 (map_partial_symbol_filenames): Ditto.
1505 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
1506 (map_partial_symbol_filenames): Ditto.
1507 * symtab.c: Delete #include "psymtab.h".
1509 2014-01-14 Pedro Alves <palves@redhat.com>
1510 Tom Tromey <tromey@redhat.com>
1512 * infrun.c (use_displaced_stepping): Use find_record_target
1513 instead of RECORD_IS_USED.
1514 (adjust_pc_after_break): Use record_full_is_used instead of
1516 * record-btrace.c (record_btrace_open): Call record_preopen
1517 instead of checking RECORD_IS_USED.
1518 * record-full.c (record_full_shortname)
1519 (record_full_core_shortname): New globals.
1520 (record_full_is_used): New function.
1521 (find_full_open): Call record_preopen instead of checking
1523 (init_record_full_ops): Set the target's shortname to
1524 record_full_shortname.
1525 (init_record_full_core_ops): Set the target's shortname to
1526 record_full_core_shortname.
1527 * record-full.h (record_full_is_used): Declare.
1528 * record.c (find_record_target): Make extern.
1529 (record_preopen): New function.
1530 * record.h (RECORD_IS_USED): Delete macro.
1531 (find_record_target, record_preopen): Declare functions.
1533 2014-01-14 Yao Qi <yao@codesourcery.com>
1535 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
1536 'len''s type to ULONGEST.
1537 (core_xfer_shared_libraries_aix): Likewise.
1538 * gdbarch.c, gdbarch.h: Regenerated.
1539 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
1540 Change type of 'len' to ULONGEST.
1541 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1542 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
1544 2014-01-14 Yao Qi <yao@codesourcery.com>
1546 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
1547 type of 'len' to ULONGEST.
1548 (linux_xfer_osdata_processgroups): Likewise.
1549 (linux_xfer_osdata_threads): Likewise.
1550 (linux_xfer_osdata_fds): Likewise.
1551 (linux_xfer_osdata_isockets): Likewise.
1552 (linux_xfer_osdata_shm): Likewise.
1553 (linux_xfer_osdata_sem): Likewise.
1554 (linux_xfer_osdata_msg): Likewise.
1555 (linux_common_xfer_osdata): Likewise.
1556 (struct osdata_type) <getter>: Likewise.
1557 * common/linux-osdata.h (linux_common_xfer_osdata): Update
1560 2014-01-14 Yao Qi <yao@codesourcery.com>
1562 * target.h (target_xfer_partial_ftype): Update.
1563 (struct target_ops) <to_xfer_partial>: Change 'len' type to
1565 * aix-thread.c (aix_thread_xfer_partial): Change type of
1566 argument 'len' to ULONGEST.
1567 * auxv.c (procfs_xfer_auxv): Likewise.
1568 (ld_so_xfer_auxv): Likewise.
1569 (memory_xfer_auxv): Likewise.
1570 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1571 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1572 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1573 * corelow.c (core_xfer_partial): Likewise.
1574 * ctf.c (ctf_xfer_partial): Likewise.
1575 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
1577 (darwin_read_dyld_info): Likewise.
1578 (darwin_xfer_partial): Likewise.
1579 * exec.c (section_table_xfer_memory_partial): Likewise.
1580 (exec_xfer_partial): Likewise.
1581 * exec.h (section_table_xfer_memory_partial): Update
1583 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
1584 instead of plongest.
1585 (gnu_xfer_partial): Likewise.
1586 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
1587 (ia64_hpux_xfer_solib_got): Likewise.
1588 (ia64_hpux_xfer_partial): Likewise.
1589 * ia64-linux-nat.c (ia64_linux_xfer_partial):
1590 * inf-ptrace.c (inf_ptrace_xfer_partial):
1591 * inf-ttrace.c (inf_ttrace_xfer_partial):
1592 * linux-nat.c (linux_xfer_siginfo): Likewise.
1593 (linux_nat_xfer_partial): Likewise.
1594 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
1595 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
1596 * monitor.c (monitor_xfer_memory): Likewise.
1597 (monitor_xfer_partial): Likewise.
1598 * procfs.c (procfs_xfer_partial): Likewise.
1599 * record-full.c (record_full_xfer_partial): Likewise.
1600 (record_full_core_xfer_partial): Likewise.
1601 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
1602 instead of plongest.
1603 (gdbsim_xfer_partial): Likewise.
1604 * remote.c (remote_xfer_partial): Likewise.
1605 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
1606 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
1608 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1609 (rs6000_xfer_shared_libraries): Likewise.
1610 * sol-thread.c (sol_thread_xfer_partial): Likewise.
1611 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1612 (sparc_xfer_partial): Likewise.
1613 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1614 (spu_xfer_partial): Likewise.
1615 * spu-multiarch.c (spu_xfer_partial): Likewise.
1616 * target.c (target_read_live_memory): Likewise.
1617 (memory_xfer_live_readonly_partial): Likewise.
1618 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
1619 (target_xfer_partial, default_xfer_partial): Likewise.
1620 (current_xfer_partial): Likewise.
1621 * tracepoint.c (tfile_xfer_partial): Likewise.
1622 * windows-nat.c (windows_xfer_memory): Likewise. Call
1623 pulongest instead of plongest.
1624 (windows_xfer_partial): Likewise.
1625 (windows_xfer_shared_libraries): Likewise.
1627 2014-01-14 Yao Qi <yao@codesourcery.com>
1629 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
1630 target_xfer_partial_ftype.
1632 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
1636 * valops.c (value_struct_elt_bitpos): New function
1637 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
1638 object to 'None' if the field name is an empty string ("").
1639 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
1640 attribute to look for a field when 'name' is 'None'.
1641 (get_field_type): New function
1643 2014-01-13 Doug Evans <dje@google.com>
1646 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
1647 (try_open_dwop_file): Ditto.
1648 * gdb_bfd.c: #include "vec.h".
1649 (bfdp): New typedef.
1650 (struct gdb_bfd_data): New member included_bfds.
1651 (gdb_bfd_unref): Unref all included bfds.
1652 (gdb_bfd_record_inclusion): New function.
1653 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
1655 2014-01-13 Tom Tromey <tromey@redhat.com>
1657 * gdbcore.h (deprecated_core_resize_section_table): Remove.
1659 2014-01-13 Tom Tromey <tromey@redhat.com>
1661 * defs.h (use_windows): Remove.
1662 * gdb.c (main): Update.
1663 * main.c (captured_main, gdb_main): Update.
1664 * main.h (struct captured_main_args) <use_windows>: Remove.
1665 * top.c (use_windows): Remove.
1667 2014-01-13 Tom Tromey <tromey@redhat.com>
1669 * defs.h (deprecated_flush_hook): Remove.
1671 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1674 * linux-thread-db.c (try_thread_db_load): Add parameter
1675 check_auto_load_safe. Move here the file_is_auto_load_safe call.
1676 (try_thread_db_load_from_pdir_1): Move it there from here.
1677 (try_thread_db_load_from_sdir): Update caller.
1678 (try_thread_db_load_from_dir): Move it there from here.
1680 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
1682 * regformats/regdat.sh: Always rewrite the register file.
1684 2014-01-13 Pedro Alves <palves@redhat.com>
1686 * Makefile.in (CHECK_HEADERS): New variable.
1687 (check-headers:): New rule.
1689 2014-01-13 Tom Tromey <tromey@redhat.com>
1691 * cli/cli-setshow.c (do_set_command): Update.
1692 * defs.h (deprecated_set_hook): Remove.
1693 * top.c (deprecated_set_hook): Remove.
1695 2014-01-13 Pedro Alves <palves@redhat.com>
1697 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
1698 the tracepoint if the PC is a pseudo-register.
1700 2014-01-13 Tom Tromey <tromey@redhat.com>
1702 * defs.h (XCALLOC): Remove.
1703 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
1704 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
1705 * dwarf2loc.c (allocate_piece_closure): Likewise.
1706 * elfread.c (elf_symfile_segments): Likewise.
1707 (elf_symfile_segments): Likewise.
1708 * gdbtypes.c (copy_type_recursive): Likewise.
1709 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
1710 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
1711 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
1713 * mt-tdep.c (mt_gdbarch_init): Likewise.
1714 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
1716 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
1717 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
1718 * registry.c (registry_alloc_data): Likewise.
1719 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
1720 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
1721 * serial.c (serial_fdopen_ops): Likewise.
1722 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
1724 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
1725 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
1728 2014-01-13 Tom Tromey <tromey@redhat.com>
1730 * defs.h (XMALLOC): Remove.
1731 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
1732 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
1733 * cli-out.c (struct ui_out *): Likewise.
1734 * cli/cli-dump.c (add_dump_command): Likewise.
1735 (add_dump_command): Likewise.
1736 * complaints.c (get_complaints): Likewise.
1737 (find_complaint): Likewise.
1738 * dwarf2-frame.c (execute_cfa_program): Likewise.
1739 * dwarf2read.c (abbrev_table_read_table): Likewise.
1740 * gdbarch.sh: Likewise.
1741 * gdbarch.c: Rebuild.
1742 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
1743 * interps.c (interp_new): Likewise.
1744 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
1745 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
1746 * mi/mi-console.c (mi_console_file_new): Likewise.
1747 * mi/mi-interp.c (mi_interpreter_init): Likewise.
1748 * mi/mi-out.c (mi_out_new): Likewise.
1749 * mi/mi-parse.c (mi_parse): Likewise.
1750 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
1751 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
1752 * observer.c (xalloc_observer_list_node): Likewise.
1753 * regcache.c (regcache_xmalloc_1): Likewise.
1754 * reggroups.c (reggroup_new): Likewise.
1755 (_initialize_reggroup): Likewise.
1756 * registry.c (register_data_with_cleanup): Likewise.
1757 * remote.c (remote_notif_stop_alloc_reply): Likewise.
1758 * ser-base.c (serial_ttystate): Likewise.
1759 * ser-mingw.c (make_pipe_state): Likewise.
1760 * ser-pipe.c (pipe_open): Likewise.
1761 * serial.c (serial_open): Likewise.
1762 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
1763 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
1764 (tui_alloc_win_info): Likewise.
1765 (tui_add_content_elements): Likewise.
1766 * tui/tui-file.c (tui_file_new): Likewise.
1767 * tui/tui-out.c (tui_out_new): Likewise.
1768 * ui-file.c (mem_file_new): Likewise.
1769 * ui-out.c (push_level): Likewise.
1770 (make_cleanup_ui_out_end): Likewise.
1771 (append_header_to_list): Likewise.
1772 (ui_out_new): Likewise.
1773 * user-regs.c (user_reg_add_builtin): Likewise.
1775 2014-01-13 Tom Tromey <tromey@redhat.com>
1777 * defs.h (XZALLOC): Remove.
1778 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
1779 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
1780 (get_ada_tasks_inferior_data): Likewise.
1781 * auto-load.c (get_auto_load_pspace_data): Likewise.
1782 * auxv.c (get_auxv_inferior_data): Likewise.
1783 * bfd-target.c (target_bfd_reopen): Likewise.
1784 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
1785 (deprecated_insert_raw_breakpoint): Likewise.
1786 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
1787 * corelow.c (core_open): Likewise.
1788 * darwin-nat.c (darwin_check_new_threads): Likewise.
1789 (darwin_attach_pid): Likewise.
1790 * dummy-frame.c (dummy_frame_push): Likewise.
1791 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
1792 * dwarf2loc.c (allocate_piece_closure): Likewise.
1793 * elfread.c (elf_symfile_segments): Likewise.
1794 * eval.c (ptrmath_type_p): Likewise.
1795 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
1796 * gdbtypes.c (alloc_type_arch): Likewise.
1797 (alloc_type_instance): Likewise.
1798 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
1799 * inf-child.c (inf_child_can_use_agent): Likewise.
1800 * inflow.c (get_inflow_inferior_data): Likewise.
1801 * infrun.c (save_infcall_suspend_state): Likewise.
1802 * jit.c (jit_reader_load): Likewise.
1803 (get_jit_objfile_data): Likewise.
1804 (get_jit_program_space_data): Likewise.
1805 (jit_object_open_impl): Likewise.
1806 (jit_symtab_open_impl): Likewise.
1807 (jit_block_open_impl): Likewise.
1808 (jit_frame_sniffer): Likewise.
1809 * linux-fork.c (add_fork): Likewise.
1810 * maint.c (make_command_stats_cleanup): Likewise.
1811 * objfiles.c (get_objfile_pspace_data): Likewise.
1812 * opencl-lang.c (struct lval_closure): Likewise.
1813 * osdata.c (osdata_start_osdata): Likewise.
1814 * progspace.c (new_address_space): Likewise.
1815 (add_program_space): Likewise.
1816 * remote-sim.c (get_sim_inferior_data): Likewise.
1817 * sh-tdep.c (sh_gdbarch_init): Likewise.
1818 * skip.c (Ignore): Likewise.
1819 (skip_delete_command): Likewise.
1820 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
1821 (library_list_start_library): Likewise.
1822 (solib_aix_current_sos): Likewise.
1823 * solib-darwin.c (get_darwin_info): Likewise.
1824 (darwin_current_sos): Likewise.
1825 * solib-dsbt.c (get_dsbt_info): Likewise.
1826 * solib-ia64-hpux.c (new_so_list): Likewise.
1827 (ia64_hpux_get_solib_linkage_addr): Likewise.
1828 * solib-spu.c (append_ocl_sos): Likewise.
1829 (spu_current_sos): Likewise.
1830 * solib-svr4.c (get_svr4_info): Likewise.
1831 (svr4_keep_data_in_core): Likewise.
1832 (library_list_start_library): Likewise.
1833 (svr4_default_sos): Likewise.
1834 (svr4_read_so_list): Likewise.
1835 * solib-target.c (library_list_start_library): Likewise.
1836 (solib_target_current_sos): Likewise.
1837 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
1838 * symfile-debug.c (install_symfile_debug_logging): Likewise.
1839 * symfile.c (default_symfile_segments): Likewise.
1840 * target-descriptions.c (tdesc_data_init): Likewise.
1841 (tdesc_create_reg): Likewise.
1842 (struct tdesc_type *): Likewise.
1843 (tdesc_create_vector): Likewise.
1844 (tdesc_set_struct_size): Likewise.
1845 (struct tdesc_type *): Likewise.
1846 (tdesc_free_feature): Likewise.
1847 (tdesc_create_feature): Likewise.
1848 * windows-nat.c (windows_add_thread): Likewise.
1849 (windows_make_so): Likewise.
1850 * xml-support.c (gdb_xml_body_text): Likewise.
1851 (gdb_xml_create_parser_and_cleanup): Likewise.
1852 (xml_process_xincludes): Likewise.
1853 * xml-syscall.c (allocate_syscalls_info): Likewise.
1854 (syscall_create_syscall_desc): Likewise.
1856 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
1858 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
1859 function, with code from i386_stap_parse_special_token.
1860 (i386_stap_parse_special_token_three_arg_disp): Likewise.
1861 (i386_stap_parse_special_token): Move code to the two functions
1864 2014-01-09 Pedro Alves <palves@redhat.com>
1865 Hui Zhu <hui@codesourcery.com>
1868 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
1869 bp_err_string. Don't mark the location shlib_disabled if the
1870 error thrown wasn't a generic or memory error. Catch errors
1871 thrown while inserting breakpoints in overlayed code. Output
1872 error message of software breakpoints.
1873 * remote.c (remote_insert_breakpoint): If this breakpoint has
1874 target-side commands but this stub doesn't support Z0 packets,
1875 throw NOT_SUPPORTED_ERROR error.
1876 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
1877 * target.h (target_insert_breakpoint): Extend comment.
1878 (target_insert_hw_breakpoint): Add comment.
1880 2014-01-08 Pedro Alves <palves@redhat.com>
1882 * remote.c (remote_add_thread): Add threads silently if starting
1884 (remote_notice_new_inferior): If in all-stop, and starting up,
1885 don't call notice_new_inferior.
1886 (get_current_thread): New function, factored out from ...
1887 (add_current_inferior_and_thread): ... this. Adjust.
1888 (remote_start_remote) <all-stop>: Fetch the thread list. If we
1889 found any thread, then select the remote's current thread as GDB's
1892 2014-01-08 Joel Brobecker <brobecker@adacore.com>
1894 * NEWS: Create a new section for the next release branch.
1895 Rename the section of the current branch, now that it has
1898 2014-01-08 Joel Brobecker <brobecker@adacore.com>
1900 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
1901 * version.in: Bump version to 7.7.50.DATE-cvs.
1903 2014-01-08 Yao Qi <yao@codesourcery.com>
1905 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
1906 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
1907 (spu_xfer_partial): Cast 'buf' to 'const char *'.
1909 2014-01-08 Yao Qi <yao@codesourcery.com>
1911 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
1912 return value of bfd_get_filename to symbol_file_add_from_bfd.
1914 2014-01-08 Pierre Muller <muller@sourceware.org>
1917 * coff-pe-read.c (struct read_pe_section_data): Add index field.
1918 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
1919 to prim_record_mininal_symbol_and_info.
1920 (add_pe_forwarded_sym): Use known section number of forwarded symbol
1921 in call to prim_record_minimal_symbol_and_info.
1922 (read_pe_exported_syms): Set index field of section_data.
1924 2014-01-07 Andrew Pinski <apinski@cavium.com>
1926 * features/aarch64-core.xml (cpsr): Change to be 64bit.
1927 * features/aarch64.c: Regenerate.
1929 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
1931 * target.c (return_null): Define.
1932 (update_current_target): Use it instead of return_zero for
1933 functions that return a pointer.
1935 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1937 * source.c (add_path): Fix check for duplicated paths in the previously
1940 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
1942 * ada-lang.c: Remove duplicated include statements.
1943 * alphabsd-nat.c: Ditto.
1944 * amd64-darwin-tdep.c: Ditto.
1945 * amd64fbsd-nat.c: Ditto.
1946 * auto-load.c: Ditto.
1948 * breakpoint.c: Ditto.
1950 * fork-child.c: Ditto.
1951 * gdb_usleep.c: Ditto.
1952 * i386-darwin-tdep.c: Ditto.
1953 * i386fbsd-nat.c: Ditto.
1955 * inferior.c: Ditto.
1957 * linux-nat.c: Ditto.
1958 * linux-tdep.c: Ditto.
1959 * m68kbsd-nat.c: Ditto.
1960 * m68klinux-nat.c: Ditto.
1961 * microblaze-tdep.c: Ditto.
1962 * mips-linux-tdep.c: Ditto.
1963 * mn10300-tdep.c: Ditto.
1964 * nto-tdep.c: Ditto.
1965 * opencl-lang.c: Ditto.
1967 * printcmd.c: Ditto.
1968 * regcache.c: Ditto.
1969 * remote-m32r-sdi.c: Ditto.
1973 * tilegx-linux-nat.c: Ditto.
1974 * tilegx-tdep.c: Ditto.
1975 * tracepoint.c: Ditto.
1977 * vaxbsd-nat.c: Ditto.
1978 * windows-nat.c: Ditto.
1979 * xtensa-tdep.c: Ditto.
1981 2014-01-07 Yao Qi <yao@codesourcery.com>
1983 * spu-linux-nat.c (_initialize_spu_nat): Declare.
1985 2014-01-07 Yao Qi <yao@codesourcery.com>
1986 Joel Brobecker <brobecker@adacore.com>
1988 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
1989 (pdc_write_regs): Likewise.
1990 (fetch_regs_kernel_thread): Likewise.
1991 (store_regs_kernel_thread): Likewise.
1993 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1995 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
1996 tagged type objects to their actual type.
1998 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2000 * ada-valprint.c (print_field_values): Add "language" parameter.
2001 Update calls to print_field_values and print_variant_part.
2002 Pass new parameter "language" in call to val_print instead
2003 of "current_language". Replace call to ada_val_print by call
2005 (print_variant_part): Add "language" parameter.
2006 (ada_val_print_struct_union): Update call to print_field_values.
2008 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2010 * ada-valprint.c (ui_memcpy): Delete.
2011 (ada_print_floating): Update documentation. Add empty line
2012 between between function documentation and implementation.
2013 Delete variable "buffer". Use ui_file_xstrdup in place of
2014 ui_file_put. Minor adjustments following this change.
2016 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2018 * ada-valprint.c (ada_val_print_string): New function,
2019 extracted from ada_val_print_array.
2020 (ada_val_print_array): Replace extracted code by call
2021 to ada_val_print_string followed by a return. Move
2022 "else" branch to the function's top block.
2024 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2026 * ada-valprint.c (ada_val_print_array): Move implementation
2027 down. Rename parameter "offset" and "val" into "offset_aligned"
2028 and "original_value" respectively. Add parameter "offset".
2030 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2032 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
2033 re-organizing the code. Change the "???" message printed
2034 when target type is a TYPE_CODE_UNDEF into
2035 "<ref to undefined type>".
2037 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2039 * ada-valprint.c (print_record): Delete, implementation inlined...
2040 (ada_val_print_struct_union): ... here. Remove call to
2041 ada_check_typedef in inlined implementation.
2043 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2045 * ada-valprint.c (ada_val_print_gnat_array): New function,
2046 extracted from ada_val_print_1;
2047 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
2048 (ada_val_print_flt, ada_val_print_struct_union)
2049 (ada_val_print_ref): Likewise.
2050 (ada_val_print_1): Delete variables i and elttype.
2051 Replace extracted-out code by call to corresponding
2054 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2056 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
2058 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2060 * ada-valprint.c (ada_val_print_1): Replace calls to
2061 ada_val_print_1 by calls to val_print.
2063 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2065 * ada-valprint.c (ada_val_print_1): Add parameter "language".
2066 Update calls to self accordingly. Replace calls to c_val_print
2067 by calls to val_print.
2069 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2071 * ada-valprint.c (print_record): Delete declaration.
2072 (adjust_type_signedness, ada_val_print_1): Likewise.
2073 (ada_val_print): Move function implementation down.
2074 (print_variant_part, print_field_values, print_record):
2075 Move function implementation up.
2077 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2079 * python/py-type.c (typy_get_name): New function.
2080 (type_object_getset): Add entry for attribute "name".
2081 * NEWS: Add entry mentioning this new attribute.
2083 2014-01-07 Yao Qi <yao@codesourcery.com>
2085 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
2088 2014-01-07 Yao Qi <yao@codesourcery.com>
2090 * gnu-nat.c (info_port_rights): Add qualifier const to
2093 2014-01-07 Yao Qi <yao@codesourcery.com>
2095 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
2097 2014-01-07 Yao Qi <yao@codesourcery.com>
2099 * gnu-nat.c (make_inf) Update declaration.
2100 (make_inf): Make it static.
2101 (inf_set_traced): Likewise.
2102 (inf_port_to_thread, inf_task_died_status): Likewise.
2104 2014-01-07 Yao Qi <yao@codesourcery.com>
2106 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
2108 2014-01-07 Yao Qi <yao@codesourcery.com>
2110 * gnu-nat.c (_initialize_gnu_nat): Declare.
2112 2014-01-07 Yao Qi <yao@codesourcery.com>
2114 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
2116 (struct gdbarch_info) <byte_order>: Change type to
2118 <byte_order_for_code>: Likewise.
2119 * gdbarch.c, gdbarch.h: Regenerated.
2121 2014-01-06 Sasha Smundak <asmundak@google.com>
2123 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
2125 2014-01-06 Tom Tromey <tromey@redhat.com>
2127 * doublest.c (convert_doublest_to_floatformat): Use const, not
2129 * somread.c (som_symtab_read): Likewise.
2131 2014-01-07 Hui Zhu <hui@codesourcery.com>
2133 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
2134 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
2135 (gdb_bfd_fopen): Ditto.
2136 (gdb_bfd_openr): Ditto.
2137 (gdb_bfd_openw): Ditto.
2138 (gdb_bfd_openr_iovec): Ditto.
2139 (gdb_bfd_fdopenr): Ditto.
2140 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
2141 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
2143 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
2145 * symfile-mem.c (symbol_file_add_from_memory): Removed
2146 gdb_bfd_stash_filename.
2148 2014-01-03 Doug Evans <dje@google.com>
2150 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
2153 2014-01-01 Joel Brobecker <brobecker@adacore.com>
2155 Update year range in copyright notice of all files.
2157 2014-01-01 Joel Brobecker <brobecker@adacore.com>
2159 * top.c (print_gdb_version): Set copyright year to 2014.
2161 2014-01-01 Joel Brobecker <brobecker@adacore.com>
2163 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
2165 For older changes see ChangeLog-2013.
2171 version-control: never