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