| 1 | 2013-05-23 Pedro Alves <palves@redhat.com> |
| 2 | |
| 3 | * dwarf2read.c (create_dwp_hash_table, create_dwo_in_dwp) |
| 4 | (open_and_init_dwp_file): Use %s/pulongest instead of %u for |
| 5 | printing uint32_t variables. |
| 6 | |
| 7 | 2013-05-23 Pedro Alves <palves@redhat.com> |
| 8 | |
| 9 | * NEWS: Mention GDBserver range stepping support. |
| 10 | |
| 11 | 2013-05-23 Yao Qi <yao@codesourcery.com> |
| 12 | Pedro Alves <palves@redhat.com> |
| 13 | |
| 14 | * gdbthread.h (struct thread_control_state) <may_range_step>: New |
| 15 | field. |
| 16 | * infcmd.c (step_once, until_next_command): Enable range stepping. |
| 17 | * infrun.c (displaced_step_prepare): Disable range stepping. |
| 18 | (resume): Disable range stepping if stepping over a breakpoint or |
| 19 | we have software watchpoints. If range stepping is enabled, |
| 20 | assert the thread is in the stepping range. |
| 21 | (clear_proceed_status_thread): Clear may_range_step. |
| 22 | (handle_inferior_event): Disable range stepping as soon as we know |
| 23 | the thread that hit the event. Re-enable it whenever we're going |
| 24 | to step with a step range. |
| 25 | * remote.c (struct vCont_action_support) <r>: New field. |
| 26 | (use_range_stepping): New global. |
| 27 | (remote_vcont_probe): Handle 'r' action. |
| 28 | (append_resumption): Append an 'r' action if the thread may range |
| 29 | step. |
| 30 | (show_range_stepping): New function. |
| 31 | (set_range_stepping): New function. |
| 32 | (_initialize_remote): Call add_setshow_boolean_cmd to register the |
| 33 | 'set range-stepping' and 'show range-stepping' commands. |
| 34 | * NEWS: Mention range stepping, the new vCont;r action, and the |
| 35 | new "set/show range-stepping" commands. |
| 36 | |
| 37 | 2013-05-23 Yao Qi <yao@codesourcery.com> |
| 38 | Pedro Alves <palves@redhat.com> |
| 39 | |
| 40 | * remote.c (struct vCont_action_support): New struct. |
| 41 | (struct remote_state) <support_vCont_t>: Remove field. |
| 42 | <vCont_actions_support>: New field. |
| 43 | (remote_vcont_probe, remote_stop_ns): Update. |
| 44 | |
| 45 | 2013-05-23 Yao Qi <yao@codesourcery.com> |
| 46 | Pedro Alves <palves@redhat.com> |
| 47 | |
| 48 | * gdbthread.h (pc_in_thread_step_range): New declaration. |
| 49 | * thread.c (pc_in_thread_step_range): New function. |
| 50 | * infrun.c (handle_inferior_event): Use it. |
| 51 | |
| 52 | 2013-05-23 Joel Brobecker <brobecker@adacore.com> |
| 53 | |
| 54 | * mi/mi-cmd-break.c (mi_argv_to_format): Use xsnprintf instead |
| 55 | of sprintf. |
| 56 | |
| 57 | 2013-05-22 Keith Seitz <keiths@redhat.com> |
| 58 | |
| 59 | * ada-lang.c (is_known_support_routine): Add explicit free of |
| 60 | 'func_name' from find_frame_funname. |
| 61 | (ada_unhandled_exception_name_addr_from_raise): Add cleanups |
| 62 | for func_name from find_frame_funname. |
| 63 | * python/py-frame.c (frapy_name): Add explicit free of |
| 64 | 'name' from find_frame_funname. |
| 65 | * stack.c (find_frame_funname): Add comment explaining that |
| 66 | funcp must be freed by the caller. |
| 67 | Return copy of symbol names instead of pointers. |
| 68 | (print_frame): Add a cleanup for 'funname' from |
| 69 | find_frame_funname. |
| 70 | * stack.h (find_frame_funname): Remove "const" from |
| 71 | 'funname' parameter. |
| 72 | |
| 73 | 2013-05-22 Tom Tromey <tromey@redhat.com> |
| 74 | |
| 75 | PR c++/15401: |
| 76 | * c-valprint.c (c_value_print): Use value_addr for |
| 77 | references. Convert back to reference type with value_ref. |
| 78 | |
| 79 | 2013-05-22 Eli Zaretskii <eliz@gnu.org> |
| 80 | |
| 81 | * windows-nat.c (handle_unload_dll): Don't call solib_add for the |
| 82 | unloaded DLL, it will be done by handle_solib_event. See |
| 83 | http://sourceware.org/ml/gdb-patches/2013-05/msg00713.html for the |
| 84 | details. |
| 85 | |
| 86 | 2013-05-22 Phil Muldoon <pmuldoon@redhat.com> |
| 87 | |
| 88 | * ui-out.c: Create typedef ui_out_level_p and define vector |
| 89 | operations for that type. |
| 90 | (struct ui_out): Use a vector instead of an array. |
| 91 | (current_level): Return level from a vector. |
| 92 | (push_level): Create a level in a vector. |
| 93 | (pop_level): Delete a level in a vector. |
| 94 | (ui_out_new): Create initial level zero level, and store in a |
| 95 | vector. |
| 96 | (ui_out_destroy): Add vector cleanup. |
| 97 | |
| 98 | 2013-05-22 Pedro Alves <palves@redhat.com> |
| 99 | |
| 100 | * python/python-internal.h (gdb_Py_DECREF): Tag with |
| 101 | "ARI: editCase function". |
| 102 | |
| 103 | 2013-05-21 Paul Pluzhnikov <ppluzhnikov@google.com> |
| 104 | |
| 105 | * solib-svr4.c (svr4_free_so): Protect against NULL dereference. |
| 106 | |
| 107 | 2013-05-21 Pedro Alves <palves@redhat.com> |
| 108 | |
| 109 | * python/py-prettyprint.c (apply_val_pretty_printer): Check |
| 110 | whether PRINTER is NULL before installing a Py_DECREF cleanup. |
| 111 | * python/py-utils.c (py_decref): Don't check for NULL before |
| 112 | calling Py_DECREF. |
| 113 | |
| 114 | 2013-05-21 Pedro Alves <palves@redhat.com> |
| 115 | |
| 116 | * python/py-utils.c (py_decref): Remove extra braces. |
| 117 | (gdb_pymodule_addobject): Remove extra braces. |
| 118 | * python-internal.h (gdb_Py_DECREF): New static inline function. |
| 119 | (Py_DECREF): Redefine as calling gdb_Py_DECREF. |
| 120 | |
| 121 | 2013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 122 | |
| 123 | * breakpoints.c (detach_breakpoints): Do not |
| 124 | detach breakpoints locations with loc_type bp_loc_other. |
| 125 | |
| 126 | 2013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 127 | |
| 128 | Workaround Python 2.6. |
| 129 | * python/py-utils.c (gdb_pymodule_addobject): Wrap Py_DECREF into |
| 130 | a block. |
| 131 | |
| 132 | 2013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 133 | |
| 134 | Code cleanup: constification. |
| 135 | * solib.c (solib_ops): Make return type and ops variable type const. |
| 136 | (set_solib_ops): Make the new_ops parameter and ops variable const. |
| 137 | (solib_find, solib_map_sections, clear_so, free_so, update_solib_list) |
| 138 | (solib_add, solib_keep_data_in_core, clear_solib) |
| 139 | (solib_create_inferior_hook, in_solib_dynsym_resolve_code) |
| 140 | (reload_shared_libraries, solib_global_lookup): Make the ops variable |
| 141 | const. |
| 142 | * solib.h (set_solib_ops): Make the new_ops parameter const. |
| 143 | |
| 144 | 2013-05-21 Joel Brobecker <brobecker@adacore.com> |
| 145 | |
| 146 | * data-directory/Makefile.in (SYSTEM_GDBINIT_SRCDIR): New |
| 147 | variable. |
| 148 | (VPATH): Add SYSTEM_GDBINIT_SRCDIR. |
| 149 | (SYSTEM_GDBINIT_DIR, SYSTEM_GDBINIT_INSTALL_DIR) |
| 150 | (SYSTEM_GDBINIT_FILES): New variables. |
| 151 | (all): Add stamp-system-gdbinit. |
| 152 | (stamp-system-gdbinit): New rule. |
| 153 | (clean-system-gdbinit, install-system-gdbinit) |
| 154 | (uninstall-system-gdbinit): New rules. Make them .PHONY. |
| 155 | (install-only): Add dependency on install-system-gdbinit. |
| 156 | (uninstall): Add dependency on uninstall-system-gdbinit. |
| 157 | (clean): Add dependency on clean-system-gdbinit. |
| 158 | * system-gdbinit/elinos.py: New file. |
| 159 | * system-gdbinit/wrs-linux.py: New file. |
| 160 | |
| 161 | 2013-05-21 Joel Brobecker <brobecker@adacore.com> |
| 162 | |
| 163 | * ada-lang.c (old_renaming_is_invisible): Fix cleanup leak. |
| 164 | |
| 165 | 2013-05-21 Hui Zhu <hui@codesourcery.com> |
| 166 | |
| 167 | * breakpoint.c (dprintf_breakpoint_ops): Remove its static. |
| 168 | * breakpoint.h (dprintf_breakpoint_ops): Add extern. |
| 169 | * mi/mi-cmd-break.c (ctype.h): New include. |
| 170 | (gdb_obstack.h): New include. |
| 171 | (mi_argv_to_format, mi_cmd_break_insert_1): New. |
| 172 | (mi_cmd_break_insert): Call mi_cmd_break_insert_1. |
| 173 | (mi_cmd_dprintf_insert): New. |
| 174 | * mi/mi-cmds.c (mi_cmds): Add "dprintf-insert". |
| 175 | * mi/mi-cmds.h (mi_cmd_dprintf_insert): New extern. |
| 176 | |
| 177 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 178 | |
| 179 | * python/py-prettyprint.c (search_pp_list): Decref 'attr'. |
| 180 | |
| 181 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 182 | |
| 183 | * python/py-value.c (valpy_get_dynamic_type): Simplify |
| 184 | dynamic_type assignment. Use Py_XINCREF. |
| 185 | |
| 186 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 187 | |
| 188 | * python/py-type.c (typy_fields): Unconditionally decref 'r'. |
| 189 | |
| 190 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 191 | |
| 192 | * python/py-frame.c (frapy_older, frapy_newer, gdbpy_newest_frame) |
| 193 | (gdbpy_selected_frame): Move object-construction code |
| 194 | out of TRY_CATCH. |
| 195 | |
| 196 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 197 | |
| 198 | * python/py-arch.c (gdbpy_initialize_arch): Use |
| 199 | gdb_pymodule_addobject. |
| 200 | * python/py-block.c (gdbpy_initialize_blocks): Use |
| 201 | gdb_pymodule_addobject. |
| 202 | * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Use |
| 203 | gdb_pymodule_addobject. |
| 204 | * python/py-cmd.c (gdbpy_initialize_breakpoints): Use |
| 205 | gdb_pymodule_addobject. |
| 206 | * python/py-event.c (gdbpy_initialize_event_generic): Use |
| 207 | gdb_pymodule_addobject. |
| 208 | * python/py-evtregistry.c (gdbpy_initialize_eventregistry): Use |
| 209 | gdb_pymodule_addobject. |
| 210 | * python/py-evts.c (add_new_registry): Use |
| 211 | gdb_pymodule_addobject. |
| 212 | (gdbpy_initialize_py_events): Likewise. |
| 213 | * python/py-finishbreakpoint.c |
| 214 | (gdbpy_initialize_finishbreakpoints): Use |
| 215 | gdb_pymodule_addobject. |
| 216 | * python/py-frame.c (gdbpy_initialize_frames): Use |
| 217 | gdb_pymodule_addobject. |
| 218 | * python/py-function.c (gdbpy_initialize_functions): Use |
| 219 | gdb_pymodule_addobject. |
| 220 | * python/py-inferior.c (gdbpy_initialize_inferior): Use |
| 221 | gdb_pymodule_addobject. |
| 222 | * python/py-infthread.c (gdbpy_initialize_thread): Use |
| 223 | gdb_pymodule_addobject. |
| 224 | * python/py-objfile.c (gdbpy_initialize_objfile): Use |
| 225 | gdb_pymodule_addobject. |
| 226 | * python/py-param.c (gdbpy_initialize_parameters): Use |
| 227 | gdb_pymodule_addobject. |
| 228 | * python/py-progspace.c (gdbpy_initialize_pspace): Use |
| 229 | gdb_pymodule_addobject. |
| 230 | * python/py-symbol.c (gdbpy_initialize_symbols): Use |
| 231 | gdb_pymodule_addobject. |
| 232 | * python/py-symtab.c (gdbpy_initialize_symtabs): Use |
| 233 | gdb_pymodule_addobject. |
| 234 | * python/py-type.c (gdbpy_initialize_types): Use |
| 235 | gdb_pymodule_addobject. |
| 236 | * python/py-utils.c (gdb_pymodule_addobject): New function. |
| 237 | * python/py-value.c (gdbpy_initialize_values): Use |
| 238 | gdb_pymodule_addobject. |
| 239 | * python/python-internal.h (gdb_pymodule_addobject): Declare. |
| 240 | * python/python.c (_initialize_python): Use |
| 241 | gdb_pymodule_addobject. |
| 242 | |
| 243 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 244 | |
| 245 | * python/py-cmd.c (cmdpy_completer): Use explicit decref. |
| 246 | * python/py-param.c (get_set_value, get_show_value): Use |
| 247 | explicit decrefs. |
| 248 | * python/python.c (start_type_printers, apply_type_printers): |
| 249 | Use explicit decrefs. |
| 250 | |
| 251 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 252 | |
| 253 | * python/py-evts.c (gdbpy_initialize_py_events): Don't |
| 254 | incref the module. |
| 255 | |
| 256 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 257 | |
| 258 | * python/python.c (gdbpy_run_events): Decref the result |
| 259 | of PyObject_CallObject. |
| 260 | |
| 261 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 262 | |
| 263 | * python/py-symtab.c (set_sal): Use |
| 264 | CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION. Return -1 on error. |
| 265 | (symtab_and_line_to_sal_object): Update. |
| 266 | |
| 267 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 268 | |
| 269 | * python/py-param.c (compute_enum_values): Decref 'item'. |
| 270 | |
| 271 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 272 | |
| 273 | * mi/mi-main.c: Include python-internal.h. |
| 274 | (mi_cmd_list_features): Check gdb_python_initialized. |
| 275 | * python/py-inferior.c (python_on_normal_stop, python_on_resume) |
| 276 | (python_inferior_exit, python_new_objfile, add_thread_object) |
| 277 | (delete_thread_object, py_free_inferior): Check |
| 278 | gdb_python_initialized. |
| 279 | * python/py-prettyprint.c (apply_val_pretty_printer): Check |
| 280 | gdb_python_initialized. |
| 281 | * python/py-type.c (save_objfile_types): Check |
| 282 | gdb_python_initialized. |
| 283 | * python/python-internal.h (gdb_python_initialized): Declare. |
| 284 | * python/python.c (ensure_python_env): Throw exception if |
| 285 | Python not initialized. |
| 286 | (before_prompt_hook, source_python_script_for_objfile) |
| 287 | (start_type_printers, apply_type_printers, |
| 288 | free_type_printers): Check gdb_python_initialized. |
| 289 | * varobj.c (varobj_get_display_hint) |
| 290 | (dynamic_varobj_has_child_method, update_dynamic_varobj_children) |
| 291 | (install_new_value_visualizer, varobj_set_visualizer) |
| 292 | (value_get_print_value): Check gdb_python_initialized. |
| 293 | |
| 294 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 295 | |
| 296 | * python/py-arch.c (gdbpy_initialize_arch): Return 'int'. |
| 297 | Check errors. |
| 298 | * python/py-auto-load.c (gdbpy_initialize_auto_load): Return 'int'. |
| 299 | * python/py-block.c (gdbpy_initialize_blocks): Return 'int'. |
| 300 | Check errors. |
| 301 | * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Return 'int'. |
| 302 | Check errors. |
| 303 | * python/py-cmd.c (gdbpy_initialize_commands): Return 'int'. |
| 304 | Check errors. |
| 305 | * python/py-event.c (gdbpy_initialize_event): Return 'int'. |
| 306 | Check errors. |
| 307 | * python/py-event.h (GDBPY_NEW_EVENT_TYPE): Change generated |
| 308 | init function to return 'int'. |
| 309 | * python/py-evtregistry.c (gdbpy_initialize_eventregistry): |
| 310 | Return 'int'. Check errors. |
| 311 | * python/py-evts.c (gdbpy_initialize_py_events): Return 'int'. |
| 312 | Check errors. |
| 313 | * python/py-finishbreakpoint.c (gdbpy_initialize_finishbreakpoints): |
| 314 | Return 'int'. Check errors. |
| 315 | * python/py-frame.c (gdbpy_initialize_frames): Return 'int'. |
| 316 | Check errors. |
| 317 | * python/py-function.c (gdbpy_initialize_functions): Return 'int'. |
| 318 | Check errors. |
| 319 | * python/py-gdb-readline.c (gdbpy_initialize_gdb_readline): |
| 320 | Check errors. |
| 321 | * python/py-inferior.c (gdbpy_initialize_inferior): Return 'int'. |
| 322 | Check errors. |
| 323 | * python/py-infthread.c (gdbpy_initialize_thread): Return 'int'. |
| 324 | Check errors. |
| 325 | * python/py-lazy-string.c (gdbpy_initialize_lazy_string): Return 'int'. |
| 326 | Check errors. |
| 327 | * python/py-objfile.c (gdbpy_initialize_objfile): Return 'int'. |
| 328 | Check errors. |
| 329 | * python/py-param.c (gdbpy_initialize_parameters): Return 'int'. |
| 330 | Check errors. |
| 331 | * python/py-progspace.c (gdbpy_initialize_pspace): Return 'int'. |
| 332 | Check errors. |
| 333 | * python/py-symbol.c (gdbpy_initialize_symbols): Return 'int'. |
| 334 | Check errors. |
| 335 | * python/py-symtab.c (gdbpy_initialize_symtabs): Return 'int'. |
| 336 | Check errors. |
| 337 | * python/py-type.c (gdbpy_initialize_types): Return 'int'. |
| 338 | Check errors. |
| 339 | * python/py-value.c (gdbpy_initialize_values): Return 'int'. |
| 340 | Check errors. |
| 341 | * python/python-internal.h (gdbpy_initialize_auto_load, |
| 342 | gdbpy_initialize_values, gdbpy_initialize_frames, |
| 343 | gdbpy_initialize_symtabs, gdbpy_initialize_commands, |
| 344 | gdbpy_initialize_symbols, gdbpy_initialize_symtabs, |
| 345 | gdbpy_initialize_blocks, gdbpy_initialize_types, |
| 346 | gdbpy_initialize_functions, gdbpy_initialize_pspace, |
| 347 | gdbpy_initialize_objfile, gdbpy_initialize_breakpoints, |
| 348 | gdbpy_initialize_finishbreakpoints, |
| 349 | gdbpy_initialize_lazy_string, gdbpy_initialize_parameters, |
| 350 | gdbpy_initialize_thread, gdbpy_initialize_inferior, |
| 351 | gdbpy_initialize_eventregistry, gdbpy_initialize_event, |
| 352 | gdbpy_initialize_py_events, gdbpy_initialize_stop_event, |
| 353 | gdbpy_initialize_signal_event, |
| 354 | gdbpy_initialize_breakpoint_event, |
| 355 | gdbpy_initialize_continue_event, |
| 356 | gdbpy_initialize_exited_event, gdbpy_initialize_thread_event, |
| 357 | gdbpy_initialize_new_objfile_event, gdbpy_initialize_arch): |
| 358 | Update. Use CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION. |
| 359 | * python/python.c (gdb_python_initialized): New global. |
| 360 | (gdbpy_initialize_events): Return 'int'. Check errors. |
| 361 | (_initialize_python): Check errors. Set |
| 362 | gdb_python_initialized. |
| 363 | |
| 364 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 365 | |
| 366 | * python/py-finishbreakpoint.c (bpfinishpy_out_of_scope): |
| 367 | Decref the reslut of PyObject_CallMethod. |
| 368 | |
| 369 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 370 | |
| 371 | * python/py-event.c (gdbpy_initialize_event_generic): Return |
| 372 | early if PyType_Ready fails. |
| 373 | |
| 374 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 375 | |
| 376 | * python/py-type.c (make_fielditem): Add gdb_assert_not_reached |
| 377 | as 'default' in the switch. |
| 378 | |
| 379 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 380 | |
| 381 | * python/py-inferior.c (gdbpy_inferiors): Update. Hoist |
| 382 | get_addr_from_python calls out of TRY_CATCH. |
| 383 | (infpy_write_memory, infpy_search_memory): Likewise. |
| 384 | * python/py-utils.c (get_addr_from_python): Return negative |
| 385 | value on error. Use TRY_CATCH. |
| 386 | * python/python-internal.h (get_addr_from_python): Use |
| 387 | CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION. |
| 388 | |
| 389 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 390 | |
| 391 | * python/py-event.c (evpy_emit_event): Decref the |
| 392 | result of PyObject_CallFunctionObjArgs. |
| 393 | |
| 394 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 395 | |
| 396 | * python/py-cmd.c (cmdpy_completer): Use iterator protocol. |
| 397 | Correctly decref. |
| 398 | |
| 399 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 400 | |
| 401 | * python/py-cmd.c (cmdpy_init): Decref 'ds_obj'. |
| 402 | |
| 403 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 404 | |
| 405 | * python/py-event.h (gdbpy_initialize_event_generic): Use |
| 406 | CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION. |
| 407 | * python/py-evts.c (add_new_registry): Use |
| 408 | CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION. |
| 409 | * python/python-internal.h |
| 410 | (CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION): New macro. |
| 411 | |
| 412 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 413 | |
| 414 | * python/py-arch.c (archpy_disassemble): Update. |
| 415 | * python/py-type.c (typy_get_composite, typy_lookup_typename) |
| 416 | (typy_lookup_type): Use GDB_PY_HANDLE_EXCEPTION. |
| 417 | * python/py-utils.c (gdbpy_convert_exception): Return 'void'. |
| 418 | * python/python-internal.h (CPYCHECKER_SETS_EXCEPTION): New |
| 419 | macro. |
| 420 | (GDB_PY_HANDLE_EXCEPTION): Update. |
| 421 | (gdbpy_convert_exception): Update. Use CPYCHECKER_SETS_EXCEPTION. |
| 422 | |
| 423 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 424 | |
| 425 | * python/python-internal.h (events_object_type): Remove. |
| 426 | |
| 427 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 428 | |
| 429 | * python/py-event.h (evpy_emit_event): Use |
| 430 | CPYCHECKER_STEALS_REFERENCE_TO_ARG. |
| 431 | * python/python-internal.h (CPYCHECKER_STEALS_REFERENCE_TO_ARG): |
| 432 | New macro. |
| 433 | |
| 434 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 435 | |
| 436 | * py-evtregistry.c (create_event_object): Decref |
| 437 | eventregistry_object if PyList_New fails. |
| 438 | |
| 439 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 440 | |
| 441 | * py-cmd.c (gdbpy_string_to_argv): Check result of |
| 442 | PyList_New. |
| 443 | |
| 444 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 445 | |
| 446 | * python/python.c (before_prompt_hook): Add cleanup to |
| 447 | decref 'hook'. |
| 448 | |
| 449 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 450 | |
| 451 | * python/py-function.c (fnpy_init): Decref result of |
| 452 | PyObject_GetAttrString. |
| 453 | |
| 454 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 455 | |
| 456 | * python/py-threadevent.c (get_event_thread): Use |
| 457 | CPYCHECKER_RETURNS_BORROWED_REF. |
| 458 | * python/python-internal.h (CPYCHECKER_RETURNS_BORROWED_REF): |
| 459 | New define. |
| 460 | (pspace_to_pspace_object, objfile_to_objfile_object) |
| 461 | (find_thread_object): Use it. |
| 462 | |
| 463 | 2013-05-20 Tom Tromey <tromey@redhat.com> |
| 464 | |
| 465 | * python/py-arch.c (arch_object_type): Use |
| 466 | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 467 | * python/py-block.c (block_syms_iterator_object_type): |
| 468 | Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 469 | * python/py-bpevent.c (breakpoint_event_object_type): |
| 470 | Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 471 | * python/py-cmd.c (cmdpy_object_type): Use |
| 472 | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 473 | * python/py-continueevent.c (continue_event_object_type): |
| 474 | Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 475 | * python/py-event.h (GDBPY_NEW_EVENT_TYPE): |
| 476 | Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 477 | * python/py-events.h (thread_event_object_type): |
| 478 | Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 479 | * python/py-evtregistry.c (eventregistry_object_type): Use |
| 480 | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 481 | * python/py-exitedevent.c (exited_event_object_type): |
| 482 | Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 483 | * python/py-finishbreakpoint.c (finish_breakpoint_object_type): |
| 484 | Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 485 | * python/py-function.c (fnpy_object_type): Use |
| 486 | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 487 | * python/py-inferior.c (inferior_object_type, membuf_object_type): |
| 488 | Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 489 | * python/py-infthread.c (thread_object_type): Use |
| 490 | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 491 | * python/py-lazy-string.c (lazy_string_object_type): |
| 492 | Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 493 | * python/py-newobjfileevent.c (new_objfile_event_object_type): |
| 494 | Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 495 | * python/py-objfile.c (objfile_object_type): Use |
| 496 | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 497 | * python/py-param.c (parmpy_object_type): |
| 498 | Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 499 | * python/py-progspace.c (pspace_object_type): |
| 500 | Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 501 | * python/py-signalevent.c (signal_event_object_type): |
| 502 | Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 503 | * python/py-symtab.c (symtab_object_type, sal_object_type): Use |
| 504 | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 505 | * python/py-type.c (type_object_type, field_object_type) |
| 506 | (type_iterator_object_type): Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 507 | * python/py-internal.h (CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF): New |
| 508 | define. |
| 509 | (value_object_type, block_object_type, symbol_object_type) |
| 510 | (event_object_type, stop_event_object_type, breakpoint_object_type) |
| 511 | (frame_object_type): Use CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF. |
| 512 | |
| 513 | 2013-05-20 Andreas Tobler <andreas@fgznet.ch> |
| 514 | |
| 515 | * Makefile.in (ALL_TARGET_OBS): Add ppcfbsd-tdep.o. |
| 516 | (ALLDEPFILES): Add ppcfbsd-nat.c and ppcfbsd-tdep.c. |
| 517 | |
| 518 | 2013-05-20 Doug Evans <dje@google.com> |
| 519 | |
| 520 | When reading CU, stay in DWO. Be more tolerent of bad debug info. |
| 521 | For Fission. |
| 522 | * dwarf2read.c (struct dwarf2_per_cu_data): New member |
| 523 | reading_dwo_directly. |
| 524 | (struct signatured_type): New member dwo_unit. |
| 525 | (struct die_reader_specs): New member comp_dir. |
| 526 | (create_signatured_type_table_from_index): Use malloc for |
| 527 | all_type_units instead of objfile's obstack. |
| 528 | (create_all_type_units): Ditto. |
| 529 | (fill_in_sig_entry_from_dwo_entry): New function. |
| 530 | (add_type_unit): New function. |
| 531 | (lookup_dwo_signatured_type): New function. |
| 532 | (lookup_dwp_signatured_type): New function. |
| 533 | (lookup_signatured_type): New arg cu. All callers updated. |
| 534 | (init_cu_die_reader): Initialize comp_dir. |
| 535 | (read_cutu_die_from_dwo): New arg stub_comp_dir. All callers updated. |
| 536 | Change assert of matching type signatures to call error on mismatch. |
| 537 | (lookup_dwo_unit): Add assert. |
| 538 | (init_tu_and_read_dwo_dies): New function. |
| 539 | (init_cutu_and_read_dies): Call it. |
| 540 | (build_type_unit_groups): Handle case of no type unit groups created. |
| 541 | (hash_dwo_file, eq_dwo_file): Handle missing comp_dir. |
| 542 | (lookup_dwo_cutu): Tweak complaint. |
| 543 | (dwarf2_free_abbrev_table): Check for NULL abbrev_table. |
| 544 | (dwarf2_per_objfile_free): Free all_type_units. |
| 545 | |
| 546 | 2013-05-20 Joel Brobecker <brobecker@adacore.com> |
| 547 | |
| 548 | * windows-nat.c (handle_unload_dll): Add missing empty line. |
| 549 | |
| 550 | 2013-05-20 Joel Brobecker <brobecker@adacore.com> |
| 551 | |
| 552 | * dwarf2read.c (prototyped_function_p): New function. |
| 553 | (read_subroutine_type): Use it. |
| 554 | |
| 555 | 2013-05-20 Joel Brobecker <brobecker@adacore.com> |
| 556 | |
| 557 | * rs6000-aix-tdep.c: De-indent some example code provided |
| 558 | as a comment. |
| 559 | |
| 560 | 2013-05-17 Edjunior Machado <emachado@linux.vnet.ibm.com> |
| 561 | |
| 562 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Check if the |
| 563 | region is ok for a hardware watchpoint using the new ptrace interface |
| 564 | on Power servers. |
| 565 | |
| 566 | 2013-05-17 Doug Evans <dje@google.com> |
| 567 | |
| 568 | * NEWS: Mention new maintenance commands check-symtabs, and |
| 569 | expand-symtabs, and renamed check-psymtabs. |
| 570 | * psymtab.c (maintenance_check_psymtabs): Renamed from |
| 571 | maintenance_check_symtabs. Only process already-expanded symbol |
| 572 | tables. |
| 573 | (_initialize_psymtab): Update. |
| 574 | * symmisc.c (maintenance_check_symtabs): New function. |
| 575 | (maintenance_expand_name_matcher): New function |
| 576 | (maintenance_expand_file_matcher): New function |
| 577 | (maintenance_expand_symtabs): New function. |
| 578 | (_initialize_symmisc): Add "mt check-symtabs" and "mt expand-symtabs" |
| 579 | commands. |
| 580 | |
| 581 | 2013-05-17 Tom Tromey <tromey@redhat.com> |
| 582 | |
| 583 | * python/py-inferior.c (infpy_read_memory): Don't call |
| 584 | PyErr_SetString if PyObject_New fails. |
| 585 | * python/py-frame.c (frame_info_to_frame_object): Don't call |
| 586 | PyErr_SetString if PyObject_New fails. |
| 587 | |
| 588 | 2013-05-17 Pavel Chupin <pavel.v.chupin@intel.com> |
| 589 | |
| 590 | * acinclude.m4: Add check for dlopen in libdl. |
| 591 | * configure.ac: Ditto. |
| 592 | * configure: Regenerate. |
| 593 | |
| 594 | 2013-05-17 Phil Muldoon <pmuldoon@redhat.com> |
| 595 | |
| 596 | * frame.c (frame_stash): Convert to htab. |
| 597 | (frame_addr_hash): New function. |
| 598 | (frame_addr_hash_eq): New function. |
| 599 | (frame_stash_create): Convert function to create |
| 600 | a hash table. |
| 601 | (frame_stash_add): Convert function to add an entry to a hash |
| 602 | table. |
| 603 | (frame_stash_find): Convert function to search the hash table. |
| 604 | (frame_stash_invalidate): Convert function to empty the hash |
| 605 | table. |
| 606 | (get_frame_id): Only add to stash if a frame_id is created. |
| 607 | (_initialize_frame): Call frame_stash_create. |
| 608 | |
| 609 | 2013-05-16 Yue Lu <hacklu.newborn@gmail.com> (tiny change) |
| 610 | |
| 611 | * configure.ac: Ensure MIG is available when building for GNU Hurd |
| 612 | hosts. |
| 613 | * configure: Regenerate. |
| 614 | |
| 615 | 2013-05-16 Joel Brobecker <brobecker@adacore.com> |
| 616 | |
| 617 | * dwarf2read.c (set_cu_language): Add DW_LANG_UPC handling. |
| 618 | |
| 619 | 2013-05-16 Joel Brobecker <brobecker@adacore.com> |
| 620 | |
| 621 | * ada-lang.c (ada_make_symbol_completion_list): Make sure |
| 622 | all cleanups are done before returning from this function. |
| 623 | |
| 624 | 2013-05-15 Joel Brobecker <brobecker@adacore.com> |
| 625 | |
| 626 | * utils.h: #include "exceptions.h". |
| 627 | (enum errors): Remove partial declaration. |
| 628 | |
| 629 | 2013-05-15 Joel Brobecker <brobecker@adacore.com> |
| 630 | |
| 631 | * gdbarch.sh (core_xfer_shared_libraries_aix): New method. |
| 632 | * gdbarch.h, gdbarch.c: Regenerate. |
| 633 | * corelow.c (core_xfer_partial): Add TARGET_OBJECT_LIBRARIES_AIX |
| 634 | handling. |
| 635 | |
| 636 | * rs6000-aix-tdep.h: New file. |
| 637 | * Makefile.in (HFILES_NO_SRCDIR): Add rs6000-aix-tdep.h. |
| 638 | * rs6000-aix-tdep.c: Include "rs6000-aix-tdep.h" and |
| 639 | "xml-utils.h". |
| 640 | (struct field_info, struct ld_info_desc): New types. |
| 641 | (ld_info32_desc, ld_info64_desc): New static constants. |
| 642 | (struct ld_info): New type. |
| 643 | (rs6000_aix_extract_ld_info): New function. |
| 644 | (rs6000_aix_shared_library_to_xml): Likewise. |
| 645 | (rs6000_aix_ld_info_to_xml): Likewise. |
| 646 | (rs6000_aix_core_xfer_shared_libraries_aix): Likewise. |
| 647 | (rs6000_aix_init_osabi): Add call to |
| 648 | set_gdbarch_core_xfer_shared_libraries_aix. |
| 649 | * rs6000-nat.c: Add "rs6000-aix-tdep.h" include. |
| 650 | Remove "xml-utils.h" include. |
| 651 | (LdInfo): Delete typedef. |
| 652 | (ARCH64_DECL, LDI_FIELD, LDI_NEXT, LDI_FD, LDI_FILENAME): |
| 653 | Delete macros. |
| 654 | (rs6000_ptrace_ldinfo): Change return type to gdb_byte *. |
| 655 | Adjust code accordingly. |
| 656 | (rs6000_core_ldinfo): Delete, folded into |
| 657 | rs6000_aix_core_xfer_shared_libraries_aix. |
| 658 | (rs6000_xfer_shared_library): Delete. |
| 659 | (rs6000_xfer_shared_libraries): Reimplement. |
| 660 | |
| 661 | 2013-05-15 Markus Metzger <markus.t.metzger@intel.com> |
| 662 | |
| 663 | * record.c (record_goto_cmdlist): New. |
| 664 | (cmd_record_goto): Split into this ... |
| 665 | (cmd_record_goto_begin): ... this |
| 666 | (cmd_record_goto_end): ... and this. |
| 667 | (_initialize_record): Change "record goto" to prefix command. |
| 668 | Add commands for "record goto begin" and "record goto end". |
| 669 | Add an alias for "record goto start" to "record goto begin". |
| 670 | |
| 671 | 2013-05-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 672 | |
| 673 | * linespec.c (convert_linespec_to_sals): New comment for |
| 674 | SOURCE_FILENAME assignment. |
| 675 | |
| 676 | 2013-05-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 677 | |
| 678 | * cleanups.c (restore_my_cleanups): Replace gdb_assert by |
| 679 | internal_warning. |
| 680 | |
| 681 | 2013-05-14 Tom Tromey <tromey@redhat.com> |
| 682 | |
| 683 | * eval.c (parse_and_eval_long): Make 'exp' const. |
| 684 | * value.h (parse_and_eval_long): Update. |
| 685 | |
| 686 | 2013-05-14 Tom Tromey <tromey@redhat.com> |
| 687 | |
| 688 | * ui-file.c (gdb_fopen): Make arguments const. |
| 689 | * ui-file.h (gdb_fopen): Make arguments const. |
| 690 | |
| 691 | 2013-05-14 Tom Tromey <tromey@redhat.com> |
| 692 | |
| 693 | * remote.c (remote_set_trace_notes): Make arguments const. |
| 694 | * target.c (update_current_target): Update cast. |
| 695 | * target.h (to_set_trace_notes): Make arguments const. |
| 696 | |
| 697 | 2013-05-14 Tom Tromey <tromey@redhat.com> |
| 698 | |
| 699 | * go32-nat.c (go32_terminal_info): Make 'args' const. |
| 700 | * inferior.h (child_terminal_info): Update. |
| 701 | * inflow.c (child_terminal_info): Make 'args' const. |
| 702 | * target.c (default_terminal_info): Make 'args' const. |
| 703 | (debug_to_terminal_save_ours): Likewise. |
| 704 | * target.h (struct target_ops) <to_terminal_info>: Make argument |
| 705 | const. |
| 706 | |
| 707 | 2013-05-13 Tom Tromey <tromey@redhat.com> |
| 708 | |
| 709 | * gcore.c (create_gcore_bfd): Make 'filename' const. |
| 710 | * gcore.h (create_gcore_bfd): Make 'filename' const. |
| 711 | * record-full.c (record_full_save): Make 'recfilename' const. |
| 712 | * target.c (target_save_record): Make 'filename' const. |
| 713 | * target.h (struct target_ops) <to_save_record>: Make 'filename' |
| 714 | const. |
| 715 | (target_save_record): Likewise. |
| 716 | |
| 717 | 2013-05-13 Tom Tromey <tromey@redhat.com> |
| 718 | |
| 719 | PR gdb/15338: |
| 720 | * dwarf2read.c (dwarf2_record_block_ranges): Ensure that the |
| 721 | ranges section has been read. |
| 722 | |
| 723 | 2013-05-13 Tom Tromey <tromey@redhat.com> |
| 724 | |
| 725 | PR exp/15364: |
| 726 | * eval.c (evaluate_subexp_standard) <STRUCTOP_STRUCT, |
| 727 | STRUCTOP_PTR>: Return a not_lval value for |
| 728 | EVAL_AVOID_SIDE_EFFECTS. |
| 729 | * opencl-lang.c (evaluate_subexp_opencl): Return a not_lval value |
| 730 | for EVAL_AVOID_SIDE_EFFECTS. |
| 731 | |
| 732 | 2013-05-13 Joel Brobecker <brobecker@adacore.com> |
| 733 | |
| 734 | * rs6000-aix-tdep.c (rs6000_push_dummy_call): Convert |
| 735 | floating point registers to register type before storing |
| 736 | value. |
| 737 | * rs6000-lynx178-tdep.c (rs6000_lynx178_push_dummy_call): |
| 738 | Likewise. |
| 739 | |
| 740 | 2013-05-10 Joel Brobecker <brobecker@adacore.com> |
| 741 | Tom Tromey <tromey@redhat.com> |
| 742 | |
| 743 | * common/filestuff.c (mark_fd_no_cloexec, unmark_fd_no_cloexec): |
| 744 | New functions. |
| 745 | * common/filestuff.c (mark_fd_no_cloexec, unmark_fd_no_cloexec): |
| 746 | Declare. |
| 747 | * darwin-nat.c (darwin_pre_ptrace): Use mark_fd_no_cloexec. |
| 748 | (darwin_ptrace_him): Use unmark_fd_no_cloexec. |
| 749 | * inf-ttrace.c (do_cleanup_pfds): Use unmark_fd_no_cloexec. |
| 750 | (inf_ttrace_prepare): Use mark_fd_no_cloexec. |
| 751 | |
| 752 | 2013-05-10 Freddie Chopin <freddie_chopin@op.pl> |
| 753 | Tom Tromey <tromey@redhat.com> |
| 754 | |
| 755 | PR build/15414: |
| 756 | * configure: Rebuild. |
| 757 | * configure.ac (build_warnings): Do not use -Wformat-nonliteral |
| 758 | with -Wno-format. |
| 759 | |
| 760 | 2013-05-10 Pedro Alves <palves@redhat.com> |
| 761 | |
| 762 | * remote.c (_initialize_remote): Fix spelling of |
| 763 | qXfer:traceframe-info:read packet in packet config command. |
| 764 | |
| 765 | 2013-05-10 David Taylor <dtaylor@emc.com> |
| 766 | |
| 767 | PR remote/15455 |
| 768 | |
| 769 | * remote.c (remote_trace_set_readonly_regions): Do not overwrite |
| 770 | "QTro" at start of packet. |
| 771 | |
| 772 | 2013-05-10 Joel Brobecker <brobecker@adacore.com> |
| 773 | |
| 774 | * solib-aix.c (solib_aix_relocate_section_addresses): |
| 775 | For the .bss section action, apply the same offset as |
| 776 | the .data section. |
| 777 | |
| 778 | 2013-05-10 Joel Brobecker <brobecker@adacore.com> |
| 779 | |
| 780 | * solib-aix.c (solib_aix_relocate_section_addresses): |
| 781 | Remove FIXME comment. |
| 782 | |
| 783 | 2013-05-10 Joel Brobecker <brobecker@adacore.com> |
| 784 | |
| 785 | PR tdep/15420: |
| 786 | * sol-thread.c (ps_lgetxregsize, ps_lgetxregs, ps_lsetxregs): |
| 787 | New functions, directly copied from sparc-sol-thread.c. |
| 788 | * sparc-sol-thread.c: Delete. |
| 789 | * configure.ac: Remove code handling sparc-solaris-thread.c. |
| 790 | * configure: Regenerate. |
| 791 | |
| 792 | 2013-05-10 Phil Muldoon <pmuldoon@redhat.com> |
| 793 | |
| 794 | * stack.c (backtrace_command_1): Add "no-filters", and Python frame |
| 795 | filter logic. |
| 796 | (backtrace_command): Add "no-filters" option parsing. |
| 797 | (_initialize_stack): Alter help to reflect "no-filters" option. |
| 798 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-framefilter.o |
| 799 | (SUBDIR_PYTHON_SRCS): Add py-framefilter.c |
| 800 | (py-frame.o): Add target |
| 801 | * data-directory/Makefile.in (PYTHON_DIR): Add Python frame |
| 802 | filter files. |
| 803 | * python/python.h: Add new frame filter constants, and flag enum. |
| 804 | (apply_frame_filter): Add definition. |
| 805 | * python/python.c (apply_frame_filter): New non-Python |
| 806 | enabled function. |
| 807 | * python/py-utils.c (py_xdecref): New function. |
| 808 | (make_cleanup_py_xdecref): Ditto. |
| 809 | * python/py-objfile.c: Declare frame_filters dictionary. |
| 810 | (objfpy_dealloc): Add frame_filters dealloc. |
| 811 | (objfpy_new): Initialize frame_filters attribute. |
| 812 | (objfile_to_objfile_object): Ditto. |
| 813 | (objfpy_get_frame_filters): New function. |
| 814 | (objfpy_set_frame_filters): New function. |
| 815 | * python/py-progspace.c: Declare frame_filters dictionary. |
| 816 | (pspy_dealloc): Add frame_filters dealloc. |
| 817 | (pspy_new): Initialize frame_filters attribute. |
| 818 | (pspacee_to_pspace_object): Ditto. |
| 819 | (pspy_get_frame_filters): New function. |
| 820 | (pspy_set_frame_filters): New function. |
| 821 | * python/py-framefilter.c: New file. |
| 822 | * python/lib/gdb/command/frame_filters.py: New file. |
| 823 | * python/lib/gdb/frames.py: New file. |
| 824 | * python/lib/gdb/__init__.py: Initialize global frame_filters |
| 825 | dictionary |
| 826 | * python/lib/gdb/FrameDecorator.py: New file. |
| 827 | * python/lib/gdb/FrameIterator.py: New file. |
| 828 | * mi/mi-cmds.c (mi_cmds): Add frame filters command. |
| 829 | * mi/mi-cmds.h: Declare. |
| 830 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Add |
| 831 | --no-frame-filter logic, and Python frame filter logic. |
| 832 | (stack_enable_frame_filters): New function. |
| 833 | (parse_no_frame_option): Ditto. |
| 834 | (mi_cmd_stack_list_frames): Add --no-frame-filter and Python frame |
| 835 | filter logic. |
| 836 | (mi_cmd_stack_list_locals): Ditto. |
| 837 | (mi_cmd_stack_list_args): Ditto. |
| 838 | (mi_cmd_stack_list_variables): Ditto. |
| 839 | * NEWS: Add frame filter note. |
| 840 | |
| 841 | 2013-05-09 Doug Evans <dje@google.com> |
| 842 | |
| 843 | * symfile.c (syms_from_objfile_1): Delete args offsets, num_offsets. |
| 844 | All callers updated. |
| 845 | (syms_from_objfile): Ditto. Make static. |
| 846 | (symbol_file_add_with_addrs): Renamed from |
| 847 | symbol_file_add_with_addrs_or_offsets. Delete args offsets, |
| 848 | num_offsets. All callers updated. |
| 849 | * symfile.h (syms_from_objfile): Delete. |
| 850 | |
| 851 | * symfile.c (decrement_reading_symtab): Add assert. |
| 852 | (increment_reading_symtab): Ditto. |
| 853 | |
| 854 | 2013-05-09 Joel Brobecker <brobecker@adacore.com> |
| 855 | |
| 856 | * source.c (forward_search_command): Replace call to getc |
| 857 | by call to fgetc. |
| 858 | (reverse_search_command): Likewise. |
| 859 | |
| 860 | 2013-05-08 Doug Evans <dje@google.com> |
| 861 | |
| 862 | * psymtab.c (expand_symtabs_matching_via_partial): Fix file name |
| 863 | matching test. |
| 864 | |
| 865 | 2013-05-08 Joel Brobecker <brobecker@adacore.com> |
| 866 | |
| 867 | * sol-thread.c (info_cb): Factorize the code a little. |
| 868 | |
| 869 | 2013-05-08 Joel Brobecker <brobecker@adacore.com> |
| 870 | |
| 871 | * sol-thread.c (info_cb): Rework the output of the "maintenance |
| 872 | info sol-threads" command a bit. |
| 873 | |
| 874 | 2013-05-08 Joel Brobecker <brobecker@adacore.com> |
| 875 | |
| 876 | * sol-thread.c (info_cb) [ti.ti_state == TD_THR_SLEEP]: |
| 877 | Replace ti.ti_startfunc by ti.ti_pc. |
| 878 | |
| 879 | 2013-05-08 Joel Brobecker <brobecker@adacore.com> |
| 880 | |
| 881 | * solib-aix.c (solib_aix_free_library_list): New function |
| 882 | for the case where HAVE_LIBEXPAT is not defined. |
| 883 | |
| 884 | 2013-05-07 Sergio Durigan Junior <sergiodj@redhat.com> |
| 885 | |
| 886 | PR breakpoints/15413: |
| 887 | * breakpoint.c (condition_completer): Simplify the code to |
| 888 | disconsider multiple locations of breakpoints when completing the |
| 889 | "condition" command. |
| 890 | |
| 891 | 2013-05-07 Pierre Muller <muller@sourceware.org> |
| 892 | |
| 893 | * common/linux-btrace.c: ARI fix: Include "gdb_wait.h" |
| 894 | instead of <sys/wait.h>. |
| 895 | |
| 896 | 2013-05-07 Pierre Muller <muller@sourceware.org> |
| 897 | |
| 898 | * nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove |
| 899 | trailing new line from warning message. |
| 900 | |
| 901 | 2013-05-07 Pierre Muller <muller@sourceware.org> |
| 902 | |
| 903 | * contrib/ari/gdb_ari.sh (SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK) |
| 904 | (PC_SOLIB): Change type from ari_deprecate to ari_regression. |
| 905 | |
| 906 | 2013-05-07 Joel Brobecker <brobecker@adacore.com> |
| 907 | |
| 908 | * rs6000-nat.c (rs6000_core_ldinfo): Remove '\n' at end of |
| 909 | error message (ARI fix). |
| 910 | |
| 911 | 2013-05-07 Joel Brobecker <brobecker@adacore.com> |
| 912 | |
| 913 | * features/library-list-aix.dtd: Replace library-list by |
| 914 | library-list-aix. |
| 915 | * rs6000-nat.c: Replace library-list by library-list-aix |
| 916 | throughout. |
| 917 | * solib-aix.c: Likewise. |
| 918 | |
| 919 | 2013-05-07 Joel Brobecker <brobecker@adacore.com> |
| 920 | |
| 921 | * target.h (enum target_object) [TARGET_OBJECT_LIBRARIES_AIX]: |
| 922 | Renames TARGET_OBJECT_AIX_LIBRARIES. |
| 923 | * rs6000-nat.c: Replace TARGET_OBJECT_AIX_LIBRARIES with |
| 924 | TARGET_OBJECT_LIBRARIES_AIX throughout. |
| 925 | * solib-aix.c: Likwise. |
| 926 | |
| 927 | 2013-05-07 Yao Qi <yao@codesourcery.com> |
| 928 | |
| 929 | * solib-dsbt.c (struct dsbt_info) <enable_break2_done>: Remove. |
| 930 | (get_dsbt_info, enable_break, dsbt_clear_solib): Update. |
| 931 | |
| 932 | 2013-05-07 Yao Qi <yao@codesourcery.com> |
| 933 | |
| 934 | * solib-dsbt.c (enable_break): Declare. |
| 935 | (dsbt_current_sos): Remove call to enable_break2. |
| 936 | (enable_break2): Rename to enable_break. Set solib breakpoint |
| 937 | on '_dl_debug_state'. |
| 938 | (enable_break): Remove. |
| 939 | |
| 940 | 2013-05-07 Luis Machado <lgustavo@codesourcery.com> |
| 941 | |
| 942 | * ppc-linux-nat.c (ppc_linux_new_thread): Clear the new thread's |
| 943 | debug state prior to replicating existing hardware watchpoints or |
| 944 | breakpoints. |
| 945 | |
| 946 | 2013-05-07 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 947 | |
| 948 | * gcore.c (gcore_create_callback): Ignore sections with |
| 949 | separate_debug_objfile_backlink != NULL. |
| 950 | |
| 951 | 2013-05-06 Sandra Loosemore <sandra@codesourcery.com> |
| 952 | Andrew Jenner <andrew@codesourcery.com> |
| 953 | Chung-Lin Tang <cltang@codesourcery.com> |
| 954 | Julian Brown <julian@codesourcery.com> |
| 955 | |
| 956 | Based on the nios2-elf port from Altera Corporation. |
| 957 | |
| 958 | * Makefile.in (ALL_TARGET_OBS): Add nios2-tdep.o and |
| 959 | nios2-linux-tdep.o. |
| 960 | (HFILES_NO_SRCDIR): Add nios2-tdep.h. |
| 961 | (ALLDEPFILES): Add nios2-tdep.c and nios2-linux-tdep.c. |
| 962 | * configure.tgt: Add nios2*-*-linux* and nios2*-*-* targets. |
| 963 | * nios2-tdep.h: New. |
| 964 | * nios2-tdep.c: New. |
| 965 | * nios2-linux-tdep.c: New. |
| 966 | * features/Makefile (WHICH): Add nios2-linux. |
| 967 | (nios2-linux-expedite): Set. |
| 968 | * features/nios2-cpu.xml: New. |
| 969 | * features/nios2.xml: New. |
| 970 | * features/nios2-linux.xml: New. |
| 971 | * features/nios2.c: New (autogenerated). |
| 972 | * features/nios2-linux.c: New (autogenerated). |
| 973 | * regformats/nios2-linux.dat: New (autogenerated). |
| 974 | * NEWS (Changes since GDB 7.6): Add new Nios II targets |
| 975 | and commands. |
| 976 | |
| 977 | 2013-05-06 Doug Evans <dje@google.com> |
| 978 | |
| 979 | * symfile.c: Whitespace cleanup. |
| 980 | |
| 981 | * solist.h (struct target_so_ops): New member clear_so. |
| 982 | * solib-svr4.c (svr4_clear_so): New function. |
| 983 | (_initialize_svr4_solib): Set svr4_so_ops.clear_so. |
| 984 | * solib.c (clear_so): Renamed from free_so_symbols. |
| 985 | All callers updated. Call target clear_so if it exists. |
| 986 | |
| 987 | 2013-05-06 Tom Tromey <tromey@redhat.com> |
| 988 | |
| 989 | * ada-lang.c (ada_value_primitive_packed_val): Don't |
| 990 | call value_incref. |
| 991 | * value.c (set_value_parent): Incref the new parent and decref |
| 992 | the old parent. |
| 993 | (value_copy, value_primitive_field): Use set_value_parent. |
| 994 | |
| 995 | 2013-05-06 Tom Tromey <tromey@redhat.com> |
| 996 | |
| 997 | * dwarf2loc.c (invalid_synthetic_pointer): Move earlier. |
| 998 | (indirect_pieced_value): Call dwarf2_fetch_constant_bytes |
| 999 | if needed. |
| 1000 | * dwarf2loc.h (dwarf2_fetch_constant_bytes): Declare. |
| 1001 | * dwarf2read.c (write_constant_as_bytes) |
| 1002 | (dwarf2_fetch_constant_bytes): New functions. |
| 1003 | |
| 1004 | 2013-05-06 Tom Tromey <tromey@redhat.com> |
| 1005 | |
| 1006 | * dwarf2read.c (dwarf2_const_value_data): Remove unused |
| 1007 | parameters. |
| 1008 | (dwarf2_const_value_attr): Update. |
| 1009 | |
| 1010 | 2013-05-06 Tom Tromey <tromey@redhat.com> |
| 1011 | |
| 1012 | * somread.c (som_symfile_offsets): Add 'const' to addrs. |
| 1013 | * machoread.c (macho_symfile_offsets): Add 'const' to addrs. |
| 1014 | * xcoffread.c (xcoff_symfile_offsets): Add 'const' to addrs. |
| 1015 | Remove declaration. |
| 1016 | |
| 1017 | 2013-05-06 Tom Tromey <tromey@redhat.com> |
| 1018 | |
| 1019 | * dwarf2read.c (dwarf2_const_value_attr): Use 'obstack', not |
| 1020 | objfile's obstack. |
| 1021 | |
| 1022 | 2013-05-06 Doug Evans <dje@google.com> |
| 1023 | |
| 1024 | * dbxread.c (process_one_symbol): Constify section_offsets parameter. |
| 1025 | * stabsread.h (process_one_symbol): Update declaration. |
| 1026 | * dwarf2read.c (dw2_relocate): Constify new_offsets, delta parameters. |
| 1027 | * elfread.c (elf_symfile_relocate_probe): Ditto. |
| 1028 | * psymtab.c (relocate_psymtabs): Ditto. |
| 1029 | * objfiles.c (objfile_relocate1): Constify new_offsets parameter. |
| 1030 | (objfile_relocate): Ditto. |
| 1031 | * objfiles.h (objfile_relocate): Update declaration. |
| 1032 | * symfile.c (relative_addr_info_to_section_offsets): Constify |
| 1033 | addrs parameter. |
| 1034 | (default_symfile_offsets): Ditto. |
| 1035 | (syms_from_objfile_1): Constify offsets parameter. |
| 1036 | (syms_from_objfile): Ditto. |
| 1037 | (symbol_file_add_with_addrs_or_offsets): Ditto. |
| 1038 | (symfile_map_offsets_to_segments): Constify data parameter. |
| 1039 | * symfile.h (struct quick_symbol_functions): Constify new_offsets, |
| 1040 | delta parameters of member relocate. |
| 1041 | (struct sym_probe_fns): Constify new_offsets, |
| 1042 | delta parameters of member sym_relocate_probe. |
| 1043 | (struct sym_fns): Constify section_addr_info parameter of member |
| 1044 | sym_offsets. |
| 1045 | (relative_addr_info_to_section_offsets): Update declaration. |
| 1046 | (default_symfile_offsets): Ditto. |
| 1047 | (syms_from_objfile): Ditto. |
| 1048 | (symfile_map_offsets_to_segments): Ditto. |
| 1049 | |
| 1050 | * symfile.c (syms_from_objfile_1): Use correct section count when |
| 1051 | objfile->sf == NULL. |
| 1052 | |
| 1053 | 2013-05-06 Mike Frysinger <vapier@gentoo.org> |
| 1054 | |
| 1055 | * common/linux-btrace.c (intel_supports_btrace): Fix indentation. |
| 1056 | |
| 1057 | 2013-05-06 Doug Evans <dje@google.com> |
| 1058 | |
| 1059 | * psympriv.h (struct partial_symtab): Augment comment for member |
| 1060 | section_offsets. |
| 1061 | |
| 1062 | 2013-05-06 Joel Brobecker <brobecker@adacore.com> |
| 1063 | |
| 1064 | Reimplement shared library support on ppc-aix... |
| 1065 | * target.h (TARGET_OBJECT_AIX_LIBRARIES): New target_object enum. |
| 1066 | * features/library-list-aix.dtd: New file. |
| 1067 | * solib-aix.h, solib-aix.c: New file. |
| 1068 | * rs6000-aix-tdep.c: #include "solib.h" and "solib-aix.h". |
| 1069 | (rs6000_find_toc_address_hook): Delete. |
| 1070 | (rs6000_push_dummy_call): Rewrite code setting the TOC value. |
| 1071 | (rs6000_aix_init_osabi): Register solib_aix_so_ops. |
| 1072 | * rs6000-nat.c: Remove "xcoffsolib.h" include. Include |
| 1073 | "xml-utils.h". |
| 1074 | (map_vmap, vmap_exec, vmap_ldinfo, add_vmap, objfile_symbol_add) |
| 1075 | (vmap_symtab, fixup_breakpoints): Delete. |
| 1076 | (rs6000_xfer_shared_libraries): New function. |
| 1077 | (rs6000_xfer_partial): Add TARGET_OBJECT_AIX_LIBRARIES handling. |
| 1078 | (vmap_secs, bss_data_overlap, vmap_add_symbols): Delete. |
| 1079 | (xcoff_relocate_symtab, xcoff_relocate_core): Delete. |
| 1080 | (rs6000_ptrace_ldinfo, rs6000_core_ldinfo) |
| 1081 | (rs6000_xfer_shared_library): New function. |
| 1082 | (find_toc_address): Delete. |
| 1083 | (_initialize_rs6000_nat): Do not set rs6000_find_toc_address_hook. |
| 1084 | * rs6000-tdep.h (rs6000_find_toc_address_hook): Remove. |
| 1085 | * xcoffread.c (record_minimal_symbol): Reloate symbol address |
| 1086 | before creating minimal symbol. Adjust function description |
| 1087 | accordingly. |
| 1088 | (scan_xcoff_symtab): Replace call to |
| 1089 | prim_record_minimal_symbol_and_info by call to |
| 1090 | record_minimal_symbol. |
| 1091 | (xcoff_symfile_offsets): Reimplement mostly as a wrapper |
| 1092 | around default_symfile_offsets. |
| 1093 | * configure.tgt: Add solib-aix.o to gdb_target_obs for |
| 1094 | powerpc-aix targets. |
| 1095 | * config/rs6000/nm-rs6000.h: Delete. |
| 1096 | * config/powerpc/aix.mh (NAT_FILE): Delete. |
| 1097 | (NATDEPFILES): Remove xcoffsolib.o. |
| 1098 | * Makefile.in (XMLFILES): Add library-list-aix.dtd. |
| 1099 | (ALL_TARGET_OBS): Add solib-aix.o. |
| 1100 | (HFILES_NO_SRCDIR): Remove xcoffsolib.h and |
| 1101 | config/rs6000/nm-rs6000.h. Add solib-aix.h. |
| 1102 | (ALLDEPFILES): Add solib-aix.c. Remove xcoffsolib.c. |
| 1103 | * xcoffsolib.h, xcoffsolib.c: Delete. |
| 1104 | |
| 1105 | * solib.c (reload_shared_libraries): Remove reference to |
| 1106 | SOLIB_CREATE_INFERIOR_HOOK. |
| 1107 | * breakpoint.c (handle_solib_event): Remove reference to SOLIB_ADD. |
| 1108 | (disable_breakpoints_in_shlibs): Remove reference to PC_SOLIB. |
| 1109 | (momentary_bkpt_re_set): Replace SOLIB_ADD by solib_add in |
| 1110 | comment. |
| 1111 | * corelow.c (deprecated_core_resize_section_table): Delete. |
| 1112 | * exec.c: Remove include of xcoffsolib.h". |
| 1113 | (map_vmap, vmap): Delete. |
| 1114 | (exec_close_1): Remove references to vmap. |
| 1115 | (exec_file_attach): Remove vmap handling code, and reference |
| 1116 | to DEPRECATED_IBM6000_TARGET. |
| 1117 | (bfdsec_to_vmap): Delete. |
| 1118 | (exec_files_info): Remove block of code handling VMAP. |
| 1119 | * infcmd.c (post_create_inferior): Remove reference to |
| 1120 | SOLIB_CREATE_INFERIOR_HOOK and SOLIB_ADD. |
| 1121 | * infrun.c (follow_exec): Remove reference to |
| 1122 | SOLIB_CREATE_INFERIOR_HOOK. |
| 1123 | * stack.c (print_frame): Remove reference to PC_SOLIB. |
| 1124 | * solib-dsbt.c (dsbt_current_sos): Adjust comment. |
| 1125 | (dsbt_relocate_main_executable): Likewise. |
| 1126 | * solib-frv.c (frv_current_sos): Likewise. |
| 1127 | |
| 1128 | 2013-05-06 Joel Brobecker <brobecker@adacore.com> |
| 1129 | |
| 1130 | * sol-thread.c (rw_common): Cast BUF to "gdb_byte *" in calls |
| 1131 | to target_write_memory and target_read_memory. |
| 1132 | |
| 1133 | 2013-05-06 Joel Brobecker <brobecker@adacore.com> |
| 1134 | |
| 1135 | * darwin-nat.c (darwin_setup_fake_stop_event): New function. |
| 1136 | (darwin_attach): Adjust using darwin_setup_fake_stop_event. |
| 1137 | |
| 1138 | 2013-05-06 Joel Brobecker <brobecker@adacore.com> |
| 1139 | |
| 1140 | * darwin-nat.c: Replace all "%x" instances in format strings |
| 1141 | into "0x%x" throughout. |
| 1142 | |
| 1143 | 2013-05-06 Joel Brobecker <brobecker@adacore.com> |
| 1144 | |
| 1145 | * darwin-nat.c (darwin_mourn_inferior): Replace call to |
| 1146 | gdb_assert by call to MACH_CHECK_ERROR. |
| 1147 | (darwin_attach_pid): Raise an error rather than a failed |
| 1148 | assertion when various system calls failed. Report a warning |
| 1149 | instead of raising a failed assertion when PREV_NOT is not NULL |
| 1150 | after call to mach_port_request_notification. |
| 1151 | (darwin_ptrace_me): Raise an error rather than a failed |
| 1152 | assertion when read returns nonzero. |
| 1153 | |
| 1154 | 2013-05-06 Joel Brobecker <brobecker@adacore.com> |
| 1155 | |
| 1156 | * amd64-darwin-tdep.c: Remove #include "gdb_assert.h". |
| 1157 | |
| 1158 | 2013-05-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 1159 | |
| 1160 | * cleanups.c (restore_my_cleanups): New gdb_assert for SENTINEL_CLEANUP. |
| 1161 | |
| 1162 | 2013-05-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 1163 | |
| 1164 | * event-top.c (display_gdb_prompt): Call missing do_cleanups. |
| 1165 | * infcmd.c (get_return_value) <!stop_regs>: Do not overwrite CLEANUP. |
| 1166 | * symfile.c (symfile_bfd_open): New variable back_to. Do not leave |
| 1167 | a stale cleanup. Fix double free of NAME. |
| 1168 | |
| 1169 | 2013-05-04 Eli Zaretskii <eliz@gnu.org> |
| 1170 | |
| 1171 | * windows-nat.c (windows_delete_thread): Accept an additional |
| 1172 | argument, the thread's exit code, and announce thread death when |
| 1173 | print_thread_events is non-zero and we are deleting a thread that |
| 1174 | is not the main thread. |
| 1175 | (get_windows_debug_event): Pass thread exit code to |
| 1176 | windows_delete_thread. |
| 1177 | |
| 1178 | 2013-05-03 Kevin Buettner <kevinb@redhat.com> |
| 1179 | |
| 1180 | * v850-tdep.c (elf-bfd.h, elf/v850.h): Include. |
| 1181 | (R_149_REGNUM, E_NUM_OF_V850E2_REGS, E_SELID_1_R0_REGNUM) |
| 1182 | (E_SELID_1_R31_REGNUM, E_SELID_2_R0_REGNUM, E_SELID_2_R31_REGNUM) |
| 1183 | (E_SELID_3_R0_REGNUM, E_SELID_3_R31_REGNUM, E_SELID_4_R0_REGNUM) |
| 1184 | (E_SELID_4_R31_REGNUM, E_SELID_5_R0_REGNUM, E_SELID_5_R31_REGNUM) |
| 1185 | (E_SELID_6_R0_REGNUM, E_SELID_6_R31_REGNUM, E_SELID_7_R0_REGNUM, E_SELID_7_R31_REGNUM) |
| 1186 | (E_VR0_REGNUM, E_VR31_REGNUM, E_NUM_OF_V850E3V5_REGS): Define. |
| 1187 | (v850_abi, V850_ABI_GCC, V850_ABI_RH850): New enum and constants. |
| 1188 | (gdbarch_tdep): New struct. |
| 1189 | (v850e2_register_name): Use E_NUM_OF_V850E2_REGS instead of |
| 1190 | E_NUM_REGS. |
| 1191 | (v850e3v5_register_name): New function. |
| 1192 | (v850_register_type): v850e3v5 vector registers are 64-bits wide. |
| 1193 | (v850_use_struct_convention): Add `gdbarch' parameter. Add new |
| 1194 | code handling the struct return conventions for the RH850 ABI. |
| 1195 | Update all callers. |
| 1196 | (v850_eight_byte_align_p): New function. |
| 1197 | (v850_push_call_dummy): Push structs by value, not by reference |
| 1198 | for the RH850 ABI. Add support for eight byte alignment. |
| 1199 | (v850_dbtrap_breakpoint_from_pc): New function. |
| 1200 | (v850_gdbarch_init): Add ABI detection code. Register |
| 1201 | v850e3v5_register_name for the v850e3v5 architecture. Set the |
| 1202 | number of registers for v850e3v5. Register |
| 1203 | v850_dbtrap_breakpoint_from_pc as appropriate. |
| 1204 | (_initialize_gdbarch_init): Registration bfd_arch_v850_rh850. |
| 1205 | |
| 1206 | 2013-05-03 Doug Evans <dje@google.com> |
| 1207 | |
| 1208 | * objfiles.c (objfile_relocate): Use gdb_bfd_count_sections instead |
| 1209 | of bfd_count_sections. |
| 1210 | * solib-target.c (solib_target_relocate_section_addresses): Ditto. |
| 1211 | * symfile.c (default_symfile_offsets): Ditto. |
| 1212 | (syms_from_objfile_1): Ditto. Make dummy addrs list an array of |
| 1213 | one entry, not bfd_count_sections entries. |
| 1214 | |
| 1215 | 2013-05-03 Kevin Buettner <kevinb@redhat.com> |
| 1216 | |
| 1217 | * rl78-tdep.c (rl78_register_reggroup_p): Include SP in the |
| 1218 | `save' and `restore' register groups. Don't include SPL |
| 1219 | or SPH in these groups. |
| 1220 | (rl78_dwarf_reg_to_regnum): Adjust mapping for |
| 1221 | RL78_PC_REGNUM. Add mappings for RL78_PSW_REGNUM, |
| 1222 | RL78_ES_REGNUM, and RL78_CS_REGNUM. |
| 1223 | (rl78_gdbarch_init): Set `dwarf2_addr_size' to 4. Invoke |
| 1224 | dwarf2_append_unwinders(). |
| 1225 | |
| 1226 | 2013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 1227 | |
| 1228 | * break-catch-sig.c (signal_catchpoint_breakpoint_hit): Do not |
| 1229 | ignore SIGINT and SIGTRAP in case these internal signals are |
| 1230 | caught explicitely. |
| 1231 | |
| 1232 | 2013-05-01 Joel Brobecker <brobecker@adacore.com> |
| 1233 | |
| 1234 | * darwin-nat.c (darwin_read_write_inferior): Change types |
| 1235 | of parameters rdaddr and wraddr to "gdb_byte *". Change type |
| 1236 | of copy_count to "mach_msg_type_number_t". |
| 1237 | (darwin_read_dyld_info): Change type of parameter |
| 1238 | rdaddr to "gdb_byte *". |
| 1239 | |
| 1240 | 2013-05-01 Joel Brobecker <brobecker@adacore.com> |
| 1241 | |
| 1242 | * solib-ia64-hpux.c (ia64_hpux_read_dynamic_info): Change cast |
| 1243 | of &info->load_map from "char *" to "gdb_byte *". |
| 1244 | |
| 1245 | 2013-05-01 Joel Brobecker <brobecker@adacore.com> |
| 1246 | |
| 1247 | * ia64-tdep.c (ia64_access_fpreg): Change cast of val |
| 1248 | from "char *" to "gdb_byte *". |
| 1249 | (ia64_access_rse_fpreg, ia64_access_mem): Likewise. |
| 1250 | |
| 1251 | 2013-04-30 Doug Evans <dje@google.com> |
| 1252 | |
| 1253 | * dwarf2read.c (lookup_dwo_unit): Return NULL if DWO not found. |
| 1254 | (init_cutu_and_read_dies): Flag a complaint, not error, for bad |
| 1255 | DWO stub. If DWO isn't found, just use stub. |
| 1256 | (lookup_dwo_cutu): Don't try DWO if there's a DWP file. |
| 1257 | |
| 1258 | * dwarf2read.c (dw2_find_symbol_file): Initialize filename before |
| 1259 | calling init_cutu_and_read_dies. |
| 1260 | |
| 1261 | 2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com> |
| 1262 | |
| 1263 | * target-descriptions.c (maint_print_c_tdesc_cmd): |
| 1264 | Add case to parse structures as register types and |
| 1265 | bitfields. |
| 1266 | |
| 1267 | 2013-04-30 Walfred Tedeschi <walfred.tedeschi@intel.com> |
| 1268 | |
| 1269 | * MAINTAINERS (Write After Approval): Add myself to the list. |
| 1270 | |
| 1271 | 2013-04-30 Joel Brobecker <brobecker@adacore.com> |
| 1272 | |
| 1273 | * sol-thread.c (rw_common): Change type of parameter "buf" |
| 1274 | to "gdb_byte *". |
| 1275 | (ps_pdwrite, ps_ptwrite): Cast parameter "buf" in call to |
| 1276 | rw_common to "gdb_byte *" instead of "char *". |
| 1277 | |
| 1278 | 2013-04-30 Joel Brobecker <brobecker@adacore.com> |
| 1279 | |
| 1280 | * sol-thread.c (info_cb) [ti.ti_startfunc != 0]: Change type |
| 1281 | of local variable msym to const struct bound_minimal_symbol. |
| 1282 | Adjust use accordingly. |
| 1283 | [ti.ti_state == TD_THR_SLEEP]: Likewise. |
| 1284 | |
| 1285 | 2013-04-30 Samuel Thibault <samuel.thibault@gnu.org> |
| 1286 | |
| 1287 | * i386gnu-nat.c (CREG_OFFSET): New macro. |
| 1288 | (creg_offset): New array. |
| 1289 | (CREG_ADDR): Use creg_offset instead of reg_offset. |
| 1290 | |
| 1291 | 2013-04-30 Joel Brobecker <brobecker@adacore.com> |
| 1292 | |
| 1293 | * mep-tdep.c (mep_write_pc): Delete. |
| 1294 | (mep_gdbarch_init): Remove call to set_gdbarch_write_pc. |
| 1295 | Add call to set_gdbarch_pc_regnum. |
| 1296 | |
| 1297 | 2013-04-30 Joel Brobecker <brobecker@adacore.com> |
| 1298 | |
| 1299 | * common/filestuff.c: Replace #include <dirent.h> by |
| 1300 | #include "gdb_dirent.h". |
| 1301 | |
| 1302 | 2013-04-30 Joel Brobecker <brobecker@adacore.com> |
| 1303 | |
| 1304 | * common/filestuff.c: Replace #include <sys/stat.h> by |
| 1305 | #include "gdb_stat.h". |
| 1306 | |
| 1307 | 2013-04-29 Pierre Muller <muller@sourceware.org> |
| 1308 | |
| 1309 | * dwarf2read.c (handle_DW_AT_stmt_list): Avoid ARI warning for |
| 1310 | editCase function rule. |
| 1311 | (get_DW_AT_signature_type): Likewise. |
| 1312 | |
| 1313 | 2013-04-29 Joel Brobecker <brobecker@adacore.com> |
| 1314 | |
| 1315 | * m32r-tdep.c (m32r_write_pc): Delete. |
| 1316 | (m32r_gdbarch_init): Remove call to set_gdbarch_write_pc. |
| 1317 | Add call to set_gdbarch_pc_regnum. |
| 1318 | |
| 1319 | 2013-04-29 Pierre Muller <muller@sourceware.org> |
| 1320 | |
| 1321 | * ./contrib/ari/gdb_ari.sh (editCase rule): Fix spelling error. |
| 1322 | |
| 1323 | 2013-04-29 Joel Brobecker <brobecker@adacore.com> |
| 1324 | |
| 1325 | * dwarf2read.c (get_DW_AT_signature_type): Add ARI marker. |
| 1326 | |
| 1327 | 2013-04-28 Yao Qi <yao@codesourcery.com> |
| 1328 | |
| 1329 | * solib-dsbt.c (fetch_loadmap): Re-indent. |
| 1330 | (displacement_from_map, enable_break2): Likewise. |
| 1331 | (dsbt_relocate_section_addresses): Likewise. |
| 1332 | |
| 1333 | 2013-04-26 Joel Brobecker <brobecker@adacore.com> |
| 1334 | |
| 1335 | GDB 7.6 released. |
| 1336 | |
| 1337 | 2013-04-25 Andreas Kaufmann <Andreas.Kaufmann@synopsys.com> |
| 1338 | |
| 1339 | PR corefiles/14983: |
| 1340 | * dwarf2read.c (process_full_comp_unit): Always create a static |
| 1341 | block. |
| 1342 | |
| 1343 | 2013-04-25 Hui Zhu <hui@codesourcery.com> |
| 1344 | |
| 1345 | * breakpoint.c (build_target_command_list): Change loc->cond_bytecode |
| 1346 | to loc->cmd_bytecode. |
| 1347 | |
| 1348 | 2013-04-24 Doug Evans <dje@google.com> |
| 1349 | |
| 1350 | * dwarf2read.c (setup_type_unit_groups): Fix comment. |
| 1351 | |
| 1352 | 2013-04-22 Keith Seitz <keiths@redhat.com> |
| 1353 | |
| 1354 | * tracepoint.c (trace_save): Call the writer's start method. |
| 1355 | |
| 1356 | 2013-04-24 Muhammad Bilal <mbilal@codesourcery.com> |
| 1357 | |
| 1358 | PR gdb/10462 |
| 1359 | * cli/cli-decode.c (lookup_command): Show an error if there is no space |
| 1360 | before argument. |
| 1361 | |
| 1362 | 2013-04-23 Tom Tromey <tromey@redhat.com> |
| 1363 | |
| 1364 | * common/filestuff.c: Check USE_WIN32API before including |
| 1365 | sys/socket.h. |
| 1366 | (HAVE_F_GETFD): New define. |
| 1367 | (mark_cloexec): Check HAVE_F_GETFD. |
| 1368 | (gdb_open_cloexec): Change 'mode' to unsigned long. |
| 1369 | (gdb_socketpair_cloexec): Check HAVE_SOCKETPAIR. |
| 1370 | (gdb_pipe_cloexec): Check HAVE_PIPE. |
| 1371 | * common/filestuff.h (gdb_open_cloexec): Change 'mode' to unsigned |
| 1372 | long. |
| 1373 | |
| 1374 | 2013-04-23 Hui Zhu <hui@codesourcery.com> |
| 1375 | |
| 1376 | PR gdb/15293 |
| 1377 | * breakpoint.c (bpstat_what): Add BPSTAT_WHAT_SINGLE to bp_dprintf. |
| 1378 | |
| 1379 | 2013-04-23 Hui Zhu <hui@codesourcery.com> |
| 1380 | |
| 1381 | PR gdb/15165 |
| 1382 | * breakpoint.c (dprintf_print_recreate): New. |
| 1383 | (save_breakpoints): Let it not save dprintf commands. |
| 1384 | (initialize_breakpoint_ops): Set dprintf_print_recreate. |
| 1385 | |
| 1386 | 2013-04-22 Tom Tromey <tromey@redhat.com> |
| 1387 | |
| 1388 | PR gdb/7912: |
| 1389 | * Makefile.in (SFILES): Add filestuff.c |
| 1390 | (COMMON_OBS): Add filestuff.o. |
| 1391 | (filestuff.o): New target. |
| 1392 | * auto-load.c (auto_load_objfile_script_1): Use |
| 1393 | gdb_fopen_cloexec. |
| 1394 | * auxv.c (procfs_xfer_auxv): Use gdb_open_cloexec. |
| 1395 | * cli/cli-cmds.c (shell_escape): Call close_most_fds. |
| 1396 | * cli/cli-dump.c (fopen_with_cleanup): Use gdb_fopen_cloexec. |
| 1397 | * common/agent.c (gdb_connect_sync_socket): Use |
| 1398 | gdb_socket_cloexec. |
| 1399 | * common/filestuff.c: New file. |
| 1400 | * common/filestuff.h: New file. |
| 1401 | * common/linux-osdata.c (linux_common_core_of_thread) |
| 1402 | (command_from_pid, commandline_from_pid, print_source_lines) |
| 1403 | (linux_xfer_osdata_shm, linux_xfer_osdata_sem) |
| 1404 | (linux_xfer_osdata_msg, linux_xfer_osdata_modules): Use |
| 1405 | gdb_fopen_cloexec. |
| 1406 | * common/linux-procfs.c (linux_proc_get_int) |
| 1407 | (linux_proc_pid_has_state): Use gdb_fopen_cloexec. |
| 1408 | * config.in, configure: Rebuild. |
| 1409 | * configure.ac: Don't check for sys/socket.h. Check for |
| 1410 | fdwalk, pipe2. |
| 1411 | * corelow.c (core_open): Use gdb_open_cloexec. |
| 1412 | * dwarf2read.c (write_psymtabs_to_index): Use gdb_fopen_cloexec. |
| 1413 | * fork-child.c (fork_inferior): Call close_most_fds. |
| 1414 | * gdb_bfd.c (gdb_bfd_open): Use gdb_open_cloexec. |
| 1415 | * inf-child.c (inf_child_fileio_readlink): Use gdb_open_cloexec. |
| 1416 | * linux-nat.c (linux_nat_thread_name, linux_proc_pending_signals): |
| 1417 | Use gdb_fopen_cloexec. |
| 1418 | (linux_proc_xfer_partial, linux_proc_xfer_spu): Use |
| 1419 | gdb_open_cloexec. |
| 1420 | (linux_async_pipe): Use gdb_pipe_cloexec. |
| 1421 | * remote-fileio.c (remote_fileio_func_open): Use |
| 1422 | gdb_open_cloexec. |
| 1423 | * remote.c (remote_file_put, remote_file_get): Use |
| 1424 | gdb_fopen_cloexec. |
| 1425 | * ser-pipe.c (pipe_open): Use gdb_socketpair_cloexec, |
| 1426 | close_most_fds. |
| 1427 | * ser-tcp.c (net_open): Use gdb_socket_cloexec. |
| 1428 | * ser-unix.c (hardwire_open): Use gdb_open_cloexec. |
| 1429 | * solib.c (solib_find): Use gdb_open_cloexec. |
| 1430 | * source.c (openp, find_and_open_source): Use gdb_open_cloexec. |
| 1431 | * tracepoint.c (tfile_start): Use gdb_fopen_cloexec. |
| 1432 | (tfile_open): Use gdb_open_cloexec. |
| 1433 | * tui/tui-io.c (tui_initialize_io): Use gdb_pipe_cloexec. |
| 1434 | * ui-file.c (gdb_fopen): Use gdb_fopen_cloexec. |
| 1435 | * xml-support.c (xml_fetch_content_from_file): Use |
| 1436 | gdb_fopen_cloexec. |
| 1437 | * main.c (captured_main): Call notice_open_fds. |
| 1438 | |
| 1439 | 2013-04-22 Edjunior Machado <emachado@linux.vnet.ibm.com> |
| 1440 | |
| 1441 | * remote-sim.c (dump_mem): Change the type of 'buf' parameter from |
| 1442 | 'char *' to 'gdb_byte *'. |
| 1443 | (gdbsim_store_register): Change the type of 'tmp' from 'char' to |
| 1444 | 'gdb_byte'. |
| 1445 | |
| 1446 | 2013-04-22 Yao Qi <yao@codesourcery.com> |
| 1447 | |
| 1448 | * infrun.c: Fix typo in comment. |
| 1449 | |
| 1450 | 2013-04-22 Andrew Haley <aph@redhat.com> |
| 1451 | |
| 1452 | * arm-tdep.c (BranchDest): Cast result as "unsigned long", |
| 1453 | instead of "long". |
| 1454 | |
| 1455 | 2013-04-20 Yao Qi <yao@codesourcery.com> |
| 1456 | |
| 1457 | * ctf.c (ctf_fetch_registers): Change the type of 'regs' from |
| 1458 | 'char *' to 'gdb_byte *'. Cast the return value of |
| 1459 | 'bt_ctf_get_char_array' to 'gdb_byte *'. |
| 1460 | |
| 1461 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1462 | |
| 1463 | * configure.ac (build_warnings): Replace -Wno-pointer-sign with |
| 1464 | -Wpointer-sign. |
| 1465 | * configure: Regenerate. |
| 1466 | |
| 1467 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1468 | |
| 1469 | * ser-tcp.c (net_read_prim): Cast second argument to recv to |
| 1470 | 'void *'. |
| 1471 | |
| 1472 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1473 | |
| 1474 | * monitor.c (monitor_write_memory, monitor_write_memory_bytes): |
| 1475 | Change type of 'myaddr' parameter to gdb_byte pointer. |
| 1476 | (monitor_write_memory_longlongs): Likewise. Cast 'myaddr' pointer |
| 1477 | to 'long long' pointer instead of to 'unsigned long long'. |
| 1478 | (monitor_write_memory_block, monitor_read_memory_single) |
| 1479 | (monitor_read_memory): Change type of 'myaddr' parameter to |
| 1480 | gdb_byte pointer. |
| 1481 | |
| 1482 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1483 | |
| 1484 | * record.c (validate_history_size): Make parameter 'setting' |
| 1485 | unsigned. |
| 1486 | |
| 1487 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1488 | |
| 1489 | * ctf.c (ctf_write_uploaded_tsv, ctf_write_uploaded_tp): Add casts |
| 1490 | to 'gdb_byte *'. |
| 1491 | |
| 1492 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1493 | |
| 1494 | * cp-valprint.c (cp_print_class_member): Change type of 'fieldno' |
| 1495 | local to int. |
| 1496 | |
| 1497 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1498 | |
| 1499 | * ada-lang.c (print_it_exception): Add cast to gdb_byte *. |
| 1500 | * ada-tasks.c (read_fat_string_value): Likewise. |
| 1501 | |
| 1502 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1503 | |
| 1504 | * dwarf2-frame.c (execute_cfa_program): Make 'bytes_read' local |
| 1505 | unsigned. Pass 'tmp' to safe_read_uleb128 instead of the signed |
| 1506 | 'offset', and adjust. |
| 1507 | |
| 1508 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1509 | |
| 1510 | * dwarf2read.c (dwarf2_get_dwz_file): Add cast to const char *. |
| 1511 | (read_index_from_section): Add cast to 'char *'. |
| 1512 | |
| 1513 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1514 | |
| 1515 | * xcoffread.c (xcoff_initial_scan): Add cast to 'char *'. |
| 1516 | |
| 1517 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1518 | |
| 1519 | * coff-pe-read.c (read_pe_exported_syms): Handle strings as char. |
| 1520 | |
| 1521 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1522 | |
| 1523 | * record-full.c (record_full_get_bookmark): Change local 'ret' |
| 1524 | type to char * and add cast to gdb_byte *. |
| 1525 | (record_full_goto_bookmark): Handle 'bookmark' argument as a |
| 1526 | string. |
| 1527 | * reverse.c (goto_bookmark_command): Add casts to gdb_byte *. |
| 1528 | |
| 1529 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1530 | |
| 1531 | * python/py-inferior.c (infpy_write_memory): Add cast to gdb_byte |
| 1532 | * python/py-prettyprint.c (print_string_repr): Change type of |
| 1533 | 'output' local to char *. Add cast to gdb_byte * in |
| 1534 | LA_PRINT_STRING call. |
| 1535 | (print_children): Change type of 'output' local to char *. |
| 1536 | * python/py-value.c (valpy_string): Add cast to const char * in |
| 1537 | PyUnicode_Decode call. |
| 1538 | |
| 1539 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1540 | |
| 1541 | * remote-mips.c (mips_cksum): Rename 'data' parameter to 'datastr' |
| 1542 | and change its type to 'const char *'. Adjust. |
| 1543 | (mips_send_packet): Add cast to 'char *', and remove cast to |
| 1544 | 'unsigned char *'. |
| 1545 | (mips_receive_packet): Remove cast to 'unsigned char *'. |
| 1546 | (mips_load_srec): Use bfd_byte. |
| 1547 | (pmon_makeb64, pmon_zeroset): Make 'chksum' parameter unsigned. |
| 1548 | (pmon_checkset): Make 'value' parameter unsigned. |
| 1549 | |
| 1550 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1551 | |
| 1552 | * common/agent.c (agent_run_command): Add cast to gdb_byte *. |
| 1553 | |
| 1554 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1555 | |
| 1556 | * remote.c (remote_write_bytes_aux, compare_sections_command) |
| 1557 | (remote_read_qxfer) |
| 1558 | (remote_search_memory, remote_hostio_pwrite, remote_hostio_pread) |
| 1559 | (remote_hostio_readlink, remote_bfd_iovec_pread) |
| 1560 | (remote_set_trace_notes): Use gdb_byte when RSP buffer is used as |
| 1561 | binary buffer, and char when buffer is used as string. |
| 1562 | * tracepoint.c (encode_source_string, tfile_write_uploaded_tp) |
| 1563 | (trace_save, tfile_open, traceframe_walk_blocks) |
| 1564 | (tfile_fetch_registers): Likewise. |
| 1565 | |
| 1566 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1567 | |
| 1568 | * ser-base.c (ser_base_write): Change prototype -- take 'void *' |
| 1569 | buffer and size_t size. Adjust. |
| 1570 | * ser-base.h (ser_base_write): Adjust. |
| 1571 | * ser-go32.c (cnts): Change type to size_t. |
| 1572 | (dos_write): Change prototype -- take 'void *' |
| 1573 | buffer and size_t size. Adjust. |
| 1574 | (dos_info): Print elements of 'cnts' as unsigned long. |
| 1575 | * serial.c (serial_write): Likewise. |
| 1576 | * serial.h (serial_write): Adjust. |
| 1577 | (struct serial_ops) <write>: Change prototype -- take 'void *' |
| 1578 | buffer and size_t size. Adjust. |
| 1579 | |
| 1580 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1581 | |
| 1582 | * c-lang.c (evaluate_subexp_c): Cast result of obstack_base to |
| 1583 | gdb_byte *. |
| 1584 | * linux-tdep.c (linux_make_mappings_corefile_notes): Likewise. |
| 1585 | |
| 1586 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1587 | |
| 1588 | * alpha-tdep.c (alpha_extract_return_value): Use |
| 1589 | regcache_cooked_read_unsigned to read 'v0'. |
| 1590 | |
| 1591 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1592 | |
| 1593 | * xtensa-tdep.c (execute_l32e, execute_s32e): Change type of |
| 1594 | parameters 'at', 'as' and 'offset' to uint32_t. |
| 1595 | |
| 1596 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1597 | |
| 1598 | * aarch64-tdep.c (aarch64_analyze_prologue): Change type of local |
| 1599 | 'is64' to signed 'int'. |
| 1600 | |
| 1601 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1602 | |
| 1603 | * s390-tdep.c (is_rs, is_rsy, is_rx, is_rxy): Change type of 'd2' |
| 1604 | parameter to int *. |
| 1605 | |
| 1606 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1607 | |
| 1608 | * ppc-linux-tdep.c (ppc_skip_trampoline_code): Change local |
| 1609 | 'insnbuf' buffer type to unsigned int[]. |
| 1610 | |
| 1611 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1612 | |
| 1613 | * mips-tdep.c (mips_read_pc): Change local 'pc' type to LONGEST. |
| 1614 | |
| 1615 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1616 | |
| 1617 | * mep-tdep.c (mep_get_insn): Change 'insn' parameter type to |
| 1618 | unsigned long *. |
| 1619 | |
| 1620 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1621 | |
| 1622 | * alpha-tdep.c (heuristic_fence_post): Change type to int. |
| 1623 | (alpha_heuristic_proc_start): Adjust to check -1 instead of |
| 1624 | UINT_MAX. |
| 1625 | * mips-tdep.c (heuristic_fence_post): Change type to int. |
| 1626 | (heuristic_proc_start): Adjust to check -1 instead of UINT_MAX. |
| 1627 | |
| 1628 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1629 | |
| 1630 | * cris-tdep.c (usr_cmd_cris_version): Make unsigned. |
| 1631 | (struct gdbarch_tdep) <cris_version>: Make unsigned. |
| 1632 | (cris_spec_reg_applicable, cris_gdbarch_init): Adjust locals. |
| 1633 | |
| 1634 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1635 | |
| 1636 | * avr-tdep.c (avr_io_reg_read_command): New local 'bufstr'. Use |
| 1637 | it to get a string view of the byte buffer. |
| 1638 | * i386-cygwin-tdep.c (core_process_module_section): Change local 'buf' |
| 1639 | type to gdb_byte *. Adjust. |
| 1640 | * linux-tdep.c (linux_info_proc, linux_find_memory_regions_full): |
| 1641 | Change local to char *. |
| 1642 | * solib-darwin.c (find_program_interpreter): Change return type to |
| 1643 | char *. Adjust. |
| 1644 | (darwin_solib_get_all_image_info_addr_at_init): Adjust. |
| 1645 | * solib-dsbt.c (enable_break2): Change local 'buf' to char *. |
| 1646 | * solib-frv.c (enable_break2): Change local 'buf' to char *. |
| 1647 | * solib-spu.c (spu_current_sos): Add gdb_byte * cast. |
| 1648 | * solib-svr4.c (find_program_interpreter): Change return type to |
| 1649 | char *. Adjust. |
| 1650 | (enable_break): Change local 'interp_name' to char *. |
| 1651 | * spu-multiarch.c (spu_xfer_partial): Add cast to 'char *'. |
| 1652 | * spu-tdep.c (spu_pseudo_register_read_spu): Add cast to 'char *'. |
| 1653 | (spu_pseudo_register_write_spu): Use char for string buffer. |
| 1654 | Adjust. |
| 1655 | (info_spu_event_command, info_spu_signal_command): Add casts to |
| 1656 | 'char *'. |
| 1657 | |
| 1658 | 2013-04-19 Pedro Alves <palves@redhat.com> |
| 1659 | |
| 1660 | * aarch64-tdep.c (aarch64_default_breakpoint): Change type to |
| 1661 | gdb_byte[]. |
| 1662 | (aarch64_breakpoint_from_pc): Change return type to gdb_byte *. |
| 1663 | * ada-lang.c (ada_value_assign): Use gdb_byte. |
| 1664 | * alphanbsd-tdep.c (sigtramp_retcode): Change type to gdb_byte[]. |
| 1665 | (alphanbsd_sigtramp_offset): Use gdb_byte. |
| 1666 | * arm-linux-tdep.c (arm_linux_arm_le_breakpoint) |
| 1667 | (arm_linux_arm_be_breakpoint, eabi_linux_arm_le_breakpoint) |
| 1668 | (eabi_linux_arm_be_breakpoint, arm_linux_thumb_be_breakpoint) |
| 1669 | (arm_linux_thumb_le_breakpoint, arm_linux_thumb2_be_breakpoint) |
| 1670 | (arm_linux_thumb2_le_breakpoint): Change type to gdb_byte[]. |
| 1671 | * arm-tdep.c (arm_stub_unwind_sniffer) |
| 1672 | (arm_displaced_init_closure): Use gdb_byte. |
| 1673 | (arm_default_arm_le_breakpoint, arm_default_arm_be_breakpoint) |
| 1674 | (arm_default_thumb_le_breakpoint) |
| 1675 | (arm_default_thumb_be_breakpoint): Change type to gdb_byte[]. |
| 1676 | * arm-tdep.h (struct gdbarch_tdep) <arm_breakpoint, |
| 1677 | thumb_breakpoint, thumb2_breakpoint>: Change type to gdb_byte *. |
| 1678 | * arm-wince-tdep.c (arm_wince_le_breakpoint) |
| 1679 | (arm_wince_thumb_le_breakpoint): Change type to gdb_byte[]. |
| 1680 | * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint) |
| 1681 | (arm_nbsd_arm_be_breakpoint, arm_nbsd_thumb_le_breakpoint) |
| 1682 | (arm_nbsd_thumb_be_breakpoint): Change type to gdb_byte[]. |
| 1683 | * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint) |
| 1684 | (arm_obsd_thumb_be_breakpoint): Change type to gdb_byte[]. |
| 1685 | * cris-tdep.c (push_stack_item, cris_push_dummy_call) |
| 1686 | (cris_store_return_value, cris_extract_return_value): Use |
| 1687 | gdb_byte. |
| 1688 | (constraint): Change type of parameter to char * from signed |
| 1689 | char*. Use gdb_byte. |
| 1690 | * dwarf2loc.c (read_pieced_value, write_pieced_value): Change type |
| 1691 | of local buffer to gdb_byte *. |
| 1692 | * dwarf2read.c (read_index_from_section): Use gdb_byte. |
| 1693 | (create_dwp_hash_table): Change type of locals to gdb_byte *. |
| 1694 | (add_address_entry): Change type of local buffer to gdb_byte[]. |
| 1695 | * frv-tdep.c (frv_adjust_breakpoint_address, find_func_descr) |
| 1696 | (frv_push_dummy_call): Use gdb_byte. |
| 1697 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code) |
| 1698 | (hppa_hpux_supply_ss_fpblock, hppa_hpux_supply_ss_wide) |
| 1699 | (hppa_hpux_supply_save_state): Use gdb_byte. |
| 1700 | * hppa-tdep.c (hppa32_push_dummy_call) |
| 1701 | (hppa64_convert_code_addr_to_fptr): Use gdb_byte. |
| 1702 | * ia64-tdep.c (extract_bit_field, replace_bit_field) |
| 1703 | (slotN_contents, replace_slotN_contents): Change type of parameter |
| 1704 | to gdb_byte *. |
| 1705 | (fetch_instruction, ia64_pseudo_register_write) |
| 1706 | (ia64_register_to_value, ia64_value_to_register) |
| 1707 | (ia64_extract_return_value, ia64_store_return_value) |
| 1708 | (ia64_push_dummy_call): Use gdb_byte. |
| 1709 | * m32c-tdep.c (m32c_return_value): Remove cast. |
| 1710 | * m68hc11-tdep.c (m68hc11_pseudo_register_write) |
| 1711 | (m68hc11_push_dummy_call, m68hc11_store_return_value): Use |
| 1712 | gdb_byte. |
| 1713 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Use gdb_byte. |
| 1714 | * mn10300-tdep.c (mn10300_store_return_value) |
| 1715 | (mn10300_breakpoint_from_pc, mn10300_push_dummy_call): Use |
| 1716 | gdb_byte. |
| 1717 | * moxie-tdep.c (moxie_process_readu): Use gdb_byte. |
| 1718 | (moxie_process_record): Remove casts. |
| 1719 | * ppc-ravenscar-thread.c (supply_register_at_address) |
| 1720 | (ppc_ravenscar_generic_store_registers): Use gdb_byte. |
| 1721 | * ravenscar-thread.c (get_running_thread_id): Use gdb_byte. |
| 1722 | * remote-m32r-sdi.c (m32r_fetch_register): Use gdb_byte. |
| 1723 | * remote-mips.c (mips_xfer_memory): Use gdb_byte. |
| 1724 | * remote.c (compare_sections_command): Use gdb_byte. |
| 1725 | * score-tdep.c (score7_free_memblock): Change type of parameter to |
| 1726 | gdb_byte *. |
| 1727 | * sh-tdep.c (sh_justify_value_in_reg): Change return type to |
| 1728 | gdb_byte *. Use gdb_byte. |
| 1729 | (sh_push_dummy_call_fpu): Use gdb_byte. |
| 1730 | (sh_extract_return_value_nofpu, sh_extract_return_value_fpu) |
| 1731 | (sh_store_return_value_nofpu, sh_store_return_value_fpu) |
| 1732 | (sh_register_convert_to_virtual, sh_register_convert_to_raw): |
| 1733 | Change parameter type to 'gdb_byte *'. Use gdb_byte. |
| 1734 | (sh_pseudo_register_read, sh_pseudo_register_write): Use gdb_byte. |
| 1735 | * sh64-tdep.c (sh64_push_dummy_call): Use gdb_byte. |
| 1736 | (sh64_store_return_value, sh64_register_convert_to_virtual): |
| 1737 | Change parameter type to 'gdb_byte *'. Use gdb_byte. |
| 1738 | (sh64_pseudo_register_write): Use gdb_byte. |
| 1739 | * solib-darwin.c (darwin_current_sos): Add casts to 'gdb_byte *'. |
| 1740 | * solib-irix.c (fetch_lm_info): Likewise. Use gdb_byte for byte |
| 1741 | buffer. |
| 1742 | (irix_current_sos): Use gdb_byte. |
| 1743 | * solib-som.c (som_current_sos): Use gdb_byte. |
| 1744 | * sparc-ravenscar-thread.c (supply_register_at_address) |
| 1745 | (sparc_ravenscar_generic_store_registers): Use gdb_byte. |
| 1746 | * spu-multiarch.c (spu_xfer_partial): Add cast to 'char *'. |
| 1747 | * spu-tdep.c (spu_get_overlay_table): Use gdb_byte. |
| 1748 | * tic6x-tdep.c (tic6x_breakpoint_from_pc): Change return type to |
| 1749 | 'gdb_byte *'. |
| 1750 | * tic6x-tdep.h (struct gdbarch_tdep) <breakpoint>: Change type to |
| 1751 | 'gdb_byte *'. |
| 1752 | * tracepoint.c (tfile_fetch_registers): Use gdb_byte. |
| 1753 | * xstormy16-tdep.c (xstormy16_extract_return_value) |
| 1754 | (xstormy16_store_return_value): Change parameter type to |
| 1755 | 'gdb_byte *'. Adjust. |
| 1756 | (xstormy16_push_dummy_call): Use gdb_byte. |
| 1757 | * xtensa-tdep.c (xtensa_scan_prologue, call0_ret) |
| 1758 | (call0_analyze_prologue, execute_code): Use gdb_byte. |
| 1759 | |
| 1760 | 2013-04-19 Vladimir Kargov <kargov@gmail.com> |
| 1761 | Pedro Alves <palves@redhat.com> |
| 1762 | |
| 1763 | * i387-tdep.c (i387_print_float_info): Use gdb_byte for pointer to |
| 1764 | value contents. |
| 1765 | |
| 1766 | 2013-04-17 Doug Evans <dje@google.com> |
| 1767 | |
| 1768 | * dwarf2read.c (struct signatured_type): New member type. |
| 1769 | (struct attribute): Replace member signatured_type with signature. |
| 1770 | (DW_SIGNATURE): Replaces DW_SIGNATURE_TYPE. |
| 1771 | (read_call_site_scope): Call follow_die_ref instead of |
| 1772 | follow_die_ref_or_sig. |
| 1773 | (read_structure_type): Rewrite handling of signatured types. |
| 1774 | (read_enumeration_type): Ditto. |
| 1775 | (read_attribute_value): Update. |
| 1776 | (build_error_marker_type): New function. |
| 1777 | (lookup_die_type): Add assert. Rewrite handling of signatured types. |
| 1778 | Don't call error for bad types, just build an error marker type. |
| 1779 | (dump_die_shallow): Update. |
| 1780 | (follow_die_sig_1): Renamed from follow_die_sig. |
| 1781 | Don't call error for bad types, instead return NULL. |
| 1782 | (follow_die_sig): New function. |
| 1783 | (get_signatured_type, get_DW_AT_signature_type): New functions. |
| 1784 | |
| 1785 | 2013-04-17 Yufeng Zhang <yufeng.zhang@arm.com> |
| 1786 | |
| 1787 | * aarch64-tdep.c (aarch64_write_pc): Removed. |
| 1788 | (aarch64_gdbarch_init): Remove set_gdbarch_write_pc of the above |
| 1789 | function. |
| 1790 | |
| 1791 | 2013-04-17 Yao Qi <yao@codesourcery.com> |
| 1792 | |
| 1793 | * top.c (print_gdb_configuration): Print configure-time |
| 1794 | parameter on using libbabeltrace or not. |
| 1795 | |
| 1796 | 2013-04-16 Pedro Alves <palves@redhat.com> |
| 1797 | |
| 1798 | * copyright.py (EXCLUDE_LIST): Add gdb/common/glibc_thread_db.h. |
| 1799 | |
| 1800 | 2013-04-16 Pedro Alves <palves@redhat.com> |
| 1801 | |
| 1802 | * common/glibc_thread_db.h: Update from upstream glibc |
| 1803 | (git 568035b7874a099087b77f7bba3e36a1173787b0). |
| 1804 | |
| 1805 | 2013-04-16 Pedro Alves <palves@redhat.com> |
| 1806 | |
| 1807 | * common/gdb_thread_db.h [!HAVE_THREAD_DB_H]: Factor out to ... |
| 1808 | * common/glibc_thread_db.h: ... this new file ... |
| 1809 | * common/gdb_thread_db.h [!HAVE_THREAD_DB_H]: ... and include it. |
| 1810 | |
| 1811 | 2013-04-16 Will Newton <will.newton@gmail.com> |
| 1812 | Pedro Alves <palves@redhat.com> |
| 1813 | |
| 1814 | PR build/11881 |
| 1815 | |
| 1816 | * common/gdb_thread_db.h (LIBTHREAD_DB_SO) |
| 1817 | (LIBTHREAD_DB_SEARCH_PATH): Move outside of #ifdef |
| 1818 | HAVE_THREAD_DB_H. |
| 1819 | |
| 1820 | 2013-04-16 Pedro Alves <palves@redhat.com> |
| 1821 | Eli Zaretskii <eliz@gnu.org> |
| 1822 | |
| 1823 | * NEWS: Mention "set foo unlimited". |
| 1824 | |
| 1825 | 2013-04-15 Doug Evans <dje@google.com> |
| 1826 | |
| 1827 | * dwarf2read.c (struct dwo_file): Replace member "cus" with "cu". |
| 1828 | (struct create_dwo_cu_data): Renamed from create_dwo_info_table_data. |
| 1829 | (create_dwo_cu_reader): Renamed from |
| 1830 | create_dwo_debug_info_hash_table_reader. |
| 1831 | (create_dwo_cu): Renamed from create_dwo_debug_info_hash_table. |
| 1832 | Remove support for multiple CUs in a DWO file. |
| 1833 | (open_and_init_dwo_file, lookup_dwo_cutu): Update. |
| 1834 | |
| 1835 | * dwarf2read.c (create_debug_types_hash_table): Use hex_string |
| 1836 | instead of phex. |
| 1837 | (lookup_dwo_unit, create_dwo_debug_info_hash_table_reader): Ditto. |
| 1838 | (create_dwo_in_dwp): Ditto. |
| 1839 | |
| 1840 | 2013-04-15 Tom Tromey <tromey@redhat.com> |
| 1841 | |
| 1842 | * NEWS: Move recent entries into "since 7.6" section. |
| 1843 | |
| 1844 | 2013-04-15 Tom Tromey <tromey@redhat.com> |
| 1845 | |
| 1846 | PR c++/13588: |
| 1847 | * NEWS: Update. |
| 1848 | * break-catch-throw.c (struct exception_catchpoint) |
| 1849 | <exception_rx, pattern>: New fields. |
| 1850 | (fetch_probe_arguments, dtor_exception_catchpoint) |
| 1851 | (check_status_exception_catchpoint) |
| 1852 | (print_one_detail_exception_catchpoint): New functions. |
| 1853 | (handle_gnu_v3_exceptions): Add "except_rx" argument. |
| 1854 | Compile regular expression if needed. |
| 1855 | (extract_exception_regexp): New function. |
| 1856 | (catch_exception_command_1): Use extract_exception_regexp. |
| 1857 | (compute_exception): Use fetch_probe_arguments. |
| 1858 | (initialize_throw_catchpoint_ops): Set dtor, print_one_detail, |
| 1859 | and check_status fields. |
| 1860 | * cp-abi.c (cplus_typename_from_type_info): New function. |
| 1861 | * cp-abi.h (cplus_typename_from_type_info): Declare. |
| 1862 | (struct cp_abi_ops) <get_typename_from_type_info>: New field. |
| 1863 | * gdb_regex.h (compile_rx_or_error): Declare. |
| 1864 | * gnu-v3-abi.c (gnuv3_get_typename_from_type_info): Update |
| 1865 | comment. |
| 1866 | (init_gnuv3_ops): Set get_type_from_type_info field. |
| 1867 | * probe.c (compile_rx_or_error): Move... |
| 1868 | * utils.c (compile_rx_or_error): ... here. |
| 1869 | |
| 1870 | 2013-04-15 Tom Tromey <tromey@redhat.com> |
| 1871 | |
| 1872 | PR c++/15176: |
| 1873 | * NEWS: Update. |
| 1874 | * break-catch-throw.c (compute_exception): New function. |
| 1875 | (exception_funcs): New global. |
| 1876 | (_initialize_break_catch_throw): Create $_exception. |
| 1877 | * cp-abi.c (cplus_type_from_type_info): New function. |
| 1878 | * cp-abi.h (cplus_type_from_type_info): Declare. |
| 1879 | (struct cp_abi_ops) <get_type_from_type_info>: New field. |
| 1880 | * gnu-v3-abi.c (gnuv3_get_typename_from_type_info) |
| 1881 | (gnuv3_get_type_from_type_info): New functions. |
| 1882 | (init_gnuv3_ops): Set get_type_from_type_info ABI field. |
| 1883 | |
| 1884 | 2013-04-15 Tom Tromey <tromey@redhat.com> |
| 1885 | |
| 1886 | * break-catch-throw.c (struct exception_names): New. |
| 1887 | (exception_functions): Change type. |
| 1888 | (re_set_exception_catchpoint): Look for SDT probes. |
| 1889 | |
| 1890 | 2013-04-15 Tom Tromey <tromey@redhat.com> |
| 1891 | |
| 1892 | PR c++/10119: |
| 1893 | * break-catch-throw.c (exception_functions): New global. |
| 1894 | (gnu_v3_exception_catchpoint_ops): Move earlier. |
| 1895 | (struct exception_catchpoint): New. |
| 1896 | (classify_exception_breakpoint): Rewrite. |
| 1897 | (re_set_exception_catchpoint): New function. |
| 1898 | (handle_gnu_v3_exceptions): Return void. Use init_catchpoint. |
| 1899 | Allocate a struct exception_catchpoint. |
| 1900 | (catch_exception_command_1): Update. |
| 1901 | (initialize_throw_catchpoint_ops): Set 're_set' method. |
| 1902 | |
| 1903 | 2013-04-15 Tom Tromey <tromey@redhat.com> |
| 1904 | |
| 1905 | * Makefile.in (SFILES): Add break-catch-throw.c |
| 1906 | (COMMON_OBS): Add break-catch-throw.o. |
| 1907 | * break-catch-throw.c: New file. |
| 1908 | * breakpoint.c: Move exception-catching code to new file. |
| 1909 | (ep_parse_optional_if_clause): No longer static. |
| 1910 | * breakpoint.h (ep_parse_optional_if_clause): Declare. |
| 1911 | |
| 1912 | 2013-04-15 Tom Tromey <tromey@redhat.com> |
| 1913 | |
| 1914 | PR c++/9065: |
| 1915 | * NEWS: Update. |
| 1916 | * breakpoint.c (watchpoint_exp_is_const): Add OP_TYPEID. |
| 1917 | * c-exp.y (TYPEID): New token. |
| 1918 | (exp): Add new TYPEID productions. |
| 1919 | (ident_tokens): Add "typeid". |
| 1920 | * cp-abi.c (cplus_typeid, cplus_typeid_type): New functions. |
| 1921 | * cp-abi.h (cplus_typeid, cplus_typeid_type): Declare. |
| 1922 | (struct cp_abi_ops) <get_typeid, get_typeid_type>: New fields. |
| 1923 | * eval.c (evaluate_subexp_standard) <OP_TYPEID>: New case. |
| 1924 | * expprint.c (dump_subexp_body_standard) <OP_TYPEID>: New |
| 1925 | case. |
| 1926 | * gnu-v3-abi.c (std_type_info_gdbarch_data): New global. |
| 1927 | (build_std_type_info_type, gnuv3_get_typeid_type) |
| 1928 | (gnuv3_get_typeid): New functions. |
| 1929 | (init_gnuv3_ops): Initialize std_type_info_gdbarch_data. Set |
| 1930 | new fields on ABI object. |
| 1931 | * parse.c (operator_length_standard) <OP_TYPEID>: New case. |
| 1932 | * std-operator.def (OP_TYPEID): New. |
| 1933 | |
| 1934 | 2013-04-15 Tom Tromey <tromey@redhat.com> |
| 1935 | |
| 1936 | * elfread.c (elf_symtab_read): Install versioned symbol under |
| 1937 | unversioned name as well. |
| 1938 | |
| 1939 | 2013-04-15 Tom Tromey <tromey@redhat.com> |
| 1940 | |
| 1941 | PR c++/11990: |
| 1942 | * c-lang.c (cplus_language_defn): Use gdb_demangle. |
| 1943 | * c-typeprint.c (c_type_print_base): Use gdb_demangle. |
| 1944 | * cp-support.c (mangled_name_to_comp): Use gdb_demangle. |
| 1945 | (gdb_demangle): New function. |
| 1946 | * cp-support.h (gdb_demangle): Declare. |
| 1947 | * dwarf2read.c (dwarf2_physname, fixup_partial_die) |
| 1948 | (dwarf2_name): Use gdb_demangle. |
| 1949 | * gdbtypes.c (check_stub_method): Use gdb_demangle. |
| 1950 | * gnu-v3-abi.c (gnuv3_rtti_type): Strip @plt and version |
| 1951 | suffixes from name. |
| 1952 | (gnuv3_print_method_ptr): Use gdb_demangle. |
| 1953 | * jv-lang.c (java_demangle): Use gdb_demangle. |
| 1954 | * jv-typeprint.c (java_type_print_base): Use gdb_demangle. |
| 1955 | * language.c (unk_lang_demangle): Use gdb_demangle. |
| 1956 | * symtab.c (symbol_find_demangled_name) |
| 1957 | (demangle_for_lookup): Use gdb_demangle. |
| 1958 | |
| 1959 | 2013-04-15 Tom Tromey <tromey@redhat.com> |
| 1960 | |
| 1961 | PR c++/12824: |
| 1962 | * NEWS: Update. |
| 1963 | * breakpoint.c (enum exception_event_kind) <EX_EVENT_RETHROW>: |
| 1964 | New constant. |
| 1965 | (classify_exception_breakpoint): New function. |
| 1966 | (print_it_exception_catchpoint, print_one_exception_catchpoint) |
| 1967 | (print_mention_exception_catchpoint) |
| 1968 | (print_recreate_exception_catchpoint, handle_gnu_v3_exceptions) |
| 1969 | (catch_exception_command_1): Handle "rethrow" catchpoint. |
| 1970 | (catch_rethrow_command): New function. |
| 1971 | (_initialize_breakpoint): Add "catch rethrow" command. |
| 1972 | |
| 1973 | 2013-04-15 Pierre Muller <muller@sourceware.org> |
| 1974 | |
| 1975 | * contrib/ari/gdb_ari.sh (write_pc rule): Do not consider |
| 1976 | set_gdbarch_write_pc as deprecated anymore. |
| 1977 | |
| 1978 | 2013-04-15 Joel Brobecker <brobecker@adacore.com> |
| 1979 | |
| 1980 | * spu-tdep.c (spu_write_pc): Add empty line after local variable |
| 1981 | declarations. |
| 1982 | |
| 1983 | 2013-04-13 Yao Qi <yao@codesourcery.com> |
| 1984 | |
| 1985 | * ctf.c (_initialize_ctf): Include "completer.h". |
| 1986 | Call add_target_with_completer instead of add_target. |
| 1987 | |
| 1988 | 2013-04-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 1989 | |
| 1990 | Fix GDB regression related to PR binutils/14813. |
| 1991 | * jit.c (mem_bfd_iovec_close): Return 0 for success. |
| 1992 | * minidebug.c (lzma_close): Add return value comment. |
| 1993 | * remote.c (remote_bfd_iovec_close): Return 0 for success. |
| 1994 | * solib-spu.c (spu_bfd_iovec_close): Likewise. |
| 1995 | * spu-linux-nat.c (spu_bfd_iovec_close): Likewise. |
| 1996 | |
| 1997 | 2013-04-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 1998 | |
| 1999 | * config.in: Regenerate. |
| 2000 | |
| 2001 | 2013-04-12 Tom Tromey <tromey@redhat.com> |
| 2002 | |
| 2003 | * dwarf2-frame.c (struct comp_unit) <dwarf_frame_buffer>: Now |
| 2004 | const. |
| 2005 | * dwarf2read.c (struct dwarf2_section_info) <buffer>: Now const. |
| 2006 | (struct die_reader_specs) <buffer>: Likewise. |
| 2007 | (die_reader_func_ftype): Make 'info_ptr' const. |
| 2008 | (struct line_header) <include_dirs, statement_program_start, |
| 2009 | statement_program_end>: Now const. |
| 2010 | (struct file_entry) <name>: Likewise. |
| 2011 | (struct partial_die_info) <sibling>: Likewise. |
| 2012 | (struct dwarf_block) <data>: Likewise. |
| 2013 | (dwarf2_read_section): Remove cast. |
| 2014 | (dwarf2_get_section_info): Make 'bufp' const. |
| 2015 | (read_index_from_section): Constify. |
| 2016 | (dw2_get_file_names_reader): Make 'info_ptr' const. |
| 2017 | (dw2_get_primary_filename_reader): Likewise. |
| 2018 | (read_comp_unit_head): Make 'info_ptr' and return type const. |
| 2019 | (read_and_check_comp_unit_head, read_and_check_type_unit_head): |
| 2020 | Likewise. |
| 2021 | (read_abbrev_offset): Constify. |
| 2022 | (dwarf2_create_include_psymtab): Make 'name' const. |
| 2023 | (create_debug_types_hash_table): Update. |
| 2024 | (read_cutu_die_from_dwo): Make 'result_info_ptr' const. |
| 2025 | (init_cutu_and_read_dies, init_cutu_and_read_dies_no_follow): |
| 2026 | Constify. |
| 2027 | (process_psymtab_comp_unit_reader, build_type_psymtabs_reader) |
| 2028 | (load_partial_comp_unit_reader): Make 'info_ptr' const. |
| 2029 | (read_comp_units_from_section): Constify. |
| 2030 | (peek_abbrev_code, peek_die_abbrev, skip_children, skip_one_die) |
| 2031 | (locate_pdi_sibling, load_full_comp_unit_reader): Make 'info_ptr' |
| 2032 | const. |
| 2033 | (dwarf2_compute_name, setup_type_unit_groups): Constify. |
| 2034 | (create_dwo_debug_info_hash_table): Make 'info_ptr' const. |
| 2035 | (create_dwp_hash_table, dwarf2_ranges_read) |
| 2036 | (dwarf2_record_block_ranges): Constify. |
| 2037 | (read_die_and_children, read_die_and_siblings_1) |
| 2038 | (read_die_and_siblings): Make 'info_ptr' and 'new_info_ptr' |
| 2039 | const. |
| 2040 | (read_full_die_1, read_full_die): Make 'info_ptr' const. |
| 2041 | (abbrev_table_read_table): Constify. |
| 2042 | (load_partial_dies): Make 'info_ptr' const. |
| 2043 | (read_partial_die, read_attribute_value, read_attribute): Make |
| 2044 | 'info_ptr' and return type const. |
| 2045 | (read_address, read_initial_length) |
| 2046 | (read_checked_initial_length_and_offset, read_offset) |
| 2047 | (read_offset_1, read_n_bytes, read_direct_string): Make 'buf' |
| 2048 | const. |
| 2049 | (read_direct_string): Make 'buf' and return type const. |
| 2050 | (read_indirect_string_at_offset, read_indirect_string_from_dwz) |
| 2051 | (read_indirect_string): Make return type const. |
| 2052 | (read_unsigned_leb128, read_signed_leb128): Make 'buf' const. |
| 2053 | (read_addr_index_from_leb128, dwarf2_read_addr_index_reader): Make |
| 2054 | 'info_ptr' const. |
| 2055 | (read_str_index): Make return type const. |
| 2056 | (add_include_dir): Make 'include_dir' const. |
| 2057 | (add_file_name): Make 'name' const. |
| 2058 | (dwarf_decode_line_header): Constify. |
| 2059 | (psymtab_include_file_name): Make return type const. |
| 2060 | (dwarf_decode_lines_1, dwarf_decode_lines): Constify. |
| 2061 | (dwarf2_start_subfile): Make 'filename' const. |
| 2062 | (dwarf2_const_value_attr): Make 'bytes' const. |
| 2063 | (read_signatured_type_reader): Make 'info_ptr' const. |
| 2064 | (decode_locdesc): Constify. |
| 2065 | (skip_form_bytes): Make 'bytes', 'buffer_end', and return type |
| 2066 | const. |
| 2067 | (skip_unknown_opcode): Make 'opcode_definitions', 'mac_ptr', |
| 2068 | 'mac_end', and return type const. |
| 2069 | (dwarf_parse_macro_header): Make 'mac_ptr' and return type const. |
| 2070 | (dwarf_decode_macro_bytes): Make 'mac_ptr', 'mac_end', and return |
| 2071 | type const. |
| 2072 | (per_cu_header_read_in): Constify. |
| 2073 | * symfile.h (dwarf2_get_section_info): Update. |
| 2074 | |
| 2075 | 2013-04-12 Tom Tromey <tromey@redhat.com> |
| 2076 | |
| 2077 | * symtab.h (struct general_symbol_info) <value.bytes>: Make const. |
| 2078 | |
| 2079 | 2013-04-12 Eli Zaretskii <eliz@gnu.org> |
| 2080 | |
| 2081 | * NEWS: Mention "show configuration", --configuration. |
| 2082 | * top.c (print_gdb_configuration): New function, displays the |
| 2083 | details about GDB configure-time parameters. |
| 2084 | (print_gdb_version): Mention "show configuration". |
| 2085 | * cli/cli-cmds.c (show_configuration): New function. |
| 2086 | (_initialize_cli_cmds): Add the "show configuration" command. |
| 2087 | * main.c (captured_main) <print_configuration>: New static var. |
| 2088 | <long_options>: Use it. |
| 2089 | If --configuration was given, call print_gdb_configuration. |
| 2090 | |
| 2091 | 2013-04-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2092 | Pedro Alves <palves@redhat.com> |
| 2093 | |
| 2094 | * Makefile.in (HAVE_NATIVE_GCORE_TARGET): New. |
| 2095 | (generated_files): Add gcore. |
| 2096 | (install-only, uninstall): Add gcore if HAVE_NATIVE_GCORE_TARGET or |
| 2097 | HAVE_NATIVE_GCORE_HOST. |
| 2098 | (gcore): New. |
| 2099 | * NEWS (Changes since GDB 7.6): Mention newly installed gcore. |
| 2100 | * config/alpha/alpha-osf3.mh, config/i386/fbsd.mh, |
| 2101 | config/i386/fbsd64.mh, config/i386/i386gnu.mh, config/i386/i386sol2.mh, |
| 2102 | config/i386/sol2-64.mh, config/mips/irix5.mh, config/mips/irix6.mh, |
| 2103 | config/powerpc/fbsd.mh, config/sparc/fbsd.mh, config/sparc/sol2.mh: |
| 2104 | Add HAVE_NATIVE_GCORE_HOST. |
| 2105 | * configure: Regenerate. |
| 2106 | * configure.ac (HAVE_NATIVE_GCORE_TARGET): New, set it, AC_SUBST it. |
| 2107 | New AC_SUBST fir GDB_TRANSFORM_NAME and GCORE_TRANSFORM_NAME. New |
| 2108 | AC_CONFIG_FILES for gcore. |
| 2109 | * configure.tgt: Add gdb_have_gcore to the initial comment. Set |
| 2110 | gdb_have_gcore. |
| 2111 | * gdb_gcore.sh: Rename to ... |
| 2112 | * gcore.in: ... here. Remove gcore.sh comment. Use GDB_TRANSFORM_NAME |
| 2113 | and GCORE_TRANSFORM_NAME substitutions. |
| 2114 | |
| 2115 | Fix parsing tabs in ${gdb_target_obs}. |
| 2116 | * configure.tgt (gdb_have_gcore): Replace case with for and if. |
| 2117 | |
| 2118 | 2013-04-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2119 | |
| 2120 | * remote.c (unpush_and_perror): Add output message final dot. |
| 2121 | |
| 2122 | 2013-04-11 Yao Qi <yao@codesourcery.com> |
| 2123 | |
| 2124 | * tracepoint.c (tfile_interp_line): Fit parameters line and |
| 2125 | utpp in one line. |
| 2126 | |
| 2127 | 2013-04-10 Joel Brobecker <brobecker@adacore.com> |
| 2128 | |
| 2129 | * solib.c (solib_map_sections): Remove code overwriting |
| 2130 | SO->SO_NAME with the bfd's filename. |
| 2131 | |
| 2132 | 2013-04-10 Pedro Alves <palves@redhat.com> |
| 2133 | |
| 2134 | * cli/cli-decode.c (integer_unlimited_completer): New function. |
| 2135 | (add_setshow_integer_cmd, add_setshow_uinteger_cmd) |
| 2136 | (add_setshow_zuinteger_unlimited_cmd): Install the "unlimited" |
| 2137 | completer. |
| 2138 | * cli/cli-setshow.c: Include "cli/cli-utils.h". |
| 2139 | (is_unlimited_literal): New function. |
| 2140 | (do_set_command): Handle literal "unlimited" arguments. |
| 2141 | * frame.c (_initialize_frame) <set backtrace limit>: Document |
| 2142 | "unlimited". |
| 2143 | * printcmd.c (_initialize_printcmd) <set print |
| 2144 | max-symbolic-offset>: Add help text. |
| 2145 | * record-full.c (_initialize_record_full) <set record full |
| 2146 | insn-number-max>: Likewise. |
| 2147 | * record.c (_initialize_record) <set record |
| 2148 | instruction-history-size, set record function-call-history-size>: |
| 2149 | Add help text. |
| 2150 | * ser-tcp.c (_initialize_ser_tcp) <set tcp connect-timeout>: Add |
| 2151 | help text. |
| 2152 | * tracepoint.c (_initialize_tracepoint) <set trace-buffer-size>: |
| 2153 | Likewise. |
| 2154 | * source.c (_initialize_source) <set listsize>: Add help text. |
| 2155 | * utils.c (initialize_utils) <set height, set width>: Likewise. |
| 2156 | <set pagination>: Mention "set height unlimited". |
| 2157 | * valprint.c (_initialize_valprint) <set print elements, set print |
| 2158 | repeats>: Document "unlimited". |
| 2159 | |
| 2160 | 2013-04-10 Pedro Alves <palves@redhat.com> |
| 2161 | |
| 2162 | * cli/cli-cmds.c (quit_command): Call query_if_trace_running |
| 2163 | instead of disconnect_tracing. |
| 2164 | * infcmd.c (detach_command, disconnect_command): Call |
| 2165 | query_if_trace_running. Adjust. |
| 2166 | * top.c: Include "tracepoint.h". |
| 2167 | (quit_target): Delete. Contents moved ... |
| 2168 | (quit_force): ... here. Wrap each stage of teardown in |
| 2169 | TRY_CATCH. Call disconnect_tracing before detaching. |
| 2170 | |
| 2171 | 2013-04-10 Hui Zhu <hui@codesourcery.com> |
| 2172 | Yao Qi <yao@codesourcery.com> |
| 2173 | |
| 2174 | * configure.ac: Check libbabeltrace is installed. |
| 2175 | * config.in: Regenerate. |
| 2176 | * configure: Regenerate. |
| 2177 | * Makefile.in (LIBBABELTRACE): New. |
| 2178 | (CLIBS): Add LIBBABELTRACE. |
| 2179 | * ctf.c: Include "exec.h". |
| 2180 | (CTF_EVENT_ID_STATUS, CTF_EVENT_ID_TSV_DEF): New macros. |
| 2181 | (CTF_EVENT_ID_TP_DEF, ctf_save_write_int32): New macros. |
| 2182 | (ctf_save_metadata_header): Define new type aliases in |
| 2183 | metadata. |
| 2184 | (ctf_write_header): Define event type "tsv_def" and "tp_def" |
| 2185 | in metadata. Start a new faked packet for trace status. |
| 2186 | (ctf_write_status): Write trace status to CTF. |
| 2187 | (ctf_write_uploaded_tsv): Write TSV to CTF. |
| 2188 | (ctf_write_uploaded_tp): Write tracepoint definition to CTF. |
| 2189 | (ctf_write_definition_end): End the faked packet. |
| 2190 | |
| 2191 | (ctx, ctf_iter, trace_dirname): New. |
| 2192 | (start_pos): New variable. |
| 2193 | (ctf_destroy, ctf_open_dir, ctf_open): New. |
| 2194 | (SET_INT32_FIELD, SET_ARRAY_FIELD, SET_STRING_FIELD): New |
| 2195 | macros. |
| 2196 | (ctf_read_tsv, ctf_read_tp, ctf_close, ctf_files_info): New. |
| 2197 | (ctf_fetch_registers, ctf_xfer_partial): New. |
| 2198 | (ctf_get_trace_state_variable_value): New. |
| 2199 | (ctf_get_tpnum_from_frame_event): New. |
| 2200 | (ctf_get_traceframe_address): New. |
| 2201 | (ctf_trace_find, ctf_has_stack): New. |
| 2202 | (ctf_has_registers, ctf_traceframe_info, init_ctf_ops): New. |
| 2203 | (ctf_get_trace_status, ctf_read_status): New. |
| 2204 | (_initialize_ctf): New. |
| 2205 | * tracepoint.c (get_tracepoint_number): New |
| 2206 | (get_uploaded_tsv): Remove 'static'. |
| 2207 | (struct traceframe_info, trace_regblock_size): Move it to ... |
| 2208 | * tracepoint.h: ... here. |
| 2209 | (get_tracepoint_number): Declare it. |
| 2210 | (get_uploaded_tsv): Declare it. |
| 2211 | |
| 2212 | * NEWS: Mention new configure option. |
| 2213 | |
| 2214 | 2013-04-10 Pedro Alves <palves@redhat.com> |
| 2215 | Hui Zhu <hui@codesourcery.com> |
| 2216 | |
| 2217 | * breakpoint.c (dprintf_re_set): New. |
| 2218 | (initialize_breakpoint_ops): Set dprintf_breakpoint_ops re_set |
| 2219 | to dprintf_re_set. |
| 2220 | |
| 2221 | 2013-04-09 Joel Brobecker <brobecker@adacore.com> |
| 2222 | |
| 2223 | * configure.tgt (gdb_target_obs) <powerpc-*-aix* | rs6000-*-*>: |
| 2224 | Remove solib-svr4.o from the list. |
| 2225 | |
| 2226 | 2013-04-09 Joel Brobecker <brobecker@adacore.com> |
| 2227 | |
| 2228 | * varobj.c (update_dynamic_varobj_children) [!HAVE_PYTHON]: |
| 2229 | Use gdb_assert_not_reached instead of invalid boolean expression. |
| 2230 | |
| 2231 | 2013-04-09 Pedro Alves <palves@redhat.com> |
| 2232 | |
| 2233 | * remote.c (unpush_and_perror): New function. |
| 2234 | (readchar, remote_serial_write): Use it. |
| 2235 | |
| 2236 | 2013-04-09 Markus Metzger <markus.t.metzger@intel.com> |
| 2237 | |
| 2238 | * NEWS: Mention new btrace RSP packets. |
| 2239 | |
| 2240 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 2241 | |
| 2242 | * symmisc.c (dump_msymbols): Cast fprintf_filtered argument to |
| 2243 | long. |
| 2244 | |
| 2245 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 2246 | |
| 2247 | * maint.c (print_bfd_section_info): Print the section index. |
| 2248 | * symmisc.c (dump_msymbols): Print the section index. |
| 2249 | |
| 2250 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 2251 | |
| 2252 | PR symtab/8424: |
| 2253 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Check |
| 2254 | SYMBOL_SECTION, not SYMBOL_OBJ_SECTION. |
| 2255 | * breakpoint.c (resolve_sal_pc): Update. |
| 2256 | * elfread.c (elf_gnu_ifunc_record_cache): Update. |
| 2257 | * findvar.c (struct minsym_lookup_data) <objfile>: New field. |
| 2258 | (minsym_lookup_iterator_cb): Use it. |
| 2259 | (default_read_var_value): Update. |
| 2260 | * hppa-hpux-tdep.c (hppa64_hpux_in_solib_call_trampoline): |
| 2261 | Update. |
| 2262 | * infcmd.c (jump_command): Update. |
| 2263 | * linespec.c (minsym_found): Update. |
| 2264 | * maint.c (maintenance_translate_address): Update. |
| 2265 | * minsyms.c (lookup_minimal_symbol_by_pc_section_1): Update. |
| 2266 | (prim_record_minimal_symbol_full): Don't set SYMBOL_OBJ_SECTION. |
| 2267 | * parse.c (write_exp_msymbol): Update. |
| 2268 | * printcmd.c (address_info): Update. |
| 2269 | * psymtab.c (find_pc_sect_psymbol): Update. |
| 2270 | (fixup_psymbol_section): Check SYMBOL_SECTION, not |
| 2271 | SYMBOL_OBJ_SECTION. |
| 2272 | (add_psymbol_to_bcache): Correctly initialize SYMBOL_SECTION. |
| 2273 | Don't initialize SYMBOL_OBJ_SECTION. |
| 2274 | * spu-tdep.c (spu_catch_start): Update. |
| 2275 | * stabsread.c (define_symbol): Don't set SYMBOL_SECTION. |
| 2276 | * symmisc.c (dump_msymbols, print_symbol): Update. |
| 2277 | * symtab.c (fixup_section): Don't set 'obj_section'. Change |
| 2278 | how fallback section is computed. |
| 2279 | (fixup_symbol_section): Update. |
| 2280 | (find_pc_sect_symtab, find_function_start_sal, skip_prologue_sal): |
| 2281 | Update. |
| 2282 | (allocate_symbol, initialize_symbol, allocate_template_symbol): |
| 2283 | Initialize SYMBOL_SECTION. |
| 2284 | * symtab.h (struct general_symbol_info) <section>: Update comment. |
| 2285 | <obj_section>: Remove. |
| 2286 | (SYMBOL_OBJ_SECTION): Add 'objfile' argument. Rewrite. |
| 2287 | (SYMBOL_OBJFILE): New macro. |
| 2288 | |
| 2289 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 2290 | |
| 2291 | * coffread.c (record_minimal_symbol): Update. |
| 2292 | * dbxread.c (record_minimal_symbol): Update. |
| 2293 | * elfread.c (record_minimal_symbol): Update. |
| 2294 | * machoread.c (macho_symtab_add_minsym): Update. |
| 2295 | * mdebugread.c (record_minimal_symbol, parse_partial_symbols): |
| 2296 | Update. |
| 2297 | * minsyms.c (prim_record_minimal_symbol): Update. |
| 2298 | (prim_record_minimal_symbol_full): Remove 'bfd_section' |
| 2299 | argument. |
| 2300 | (prim_record_minimal_symbol_and_info): Likewise. |
| 2301 | * minsyms.h (prim_record_minimal_symbol_full) |
| 2302 | (prim_record_minimal_symbol_and_info): Update. |
| 2303 | * symtab.c (allocate_symbol, initialize_symbol) |
| 2304 | (allocate_template_symbol): Initialize SYMBOL_SECTION. |
| 2305 | * xcoffread.c (record_minimal_symbol, scan_xcoff_symtab): |
| 2306 | Update. |
| 2307 | |
| 2308 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 2309 | |
| 2310 | PR symtab/8423: |
| 2311 | * solib-som.c (som_solib_section_offsets): Use BFD section |
| 2312 | indices. Set offsets for all sections. |
| 2313 | * somread.c (som_symtab_read): Compute BFD section for |
| 2314 | symbol. Use prim_record_minimal_symbol_and_info. |
| 2315 | (som_symfile_read): Fix comment. |
| 2316 | (struct find_section_offset_arg): New. |
| 2317 | (find_section_offset, set_section_index): New functions. |
| 2318 | (som_symfile_offsets): Use set_section_index to compute |
| 2319 | section indices. |
| 2320 | |
| 2321 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 2322 | |
| 2323 | * coffread.c (cs_to_section): Use gdb_bfd_section_index. |
| 2324 | * elfread.c (record_minimal_symbol, elf_symtab_read): Use |
| 2325 | gdb_bfd_section_index. |
| 2326 | * gdb_bfd.c (gdb_bfd_section_index, gdb_bfd_count_sections): |
| 2327 | New functions. |
| 2328 | * gdb_bfd.h (gdb_bfd_section_index, gdb_bfd_count_sections): |
| 2329 | Declare. |
| 2330 | * machoread.c (macho_symtab_add_minsym, macho_symfile_offsets): |
| 2331 | Update. |
| 2332 | * objfiles.c (add_to_objfile_sections_full): New function. |
| 2333 | (add_to_objfile_sections): Use it. |
| 2334 | (build_section_table): Rewrite. |
| 2335 | (objfile_relocate1): Use gdb_bfd_section_index. Update. |
| 2336 | * objfiles.h (obj_section_offset): Use gdb_bfd_section_index. |
| 2337 | (struct objfile) <sections>: Update comment. |
| 2338 | (ALL_OBJFILE_OSECTIONS): Skip sections where the_bfd_section |
| 2339 | is NULL. |
| 2340 | (ALL_OBJSECTIONS): Use it. |
| 2341 | * solib-dsbt.c (dsbt_relocate_main_executable): Update. |
| 2342 | * solib-frv.c (frv_relocate_main_executable): Update. |
| 2343 | * solib-target.c (solib_target_relocate_section_addresses): |
| 2344 | Use gdb_bfd_section_index. |
| 2345 | * symfile.c (build_section_addr_info_from_section_table): |
| 2346 | Use gdb_bfd_section_index. |
| 2347 | (build_section_addr_info_from_bfd, place_section): Likewise. |
| 2348 | * symtab.c (fixup_section): Update. |
| 2349 | * xcoffread.c (find_targ_sec): Use gdb_bfd_section_index. |
| 2350 | |
| 2351 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 2352 | |
| 2353 | * minsyms.h (struct bound_minimal_symbol): New. |
| 2354 | (lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol. |
| 2355 | Remove objfile argument. |
| 2356 | (lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc): |
| 2357 | Return bound_minimal_symbol. |
| 2358 | * minsyms.c (lookup_minimal_symbol_by_pc_1) |
| 2359 | (lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc): |
| 2360 | Return bound_minimal_symbol. |
| 2361 | (in_gnu_ifunc_stub): Update. |
| 2362 | (lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol. |
| 2363 | Remove 'objfile_p' argument. |
| 2364 | (lookup_solib_trampoline_symbol_by_pc): Update. |
| 2365 | * ada-tasks.c, amd64-windows-tdep.c, arm-tdep.c, |
| 2366 | arm-wince-tdep.c, block.c, blockframe.c, breakpoint.c, btrace.c, |
| 2367 | c-valprint.c, dwarf2loc.c, elfread.c, frame.c, frv-tdep.c, |
| 2368 | glibc-tdep.c, gnu-v2-abi.c, gnu-v3-abi.c, hppa-hpux-tdep.c, |
| 2369 | i386-tdep.c, ia64-tdep.c, infcall.c, infcmd.c, jit.c, |
| 2370 | linux-fork.c, m32c-tdep.c, m68hc11-tdep.c, maint.c, |
| 2371 | mips-tdep.c, p-valprint.c, parse.c, ppc-linux-tdep.c, |
| 2372 | ppc-sysv-tdep.c, printcmd.c, rs6000-tdep.c, sh64-tdep.c, |
| 2373 | stack.c, symtab.c, tui/tui-disasm.c: Update. |
| 2374 | |
| 2375 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 2376 | |
| 2377 | * ada-lang.c (ada_decode_symbol): Check and set 'ada_mangled'. |
| 2378 | Use symbol's obstack, not an objfile. |
| 2379 | * coffread.c (process_coff_symbol): Update. |
| 2380 | * dwarf2read.c (fixup_go_packaging, new_symbol_full): Update. |
| 2381 | * jv-lang.c (add_class_symbol): Update. |
| 2382 | * mdebugread.c (new_symbol): Update. |
| 2383 | * minsyms.c (prim_record_minimal_symbol_full) |
| 2384 | (terminate_minimal_symbol_table): Update. |
| 2385 | * psymtab.c (add_psymbol_to_bcache): Clear entire symbol. Update. |
| 2386 | * stabsread.c (define_symbol, read_enum_type): Update. |
| 2387 | * symtab.c (symbol_set_demangled_name, symbol_get_demangled_name): |
| 2388 | Handle Ada specially. |
| 2389 | (symbol_set_language): Add 'obstack' argument. |
| 2390 | (symbol_set_names): Update. |
| 2391 | (symbol_natural_name, symbol_demangled_name): Always use |
| 2392 | ada_decode_symbol. |
| 2393 | * symtab.h (struct general_symbol_info) |
| 2394 | <language_specific::obstack>: New field. |
| 2395 | <ada_mangled>: New field. |
| 2396 | (SYMBOL_SET_LANGUAGE): Add 'obstack' argument. |
| 2397 | (symbol_set_language): Update. |
| 2398 | |
| 2399 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 2400 | |
| 2401 | * symtab.c (symbol_init_cplus_specific, symbol_set_demangled_name): |
| 2402 | Take an obstack, not an objfile. |
| 2403 | (symbol_set_names): Update. |
| 2404 | * symtab.h (symbol_set_demangled_name): Update. |
| 2405 | |
| 2406 | 2013-04-08 Tom Tromey <tromey@redhat.com> |
| 2407 | |
| 2408 | * coffread.c (process_coff_symbol, coff_read_enum_type): Call |
| 2409 | allocate_symbol. |
| 2410 | * dwarf2read.c (fixup_go_packaging): Call allocate_symbol. |
| 2411 | (read_func_scope): Call allocate_template_symbol. |
| 2412 | (new_symbol_full): Call allocate_symbol. |
| 2413 | * jit.c (finalize_symtab): Call allocate_symbol. |
| 2414 | * jv-lang.c (add_class_symbol): Call allocate_symbol. |
| 2415 | * mdebugread.c (parse_symbol, new_block): Call allocate_symbol. |
| 2416 | * stabsread.c (patch_block_stabs, define_symbol, read_enum_type) |
| 2417 | (common_block_end): Call allocate_symbol. |
| 2418 | * symtab.c (allocate_symbol, initialize_symbol) |
| 2419 | (allocate_template_symbol): New functions. |
| 2420 | * symtab.c (allocate_symbol, initialize_symbol) |
| 2421 | (allocate_template_symbol): Declare. |
| 2422 | * xcoffread.c (process_xcoff_symbol): Call initialize_symbol. |
| 2423 | |
| 2424 | 2013-04-08 Pedro Alves <palves@redhat.com> |
| 2425 | Keith Seitz <keiths@redhat.com> |
| 2426 | |
| 2427 | * breakpoint.c (create_breakpoint): Rename |
| 2428 | "parse_condition_and_thread" parameter to "parse_arg". Update |
| 2429 | describing comment. If !PARSE_ARG, then error out if ARG is not |
| 2430 | the empty string after extracting the location. |
| 2431 | * breakpoint.h (create_breakpoint): Rename |
| 2432 | "parse_condition_and_thread" parameter to "parse_arg". |
| 2433 | |
| 2434 | 2013-04-08 Aleksandar Ristovski <aristovski@qnx.com |
| 2435 | |
| 2436 | * solib-svr4.c (lm_addr_check): Add const qualifier to 'so' arg. |
| 2437 | |
| 2438 | 2013-04-07 Yao Qi <yao@codesourcery.com> |
| 2439 | |
| 2440 | * remote.c (remote_trace_find): Change type of parameters 'addr1' |
| 2441 | and 'addr2' to CORE_ADDR. |
| 2442 | * target.c (update_current_target): Update. |
| 2443 | * target.h (struct target_ops) <to_trace_find>: Change parameter |
| 2444 | type to CORE_ADDR. |
| 2445 | * tracepoint.c (tfind_1): Change type of parameters 'addr1' and |
| 2446 | 'addr2' to CORE_ADDR. |
| 2447 | (tfile_trace_find): Likewise. |
| 2448 | (tfile_get_traceframe_address): Change return type to CORE_ADDR. |
| 2449 | Change local variable 'addr' to type CORE_ADDR. |
| 2450 | * tracepoint.h (tfind_1): Update declaration. |
| 2451 | |
| 2452 | 2013-04-06 Eli Zaretskii <eliz@gnu.org> |
| 2453 | |
| 2454 | * windows-nat.c (windows_get_absolute_argv0): Move from here... |
| 2455 | * mingw-hdep.c (windows_get_absolute_argv0): ...to here. |
| 2456 | Include main.h. |
| 2457 | |
| 2458 | * windows-nat.h (windows_get_absolute_argv0): Move prototype from |
| 2459 | here... |
| 2460 | * main.h (windows_get_absolute_argv0): ...to here. |
| 2461 | |
| 2462 | 2013-04-05 Doug Evans <dje@google.com> |
| 2463 | |
| 2464 | * dwarf2read.c (struct dwarf2_per_objfile): Tweak comment. |
| 2465 | (read_cutu_die_from_dwo): Add comments. |
| 2466 | (read_structure_type): Update comment. |
| 2467 | (read_enumeration_type, read_namespace_type): Update comment. |
| 2468 | (read_die_type, get_die_type_at_offset, get_die_type): Update comment. |
| 2469 | |
| 2470 | 2013-04-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2471 | |
| 2472 | Convert man pages to texinfo, new gdbinit.5 texinfo page. |
| 2473 | * Makefile.in (gdb.z): Remove. |
| 2474 | (install-only): Remove $(man1dir) and gdb.1 installation. |
| 2475 | * gdb.1: Remove. |
| 2476 | |
| 2477 | 2013-04-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2478 | |
| 2479 | Fix compatibility with Linux kernel 3.8.3. |
| 2480 | * linux-tdep.c (linux_find_memory_regions_full): Move variable number |
| 2481 | to more inner block. Remove parsing of NUMBER from outer block. |
| 2482 | Parse NUMBER only if KEYWORD has been identified. |
| 2483 | |
| 2484 | 2013-04-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2485 | |
| 2486 | Fix variable name shadowing. |
| 2487 | * linux-tdep.c (linux_find_memory_regions_full): Rename outer variable |
| 2488 | filename to mapsfilename and update its uses. |
| 2489 | |
| 2490 | 2013-04-05 Eli Zaretskii <eliz@gnu.org> |
| 2491 | |
| 2492 | * Makefile.in (TAGS): Avoid warning from etags when $GDB_NM_FILE is |
| 2493 | empty. See http://sourceware.org/ml/gdb-patches/2012-08/msg00504.html |
| 2494 | and http://sourceware.org/ml/gdb-patches/2013-04/msg00055.html for |
| 2495 | details of the problem. |
| 2496 | |
| 2497 | 2013-04-04 Pedro Alves <palves@redhat.com> |
| 2498 | Hui Zhu <hui@codesourcery.com> |
| 2499 | |
| 2500 | * breakpoint.c (validate_commands_for_breakpoint): If validating a |
| 2501 | tracepoint, reset its STEP_COUNT and call validate_actionline. |
| 2502 | |
| 2503 | 2013-04-03 Doug Evans <dje@google.com> |
| 2504 | |
| 2505 | * dwarf2read.c (read_die_and_siblings_1): Renamed from |
| 2506 | read_die_and_siblings. |
| 2507 | (read_die_and_siblings): New function. |
| 2508 | (read_cutu_die_from_dwo): Dump die if requested. |
| 2509 | (read_die_and_children): Call read_full_die_1 and |
| 2510 | read_die_and_siblings_1. |
| 2511 | (read_full_die): Dump die if requested. |
| 2512 | |
| 2513 | * dwarf2read.c (read_comp_units_from_section): Add debugging printf. |
| 2514 | |
| 2515 | * dwarf2read.c (struct dwo_file): New member comp_dir. |
| 2516 | Rename member name to dwo_name. All uses updated. |
| 2517 | (hash_dwo_file): Include comp_dir in computation. |
| 2518 | (eq_dwo_file): Ditto. |
| 2519 | (lookup_dwo_file_slot): New arg comp_dir. All callers updated. |
| 2520 | (create_dwo_in_dwp, lookup_dwo_in_dwp, open_and_init_dwo_file): Ditto. |
| 2521 | |
| 2522 | * psymtab.c (read_psymtabs_with_fullname): Don't call |
| 2523 | psymtab_to_fullname if the basenames are different. |
| 2524 | |
| 2525 | 2013-04-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2526 | |
| 2527 | * NEWS (Changes in GDB 7.6): Update the data-disassemble for "fullname". |
| 2528 | New entry about "fullname" presence. |
| 2529 | |
| 2530 | 2013-04-03 Pedro Alves <palves@redhat.com> |
| 2531 | |
| 2532 | * NEWS: Mention x86_64/Cygwin as new native configuration. |
| 2533 | |
| 2534 | 2013-04-02 Doug Evans <dje@google.com> |
| 2535 | |
| 2536 | * dwarf2read.c (read_structure_type): Fix typo in comment. |
| 2537 | |
| 2538 | 2013-04-02 Pedro Alves <palves@redhat.com> |
| 2539 | |
| 2540 | * NEWS: Mention "set/show debug aarch64", "set/show debug |
| 2541 | coff-pe-read" and "set/show debug mach-o". |
| 2542 | |
| 2543 | 2013-04-02 Pedro Alves <palves@redhat.com> |
| 2544 | |
| 2545 | * NEWS: Mention "set/show remote trace-buffer-size-packet". |
| 2546 | |
| 2547 | 2013-04-02 Eli Zaretskii <eliz@gnu.org> |
| 2548 | |
| 2549 | * Makefile.in (HFILES_NO_SRCDIR): Remove call-cmds.h. |
| 2550 | gdb_string.h is now in common/. |
| 2551 | |
| 2552 | 2013-04-02 Pedro Alves <palves@redhat.com> |
| 2553 | |
| 2554 | * NEWS: Move "set debug notification" and "set trace-buffer-size" |
| 2555 | under "New options". |
| 2556 | |
| 2557 | 2013-04-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2558 | |
| 2559 | Revert this patch: |
| 2560 | PR gdb/15275 |
| 2561 | * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH. |
| 2562 | |
| 2563 | 2013-04-02 Pedro Alves <palves@redhat.com> |
| 2564 | |
| 2565 | PR gdb/15275 |
| 2566 | |
| 2567 | * remote.c (send_interrupt_sequence): Use remote_serial_write. |
| 2568 | (remote_serial_write): New function. |
| 2569 | (putpkt_binary, getpkt_or_notif_sane_1): Use remote_serial_write. |
| 2570 | |
| 2571 | 2013-04-01 Jiong Wang <jiwang@tilera.com> |
| 2572 | |
| 2573 | * NEWS: Mention TILE-Gx in "New native configurations" and |
| 2574 | "New targets" sections. |
| 2575 | |
| 2576 | 2013-04-01 Doug Evans <dje@google.com> |
| 2577 | |
| 2578 | * dwarf2read.c (lookup_signatured_type_at_offset): Delete. |
| 2579 | (process_enumeration_scope): Simplify. |
| 2580 | |
| 2581 | * dwarf2read.c (struct dwarf2_per_cu_data): Move member |
| 2582 | type_unit_group ... |
| 2583 | (struct signatured_type): ... to here. |
| 2584 | (sig_type_ptr): New typedef. |
| 2585 | (type_unit_group): Delete member 't.first_cu'. Move member 'tus' |
| 2586 | out of union 't'. All uses updated. |
| 2587 | (dw2_get_file_names_reader): Assert not called for a type unit. |
| 2588 | (dw2_get_file_names): Assert not called for a type unit or type |
| 2589 | unit group. |
| 2590 | (build_type_psymtabs_reader): Assert called for a type unit. |
| 2591 | (build_type_psymtab_dependencies): Assert called for a type unit group. |
| 2592 | |
| 2593 | * dwarf2read.c (free_dwo_file): Add comment. |
| 2594 | (dwarf2_per_objfile_free): Unref dwp bfd. |
| 2595 | |
| 2596 | 2013-04-01 Aleksandar Ristovski <aristovski@qnx.com> |
| 2597 | |
| 2598 | * coff-pe-read.c (add_pe_exported_sym): Remove unused 'dll_name_len'. |
| 2599 | (add_pe_forwarded_sym): Remove unused 'section', 'dll_name_len'. |
| 2600 | (read_pe_exported_syms): Remove unused 'exportix'. |
| 2601 | (pe_text_section_offset): Remove unused 'opthdr_ofs', 'num_entries', |
| 2602 | 'export_rva', 'export_size', 'expptr', 'exp_funcbase', 'expdata', |
| 2603 | 'erva', 'name_rvas', 'ordinals', 'nexp', 'ordbase', 'dll_name'. |
| 2604 | |
| 2605 | 2013-04-01 Aleksandar Ristovski <aristovski@qnx.com> |
| 2606 | |
| 2607 | * breakpoint.c (parse_cond_to_aexpr): Remove unused 'old_chain'. |
| 2608 | (print_it_watchpoint): Remove unused 'bl'. |
| 2609 | (say_where): Remove unused 'uiout'. |
| 2610 | (bpstat_remove_breakpoint_callback): Remove unused 'uiout'. |
| 2611 | (bkpt_breakpoint_hit): Remove unused 'b'. |
| 2612 | (internal_bkpt_print_it): Remove unused 'uiout'. |
| 2613 | * buildsym.c (augment_type_symtab): Remove unused 'i'. |
| 2614 | |
| 2615 | 2013-03-31 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
| 2616 | |
| 2617 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_float): New function. |
| 2618 | (ppc64_sysv_abi_push_dummy_call): Handle complex arguments. |
| 2619 | |
| 2620 | 2013-03-29 Doug Evans <dje@google.com> |
| 2621 | |
| 2622 | * dwarf2read.c (open_dwo_file): Renamed from open_dwop_file. |
| 2623 | Delete arg is_dwp. All callers updated. |
| 2624 | (open_dwp_file): New function. |
| 2625 | (open_and_init_dwp_file): Call it. |
| 2626 | (get_dwp_file): New function. |
| 2627 | (lookup_dwo_cutu): Call it. |
| 2628 | |
| 2629 | * dwarf2read.c (open_and_init_dwp_file): Remove incorrect, and |
| 2630 | unnecessary, cleanup. |
| 2631 | |
| 2632 | * dwarf2read.c (lookup_dwo_cutu): Improve complaint text. |
| 2633 | |
| 2634 | * dwarf2read.c (read_cutu_die_from_dwo): New function. |
| 2635 | (lookup_dwo_unit): New function. |
| 2636 | (init_cutu_and_read_dies): Move DWO handling to new functions. |
| 2637 | |
| 2638 | * dwarf2read.c (struct signatured_type): Tweak comment. |
| 2639 | (struct dwo_unit): Tweak comment. |
| 2640 | (create_debug_types_hash_table): Tweak comment. Reformat long line. |
| 2641 | (create_dwo_debug_info_hash_table): Tweak comment. |
| 2642 | (dwarf2_per_cu_offset_and_type): Tweak comment. |
| 2643 | |
| 2644 | * dwarf2read.c (lookup_signatured_type): Remove complaint about |
| 2645 | missing .debug_types section. |
| 2646 | |
| 2647 | 2013-03-29 Yao Qi <yao@codesourcery.com> |
| 2648 | |
| 2649 | * corelow.c: Include "completer.h". |
| 2650 | (_initialize_corelow): Call add_target_with_completer with |
| 2651 | argument 'filename_completer'. |
| 2652 | * tracepoint.c: Likewise. |
| 2653 | * exec.c (_initialize_exec): Likewise. |
| 2654 | * target.c (add_target): Rename to ... |
| 2655 | (add_target_with_completer): ... this. Call set_cmd_completer |
| 2656 | if parameter completer is not NULL. |
| 2657 | (add_target): New. |
| 2658 | * target.h: Include "command.h". |
| 2659 | (add_target_with_completer): Declare it. |
| 2660 | |
| 2661 | 2013-03-28 Joel Brobecker <brobecker@adacore.com> |
| 2662 | |
| 2663 | * coffread.c (is_import_fixup_symbol): New function. |
| 2664 | (record_minimal_symbol): Use is_import_fixup_symbol to |
| 2665 | detect import fixup symbols, and discard them. |
| 2666 | |
| 2667 | 2013-03-28 Doug Evans <dje@google.com> |
| 2668 | |
| 2669 | * dwarf2read.c (create_debug_types_hash_table): Don't allocate the |
| 2670 | types hash table until we know we need it. |
| 2671 | |
| 2672 | * dwarf2read.c (create_addrmap_from_index): Complain about bad CU |
| 2673 | index numbers. |
| 2674 | |
| 2675 | * dwarf2read.c (dw2_get_file_names): Delete arg "objfile". |
| 2676 | All callers updated. |
| 2677 | (dw2_print_stats): Print #read CUs too. |
| 2678 | (dump_die_shallow): Print signatured types better. |
| 2679 | |
| 2680 | * dwarf2read.c (struct dwarf2_per_cu_data): Rename member |
| 2681 | info_or_types_section to section. All uses updated. |
| 2682 | (struct dwo_unit): Ditto. |
| 2683 | |
| 2684 | 2013-03-28 Pedro Alves <palves@redhat.com> |
| 2685 | |
| 2686 | * NEWS (New options): New section. |
| 2687 | (New options): Mention set/show remote trace-status-packet. |
| 2688 | * remote.c (PACKET_qTStatus): New enumeration value. |
| 2689 | (remote_get_trace_status): Skip sending qTStatus if the packet is |
| 2690 | disabled. Use packet_ok. |
| 2691 | (_initialize_remote): Register a configuration command for |
| 2692 | qTStatus packet. |
| 2693 | |
| 2694 | 2013-03-28 Doug Evans <dje@google.com> |
| 2695 | |
| 2696 | * symfile.c (find_separate_debug_file): Add comment. |
| 2697 | (terminate_after_last_dir_separator): Tweak comment. |
| 2698 | |
| 2699 | * dwarf2read.c (create_partial_symtab): Add forward decl. |
| 2700 | (create_partial_symtab): Move to be closer to other psymtab functions. |
| 2701 | (process_psymtab_comp_unit_reader, process_psymtab_comp_unit): Ditto. |
| 2702 | |
| 2703 | * dwarf2read.c (dwarf2_physname): Move declaration to better spot. |
| 2704 | (compute_symtab_includes): Remove unnecessary forward declaration. |
| 2705 | (die_needs_namespace): Add comment marking group of functions for |
| 2706 | dwarf2 name computation. |
| 2707 | |
| 2708 | * typeprint.c (_initialize_typeprint): Improve type help text. |
| 2709 | |
| 2710 | * python/python.c (finish_python_initialization): Provide suggestion |
| 2711 | for how to tell gdb to find its python files. |
| 2712 | |
| 2713 | 2013-03-28 Pedro Alves <palves@redhat.com> |
| 2714 | |
| 2715 | PR gdb/15294 |
| 2716 | |
| 2717 | * source.c (_initialize_source): Change back "set listsize" to an |
| 2718 | integer command. |
| 2719 | |
| 2720 | 2013-03-27 Gareth McMullin <gareth@blacksphere.co.nz> |
| 2721 | |
| 2722 | PR gdb/15275 |
| 2723 | * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH. |
| 2724 | |
| 2725 | 2013-03-27 Pedro Alves <palves@redhat.com> |
| 2726 | |
| 2727 | * top.c (history_size): Rename to ... |
| 2728 | (history_size_setshow_var): ... this. Add comment. |
| 2729 | (show_commands): Use readline's 'history_length' instead of |
| 2730 | computing the history length by calling history_get in a loop. |
| 2731 | (set_history_size_command): Error out for sizes over INT_MAX. |
| 2732 | Restore previous history size on invalid size. |
| 2733 | (init_history): If HISTSIZE is negative, leave the history size as |
| 2734 | zero. Add comments. |
| 2735 | (init_main): Adjust. |
| 2736 | |
| 2737 | 2013-03-27 Pedro Alves <palves@redhat.com> |
| 2738 | |
| 2739 | * coff-pe-read.c (_initialize_coff_pe_read): Rename "set debug |
| 2740 | coff_pe_read" command to "set debug coff-pe-read". |
| 2741 | |
| 2742 | 2013-03-27 Markus Metzger <markus.t.metzger@intel.com> |
| 2743 | |
| 2744 | * record.c (command_size_to_target_size): Fix size comparison. |
| 2745 | Change parameter type from pointer to integer to integer. |
| 2746 | Update all users. |
| 2747 | |
| 2748 | 2013-03-27 Pierre Muller <muller@sourceware.org> |
| 2749 | |
| 2750 | * windows-nat.c (handle_output_debug_string): Avoid typecast |
| 2751 | from integer of different size warning. |
| 2752 | |
| 2753 | 2013-03-26 Joel Brobecker <brobecker@adacore.com> |
| 2754 | |
| 2755 | * windows-nat.c (handle_output_debug_string): Add empty line |
| 2756 | after local block variable definition. |
| 2757 | |
| 2758 | 2013-03-26 Pedro Alves <palves@redhat.com> |
| 2759 | |
| 2760 | * ser-tcp.c (wait_for_connect): Make 'polls' parameter unsigned. |
| 2761 | (net_open): Make 'polls' local unsigned. |
| 2762 | |
| 2763 | 2013-03-26 Pedro Alves <palves@redhat.com> |
| 2764 | |
| 2765 | * remote.c (_initialize_remote): Make "set remoteaddresssize" |
| 2766 | a zuinteger command instead of uinteger. |
| 2767 | |
| 2768 | 2013-03-26 Pedro Alves <palves@redhat.com> |
| 2769 | |
| 2770 | * record-full.c (record_full_insn_num): Make it unsigned. |
| 2771 | (record_full_check_insn_num, record_full_message) |
| 2772 | (record_full_registers_change, record_full_xfer_partial): Remove |
| 2773 | record_full_insn_max_num check (it's always != 0). |
| 2774 | (record_full_info, record_full_restore): Use %u as format string. |
| 2775 | (): Use %u as format string. |
| 2776 | (set_record_full_insn_max_num): Remove record_full_insn_max_num |
| 2777 | check (it's always != 0). |
| 2778 | |
| 2779 | 2013-03-26 Pedro Alves <palves@redhat.com> |
| 2780 | |
| 2781 | * dcache.c (_initialize_dcache): Make the "set dcache line-size" |
| 2782 | and "set dcache size" commands zuinteger instead of uinteger. |
| 2783 | |
| 2784 | 2013-03-26 Pedro Alves <palves@redhat.com> |
| 2785 | |
| 2786 | * cris-tdep.c (_initialize_cris_tdep): Make the "set cris-version" |
| 2787 | command zuinteger instead of uinteger. |
| 2788 | |
| 2789 | 2013-03-26 Pedro Alves <palves@redhat.com> |
| 2790 | |
| 2791 | * coff-pe-read.c (_initialize_coff_pe_read): Make the command |
| 2792 | zuinteger instead of uinteger. |
| 2793 | |
| 2794 | 2013-03-26 Pedro Alves <palves@redhat.com> |
| 2795 | |
| 2796 | * record.c (record_insn_history_size_setshow_var) |
| 2797 | (record_call_history_size_setshow_var): New globals. |
| 2798 | (command_size_to_target_size): New function. |
| 2799 | (cmd_record_insn_history, cmd_record_call_history): Use |
| 2800 | command_size_to_target_size instead of cast. |
| 2801 | (validate_history_size, set_record_insn_history_size) |
| 2802 | (set_record_call_history_size): New functions. |
| 2803 | (_initialize_record): Install set_record_insn_history_size and |
| 2804 | set_record_call_history_size as "set" hooks of "set record |
| 2805 | instruction-history-size" and "set record |
| 2806 | function-call-history-size". |
| 2807 | |
| 2808 | 2013-03-26 Pedro Alves <palves@redhat.com> |
| 2809 | |
| 2810 | * top.c (gdb_rl_operate_and_get_next): Replace max_input_history |
| 2811 | use with history_max_entries use. Remove FIXME note. |
| 2812 | |
| 2813 | 2013-03-26 Markus Metzger <markus.t.metzger@intel.com> |
| 2814 | |
| 2815 | * record-btrace.c (record_btrace_close): Call |
| 2816 | record_btrace_auto_disable. |
| 2817 | |
| 2818 | 2013-03-25 Joel Brobecker <brobecker@adacore.com> |
| 2819 | |
| 2820 | * rs6000-nat.c (fixup_breakpoints): Delete declaration. |
| 2821 | |
| 2822 | 2013-03-25 Doug Evans <dje@google.com> |
| 2823 | |
| 2824 | * contrib/cc-with-tweaks.sh: Check exit code of dwp. |
| 2825 | |
| 2826 | 2013-03-25 Tom Tromey <tromey@redhat.com> |
| 2827 | |
| 2828 | PR symtab/11462: |
| 2829 | * c-exp.y (exp): Add new productions for destructors after '.' and |
| 2830 | '->'. |
| 2831 | (write_destructor_name): New function. |
| 2832 | |
| 2833 | 2013-03-25 Tom Tromey <tromey@redhat.com> |
| 2834 | |
| 2835 | PR c++/9197: |
| 2836 | * opencl-lang.c (evaluate_subexp_opencl) <STRUCTOP_STRUCT>: Use |
| 2837 | value_struct_elt, not lookup_struct_elt_type. |
| 2838 | * eval.c (evaluate_subexp_standard) <STRUCTOP_STRUCT, |
| 2839 | STRUCTOP_PTR>: Use value_struct_elt, not lookup_struct_elt_type. |
| 2840 | * expression.h (EVAL_AVOID_SIDE_EFFECTS): Update comment. |
| 2841 | |
| 2842 | 2013-03-25 Yao Qi <yao@codesourcery.com> |
| 2843 | |
| 2844 | * ctf.c [USE_WIN32API]: Undef 'mkdir' and use 'mkdir' |
| 2845 | instead of '_mkdir'. |
| 2846 | |
| 2847 | 2013-03-23 Eli Zaretskii <eliz@gnu.org> |
| 2848 | |
| 2849 | * windows-nat.c (windows_get_absolute_argv0): New function. |
| 2850 | * windows-nat.h: Add its prototype. |
| 2851 | |
| 2852 | * main.c (get_init_files): Use filename_ncmp instead of strncmp. |
| 2853 | Use IS_DIR_SEPARATOR instead of looking for a character inside |
| 2854 | SLASH_STRING. Include filenames.h. |
| 2855 | (captured_main) [__MINGW32__]: Make argv[0] absolute, so that |
| 2856 | relocate_gdb_directory works when passed gdb_program_name. |
| 2857 | Include windows-nat.h. |
| 2858 | |
| 2859 | 2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2860 | |
| 2861 | * exceptions.h (enum errors): New entry TARGET_CLOSE_ERROR. |
| 2862 | * remote.c (trace_error): Remove the special handling of '2'. |
| 2863 | (readchar) <SERIAL_EOF> |
| 2864 | (readchar) <SERIAL_ERROR> |
| 2865 | (getpkt_or_notif_sane_1): Use TARGET_CLOSE_ERROR for them. |
| 2866 | (remote_get_trace_status): Call throw_exception if EX is |
| 2867 | TARGET_CLOSE_ERROR. |
| 2868 | * utils.c (perror_with_name): Rename to ... |
| 2869 | (throw_perror_with_name): ... here. New parameter errcode, describe it |
| 2870 | in the function comment. |
| 2871 | (perror_with_name): New function wrapper. |
| 2872 | * utils.h (enum errors): New stub declaration. |
| 2873 | (throw_perror_with_name): New declaration. |
| 2874 | |
| 2875 | 2013-03-22 Pedro Alves <palves@redhat.com> |
| 2876 | Yao Qi <yao@codesourcery.com> |
| 2877 | Mark Kettenis <kettenis@gnu.org> |
| 2878 | |
| 2879 | * cli/cli-setshow.c (do_set_command) <var_uinteger>: |
| 2880 | Don't let the user set the value to UINT_MAX directly. |
| 2881 | <var_integer>: Don't let the user set the value to INT_MAX |
| 2882 | directly. |
| 2883 | |
| 2884 | 2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 2885 | |
| 2886 | * remote.c (remote_unpush_target): New function. |
| 2887 | (remote_open_1): Remove two pop_target calls, update one comment, add |
| 2888 | comment to target_preopen call. Replace pop_target call by |
| 2889 | remote_unpush_target call. |
| 2890 | (interrupt_query, readchar, getpkt_or_notif_sane_1): Replace |
| 2891 | pop_target calls by remote_unpush_target calls. |
| 2892 | |
| 2893 | 2013-03-22 Pedro Alves <palves@redhat.com> |
| 2894 | |
| 2895 | * linux-nat.c (linux_child_follow_fork): Don't call |
| 2896 | linux_enable_event_reporting. |
| 2897 | (linux_handle_extended_wait): Don't call |
| 2898 | linux_enable_event_reporting. |
| 2899 | |
| 2900 | 2013-03-22 Pedro Alves <palves@redhat.com> |
| 2901 | |
| 2902 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Define INSN macro, |
| 2903 | use it to rewrite the trampoline buffers with type gdb_byte[], and |
| 2904 | undefine the macro. Remove char* cast. |
| 2905 | |
| 2906 | 2013-03-21 Doug Evans <dje@google.com> |
| 2907 | |
| 2908 | New commands "mt set per-command {space,time,symtab} {on,off}". |
| 2909 | * NEWS: Add entry. |
| 2910 | * event-top.c: #include "maint.h". |
| 2911 | * main.c: #include "maint.h". |
| 2912 | * maint.c: #include <sys/time.h>, <time.h>, block.h, top.h, |
| 2913 | timeval-utils.h, maint.h, cli/cli-setshow.h. |
| 2914 | (per_command_time, per_command_space): New static globals. |
| 2915 | (per_command_symtab): New static global. |
| 2916 | (per_command_setlist, per_command_showlist): New static globals. |
| 2917 | (struct cmd_stats): Move here from utils.c. |
| 2918 | (set_per_command_time): Renamed from set_display_time in utils.c |
| 2919 | and moved here. All callers updated. |
| 2920 | (set_per_command_space): Renamed from set_display_space in utils.c |
| 2921 | and moved here. All callers updated. |
| 2922 | (count_symtabs_and_blocks): New function. |
| 2923 | (report_command_stats): Moved here from utils.c. Add support for |
| 2924 | printing symtab stats. Only print data if enabled before command |
| 2925 | executed. |
| 2926 | (make_command_stats_cleanup): Ditto. |
| 2927 | (sert_per_command_cmd, show_per_command_cmd): New functions. |
| 2928 | (_initialize_maint_cmds): Add new commands |
| 2929 | mt set per-command {space,time,symtab} {on,off}. |
| 2930 | * maint.h: New file. |
| 2931 | * top.c: #include "maint.h". |
| 2932 | * utils.c (reset_prompt_for_continue_wait_time): New function. |
| 2933 | (get_prompt_for_continue_wait_time): New function. |
| 2934 | * utils.h (reset_prompt_for_continue_wait_time): Declare |
| 2935 | (get_prompt_for_continue_wait_time): Declare. |
| 2936 | (make_command_stats_cleanup): Moved to maint.h. |
| 2937 | (set_display_time, set_display_space): Moved to maint.h and renamed |
| 2938 | to set_per_command_time, set_per_command_space. |
| 2939 | * cli/cli-setshow.c (parse_cli_boolean_value): Renamed from |
| 2940 | parse_binary_operation and made non-static. Don't call error, |
| 2941 | just return an error marker. All callers updated. |
| 2942 | * cli/cli-setshow.h (parse_cli_boolean_value): Declare. |
| 2943 | |
| 2944 | 2013-03-21 Tom Tromey <tromey@redhat.com> |
| 2945 | |
| 2946 | * symfile.c (alloc_section_addr_info): Update header. Don't set |
| 2947 | 'num_sections' field. |
| 2948 | (build_section_addr_info_from_section_table): Set 'num_sections'. |
| 2949 | (build_section_addr_info_from_bfd): Likewise. |
| 2950 | (build_section_addr_info_from_objfile): Remove dead loop |
| 2951 | condition. |
| 2952 | (free_section_addr_info): Unconditionally call xfree. |
| 2953 | (relative_addr_info_to_section_offsets, addrs_section_sort) |
| 2954 | (addr_info_make_relative, syms_from_objfile_1): Remove dead loop |
| 2955 | condition. |
| 2956 | (syms_from_objfile_1): Remove dead 'if' condition. Check |
| 2957 | 'num_sections'. |
| 2958 | (add_symbol_file_command): Set 'num_sections'. |
| 2959 | * symfile-mem.c (symbol_file_add_from_memory): Set |
| 2960 | 'num_sections'. |
| 2961 | * somread.c (som_symfile_offsets): Remove dead loop condition. |
| 2962 | * machoread.c (macho_symfile_offsets): Remove dead 'if'. |
| 2963 | * jit.c (jit_bfd_try_read_symtab): Set 'num_sections'. |
| 2964 | |
| 2965 | 2013-03-21 Tom Tromey <tromey@redhat.com> |
| 2966 | |
| 2967 | * tracepoint.h (decode_agent_options): Add 'trace_string' |
| 2968 | argument. |
| 2969 | * tracepoint.c (decode_agent_options): Add 'trace_string' |
| 2970 | argument. |
| 2971 | (validate_actionline): Update. |
| 2972 | (collect_symbol): Add 'trace_string' argument. |
| 2973 | (struct add_local_symbols_data) <trace_string>: New field. |
| 2974 | (do_collect_symbol): Update. |
| 2975 | (add_local_symbols): Add 'trace_string' argument. |
| 2976 | (encode_actions_1): Update. |
| 2977 | (trace_dump_actions): Update. |
| 2978 | * dwarf2loc.c (access_memory): Update. |
| 2979 | * ax.h (struct agent_expr) <tracing, trace_string>: New fields. |
| 2980 | * ax-general.c (new_agent_expr): Update. |
| 2981 | * ax-gdb.h (gen_trace_for_expr, gen_trace_for_var) |
| 2982 | (gen_trace_for_return_address): Add argument. |
| 2983 | (trace_kludge, trace_string_kludge): Remove. |
| 2984 | * ax-gdb.c (trace_kludge, trace_string_kludge): Remove. |
| 2985 | (gen_traced_pop, gen_fetch, gen_bitfield_ref, gen_expr): Update. |
| 2986 | (gen_trace_for_var): Add 'trace_string' argument. |
| 2987 | (gen_trace_for_expr, gen_trace_for_return_address): Likewise. |
| 2988 | (gen_printf, agent_eval_command_one): Update. |
| 2989 | |
| 2990 | 2013-03-21 Tom Tromey <tromey@redhat.com> |
| 2991 | |
| 2992 | PR exp/15109: |
| 2993 | * c-exp.y (yylex): Rewrite to push all tokens onto the FIFO. |
| 2994 | Handle FILENAME token. |
| 2995 | |
| 2996 | 2013-03-21 Tom Tromey <tromey@redhat.com> |
| 2997 | |
| 2998 | * c-exp.y (YYPRINT): Define. |
| 2999 | (c_print_token): New function. |
| 3000 | |
| 3001 | 2013-03-21 Tom Tromey <tromey@redhat.com> |
| 3002 | |
| 3003 | * c-exp.y (%union) <sym, ivar, ivec>: Remove. |
| 3004 | |
| 3005 | 2013-03-21 Yao Qi <yao@codesourcery.com> |
| 3006 | |
| 3007 | * ctf.c: Include "gdb_stat.h". |
| 3008 | [USE_WIN32API]: New macro 'mkdir'. |
| 3009 | (ctf_start): Use permission bits macros if they are defined. |
| 3010 | |
| 3011 | 2013-03-20 Keith Seitz <keiths@redhat.com> |
| 3012 | |
| 3013 | * breakpoint.h (struct breakpoint): Add comment to |
| 3014 | extra_string indicating that this member is mallod'd. |
| 3015 | * breakpoint.c (base_breakpoint_dtor): Free extra_string. |
| 3016 | |
| 3017 | 2013-03-20 Pedro Alves <palves@redhat.com> |
| 3018 | |
| 3019 | PR gdb/15289 |
| 3020 | |
| 3021 | * cli/cli-setshow.c (do_set_command) |
| 3022 | <var_uinteger, var_zuinteger>: Use LONGEST for variable holding |
| 3023 | the result of parsing the command argument. Throw error if the |
| 3024 | value is greater than UINT_MAX. Print the invalid value with |
| 3025 | plongest. |
| 3026 | <var_integer, var_zinteger>: Use LONGEST for variable holding the |
| 3027 | result of parsing the command argument. Throw error if the value |
| 3028 | is greater than INT_MAX, not greater or equal. Also throw error |
| 3029 | if the value is less than INT_MIN. Print the invalid value with |
| 3030 | plongest. |
| 3031 | <var_zuinteger_unlimited>: Throw error if the value is greater |
| 3032 | than INT_MAX, not greater or equal. |
| 3033 | (do_show_command) <var_integer, var_zinteger, |
| 3034 | var_zuinteger_unlimited>: Use %d for printing int, not %u. |
| 3035 | |
| 3036 | 2013-03-20 Tom Tromey <tromey@redhat.com> |
| 3037 | |
| 3038 | * ax-gdb.c (gen_var_ref): Unconditionally call via computed ops, |
| 3039 | if possible. |
| 3040 | * dwarf2read.c (read_func_scope): Remove old FIXME. |
| 3041 | * eval.c (evaluate_subexp_standard): Check SYMBOL_COMPUTED_OPS, |
| 3042 | not LOC_COMPUTED. |
| 3043 | * findvar.c (symbol_read_needs_frame, default_read_var_value): |
| 3044 | Unconditionally call via computed ops, if possible. |
| 3045 | * printcmd.c (address_info): Unconditionally call via computed ops, |
| 3046 | if possible. |
| 3047 | * stack.c (read_frame_arg): Unconditionally call via computed ops, |
| 3048 | if possible. |
| 3049 | * symtab.c (register_symbol_computed_impl): Sanity check 'ops'. |
| 3050 | * tracepoint.c (scope_info): Unconditionally call via computed ops, |
| 3051 | if possible. |
| 3052 | |
| 3053 | 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3054 | Tom Tromey <tromey@redhat.com> |
| 3055 | |
| 3056 | PR symtab/8421: |
| 3057 | * coffread.c (coff_register_index): New global. |
| 3058 | (process_coff_symbol, coff_read_enum_type): Set |
| 3059 | SYMBOL_ACLASS_INDEX. |
| 3060 | (_initialize_coffread): Initialize new global. |
| 3061 | * dwarf2loc.c (locexpr_find_frame_base_location) |
| 3062 | (dwarf2_block_frame_base_locexpr_funcs) |
| 3063 | (loclist_find_frame_base_location) |
| 3064 | (dwarf2_block_frame_base_loclist_funcs): New. |
| 3065 | (dwarf_expr_frame_base_1): Call SYMBOL_BLOCK_OPS, remove internal_error. |
| 3066 | (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Add location_has_loclist. |
| 3067 | * dwarf2loc.h (dwarf2_block_frame_base_locexpr_funcs) |
| 3068 | (dwarf2_block_frame_base_loclist_funcs): New. |
| 3069 | * dwarf2read.c (dwarf2_locexpr_index, dwarf2_loclist_index) |
| 3070 | (dwarf2_locexpr_block_index, dwarf2_loclist_block_index): New |
| 3071 | globals. |
| 3072 | (read_func_scope): Update. |
| 3073 | (fixup_go_packaging, mark_common_block_symbol_computed) |
| 3074 | (var_decode_location, new_symbol_full, dwarf2_const_value): |
| 3075 | Set SYMBOL_ACLASS_INDEX. |
| 3076 | (dwarf2_symbol_mark_computed): Likewise. Add 'is_block' argument. |
| 3077 | (_initialize_dwarf2_read): Initialize new globals. |
| 3078 | * jit.c (finalize_symtab): Set SYMBOL_ACLASS_INDEX. |
| 3079 | * jv-lang.c (add_class_symbol): Set SYMBOL_ACLASS_INDEX. |
| 3080 | * mdebugread.c (mdebug_register_index, mdebug_regparm_index): New |
| 3081 | globals. |
| 3082 | (parse_symbol, psymtab_to_symtab_1): Set SYMBOL_ACLASS_INDEX. |
| 3083 | (_initialize_mdebugread): Initialize new globals. |
| 3084 | * psympriv.h (struct partial_symbol) <aclass>: Update comment. |
| 3085 | * stabsread.c (patch_block_stabs): Set SYMBOL_ACLASS_INDEX. |
| 3086 | (stab_register_index, stab_regparm_index): New globals. |
| 3087 | (define_symbol, read_enum_type, common_block_end): Set |
| 3088 | SYMBOL_ACLASS_INDEX. |
| 3089 | (_initialize_stabsread): Initialize new globals. |
| 3090 | * symtab.c (next_aclass_value, symbol_impl, symbol_impls): New |
| 3091 | globals. |
| 3092 | (MAX_SYMBOL_IMPLS): New define. |
| 3093 | (register_symbol_computed_impl, register_symbol_block_impl) |
| 3094 | (register_symbol_register_impl) |
| 3095 | (initialize_ordinary_address_classes): New functions. |
| 3096 | (_initialize_symtab): Call initialize_ordinary_address_classes. |
| 3097 | * symtab.h (enum address_class) <LOC_FINAL_VALUE>: New constant. |
| 3098 | (struct symbol_impl): New. |
| 3099 | (SYMBOL_ACLASS_BITS): New define. |
| 3100 | (struct symbol) <aclass, ops>: Remove fields. |
| 3101 | <aclass_index>: New field. |
| 3102 | (symbol_impls): Declare. |
| 3103 | (SYMBOL_CLASS, SYMBOL_COMPUTED_OPS, SYMBOL_REGISTER_OPS): Redefine. |
| 3104 | (SYMBOL_IMPL, SYMBOL_ACLASS_INDEX): New defines. |
| 3105 | (register_symbol_computed_impl, register_symbol_block_impl) |
| 3106 | (register_symbol_register_impl): Declare. |
| 3107 | (struct symbol_computed_ops): Add location_has_loclist. |
| 3108 | (struct symbol_block_ops): New. |
| 3109 | (SYMBOL_BLOCK_OPS): New. |
| 3110 | * xcoffread.c (process_xcoff_symbol): Set SYMBOL_ACLASS_INDEX. |
| 3111 | |
| 3112 | 2013-03-20 Tom Tromey <tromey@redhat.com> |
| 3113 | |
| 3114 | * psymtab.c (find_pc_sect_psymbol, fixup_psymbol_section) |
| 3115 | (print_partial_symbols, recursively_search_psymtabs): Use |
| 3116 | PSYMBOL_CLASS. |
| 3117 | |
| 3118 | 2013-03-20 Pierre Muller <muller@sourceware.org> |
| 3119 | |
| 3120 | * contrib/ari/gdb_ari.sh (OP eol rule): Also check |
| 3121 | addtion, subtraction, multiplication and division binary operator. |
| 3122 | |
| 3123 | 2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3124 | |
| 3125 | Code cleanup. |
| 3126 | * bfd-target.c (target_bfd_xclose): Remove parameter quitting. |
| 3127 | * bsd-kvm.c (bsd_kvm_close): Likewise. |
| 3128 | * bsd-uthread.c (bsd_uthread_close): Likewise. |
| 3129 | * corelow.c (core_close): Likewise. |
| 3130 | (core_close_cleanup): Remove parameter quitting from a caller. |
| 3131 | * event-top.c (async_disconnect): Likewise. |
| 3132 | * exec.c (exec_close_1): Remove parameter quitting. |
| 3133 | * go32-nat.c (go32_close): Likewise. |
| 3134 | * linux-nat.c (linux_nat_close): Remove parameter quitting. Remove |
| 3135 | parameter quitting from a caller. |
| 3136 | * mips-linux-nat.c (super_close): Remove parameter quitting from the |
| 3137 | variable. |
| 3138 | (mips_linux_close): Remove parameter quitting. Remove parameter |
| 3139 | quitting from a caller. |
| 3140 | * monitor.c (monitor_close): Remove parameter quitting. |
| 3141 | * monitor.h (monitor_close): Likewise. |
| 3142 | * record-btrace.c (record_btrace_close): Likewise. |
| 3143 | * record-full.c (record_full_close): Likewise. |
| 3144 | * remote-m32r-sdi.c (m32r_close): Remove parameter quitting and remove |
| 3145 | it also from fprintf_unfiltered. |
| 3146 | * remote-mips.c (mips_close): Remove parameter quitting. |
| 3147 | (mips_detach): Remove parameter quitting from a caller. |
| 3148 | * remote-sim.c (gdbsim_close): Remove parameter quitting. |
| 3149 | (gdbsim_close): Remove duplicate function comment. Remove parameter |
| 3150 | quitting and remove it also from printf_filtered. |
| 3151 | * remote.c (remote_close): Remove parameter quitting. |
| 3152 | * solib-svr4.c (enable_break): Remove parameter quitting from a caller. |
| 3153 | * target.c (update_current_target): Remove parameter int from to_close |
| 3154 | de_fault. |
| 3155 | (push_target, unpush_target, pop_target): Remove parameter quitting from |
| 3156 | a caller. |
| 3157 | (pop_all_targets_above, pop_all_targets): Remove parameter quitting. |
| 3158 | Remove parameter quitting from a caller. |
| 3159 | (target_preopen): Remove parameter quitting from a caller. |
| 3160 | (target_close): Remove parameter quitting. Remove parameter quitting |
| 3161 | from a caller two times. Remove parameter quitting also from |
| 3162 | fprintf_unfiltered. |
| 3163 | * target.h (struct target_ops): Remove parameter quitting and as int |
| 3164 | from fields to_xclose and to_close. |
| 3165 | (extern struct target_ops current_target): |
| 3166 | (target_close, pop_all_targets): Remove parameter quitting. Update the |
| 3167 | comment. |
| 3168 | (pop_all_targets_above): Remove parameter quitting. |
| 3169 | * top.c (quit_target): Remove parameter quitting from a caller. |
| 3170 | * tracepoint.c (tfile_close): Remove parameter quitting. |
| 3171 | * windows-nat.c (windows_close): Remove parameter quitting. |
| 3172 | |
| 3173 | 2013-03-20 Corinna Vinschen <vinschen@redhat.com> |
| 3174 | |
| 3175 | * windows-nat.c (handle_output_debug_string): Replace call |
| 3176 | to string_to_core_addr with call to strtoull. |
| 3177 | |
| 3178 | 2013-03-20 Yao Qi <yao@codesourcery.com> |
| 3179 | |
| 3180 | * ctf.c (ctf_save_metadata_header): Define macro HOST_ENDIANNESS |
| 3181 | and write it to CTF metadata. |
| 3182 | |
| 3183 | 2013-03-19 Corinna Vinschen <vinschen@redhat.com> |
| 3184 | |
| 3185 | * windows-nat.c (handle_output_debug_string): Change type of n to |
| 3186 | SIZE_T to avoid crash on 64 bit systems. |
| 3187 | |
| 3188 | 2013-03-17 Eli Zaretskii <eliz@gnu.org> |
| 3189 | |
| 3190 | * python/python-internal.h (HAVE_SNPRINTF) |
| 3191 | [_WIN32 && HAVE_DECL_SNPRINTF]: Define, to avoid compiler warnings |
| 3192 | about redefinition of snprintf by pyerrors.h. |
| 3193 | |
| 3194 | 2013-03-15 Steve Ellcey <sellcey@mips.com> |
| 3195 | |
| 3196 | * remote-sim.c (sim_command_completer): Make char arguments const. |
| 3197 | |
| 3198 | 2013-03-15 Tom Tromey <tromey@redhat.com> |
| 3199 | |
| 3200 | PR c++/15116: |
| 3201 | * gdbtypes.c (types_equal): Handle TYPE_CODE_FUNC. |
| 3202 | |
| 3203 | 2013-03-14 Tom Tromey <tromey@redhat.com> |
| 3204 | |
| 3205 | * gdb_bfd.c (struct gdb_bfd_data) <crc_computed, crc>: |
| 3206 | New fields. |
| 3207 | (get_file_crc): Move from symfile.c. |
| 3208 | (gdb_bfd_crc): New function. |
| 3209 | * gdb_bfd.h (gdb_bfd_crc): Declare. |
| 3210 | * objfiles.h (struct objfile) <crc32, crc32_p>: Remove. |
| 3211 | * symfile.c (get_file_crc): Move to gdb_bfd.c. |
| 3212 | (separate_debug_file_exists): Use gdb_bfd_crc. |
| 3213 | |
| 3214 | 2013-03-14 Tom Tromey <tromey@redhat.com> |
| 3215 | |
| 3216 | * symfile.c (get_debug_link_info): Remove. |
| 3217 | (find_separate_debug_file_by_debuglink): Use |
| 3218 | bfd_get_debug_link_info. |
| 3219 | |
| 3220 | 2013-03-14 Tom Tromey <tromey@redhat.com> |
| 3221 | |
| 3222 | * symtab.c (error_in_psymtab_expansion): New function. |
| 3223 | (lookup_symbol_aux_quick) |
| 3224 | (basic_lookup_transparent_type_quick): Remove "last resort" |
| 3225 | code. Use error_in_psymtab_expansion. |
| 3226 | |
| 3227 | 2013-03-14 Doug Evans <dje@google.com> |
| 3228 | Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3229 | |
| 3230 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Put continue after |
| 3231 | any successful compare_filenames_for_search or FILENAME_CMP. |
| 3232 | * psymtab.c (partial_map_symtabs_matching_filename): Likewise. |
| 3233 | * symtab.c (iterate_over_some_symtabs): Likewise. |
| 3234 | |
| 3235 | 2013-03-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3236 | |
| 3237 | * source.c (print_source_lines_base): Make a local copy of |
| 3238 | symtab_to_fullname. |
| 3239 | |
| 3240 | 2013-03-14 Hui Zhu <hui_zhu@mentor.com> |
| 3241 | Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3242 | |
| 3243 | * source.c (print_source_lines_base): Suppress "file" for TUI. |
| 3244 | |
| 3245 | 2013-03-14 Keith Seitz <keiths@redhat.com> |
| 3246 | Alan Matsuoka <alanm@redhat.com> |
| 3247 | |
| 3248 | PR c++/15203 |
| 3249 | PR c++/15210 |
| 3250 | * cp-namespace.c (cp_lookup_nested_symbol): Handle TYPE_CODE_FUNC and |
| 3251 | TYPE_CODE_METHOD. |
| 3252 | * elfread.c (elf_symtab_read): Handle BSF_GNU_UNIQUE for certain |
| 3253 | symbols. |
| 3254 | |
| 3255 | 2013-03-14 Yao Qi <yao@codesourcery.com> |
| 3256 | |
| 3257 | * tracepoint.c (tfile_write_status): Write 'stop_desc' of trace |
| 3258 | status to tfile if trace is stopped by command 'tstop'. |
| 3259 | |
| 3260 | 2013-03-14 Yao Qi <yao@codesourcery.com> |
| 3261 | |
| 3262 | * tracepoint.c (tfile_write_status): Write trace notes and user |
| 3263 | name into tfile if they are not NULL. |
| 3264 | |
| 3265 | 2013-03-14 Hui Zhu <hui@codesourcery.com> |
| 3266 | Yao Qi <yao@codesourcery.com> |
| 3267 | |
| 3268 | * Makefile.in (REMOTE_OBS): Add ctf.o. |
| 3269 | (SFILES): Add ctf.c. |
| 3270 | (HFILES_NO_SRCDIR): Add ctf.h. |
| 3271 | * ctf.c, ctf.h: New files. |
| 3272 | * tracepoint.c: Include 'ctf.h'. |
| 3273 | (collect_pseudocommand): Remove static. |
| 3274 | (trace_save_command): Parse option "-ctf". |
| 3275 | Produce different trace file writers per option. |
| 3276 | Adjust output message. |
| 3277 | (trace_save_tfile, trace_save_ctf): New. |
| 3278 | * tracepoint.h (trace_save_tfile, trace_save_ctf): Declare. |
| 3279 | * mi/mi-main.c: Include 'ctf.h'. |
| 3280 | (mi_cmd_trace_save): Handle option '-ctf'. Call either |
| 3281 | trace_save_tfile or trace_save_ctf. |
| 3282 | * NEWS: Mention these changes. |
| 3283 | |
| 3284 | 2013-03-14 Yao Qi <yao@codesourcery.com> |
| 3285 | |
| 3286 | * tracepoint.c (trace_file_writer_xfree): New. |
| 3287 | (struct tfile_writer_data): New. |
| 3288 | (tfile_dtor, tfile_can_target_save, tfile_start): New. |
| 3289 | (tfile_write_header, tfile_write_regblock_type): New. |
| 3290 | (tfile_write_status, tfile_write_uploaded_tsv): New. |
| 3291 | (tfile_write_uploaded_tp, tfile_write_definition_end): New. |
| 3292 | (tfile_write_raw_data, (tfile_end): New. |
| 3293 | (tfile_write_ops): New global variable. |
| 3294 | (TRACE_WRITE_R_BLOCK): New macro. |
| 3295 | (TRACE_WRITE_M_BLOCK_HEADER): New macro. |
| 3296 | (TRACE_WRITE_M_BLOCK_MEMORY): New macro. |
| 3297 | (TRACE_WRITE_V_BLOCK): New macro. |
| 3298 | (trace_save): Add extra one parameter WRITER. Make it static. |
| 3299 | Use WRITER to writer trace. |
| 3300 | (tfile_trace_file_writer_new): New. |
| 3301 | (trace_save_command): Caller update. |
| 3302 | (trace_save_tfile): Write trace data in TFILE format. |
| 3303 | * tracepoint.h (struct trace_frame_write_ops): New. |
| 3304 | (struct trace_file_write_ops): New. |
| 3305 | (struct trace_file_writer): New. |
| 3306 | (trace_save): Remove its declaration. |
| 3307 | (trace_save_tfile): Declare it. |
| 3308 | * mi/mi-main.c (mi_cmd_trace_save): Call trace_save_tfile |
| 3309 | instead of trace_save. |
| 3310 | |
| 3311 | 2013-03-13 Pedro Alves <palves@redhat.com> |
| 3312 | |
| 3313 | * hppa-hpux-nat.c (hppa_hpux_save_state_offset): Make static. |
| 3314 | |
| 3315 | 2013-03-13 Pedro Alves <palves@redhat.com> |
| 3316 | |
| 3317 | * dbxread.c (read_ofile_symtab, process_one_symbol): Remove |
| 3318 | commented out code. |
| 3319 | * demangle.c (current_demangling_style_string): Make it const. |
| 3320 | (set_demangling_command): Assert the demangling style is known. |
| 3321 | Remove all handling of unknown styles. Set |
| 3322 | 'current_demangling_style_string' to an element of the |
| 3323 | demangling_style_names array. |
| 3324 | (set_demangling_style): Delete. |
| 3325 | (_initialize_demangler): Set current_demangling_style_string to the |
| 3326 | element of the demangling_style_names array that corresponds to |
| 3327 | the default demangling style. Remove FIXME note. Don't call |
| 3328 | set_demangling_style. |
| 3329 | * gdb-demangle.h (set_demangling_style): Remove declaration. |
| 3330 | |
| 3331 | 2013-03-13 Pedro Alves <palves@redhat.com> |
| 3332 | |
| 3333 | * ada-lang.c (struct add_partial_datum) <text, text0, word>: Make |
| 3334 | fields const. |
| 3335 | (ada_make_symbol_completion_list): Make "text0" parameter const. |
| 3336 | * ax-gdb.c (agent_eval_command_one): Make "exp" parameter const. |
| 3337 | * breakpoint.c (condition_completer): Make "text" and "word" |
| 3338 | parameters const. Adjust. |
| 3339 | (check_tracepoint_command): Adjust to validate_actionline |
| 3340 | prototype change. |
| 3341 | (catch_syscall_completer): Make "text" and "word" parameters |
| 3342 | const. |
| 3343 | * cli/cli-cmds.c (show_user): Make "comname" local const. |
| 3344 | (valid_command_p): Make "command" parameter const. |
| 3345 | (alias_command): Make "alias_prefix" and "command_prefix" locals |
| 3346 | const. |
| 3347 | * cli/cli-decode.c (add_cmd): Make "name" parameter const. |
| 3348 | (add_alias_cmd): Make "name" and "oldname" parameters const. |
| 3349 | Adjust. No longer make copy of OLDNAME. |
| 3350 | (add_prefix_cmd, add_abbrev_prefix_cmd, add_set_or_show_cmd) |
| 3351 | (add_setshow_cmd_full, add_setshow_enum_cmd) |
| 3352 | (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) |
| 3353 | (add_setshow_filename_cmd, add_setshow_string_cmd) |
| 3354 | (add_setshow_string_noescape_cmd) |
| 3355 | (add_setshow_optional_filename_cmd, add_setshow_integer_cmd) |
| 3356 | (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd) |
| 3357 | (add_setshow_zuinteger_unlimited_cmd, add_setshow_zuinteger_cmd) |
| 3358 | (delete_cmd, add_info, add_info_alias, add_com, add_com_alias): |
| 3359 | Make "name" parameter const. |
| 3360 | (help_cmd): Rename "command" parameter to "arg". New const local |
| 3361 | "command". |
| 3362 | (find_cmd): Make "command" parameter const. |
| 3363 | (lookup_cmd_1): Make "text" parameter pointer to const. Adjust to |
| 3364 | deprecated_cmd_warning prototype change. |
| 3365 | (undef_cmd_error): Make "cmdtype" parameter const. |
| 3366 | (lookup_cmd): Make "line" parameter const. |
| 3367 | (deprecated_cmd_warning): Change type of "text" parameter to |
| 3368 | pointer to const char, from pointer to pointer to char. Adjust. |
| 3369 | (lookup_cmd_composition): Make "text" parameter const. |
| 3370 | (complete_on_cmdlist, complete_on_enum): Make "text" and "word" |
| 3371 | parameters const. |
| 3372 | * cli/cli-decode.h (struct cmd_list_element) <name>: Make field |
| 3373 | const. |
| 3374 | * cli/cli-script.c (validate_comname): Make "tem" local const. |
| 3375 | (define_command): New const local "tem_c". Use it in calls to |
| 3376 | lookup_cmd. |
| 3377 | (document_command): Make "tem" and "comfull" locals const. |
| 3378 | (show_user_1): Make "prefix" and "name" parameters const. |
| 3379 | * cli-script.h (show_user_1): Make "prefix" and "name" parameters |
| 3380 | const. |
| 3381 | * command.h (add_cmd, add_alias_cmd, add_prefix_cmd) |
| 3382 | (add_abbrev_prefix_cmd, completer_ftype, lookup_cmd, lookup_cmd_1) |
| 3383 | (deprecated_cmd_warning, lookup_cmd_composition, add_com) |
| 3384 | (add_com_alias, add_info, add_info_alias, complete_on_cmdlist) |
| 3385 | (complete_on_enum, add_setshow_enum_cmd) |
| 3386 | (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) |
| 3387 | (add_setshow_filename_cmd, add_setshow_string_cmd) |
| 3388 | (add_setshow_string_noescape_cmd) |
| 3389 | (add_setshow_optional_filename_cmd, add_setshow_integer_cmd) |
| 3390 | (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd) |
| 3391 | (add_setshow_zuinteger_cmd, add_setshow_zuinteger_unlimited_cmd): |
| 3392 | Change prototypes, constifying strings. |
| 3393 | * completer.c (noop_completer, filename_completer): Make "text" |
| 3394 | and "prefix" parameters const. |
| 3395 | (location_completer, expression_completer) |
| 3396 | (complete_line_internal): Make "text" and "prefix" parameters |
| 3397 | const and adjust. |
| 3398 | (command_completer, signal_completer): Make "text" and "prefix" |
| 3399 | parameters const. |
| 3400 | * completer.h (noop_completer, filename_completer) |
| 3401 | (expression_completer, location_completer, command_completer) |
| 3402 | (signal_completer): Change prototypes. |
| 3403 | * corefile.c (complete_set_gnutarget): Make "text" and "word" |
| 3404 | parameters const. |
| 3405 | * cp-abi.c (cp_abi_completer): Likewise. |
| 3406 | * expression.h (parse_expression_for_completion): Change |
| 3407 | prototype. |
| 3408 | * f-lang.c (f_make_symbol_completion_list): Make "text" and "word" |
| 3409 | parameters const. |
| 3410 | * infcmd.c (_initialize_infcmd): Make "cmd_name" local const. |
| 3411 | * infrun.c (handle_completer): Make "text" and "word" parameters |
| 3412 | const. |
| 3413 | * interps.c (interpreter_completer): Make "text" and "word" |
| 3414 | parameters const. |
| 3415 | * language.h (struct language_defn) |
| 3416 | <la_make_symbol_completion_list>: Make "text" and "word" |
| 3417 | parameters const. |
| 3418 | * parse.c (parse_exp_1): Move const hack to parse_exp_in_context. |
| 3419 | (parse_exp_in_context): Rename to ... |
| 3420 | (parse_exp_in_context_1): ... this. |
| 3421 | (parse_exp_in_context): Reimplement, with const hack from |
| 3422 | parse_exp_1. |
| 3423 | (parse_expression_for_completion): Make "string" parameter const. |
| 3424 | * printcmd.c (decode_format): Make "string_ptr" parameter pointer |
| 3425 | to pointer to const char. Adjust. |
| 3426 | (print_command_1): Make "exp" parameter const. |
| 3427 | (output_command): Rename to ... |
| 3428 | (output_command_const): ... this. Make "exp" parameter const. |
| 3429 | (output_command): Reimplement. |
| 3430 | (x_command): Adjust. |
| 3431 | (display_command): Rename "exp" parameter to "arg". New "exp" |
| 3432 | local, const version of "arg". |
| 3433 | * python/py-auto-load.c (gdbpy_initialize_auto_load): Make |
| 3434 | "cmd_name" local const. |
| 3435 | * python/py-cmd.c (cmdpy_destroyer): Cast const away in xfree |
| 3436 | call. |
| 3437 | (cmdpy_completer): Make "text" and "word" parameters const. |
| 3438 | (gdbpy_parse_command_name): Make "prefix_text2" local const. |
| 3439 | * python/py-param.c (add_setshow_generic): Make "tmp_name" local |
| 3440 | const. |
| 3441 | * remote.c (_initialize_remote): Make "cmd_name" local const. |
| 3442 | * symtab.c (language_search_unquoted_string): Make "text" and "p" |
| 3443 | parameters const. Adjust. |
| 3444 | (completion_list_add_fields): Make "sym_text", "text" and "word" |
| 3445 | parameters const. |
| 3446 | (struct add_name_data) <sym_text, text, word>: Make fields const. |
| 3447 | (default_make_symbol_completion_list_break_on): Make "text" and |
| 3448 | "word" parameters const. Adjust locals. |
| 3449 | (default_make_symbol_completion_list) |
| 3450 | (make_symbol_completion_list, make_symbol_completion_type) |
| 3451 | (make_symbol_completion_list_fn): Make "text" and "word" |
| 3452 | parameters const. |
| 3453 | (make_file_symbol_completion_list): Make "text", "word" and |
| 3454 | "srcfile" parameters const. Adjust locals. |
| 3455 | (add_filename_to_list): Make "text" and "word" parameters const. |
| 3456 | (struct add_partial_filename_data) <text, word>: Make fields |
| 3457 | const. |
| 3458 | (make_source_files_completion_list): Make "text" and "word" |
| 3459 | parameters const. |
| 3460 | * symtab.h (default_make_symbol_completion_list_break_on) |
| 3461 | (default_make_symbol_completion_list, make_symbol_completion_list) |
| 3462 | (make_symbol_completion_type enum type_code) |
| 3463 | (make_symbol_completion_list_fn make_file_symbol_completion_list) |
| 3464 | (make_source_files_completion_list): Change prototype. |
| 3465 | * top.c (execute_command): Adjust to pass pointer to pointer to |
| 3466 | const char to lookup_cmd, and to deprecated_cmd_warning prototype |
| 3467 | change. |
| 3468 | (set_verbose): Make "cmdname" local const. |
| 3469 | * tracepoint.c (decode_agent_options): Make "exp" parameter const, |
| 3470 | and adjust. |
| 3471 | (validate_actionline): Make "line" parameter a pointer to const |
| 3472 | char, and adjust. |
| 3473 | (encode_actions_1): Make "action_exp" local const, and adjust. |
| 3474 | (encode_actions): Adjust. |
| 3475 | (replace_comma): Delete. |
| 3476 | (trace_dump_actions): Make "action_exp" and "next_comma" locals |
| 3477 | const, and adjust. Don't frob the action string while splitting |
| 3478 | it at commas. Instead, make a copy of each split substring in |
| 3479 | turn. |
| 3480 | (trace_dump_command): Adjust to validate_actionline prototype |
| 3481 | change. |
| 3482 | * tracepoint.h (decode_agent_options, decode_agent_options) |
| 3483 | (encode_actions, validate_actionline): Change prototypes. |
| 3484 | * valprint.h (output_command): Delete declaration. |
| 3485 | (output_command_const): Declare. |
| 3486 | * value.c (function_destroyer): Cast const away in xfree call. |
| 3487 | |
| 3488 | 2013-03-13 Pedro Alves <palves@redhat.com> |
| 3489 | |
| 3490 | * ada-lang.c (ada_decode_symbol): Cast away constness of GSYMBOL |
| 3491 | rather than casting 'const char * const *' to 'const char **'. |
| 3492 | * ada-lex.l (processInt): Make "trailer" local const. Remove |
| 3493 | 'const char **' cast. |
| 3494 | * arm-linux-tdep.c (arm_stap_parse_special_token): Add 'char *' |
| 3495 | locals, and use those as strtol output pointer, instead than doing |
| 3496 | invalid casts to from 'const char **' to 'char **'. |
| 3497 | (_initialize_demangle): Remove cast. |
| 3498 | * i386-tdep.c (i386_stap_parse_special_token): : Add 'char *' |
| 3499 | locals, and use those as strtol output pointer, instead than doing |
| 3500 | invalid casts to from 'const char **' to 'char **'. |
| 3501 | * solib-dsbt.c (dsbt_get_initial_loadmaps): Remove 'gdb_byte**' |
| 3502 | casts. |
| 3503 | * stap-probe.c (stap_parse_register_operand) |
| 3504 | (stap_parse_single_operand): Likewise. |
| 3505 | |
| 3506 | 2013-03-13 Yao Qi <yao@codesourcery.com> |
| 3507 | |
| 3508 | * tracepoint.c (tfile_get_trace_state_variable_value): Look for |
| 3509 | the last matched 'V' blcok in trace frame. |
| 3510 | |
| 3511 | 2013-03-12 Joel Brobecker <brobecker@adacore.com> |
| 3512 | |
| 3513 | * NEWS: Create a new section for the next release branch. |
| 3514 | Rename the section of the current branch, now that it has |
| 3515 | been cut. |
| 3516 | |
| 3517 | 2013-03-12 Joel Brobecker <brobecker@adacore.com> |
| 3518 | |
| 3519 | GDB 7.6 branch created (branch timestamp: 2013-03-12 22:15 UTC) |
| 3520 | * version.in: Bump version to 7.6.50.20130312-cvs. |
| 3521 | |
| 3522 | 2013-03-12 Keith Seitz <keiths@redhat.com> |
| 3523 | |
| 3524 | * mi/mi-cmds.h (mi_execute_command): Make "cmd" const. |
| 3525 | * mi/mi-interp.c (mi_interpreter_exec): Make "command" const. |
| 3526 | Remove temporary copy of input string. |
| 3527 | (mi_execute_command_wrapper): Make "cmd" const. |
| 3528 | * mi/mi-main.c (mi_execute_command): Make "string_ptr" const. |
| 3529 | * mi/mi-parse.c (mi_parse_argv): Make "args" const. |
| 3530 | Use const strings. |
| 3531 | (mi_parse): Make "cmd" const. |
| 3532 | Use const strings. |
| 3533 | * mi/mi-parse.h (mi_parse): Make "cmd" const. |
| 3534 | |
| 3535 | 2013-03-12 Keith Seitz <keiths@redhat.com> |
| 3536 | |
| 3537 | * ada-lang.c (ada_read_renaming_var_value): Pass const |
| 3538 | pointer to expression string to parse_exp_1. |
| 3539 | (create_excep_cond_exprs): Likewise. |
| 3540 | * ax-gdb.c (agent_eval_command_one): Likewise. |
| 3541 | (maint_agent_printf_command): Likewise. |
| 3542 | Constify much of the string handling/parsing. |
| 3543 | * breakpoint.c (set_breakpoint_condition): Pass const |
| 3544 | pointer to expression string to parse_exp_1. |
| 3545 | (update_watchpoint): Likewise. |
| 3546 | (parse_cmd_to_aexpr): Constify string handling. |
| 3547 | Pass const pointer to parse_exp_1. |
| 3548 | (init_breakpoint_sal): Pass const pointer to parse_exp_1. |
| 3549 | (find_condition_and_thread): Likewise. |
| 3550 | Make TOK const. |
| 3551 | (watch_command_1): Make "arg" const. |
| 3552 | Constify string handling. |
| 3553 | Copy the expression string instead of changing the input |
| 3554 | string. |
| 3555 | (update_breakpoint_location): Pass const pointer to |
| 3556 | parse_exp_1. |
| 3557 | * eval.c (parse_and_eval_address): Make "exp" const. |
| 3558 | (parse_to_comma_and_eval): Make "expp" const. |
| 3559 | (parse_and_eval): Make "exp" const. |
| 3560 | * expression.h (parse_expression): Make argument const. |
| 3561 | (parse_exp_1): Make first argument const. |
| 3562 | * findcmd.c (parse_find_args): Treat "args" as const. |
| 3563 | * linespec.c (parse_linespec): Pass const pointer to |
| 3564 | linespec_expression_to_pc. |
| 3565 | (linespec_expression_to_pc): Make "exp_ptr" const. |
| 3566 | * parse.c (parse_exp_1): Make "stringptr" const. |
| 3567 | Make a copy of the expression to pass to parse_exp_in_context until |
| 3568 | this whole interface can be constified. |
| 3569 | (parse_expression): Make "string" const. |
| 3570 | * printcmd.c (ui_printf): Treat "arg" as const. |
| 3571 | Handle const strings. |
| 3572 | * tracepoint.c (validate_actionline): Pass const pointer to |
| 3573 | all calls to parse_exp_1. |
| 3574 | (encode_actions_1): Likewise. |
| 3575 | * value.h (parse_to_comma_and_eval): Make argument const. |
| 3576 | (parse_and_eval_address): Likewise. |
| 3577 | (parse_and_eval): Likewise. |
| 3578 | * varobj.c (varobj_create): Pass const pointer to parse_exp_1. |
| 3579 | (varobj_set_value): Likewise. |
| 3580 | * cli/cli-cmds.c (disassemble_command): Treat "arg" as const and |
| 3581 | constify string handling. |
| 3582 | Pass const pointers to parse_and_eval_address and |
| 3583 | parse_to_comman_and_eval. |
| 3584 | * cli/cli-utils.c (skip_to_space): Rename to ... |
| 3585 | (skip_to_space_const): ... this. Handle const strings. |
| 3586 | * cli/cli-utils.h (skip_to_space): Turn into macro which invokes |
| 3587 | skip_to_space_const. |
| 3588 | (skip_to_space_const): Declare. |
| 3589 | * common/format.c (parse_format_string): Make "arg" const. |
| 3590 | Handle const strings. |
| 3591 | * common/format.h (parse_format_string): Make "arg" const. |
| 3592 | * gdbserver/ax.c (ax_printf): Make "format" const. |
| 3593 | * python/python.c (gdbpy_parse_and_eval): Do not make a copy |
| 3594 | of the expression string. |
| 3595 | |
| 3596 | 2013-03-12 Hui Zhu <hui@codesourcery.com> |
| 3597 | |
| 3598 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Update error message. |
| 3599 | |
| 3600 | 2013-03-12 Yao Qi <yao@codesourcery.com> |
| 3601 | Hui Zhu <hui@codesourcery.com> |
| 3602 | |
| 3603 | * dwarf2loc.c (access_memory): Change nbits to nbytes in gdb_assert. |
| 3604 | (dwarf2_compile_expr_to_ax): Call access_memory in DW_OP_deref and |
| 3605 | DW_OP_deref_size. |
| 3606 | |
| 3607 | 2013-03-12 Paul Hilfinger <hilfingr@adacore.com> |
| 3608 | |
| 3609 | * ada-lex.l (rules): Only recognize 'thread' as a |
| 3610 | delimiter when followed by numerals, as for c-exp.y. |
| 3611 | Use new rewind_to_char function to rewind the input for |
| 3612 | expression-delimiting tokens. |
| 3613 | (rewind_to_char): New function. |
| 3614 | |
| 3615 | 2013-03-11 Pedro Alves <palves@redhat.com> |
| 3616 | Jan Kratochvil <jan.kratochvil@redhat.com> |
| 3617 | |
| 3618 | * configure: Regenerate. |
| 3619 | * configure.ac (check dynamic export flag): Link python test with |
| 3620 | $PYTHON_LIBS. |
| 3621 | |
| 3622 | 2013-03-11 Doug Evans <dje@google.com> |
| 3623 | Keith Seitz <keiths@redhat.com> |
| 3624 | |
| 3625 | * linespec.c (find_linespec_symbols): Call find_function_symbols |
| 3626 | first, and then call lookup_prefix_sym/find_method. |
| 3627 | |
| 3628 | 2013-03-11 Pedro Alves <palves@redhat.com> |
| 3629 | |
| 3630 | * charset.c (convert_between_encodings): Don't cast between |
| 3631 | different pointer to pointer types. Instead, make the 'inp' local |
| 3632 | be of the type iconv expects. |
| 3633 | (wchar_iterate): Don't cast between different pointer to pointer |
| 3634 | types. Instead, use new pointer local of the type iconv expects. |
| 3635 | * target.c (target_read_stralloc, target_fileio_read_stralloc): |
| 3636 | Add new local of type char pointer, and use it to get a |
| 3637 | char/string view of the byte buffer, instead of casting between |
| 3638 | pointer to pointer types. |
| 3639 | |
| 3640 | 2013-03-11 Hafiz Abid Qadeer <abidh@codesourcery.com> |
| 3641 | |
| 3642 | * remote.c (remote_set_trace_buffer_size): Move != operator |
| 3643 | to the start of next line to fix an ARI warning. |
| 3644 | |
| 3645 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 3646 | |
| 3647 | * NEWS: Add record changes. |
| 3648 | |
| 3649 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 3650 | |
| 3651 | * record-btrace.c (btrace_insn_history): Omit the pc prefix in |
| 3652 | the instruction history disassembly. |
| 3653 | * disasm.c (dump_insns): Omit the pc prefix, if requested. |
| 3654 | * disasm.h (DISASSEMBLY_OMIT_PC): New. |
| 3655 | |
| 3656 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 3657 | |
| 3658 | * Makefile.in (SFILES): Add record-btrace.c |
| 3659 | (COMMON_OBS): Add record-btrace.o |
| 3660 | * record-btrace.c: New. |
| 3661 | * objfiles.c: Include btrace.h. |
| 3662 | (free_objfile): call btrace_free_objfile. |
| 3663 | |
| 3664 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 3665 | |
| 3666 | * target.c (target_call_history, target_call_history_from, |
| 3667 | target_call_history_range): New. |
| 3668 | * target.h (target_ops) <to_call_history, to_call_history_from, |
| 3669 | to_call_history_range>: New fields. |
| 3670 | (target_call_history, target_call_history_from, |
| 3671 | target_call_history_range): New declaration. |
| 3672 | * record.c (get_call_history_modifiers, cmd_record_call_history, |
| 3673 | record_call_history_size): New. |
| 3674 | (_initialize_record): Add the "record function-call-history" command. |
| 3675 | Add "set/show record function-call-history-size" commands. |
| 3676 | * record.h (record_print_flag): New. |
| 3677 | |
| 3678 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 3679 | |
| 3680 | * target.h (target_ops) <to_insn_history, to_insn_history_from, |
| 3681 | to_insn_history_range>: New fields. |
| 3682 | (target_insn_history): New. |
| 3683 | (target_insn_history_from): New. |
| 3684 | (target_insn_history_range): New. |
| 3685 | * target.c (target_insn_history): New. |
| 3686 | (target_insn_history_from): New. |
| 3687 | (target_insn_history_range): New. |
| 3688 | * record.c: Include cli/cli-utils.h, disasm.h, ctype.h. |
| 3689 | (record_insn_history_size): New. |
| 3690 | (get_insn_number): New. |
| 3691 | (get_context_size): New. |
| 3692 | (no_chunk): New. |
| 3693 | (get_insn_history_modifiers): New. |
| 3694 | (cmd_record_insn_history): New. |
| 3695 | (_initialize_record): Add "set/show record instruction-history-size" |
| 3696 | command. Add "record instruction-history" command. |
| 3697 | |
| 3698 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 3699 | |
| 3700 | * record.h (record_disconnect): New. |
| 3701 | (record_detach): New. |
| 3702 | (record_mourn_inferior): New. |
| 3703 | (record_kill): New. |
| 3704 | * record-full.c (record_disconnect, record_detach, |
| 3705 | record_mourn_inferior, record_kill): Move to... |
| 3706 | * record.c: ...here. |
| 3707 | (DEBUG): New. |
| 3708 | (record_stop): New. |
| 3709 | (record_unpush): New. |
| 3710 | (cmd_record_stop): Call record_stop. Replace unpush_target |
| 3711 | call with record_unpush call. |
| 3712 | (record_disconnect, record_detach): Assert that the target |
| 3713 | is of record stratum. Call record_unpush, record_stop, and |
| 3714 | DEBUG. |
| 3715 | (record_mourn_inferior, record_kill): Assert that the target |
| 3716 | is of record stratum. Call record_unpush and DEBUG. |
| 3717 | |
| 3718 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 3719 | |
| 3720 | * record-full.h, record-full.c (record_memory_query): Rename |
| 3721 | to ... |
| 3722 | (record_full_memory_query): ...this. Update all users. |
| 3723 | (record_arch_list_add_reg): Rename to ... |
| 3724 | (record_full_arch_list_add_reg): ...this. Update all users. |
| 3725 | (record_arch_list_add_mem): Rename to ... |
| 3726 | (record_full_arch_list_add_mem): ...this. Update all users. |
| 3727 | (record_arch_list_add_end): Rename to ... |
| 3728 | (record_full_arch_list_add_end): ...this. Update all users. |
| 3729 | (record_gdb_operation_disable_set): Rename to ... |
| 3730 | (record_full_gdb_operation_disable_set): ...this. |
| 3731 | Update all users. |
| 3732 | |
| 3733 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 3734 | |
| 3735 | * record-full.c (DEFAULT_RECORD_INSN_MAX_NUM): Renamed to ... |
| 3736 | (DEFAULT_RECORD_FULL_INSN_MAX_NUM): ... this. Updated all users. |
| 3737 | (RECORD_IS_REPLAY): Renamed to ... |
| 3738 | (RECORD_FULL_IS_REPLAY): ... this. Updated all users. |
| 3739 | (RECORD_FILE_MAGIC): Renamed to ... |
| 3740 | (RECORD_FULL_FILE_MAGIC): ... this. Updated all users. |
| 3741 | (record_mem_entry): Renamed to ... |
| 3742 | (record_full_mem_entry): ... this. Updated all users. |
| 3743 | (record_reg_entry): Renamed to ... |
| 3744 | (record_full_reg_entry): ... this. Updated all users. |
| 3745 | (record_end_entry): Renamed to ... |
| 3746 | (record_full_end_entry): ... this. Updated all users. |
| 3747 | (record_type) <record_end, record_reg, record_mem>: Renamed |
| 3748 | to ... |
| 3749 | (record_full_type) <record_full_end, record_full_reg, |
| 3750 | record_full_mem>: ... this. Updated all users. |
| 3751 | (record_entry): Renamed to ... |
| 3752 | (record_full_entry): ... this. Updated all users. |
| 3753 | (record_core_buf_entry): Renamed to ... |
| 3754 | (record_full_core_buf_entry): ... this. Updated all users. |
| 3755 | (record_core_regbuf): Renamed to ... |
| 3756 | (record_full_core_regbuf): ... this. Updated all users. |
| 3757 | (record_core_start): Renamed to ... |
| 3758 | (record_full_core_start): ... this. Updated all users. |
| 3759 | (record_core_end): Renamed to ... |
| 3760 | (record_full_core_end): ... this. Updated all users. |
| 3761 | (record_core_buf_list): Renamed to ... |
| 3762 | (record_full_core_buf_list): ... this. Updated all users. |
| 3763 | (record_first): Renamed to ... |
| 3764 | (record_full_first): ... this. Updated all users. |
| 3765 | (record_list): Renamed to ... |
| 3766 | (record_full_list): ... this. Updated all users. |
| 3767 | (record_arch_list_head): Renamed to ... |
| 3768 | (record_full_arch_list_head): ... this. Updated all users. |
| 3769 | (record_arch_list_tail): Renamed to ... |
| 3770 | (record_full_arch_list_tail): ... this. Updated all users. |
| 3771 | (record_stop_at_limit): Renamed to ... |
| 3772 | (record_full_stop_at_limit): ... this. Updated all users. |
| 3773 | (record_insn_max_num): Renamed to ... |
| 3774 | (record_full_insn_max_num): ... this. Updated all users. |
| 3775 | (record_insn_num): Renamed to ... |
| 3776 | (record_full_insn_num): ... this. Updated all users. |
| 3777 | (record_insn_count): Renamed to ... |
| 3778 | (record_full_insn_count): ... this. Updated all users. |
| 3779 | (record_ops): Renamed to ... |
| 3780 | (record_full_ops): ... this. Updated all users. |
| 3781 | (record_core_ops): Renamed to ... |
| 3782 | (record_full_core_ops): ... this. Updated all users. |
| 3783 | (set_record_cmdlist): Renamed to ... |
| 3784 | (set_record_full_cmdlist): ... this. Updated all users. |
| 3785 | (show_record_cmdlist): Renamed to ... |
| 3786 | (show_record_full_cmdlist): ... this. Updated all users. |
| 3787 | (record_cmdlist): Renamed to ... |
| 3788 | (record_full_cmdlist): ... this. Updated all users. |
| 3789 | (record_beneath_to_resume_ops): Renamed to ... |
| 3790 | (record_full_beneath_to_resume_ops): ... this. Updated all users. |
| 3791 | (record_beneath_to_resume): Renamed to ... |
| 3792 | (record_full_beneath_to_resume): ... this. Updated all users. |
| 3793 | (record_beneath_to_wait_ops): Renamed to ... |
| 3794 | (record_full_beneath_to_wait_ops): ... this. Updated all users. |
| 3795 | (record_beneath_to_wait): Renamed to ... |
| 3796 | (record_full_beneath_to_wait): ... this. Updated all users. |
| 3797 | (record_beneath_to_store_registers_ops): Renamed to ... |
| 3798 | (record_full_beneath_to_store_registers_ops): ... this. |
| 3799 | Updated all users. |
| 3800 | (record_beneath_to_store_registers): Renamed to ... |
| 3801 | (record_full_beneath_to_store_registers): ... this. |
| 3802 | Updated all users. |
| 3803 | (record_beneath_to_xfer_partial_ops): Renamed to ... |
| 3804 | (record_full_beneath_to_xfer_partial_ops): ... this. |
| 3805 | Updated all users. |
| 3806 | (record_beneath_to_xfer_partial): Renamed to ... |
| 3807 | (record_full_beneath_to_xfer_partial): ... this. |
| 3808 | Updated all users. |
| 3809 | (record_beneath_to_insert_breakpoint): Renamed to ... |
| 3810 | (record_full_beneath_to_insert_breakpoint): ... this. |
| 3811 | Updated all users. |
| 3812 | (record_beneath_to_stopped_by_watchpoint): Renamed to ... |
| 3813 | (record_full_beneath_to_stopped_by_watchpoint): ... this. |
| 3814 | Updated all users. |
| 3815 | (record_beneath_to_stopped_data_address): Renamed to ... |
| 3816 | (record_full_beneath_to_stopped_data_address): ... this. |
| 3817 | Updated all users. |
| 3818 | (record_beneath_to_async): Renamed to ... |
| 3819 | (record_full_beneath_to_async): ... this. Updated all users. |
| 3820 | (record_goto_insn): Renamed to ... |
| 3821 | (record_full_goto_insn): ... this. Updated all users. |
| 3822 | (record_save): Renamed to ... |
| 3823 | (record_full_save): ... this. Updated all users. |
| 3824 | (record_reg_alloc): Renamed to ... |
| 3825 | (record_full_reg_alloc): ... this. Updated all users. |
| 3826 | (record_reg_release): Renamed to ... |
| 3827 | (record_full_reg_release): ... this. Updated all users. |
| 3828 | (record_mem_alloc): Renamed to ... |
| 3829 | (record_full_mem_alloc): ... this. Updated all users. |
| 3830 | (record_mem_release): Renamed to ... |
| 3831 | (record_full_mem_release): ... this. Updated all users. |
| 3832 | (record_end_alloc): Renamed to ... |
| 3833 | (record_full_end_alloc): ... this. Updated all users. |
| 3834 | (record_end_release): Renamed to ... |
| 3835 | (record_full_end_release): ... this. Updated all users. |
| 3836 | (record_entry_release): Renamed to ... |
| 3837 | (record_full_entry_release): ... this. Updated all users. |
| 3838 | (record_list_release): Renamed to ... |
| 3839 | (record_full_list_release): ... this. Updated all users. |
| 3840 | (record_list_release_following): Renamed to ... |
| 3841 | (record_full_list_release_following): ... this. |
| 3842 | Updated all users. |
| 3843 | (record_list_release_first): Renamed to ... |
| 3844 | (record_full_list_release_first): ... this. Updated all users. |
| 3845 | (record_arch_list_add): Renamed to ... |
| 3846 | (record_full_arch_list_add): ... this. Updated all users. |
| 3847 | (record_get_loc): Renamed to ... |
| 3848 | (record_full_get_loc): ... this. Updated all users. |
| 3849 | (record_check_insn_num): Renamed to ... |
| 3850 | (record_full_check_insn_num): ... this. Updated all users. |
| 3851 | (record_arch_list_cleanups): Renamed to ... |
| 3852 | (record_full_arch_list_cleanups): ... this. Updated all users. |
| 3853 | (record_message): Renamed to ... |
| 3854 | (record_full_message): ... this. Updated all users. |
| 3855 | (record_message_wrapper): Renamed to ... |
| 3856 | (record_full_message_wrapper): ... this. Updated all users. |
| 3857 | (record_message_wrapper_safe): Renamed to ... |
| 3858 | (record_full_message_wrapper_safe): ... this. Updated all users. |
| 3859 | (record_gdb_operation_disable): Renamed to ... |
| 3860 | (record_full_gdb_operation_disable): ... this. Updated all users. |
| 3861 | (record_hw_watchpoint): Renamed to ... |
| 3862 | (record_full_hw_watchpoint): ... this. Updated all users. |
| 3863 | (record_exec_insn): Renamed to ... |
| 3864 | (record_full_exec_insn): ... this. Updated all users. |
| 3865 | (record_restore): Renamed to ... |
| 3866 | (record_full_restore): ... this. Updated all users. |
| 3867 | (record_async_inferior_event_token): Renamed to ... |
| 3868 | (record_full_async_inferior_event_token): ... this. |
| 3869 | Updated all users. |
| 3870 | (record_async_inferior_event_handler): Renamed to ... |
| 3871 | (record_full_async_inferior_event_handler): ... this. |
| 3872 | Updated all users. |
| 3873 | (record_core_open_1): Renamed to ... |
| 3874 | (record_full_core_open_1): ... this. Updated all users. |
| 3875 | (record_open_1): Renamed to ... |
| 3876 | (record_full_open_1): ... this. Updated all users. |
| 3877 | (record_open): Renamed to ... |
| 3878 | (record_full_open): ... this. Updated all users. |
| 3879 | (record_close): Renamed to ... |
| 3880 | (record_full_close): ... this. Updated all users. |
| 3881 | (record_resume_step): Renamed to ... |
| 3882 | (record_full_resume_step): ... this. Updated all users. |
| 3883 | (record_resumed): Renamed to ... |
| 3884 | (record_full_resumed): ... this. Updated all users. |
| 3885 | (record_execution_dir): Renamed to ... |
| 3886 | (record_full_execution_dir): ... this. Updated all users. |
| 3887 | (record_resume): Renamed to ... |
| 3888 | (record_full_resume): ... this. Updated all users. |
| 3889 | (record_get_sig): Renamed to ... |
| 3890 | (record_full_get_sig): ... this. Updated all users. |
| 3891 | (record_sig_handler): Renamed to ... |
| 3892 | (record_full_sig_handler): ... this. Updated all users. |
| 3893 | (record_wait_cleanups): Renamed to ... |
| 3894 | (record_full_wait_cleanups): ... this. Updated all users. |
| 3895 | (record_wait_1): Renamed to ... |
| 3896 | (record_full_wait_1): ... this. Updated all users. |
| 3897 | (record_wait): Renamed to ... |
| 3898 | (record_full_wait): ... this. Updated all users. |
| 3899 | (record_stopped_by_watchpoint): Renamed to ... |
| 3900 | (record_full_stopped_by_watchpoint): ... this. Updated all users. |
| 3901 | (record_disconnect): Renamed to ... |
| 3902 | (record_full_disconnect): ... this. Updated all users. |
| 3903 | (record_detach): Renamed to ... |
| 3904 | (record_full_detach): ... this. Updated all users. |
| 3905 | (record_mourn_inferior): Renamed to ... |
| 3906 | (record_full_mourn_inferior): ... this. Updated all users. |
| 3907 | (record_kill): Renamed to ... |
| 3908 | (record_full_kill): ... this. Updated all users. |
| 3909 | (record_stopped_data_address): Renamed to ... |
| 3910 | (record_full_stopped_data_address): ... this. Updated all users. |
| 3911 | (record_registers_change): Renamed to ... |
| 3912 | (record_full_registers_change): ... this. Updated all users. |
| 3913 | (record_store_registers): Renamed to ... |
| 3914 | (record_full_store_registers): ... this. Updated all users. |
| 3915 | (record_xfer_partial): Renamed to ... |
| 3916 | (record_full_xfer_partial): ... this. Updated all users. |
| 3917 | (record_breakpoint): Renamed to ... |
| 3918 | (record_full_breakpoint): ... this. Updated all users. |
| 3919 | (record_breakpoint_p): Renamed to ... |
| 3920 | (record_full_breakpoint_p): ... this. Updated all users. |
| 3921 | (record_breakpoints): Renamed to ... |
| 3922 | (record_full_breakpoints): ... this. Updated all users. |
| 3923 | (record_sync_record_breakpoints): Renamed to ... |
| 3924 | (record_full_sync_record_breakpoints): ... this. |
| 3925 | Updated all users. |
| 3926 | (record_init_record_breakpoints): Renamed to ... |
| 3927 | (record_full_init_record_breakpoints): ... this. |
| 3928 | Updated all users. |
| 3929 | (record_insert_breakpoint): Renamed to ... |
| 3930 | (record_full_insert_breakpoint): ... this. Updated all users. |
| 3931 | (record_remove_breakpoint): Renamed to ... |
| 3932 | (record_full_remove_breakpoint): ... this. Updated all users. |
| 3933 | (record_can_execute_reverse): Renamed to ... |
| 3934 | (record_full_can_execute_reverse): ... this. Updated all users. |
| 3935 | (record_get_bookmark): Renamed to ... |
| 3936 | (record_full_get_bookmark): ... this. Updated all users. |
| 3937 | (record_goto_bookmark): Renamed to ... |
| 3938 | (record_full_goto_bookmark): ... this. Updated all users. |
| 3939 | (record_async): Renamed to ... |
| 3940 | (record_full_async): ... this. Updated all users. |
| 3941 | (record_can_async_p): Renamed to ... |
| 3942 | (record_full_can_async_p): ... this. Updated all users. |
| 3943 | (record_is_async_p): Renamed to ... |
| 3944 | (record_full_is_async_p): ... this. Updated all users. |
| 3945 | (record_execution_direction): Renamed to ... |
| 3946 | (record_full_execution_direction): ... this. Updated all users. |
| 3947 | (record_info): Renamed to ... |
| 3948 | (record_full_info): ... this. Updated all users. |
| 3949 | (record_delete): Renamed to ... |
| 3950 | (record_full_delete): ... this. Updated all users. |
| 3951 | (record_is_replaying): Renamed to ... |
| 3952 | (record_full_is_replaying): ... this. Updated all users. |
| 3953 | (record_goto_entry): Renamed to ... |
| 3954 | (record_full_goto_entry): ... this. Updated all users. |
| 3955 | (record_goto_begin): Renamed to ... |
| 3956 | (record_full_goto_begin): ... this. Updated all users. |
| 3957 | (record_goto_end): Renamed to ... |
| 3958 | (record_full_goto_end): ... this. Updated all users. |
| 3959 | (record_goto): Renamed to ... |
| 3960 | (record_full_goto): ... this. Updated all users. |
| 3961 | (init_record_ops): Renamed to ... |
| 3962 | (init_record_full_ops): ... this. Updated all users. |
| 3963 | (record_core_resume): Renamed to ... |
| 3964 | (record_full_core_resume): ... this. Updated all users. |
| 3965 | (record_core_kill): Renamed to ... |
| 3966 | (record_full_core_kill): ... this. Updated all users. |
| 3967 | (record_core_fetch_registers): Renamed to ... |
| 3968 | (record_full_core_fetch_registers): ... this. Updated all users. |
| 3969 | (record_core_prepare_to_store): Renamed to ... |
| 3970 | (record_full_core_prepare_to_store): ... this. Updated all users. |
| 3971 | (record_core_store_registers): Renamed to ... |
| 3972 | (record_full_core_store_registers): ... this. Updated all users. |
| 3973 | (record_core_xfer_partial): Renamed to ... |
| 3974 | (record_full_core_xfer_partial): ... this. Updated all users. |
| 3975 | (record_core_insert_breakpoint): Renamed to ... |
| 3976 | (record_full_core_insert_breakpoint): ... this. Updated all users. |
| 3977 | (record_core_remove_breakpoint): Renamed to ... |
| 3978 | (record_full_core_remove_breakpoint): ... this. Updated all users. |
| 3979 | (record_core_has_execution): Renamed to ... |
| 3980 | (record_full_core_has_execution): ... this. Updated all users. |
| 3981 | (init_record_core_ops): Renamed to ... |
| 3982 | (init_record_full_core_ops): ... this. Updated all users. |
| 3983 | (cmd_record_restore): Renamed to ... |
| 3984 | (cmd_record_full_restore): ... this. Updated all users. |
| 3985 | (record_save_cleanups): Renamed to ... |
| 3986 | (record_full_save_cleanups): ... this. Updated all users. |
| 3987 | (cmd_record_start): Renamed to ... |
| 3988 | (cmd_record_full_start): ... this. Updated all users. |
| 3989 | (set_record_insn_max_num): Renamed to ... |
| 3990 | (set_record_full_insn_max_num): ... this. Updated all users. |
| 3991 | (set_record_command): Renamed to ... |
| 3992 | (set_record_full_command): ... this. Updated all users. |
| 3993 | (show_record_command): Renamed to ... |
| 3994 | (show_record_full_command): ... this. Updated all users. |
| 3995 | (_initialize_record): Renamed to ... |
| 3996 | (_initialize_record_full): ... this. Updated all users. |
| 3997 | |
| 3998 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 3999 | |
| 4000 | * record.h: Split into this and ... |
| 4001 | * record-full.h: ... this. |
| 4002 | * record.c: Split into this and ... |
| 4003 | * record-full.c: ... this. |
| 4004 | * target.h (target_ops): Add new fields to_info_record, |
| 4005 | to_save_record, to_delete_record, to_record_is_replaying, |
| 4006 | to_goto_record_begin, to_goto_record_end, to_goto_record. |
| 4007 | (target_info_record): New. |
| 4008 | (target_save_record): New. |
| 4009 | (target_supports_delete_record): New. |
| 4010 | (target_delete_record): New. |
| 4011 | (target_record_is_replaying): New. |
| 4012 | (target_goto_record_begin): New. |
| 4013 | (target_goto_record_end): New. |
| 4014 | (target_goto_record): New. |
| 4015 | * target.c (target_info_record): New. |
| 4016 | (target_save_record): New. |
| 4017 | (target_supports_delete_record): New. |
| 4018 | (target_delete_record): New. |
| 4019 | (target_record_is_replaying): New. |
| 4020 | (target_goto_record_begin): New. |
| 4021 | (target_goto_record_end): New. |
| 4022 | (target_goto_record): New. |
| 4023 | * record.h: Declare struct cmd_list_element. |
| 4024 | (record_cmdlist): New declaration. |
| 4025 | (set_record_cmdlist): New declaration. |
| 4026 | (show_record_cmdlist): New declaration. |
| 4027 | (info_record_cmdlist): New declaration. |
| 4028 | (cmd_record_goto): New declaration. |
| 4029 | * record.c: Remove unnecessary includes. |
| 4030 | Include inferior.h. |
| 4031 | (cmd_record_goto): Remove declaration. |
| 4032 | (record_cmdlist): Now extern. Initialize. |
| 4033 | (set_record_cmdlist): Now extern. Initialize. |
| 4034 | (show_record_cmdlist): Now extern. Initialize. |
| 4035 | (info_record_cmdlist): Now extern. Initialize. |
| 4036 | (find_record_target): New. |
| 4037 | (require_record_target): New. |
| 4038 | (cmd_record_start): Update. |
| 4039 | (cmd_record_delete): Remove target-specific code. |
| 4040 | Call target_delete_record. |
| 4041 | (cmd_record_stop): Unpush any record target. |
| 4042 | (set_record_insn_max_num): Move to record-full.c |
| 4043 | (set_record_command): Add comment. |
| 4044 | (show_record_command): Add comment. |
| 4045 | (info_record_command): Update comment. |
| 4046 | Remove target-specific code. |
| 4047 | Call the record target's to_info_record. |
| 4048 | (cmd_record_start): New. |
| 4049 | (cmd_record_goto): Now extern. |
| 4050 | Remove target-specific code. |
| 4051 | Call target_goto_begin, target_goto_end, or target_goto. |
| 4052 | (_initialize_record): Move record target ops initialization to |
| 4053 | record-full.c. |
| 4054 | Change "record" command help text. |
| 4055 | Move "record restore", "record set", and "record show" commands to |
| 4056 | record-full.c. |
| 4057 | * Makefile.in (SFILES): Add record-full.c. |
| 4058 | (HFILES_NO_SRCDIR): Add record-full.h. |
| 4059 | (COMMON_OBS): Add record-full.o. |
| 4060 | * amd64-linux-tdep.c: Include record-full.h instead of record.h. |
| 4061 | * arm-tdep.c: Include record-full.h. |
| 4062 | * i386-linux-tdep.c: Include record-full.h instead of record.h. |
| 4063 | * i386-tdep.c: Include record-full.h. |
| 4064 | * infrun.c: Include record-full.h. |
| 4065 | * linux-record.c: Include record-full.h. |
| 4066 | * moxie-tdep.c: Include record-full.h. |
| 4067 | * record-full.c: Include record-full.h. |
| 4068 | Change module comment. |
| 4069 | (set_record_full_cmdlist): New. |
| 4070 | (show_record_full_cmdlist): New. |
| 4071 | (record_full_cmdlist): New. |
| 4072 | (record_goto_insn): New declaration. |
| 4073 | (record_save): New declaration. |
| 4074 | (record_check_insn_num): Change query string. |
| 4075 | (record_info): New. |
| 4076 | (record_delete): New. |
| 4077 | (record_is_replaying): New. |
| 4078 | (record_goto_entry): New. |
| 4079 | (record_goto_begin): New. |
| 4080 | (record_goto_end): New. |
| 4081 | (record_goto): New. |
| 4082 | (init_record_ops): Update. |
| 4083 | (init_record_core_ops): Update. |
| 4084 | (cmd_record_save): Rename to record_save. Remove target and arg checks. |
| 4085 | (cmd_record_start): New. |
| 4086 | (set_record_insn_max_num): Moved from record.c |
| 4087 | (set_record_full_command): New. |
| 4088 | (show_record_full_command): New. |
| 4089 | (_initialize_record_full): New. |
| 4090 | |
| 4091 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 4092 | |
| 4093 | * target.h (add_deprecated_target_alias): New. |
| 4094 | * target.c (add_deprecated_target_alias): New. |
| 4095 | |
| 4096 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 4097 | |
| 4098 | * common/linux-btrace.c: Include sys/ptrace, sys/types, sys/wait.h, |
| 4099 | and signal.h. |
| 4100 | (linux_supports_btrace): Add kernel and |
| 4101 | cpuid check. |
| 4102 | (kernel_supports_btrace): New function. |
| 4103 | (cpu_supports_btrace): New function. |
| 4104 | (intel_supports_btrace): New function. |
| 4105 | |
| 4106 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 4107 | |
| 4108 | * target.h (enum target_object): Add TARGET_OBJECT_BTRACE. |
| 4109 | * remote.c: Include btrace.h. |
| 4110 | (struct btrace_target_info): New struct. |
| 4111 | (remote_supports_btrace): New function. |
| 4112 | (send_Qbtrace): New function. |
| 4113 | (remote_enable_btrace): New function. |
| 4114 | (remote_disable_btrace): New function. |
| 4115 | (remote_teardown_btrace): New function. |
| 4116 | (remote_read_btrace): New function. |
| 4117 | (init_remote_ops): Add btrace ops. |
| 4118 | (enum <unnamed>): Add btrace packets. |
| 4119 | (struct protocol_feature remote_protocol_features[]): Add btrace packets. |
| 4120 | (_initialize_remote): Add packet configuration for branch tracing. |
| 4121 | |
| 4122 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 4123 | |
| 4124 | * features/btrace.dtd: New file. |
| 4125 | * Makefile.in (XMLFILES): Add btrace.dtd. |
| 4126 | * btrace.h (parse_xml_btrace): New declaration. |
| 4127 | * btrace.c: Include xml-support.h. |
| 4128 | (parse_xml_btrace): New function. |
| 4129 | (parse_xml_btrace_block): New function. |
| 4130 | (block_attributes): New struct. |
| 4131 | (btrace_attributes): New struct. |
| 4132 | (btrace_children): New struct. |
| 4133 | (btrace_elements): New struct. |
| 4134 | |
| 4135 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 4136 | |
| 4137 | * amd64-linux-nat.c: Include btrace.h and linux-btrace.h. |
| 4138 | (amd64_linux_enable_btrace): New. |
| 4139 | (amd64_linux_disable_btrace): New. |
| 4140 | (amd64_linux_teardown_btrace): New. |
| 4141 | (_initialize_amd64_linux_nat): Initialize btrace ops. |
| 4142 | * i386-linux.nat.c: Include btrace.h and linux-btrace.h. |
| 4143 | (i386_linux_enable_btrace): New. |
| 4144 | (i386_linux_disable_btrace): New. |
| 4145 | (i386_linux_teardown_btrace): New. |
| 4146 | (_initialize_i386_linux_nat): Initialize btrace ops. |
| 4147 | * config/i386/linux.mh: Add linux-btrace.o. |
| 4148 | * config/i386/linux64.mh: Add linux-btrace.o. |
| 4149 | |
| 4150 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 4151 | |
| 4152 | * common/linux_btrace.h: New file. |
| 4153 | * common/linux_btrace.c: New file. |
| 4154 | * Makefile.in (SFILES): Add btrace.c. |
| 4155 | (HFILES_NO_SRCDIR): Add common/linux-btrace.h. |
| 4156 | (COMMON_OBS): Add btrace.o. |
| 4157 | (linux-btrace.o): New rule. |
| 4158 | |
| 4159 | 2013-03-11 Markus Metzger <markus.t.metzger@intel.com> |
| 4160 | |
| 4161 | * target.h: Include btrace.h. |
| 4162 | (struct target_ops) <to_supports_btrace, to_enable_btrace, |
| 4163 | to_disable_btrace, to_teardown_btrace, to_read_btrace>: New. |
| 4164 | * target.c (target_supports_btrace): New function. |
| 4165 | (target_enable_btrace): New function. |
| 4166 | (target_disable_btrace): New function. |
| 4167 | (target_teardown_btrace): New function. |
| 4168 | (target_read_btrace): New function. |
| 4169 | * btrace.h: New file. |
| 4170 | * btrace.c: New file. |
| 4171 | * Makefile.in: Add btrace.c. |
| 4172 | * gdbthread.h: Include btrace.h. |
| 4173 | (struct thread_info): Add btrace field. |
| 4174 | * thread.c: Include btrace.h. |
| 4175 | (clear_thread_inferior_resources): Call target_teardown_btrace. |
| 4176 | * common/btrace-common.h: New file. |
| 4177 | |
| 4178 | 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 4179 | |
| 4180 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Call also kill |
| 4181 | for CHILD, ignore PTRACE_KILL errors, move the inner block variable |
| 4182 | kill_status to outer block. |
| 4183 | |
| 4184 | 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 4185 | |
| 4186 | Fix entry-values if the callee called a noreturn function. |
| 4187 | * dwarf2-frame-tailcall.c (dwarf2_tailcall_sniffer_first): Use |
| 4188 | get_frame_address_in_block. Add new comment. |
| 4189 | |
| 4190 | 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 4191 | |
| 4192 | Fix entry-values in C++ across CUs. |
| 4193 | * dwarf2loc.c (call_site_to_target_addr) <FIELD_LOC_KIND_PHYSNAME>: Use |
| 4194 | lookup_minimal_symbol. Add a comment. |
| 4195 | * dwarf2read.c |
| 4196 | (read_call_site_scope) <is_ref_attr> <die_is_declaration>: Prefer |
| 4197 | DW_AT_linkage_name. |
| 4198 | |
| 4199 | 2013-03-08 Yao Qi <yao@codesourcery.com> |
| 4200 | |
| 4201 | * tracepoint.c (_initialize_tracepoint): Indent the code. |
| 4202 | |
| 4203 | 2013-03-08 Pedro Alves <palves@redhat.com> |
| 4204 | |
| 4205 | * findcmd.c (put_bits): Change type of parameter to 'gdb_byte *'. |
| 4206 | (parse_find_args, find_command): Change type of pattern buffer |
| 4207 | locals to 'gdb_byte *'. |
| 4208 | |
| 4209 | 2013-03-08 Stan Shebs <stan@codesourcery.com> |
| 4210 | Hafiz Abid Qadeer <abidh@codesourcery.com> |
| 4211 | |
| 4212 | * NEWS: Mention set and show trace-buffer-size commands. |
| 4213 | Mention new packet. |
| 4214 | * target.h (struct target_ops): New method |
| 4215 | to_set_trace_buffer_size. |
| 4216 | (target_set_trace_buffer_size): New macro. |
| 4217 | * target.c (update_current_target): Set up new method. |
| 4218 | * tracepoint.c (trace_buffer_size): New global. |
| 4219 | (start_tracing): Send it to the target. |
| 4220 | (set_trace_buffer_size): New function. |
| 4221 | (_initialize_tracepoint): Add new setshow for trace-buffer-size. |
| 4222 | * remote.c (remote_set_trace_buffer_size): New function. |
| 4223 | (_initialize_remote): Use it. |
| 4224 | (QTBuffer:size) New remote command. |
| 4225 | (PACKET_QTBuffer_size): New enum. |
| 4226 | (remote_protocol_features): Add an entry for |
| 4227 | PACKET_QTBuffer_size. |
| 4228 | |
| 4229 | 2013-03-08 Tom Tromey <tromey@redhat.com> |
| 4230 | |
| 4231 | * remote-m32r-sdi.c (m32r_load): Call skip_spaces on correct |
| 4232 | variable. |
| 4233 | |
| 4234 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 4235 | |
| 4236 | * target.c (target_read_stralloc, target_fileio_read_alloc): |
| 4237 | *Cast pointer to 'gdb_byte *' in target call. |
| 4238 | |
| 4239 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 4240 | |
| 4241 | * corefile.c (read_memory_string): Cast pointer to gdb_byte* in |
| 4242 | call. |
| 4243 | |
| 4244 | 2013-03-07 Keith Seitz <keiths@redhat.com> |
| 4245 | |
| 4246 | * breakpoint.c (catch_syscall_split_args): Use skip_spaces. |
| 4247 | (trace_pass_command): Likewise. |
| 4248 | * cli/cli-cmds.c: Include cli/cli-utils.h. |
| 4249 | (source_command): Use skip-spaces. |
| 4250 | (disassemble_command): Likewise. |
| 4251 | * findcmd.c: Include cli/cli-utils.h. |
| 4252 | (parse_find_args): Use skip_spaces. |
| 4253 | * go32-nat.c: Include cli/cli-utils.h. |
| 4254 | (go32_sldt): Use skip_spaces. |
| 4255 | (go32_sgdt): Likewise. |
| 4256 | (go32_sidt): Likewise. |
| 4257 | (go32_pde): Likewise. |
| 4258 | (go32_pte): Likewise. |
| 4259 | (go32_pte_for_address): Likewise. |
| 4260 | * infcmd.c: Include cli/cli-utils.h. |
| 4261 | (registers_info): Use skip_spaces. |
| 4262 | * linux-tdep.c (read_mapping): Use skip_spaces_const. |
| 4263 | (linux_info_proc): Likewise. |
| 4264 | * linux-thread-db.c: Include cli/cli-utils.h. |
| 4265 | (info_auto_load_libthread_db): Use skip_spaces_const. |
| 4266 | * m32r-rom.c: Include cli/cli-utils.h. |
| 4267 | (m32r_upload_command): Use skip_spaces. |
| 4268 | * maint.c: Include cli/cli-utils.h. |
| 4269 | (maintenance_translate_address): Use skip_spaces. |
| 4270 | * mi/mi-parse.c: Include cli/cli-utils.h. |
| 4271 | (mi_parse_argv): Use skip_spaces. |
| 4272 | (mi_parse): Likewise. |
| 4273 | * minsyms.c: Include cli/cli-utils.h. |
| 4274 | (msymbol_hash_iw): Use skip_spaces_const. |
| 4275 | * objc-lang.c: Include cli/cli-utils.h. |
| 4276 | (parse_selector): Use skip_spaces. |
| 4277 | (parse_method): Likewise. |
| 4278 | * python/python.c: Include cli/cli-utils.h. |
| 4279 | (python_interactive_command)[HAVE_PYTHON]: Use skip_spaces. |
| 4280 | (python_command)[HAVE_PYTHON]: Likewise. |
| 4281 | (python_interactive_command)[!HAVE_PYTHON]: Likewise. |
| 4282 | * remote-m32r-sdi.c: Include cli/cli-utils.h. |
| 4283 | (m32r_load): Use skip_spaces. |
| 4284 | * serial.c: Include cli/cli-utils.h. |
| 4285 | (serial_open): Use skip_spaces_const. |
| 4286 | * stack.c: Include cli/cli-utils.h. |
| 4287 | (parse_frame_specification_1): Use skip_spaces_const. |
| 4288 | * symfile.c: Include cli/cli-utils.h. |
| 4289 | (set_ext_lang_command): Use skip_spaces. |
| 4290 | * symtab.c: Include cli/cli-utils.h. |
| 4291 | (rbreak_command): Use skip_spaces. |
| 4292 | * thread.c (thread_name_command): Use skip_spaces. |
| 4293 | * tracepoint.c (validate_actionline): Use skip_spaces. |
| 4294 | (encode_actions_1): Likewise. |
| 4295 | (trace_find_range_command): Likewise. |
| 4296 | (trace_find_outside_command): Likewise. |
| 4297 | (trace_dump_actions): Likewise. |
| 4298 | |
| 4299 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 4300 | |
| 4301 | * c-lang.c (parse_one_string): Cast argument to gdb_byte *. |
| 4302 | * expprint.c (print_subexp_standard): Likewise. |
| 4303 | * utils.c (host_char_to_target): Likewise. |
| 4304 | * valprint.c (generic_emit_char, generic_printstr): Likewise. |
| 4305 | * varobj.c (value_get_print_value): Change type of local to char*. |
| 4306 | Cast it gdb_byte * in call to language printer. |
| 4307 | |
| 4308 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 4309 | |
| 4310 | * charset.c (struct wchar_iterator) <input>: Change type to 'const |
| 4311 | gdb_byte *'. |
| 4312 | (make_wchar_iterator): Remove cast to char*. |
| 4313 | (wchar_iterate): Change type of local. |
| 4314 | |
| 4315 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 4316 | |
| 4317 | * regcache.c (regcache_xmalloc_1): Call XCALLOC with signed char |
| 4318 | for 'regcache->register_status'. |
| 4319 | |
| 4320 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 4321 | |
| 4322 | * breakpoint.c (breakpoint_xfer_memory): Change type of local to |
| 4323 | int. |
| 4324 | |
| 4325 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 4326 | |
| 4327 | * stap-probe.c (handle_stap_probe): Add cast to char*. |
| 4328 | |
| 4329 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 4330 | |
| 4331 | * linux-record.c (record_linux_system_call) <gdb_sys_msgrcv, |
| 4332 | RECORD_MSGRCV>: Pass a signed variable to |
| 4333 | regcache_raw_read_signed, instead of an unsigned one. |
| 4334 | |
| 4335 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 4336 | |
| 4337 | * remote-notif.c (notif_debug): Change type to int. |
| 4338 | * remote-notif.h (notif_debug): Likewise. |
| 4339 | |
| 4340 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 4341 | |
| 4342 | * ser-tcp.c (tcp_retry_limit): Change type to unsigned int. |
| 4343 | |
| 4344 | 2013-03-07 Pedro Alves <palves@redhat.com> |
| 4345 | |
| 4346 | * remote.c (hex2bin, bin2hex): Move extern declarations to ... |
| 4347 | * remote.h (hex2bin, bin2hex): ... here. |
| 4348 | * tracepoint.c (hex2bin, bin2hex): Remove extern declarations. |
| 4349 | |
| 4350 | 2013-03-07 Eli Zaretskii <eliz@gnu.org> |
| 4351 | |
| 4352 | * utils.c (initialize_utils): Improve doc strings of "set/show |
| 4353 | width", "set/show height", and "set/show pagination". |
| 4354 | |
| 4355 | 2013-03-06 Keith Seitz <keiths@redhat.com> |
| 4356 | |
| 4357 | * ax-gdb.c (gen_printf): Make FORMAT const. |
| 4358 | * ax-gdb.h (gen_printf): Likewise. |
| 4359 | * ax-general.c (ax_string): Make STR const. |
| 4360 | * ax.h (ax_string): Likewise. |
| 4361 | |
| 4362 | 2013-03-06 Doug Evans <dje@google.com> |
| 4363 | |
| 4364 | * elfread.c (elf_symfile_read): Move debugging printf to more |
| 4365 | logical location. |
| 4366 | |
| 4367 | 2013-03-06 Pedro Alves <palves@redhat.com> |
| 4368 | |
| 4369 | * python/py-utils.c (target_string_to_unicode): Delete function. |
| 4370 | * python/python-internal.h (target_string_to_unicode): Delete |
| 4371 | declaration. |
| 4372 | |
| 4373 | 2013-03-06 Pierre Muller <muller@sourceware.org> |
| 4374 | |
| 4375 | * linespec.c (get_current_search_block): ARI fix, use (void) |
| 4376 | for empty parameter list. |
| 4377 | |
| 4378 | 2013-03-05 Doug Evans <dje@google.com> |
| 4379 | |
| 4380 | * ada-lang.c (ada_lookup_symbol_list_worker): New function, contents |
| 4381 | of old ada_lookup_symbol_list. In !full_search case, don't |
| 4382 | search superblocks. |
| 4383 | (ada_lookup_symbol_list): Delete arg full_search, all callers |
| 4384 | updated. Call ada_lookup_symbol_list_worker. |
| 4385 | (ada_iterate_over_symbols): Call ada_lookup_symbol_list_worker. |
| 4386 | * ada-lang.h (ada_lookup_symbol_list): Update. |
| 4387 | * language.h (language_defn): Update comment for |
| 4388 | la_iterate_over_symbols. |
| 4389 | * linespec.c (iterate_over_file_blocks): New function. |
| 4390 | (iterate_over_all_matching_symtabs): Call it. |
| 4391 | (lookup_prefix_sym): Ditto. |
| 4392 | (get_current_search_block): New function. |
| 4393 | (get_search_block): Delete. |
| 4394 | (find_label_symbols): Call get_current_search_block. |
| 4395 | (add_matching_symbols_to_info): Call iterate_over_file_blocks. |
| 4396 | * symtab.c (iterate_over_symbols): Don't search superblocks. |
| 4397 | |
| 4398 | 2013-03-05 Yao Qi <yao@codesourcery.com> |
| 4399 | |
| 4400 | * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): Change |
| 4401 | parameter VAR's type from "unsigned int" to "int". |
| 4402 | * command.h (var_zuinteger_unlimited): Update its comments. |
| 4403 | (add_setshow_zuinteger_unlimited_cmd): Update the declaration. |
| 4404 | |
| 4405 | 2013-03-05 Corinna Vinschen <vinschen@redhat.de> |
| 4406 | |
| 4407 | * NEWS: Mention new target x86_64-*-cygwin*. |
| 4408 | |
| 4409 | 2013-03-05 Corinna Vinschen <vinschen@redhat.de> |
| 4410 | |
| 4411 | * configure.host: Add x86_64-*-cygwin* as host. |
| 4412 | * configure.tgt: Add x86_64-*-cygwin* as target. |
| 4413 | * config/i386/cygwin64.mh: New file. |
| 4414 | |
| 4415 | 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 4416 | |
| 4417 | * linespec.c (decode_line_2): Fix duplicate request off by two message. |
| 4418 | |
| 4419 | 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 4420 | |
| 4421 | * linespec.c (struct linespec_canonical_name): New. |
| 4422 | (struct linespec_state): Change canonical_names type to it. |
| 4423 | (add_sal_to_sals): Change variable canonical_name to canonical. Change |
| 4424 | xrealloc element size. Initialize the different CANONICAL fields. |
| 4425 | (canonical_to_fullform): New. |
| 4426 | (filter_results): Use it. Add variables canonical, fullform and |
| 4427 | cleanup. |
| 4428 | (struct decode_line_2_item, decode_line_2_compare_items): New. |
| 4429 | (decode_line_2): Remove variables iter and item_names, add variables |
| 4430 | items and items_count. Modify the code for these new variables. |
| 4431 | |
| 4432 | 2013-03-04 Corinna Vinschen <vinschen@redhat.com> |
| 4433 | |
| 4434 | * coff-pe-read.c (read_pe_exported_syms): Don't return without |
| 4435 | calling do_cleanup. |
| 4436 | |
| 4437 | 2013-03-04 Luis Machado <lgustavo@codesourcery.com> |
| 4438 | |
| 4439 | * tracepoint.c (build_traceframe_info): Add code for byte order. |
| 4440 | |
| 4441 | 2013-03-02 Kevin Buettner <kevinb@redhat.com> |
| 4442 | |
| 4443 | * v850-tdep.c: (v850e2_register_name): Revise system register |
| 4444 | names to match current V850E2M architecture specifications. |
| 4445 | Update register number enum comments too. |
| 4446 | |
| 4447 | 2013-03-01 Jiong Wang <jiwang@tilera.com> |
| 4448 | Pedro Alves <palves@redhat.com> |
| 4449 | |
| 4450 | * tilegx-tdep.c (tilegx_analyze_prologue): Limit bundle reading |
| 4451 | to END_ADDR. |
| 4452 | (tilegx_skip_prologue): Limit prologue analysis to section end. |
| 4453 | |
| 4454 | 2013-03-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 4455 | |
| 4456 | * dwarf2loc.c (call_site_find_chain_1): New variable save_callee_pc, |
| 4457 | use it. |
| 4458 | |
| 4459 | 2013-03-01 Pedro Alves <palves@redhat.com> |
| 4460 | |
| 4461 | Use gdb_byte for bytes from the program being debugged. |
| 4462 | |
| 4463 | * arm-tdep.c (arm_store_return_value, arm_get_longjmp_target): |
| 4464 | Change type of local 'buf' to gdb_byte. |
| 4465 | * avr-tdep.c (avr_frame_prev_register, avr_push_dummy_call): Likewise. |
| 4466 | * bfin-tdep.c (bfin_push_dummy_call): Likewise. |
| 4467 | * cris-tdep.c (cris_sigcontext_addr) |
| 4468 | (cris_sigtramp_frame_unwind_cache): Likewise. |
| 4469 | * frv-linux-tdep.c (frv_linux_pc_in_sigtramp) |
| 4470 | (frv_linux_sigcontext_reg_addr, frv_linux_sigtramp_frame_cache): |
| 4471 | Likewise. |
| 4472 | * frv-tdep.c (frv_pseudo_register_write, frv_analyze_prologue): Likewise. |
| 4473 | * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer) |
| 4474 | (hppa32_hpux_search_dummy_call_sequence) |
| 4475 | (hppa_hpux_supply_save_state): Likewise. |
| 4476 | * hppa-linux-tdep.c (insns_match_pattern) |
| 4477 | (hppa_linux_find_global_pointer): Likewise. |
| 4478 | * hppa-tdep.c (hppa_in_function_epilogue_p) |
| 4479 | (skip_prologue_hard_way, hppa_frame_cache): Likewise. |
| 4480 | * i386-nto-tdep.c (i386nto_sigcontext_addr): Likewise. |
| 4481 | * i386fbsd-tdep.c (i386fbsd_supply_uthread) |
| 4482 | (i386fbsd_collect_uthread): Likewise. |
| 4483 | * ia64-hpux-tdep.c (ia64_hpux_push_dummy_code): Likewise. |
| 4484 | * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): Likewise. |
| 4485 | * ia64-tdep.c (examine_prologue, ia64_frame_cache) |
| 4486 | (ia64_frame_prev_register, ia64_sigtramp_frame_cache) |
| 4487 | (ia64_sigtramp_frame_prev_register, ia64_access_reg) |
| 4488 | (ia64_access_rse_reg, ia64_libunwind_frame_this_id) |
| 4489 | (ia64_libunwind_frame_prev_register) |
| 4490 | (ia64_libunwind_sigtramp_frame_this_id) |
| 4491 | (ia64_find_global_pointer_from_dynamic_section) |
| 4492 | (find_extant_func_descr, find_func_descr, ia64_dummy_id) |
| 4493 | (ia64_unwind_pc): Likewise. |
| 4494 | * iq2000-tdep.c (iq2000_store_return_value): Likewise. |
| 4495 | * m68hc11-tdep.c (m68hc11_push_dummy_call) |
| 4496 | (m68hc11_extract_return_value): Likewise. |
| 4497 | * m68klinux-nat.c (fetch_register, store_register): Likewise. |
| 4498 | * mep-tdep.c (mep_pseudo_cr32_read, mep_pseudo_cr32_write) |
| 4499 | (mep_get_insn, mep_push_dummy_call): Likewise. |
| 4500 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) |
| 4501 | (mips_linux_in_dynsym_stub): Likewise. |
| 4502 | * mn10300-tdep.c (mep_pseudo_cr32_write): Likewise. |
| 4503 | * ppc-linux-nat.c (fetch_register, store_register): Likewise. |
| 4504 | * regcache.c (dump_endian_bytes): Change type of parameter 'buf' |
| 4505 | to gdb_byte. |
| 4506 | * remote-mips.c (mips_set_register): Likewise. |
| 4507 | * remote-sim.c (gdbsim_fetch_register): Likewise. |
| 4508 | * score-tdep.c (score7_fetch_inst): Change type of parameter |
| 4509 | 'memblock' and local 'buf' to gdb_byte. |
| 4510 | (score7_malloc_and_get_memblock): Change return type to gdb_byte. |
| 4511 | Change type of local 'buf' to gdb_byte. Adjust. |
| 4512 | (score7_adjust_memblock_ptr): Change type of parameter 'memblock' |
| 4513 | to gdb_byte**. |
| 4514 | (score7_analyze_prologue): Change type of 'memblock' and |
| 4515 | 'memblock_ptr' locals to gdb_byte*. |
| 4516 | * sh64-tdep.c (sh64_extract_return_value) |
| 4517 | (sh64_store_return_value): Change type of local 'buf' to gdb_byte. |
| 4518 | * solib-darwin.c (darwin_current_sos, darwin_read_exec_load_addr): |
| 4519 | * solib-pa64.c (pa64_solib_create_inferior_hook) |
| 4520 | (pa64_open_symbol_file_object): Remove local 'buf'. |
| 4521 | * solib-som.c (som_solib_create_inferior_hook, link_map_start) |
| 4522 | (som_open_symbol_file_object): Likewise. |
| 4523 | * solib-spu.c (spu_current_sos): Likewise. |
| 4524 | * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise. |
| 4525 | * spu-multiarch.c (parse_spufs_run, spu_fetch_registers) |
| 4526 | (spu_store_registers): Likewise. |
| 4527 | * target.c (debug_print_register): Likewise. |
| 4528 | * tic6x-tdep.c (tic6x_get_longjmp_target): Likewise. |
| 4529 | * xstormy16-tdep.c (xstormy16_store_return_value) |
| 4530 | (xstormy16_push_dummy_call, xstormy16_resolve_jmp_table_entry) |
| 4531 | (xstormy16_find_jmp_table_entry): Likewise. |
| 4532 | |
| 4533 | 2013-03-01 Jiong Wang <jiwang@tilera.com> |
| 4534 | |
| 4535 | * tilegx-tdep.c (tilegx_get_longjmp_target): New function. |
| 4536 | (tilegx_gdbarch_init): Install it. |
| 4537 | |
| 4538 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
| 4539 | |
| 4540 | * python/py-arch.c (archpy_disassemble): Use PyInt_Check and |
| 4541 | PyLong_Check. |
| 4542 | |
| 4543 | 2013-02-28 Doug Evans <dje@google.com> |
| 4544 | |
| 4545 | * python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint. |
| 4546 | * python/python.c (gdbpy_find_pc_line): Ditto. |
| 4547 | |
| 4548 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
| 4549 | |
| 4550 | * contrib/excheck.py: New file. |
| 4551 | * contrib/exsummary.py: New file. |
| 4552 | * contrib/gcc-with-excheck: New file. |
| 4553 | |
| 4554 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
| 4555 | |
| 4556 | * python/python.c (gdbpy_print_stack): Call begin_line and |
| 4557 | fprintf_filtered inside TRY_CATCH. |
| 4558 | |
| 4559 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
| 4560 | |
| 4561 | * python/python.c (gdbpy_find_pc_line): Call find_pc_line |
| 4562 | inside TRY_CATCH. |
| 4563 | |
| 4564 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
| 4565 | |
| 4566 | * py-finishbreakpoint.c (bpfinishpy_init): Reorganize to call |
| 4567 | frame_object_to_frame_info inside TRY_CATCH. |
| 4568 | |
| 4569 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
| 4570 | |
| 4571 | * py-block.c (gdbpy_block_for_pc): Call block_for_pc inside |
| 4572 | TRY_CATCH. |
| 4573 | |
| 4574 | 2013-02-28 Tom Tromey <tromey@redhat.com> |
| 4575 | |
| 4576 | * objfiles.h (ALL_PSPACE_OBJFILES): Remove trailing backlash. |
| 4577 | |
| 4578 | 2013-02-27 Corinna Vinschen <vinschen@redhat.com> |
| 4579 | |
| 4580 | * windows-nat.c: Throughout, fix format strings and casts of |
| 4581 | printf-like functions to avoid type related warnings on all |
| 4582 | platforms. |
| 4583 | (handle_output_debug_string): Fetch context information address |
| 4584 | from debug string using string_to_core_addr. |
| 4585 | |
| 4586 | 2013-02-27 Jiong Wang <jiwang@tilera.com> |
| 4587 | |
| 4588 | * regformats/reg-tilegx.dat (name): Change abi name to "tilegx". |
| 4589 | * regformats/reg-tilegx32.dat: New. |
| 4590 | |
| 4591 | 2013-02-27 Jiong Wang <jiwang@tilera.com> |
| 4592 | |
| 4593 | * configure.tgt (tilegx-*-linux*): Enable gdbserver. |
| 4594 | |
| 4595 | 2013-02-27 Jiong Wang <jiwang@tilera.com> |
| 4596 | |
| 4597 | * configure.tgt (tilegx-*-linux*): Replace whitespace with tab. |
| 4598 | |
| 4599 | 2013-02-27 Yao Qi <yao@codesourcery.com> |
| 4600 | Pedro Alves <palves@redhat.com> |
| 4601 | |
| 4602 | * tracepoint.c (tfile_trace_find): For tfind |
| 4603 | pc/tp/range/outside, look for the next trace frame instead of |
| 4604 | always starting from frame 0. |
| 4605 | |
| 4606 | 2013-02-26 Anthony Green <green@moxielogic.com> |
| 4607 | |
| 4608 | * configure.tgt: Add support for moxie-*-rtems* target. |
| 4609 | |
| 4610 | 2013-02-25 Pedro Alves <palves@redhat.com> |
| 4611 | |
| 4612 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change |
| 4613 | warning text. |
| 4614 | |
| 4615 | 2013-02-24 Maciej W. Rozycki <macro@codesourcery.com> |
| 4616 | |
| 4617 | * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero |
| 4618 | if $fp is used as the virtual frame pointer. |
| 4619 | |
| 4620 | 2013-02-23 Alan Modra <amodra@gmail.com> |
| 4621 | |
| 4622 | * elfread.c (elf_symtab_read): Do not use udata.p here to find |
| 4623 | symbol size. |
| 4624 | * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function. |
| 4625 | * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare. |
| 4626 | * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above. |
| 4627 | * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise. |
| 4628 | |
| 4629 | 2013-02-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 4630 | |
| 4631 | Code cleanup. |
| 4632 | * elfread.c (build_id_bfd_get): Make the return type const. |
| 4633 | (build_id_verify): Make the check parameter const. |
| 4634 | (build_id_to_debug_filename): Make the build_id parameter and variable |
| 4635 | data const. |
| 4636 | (find_separate_debug_file_by_buildid): Make the variable build_id const. |
| 4637 | |
| 4638 | 2013-02-21 Alan Modra <amodra@gmail.com> |
| 4639 | |
| 4640 | * elfread.c (build_id_bfd_get): Adjust for elf_tdata changes. |
| 4641 | |
| 4642 | 2013-02-20 Siva Chandra Reddy <sivachandra@google.com> |
| 4643 | |
| 4644 | Add a new method 'disassemble' to gdb.Architecture class. |
| 4645 | * python/py-arch.c (archpy_disassmble): Implementation of the |
| 4646 | new method gdb.Architecture.disassemble. |
| 4647 | (arch_object_methods): Add entry for the new method. |
| 4648 | |
| 4649 | 2013-02-20 Jiong Wang <jiwang@tilera.com> |
| 4650 | |
| 4651 | * MAINTAINERS (Write After Approval): Add myself to the list. |
| 4652 | |
| 4653 | 2013-02-19 Pedro Alves <palves@redhat.com> |
| 4654 | |
| 4655 | Garbage collect 'struct monitor_ops'::load_routine. |
| 4656 | |
| 4657 | * monitor.h (struct monitor_ops) <load_routine>: Remove field. |
| 4658 | * monitor.c (monitor_load): No longer call |
| 4659 | current_monitor->load_routine. |
| 4660 | * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'. |
| 4661 | * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'. |
| 4662 | * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'. |
| 4663 | |
| 4664 | 2013-02-19 Pedro Alves <palves@redhat.com> |
| 4665 | |
| 4666 | PR gdb/15161 |
| 4667 | |
| 4668 | Harmonize with generic_load. |
| 4669 | |
| 4670 | * monitor.c: Include "readline/readline.h". |
| 4671 | (monitor_load): Rename parameter 'file' to 'args'. Use build_argv |
| 4672 | instead of sscanf. Use CORE_ADDR/strtoulst instead of unsigned |
| 4673 | long/strtol for the 'load_offset' local. Error out if no argument |
| 4674 | is given or if too many arguments are given. Tilde expand the |
| 4675 | passed in file name. |
| 4676 | |
| 4677 | 2013-02-19 Kai Tietz <ktietz@redhat.com> |
| 4678 | |
| 4679 | PR gdb/15161 |
| 4680 | * symfile.c (load_section_data): Change type of load_offset |
| 4681 | to CORE_ADDR. |
| 4682 | (generic_load): User strtoulst instead of strtoul for conversion |
| 4683 | of load_offset. |
| 4684 | |
| 4685 | 2013-02-19 Jiong Wang <jiwang@tilera.com> |
| 4686 | |
| 4687 | * tilegx-tdep.c (tilegx_analyze_prologue): add check for |
| 4688 | for return address, "lr" register, saved on stack. |
| 4689 | * tilegx-tdep.c (tilegx_frame_cache): update "PC" reg |
| 4690 | after we invoke tilegx_analyze_prologue. |
| 4691 | |
| 4692 | 2013-02-19 Jiong Wang <jiwang@tilera.com> |
| 4693 | |
| 4694 | * tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed. |
| 4695 | |
| 4696 | 2013-02-19 Jiong Wang <jiwang@tilera.com> |
| 4697 | |
| 4698 | * tilegx-tdep.c (tilegx_skip_prologue): Use skip_prologue_using_sal. |
| 4699 | |
| 4700 | 2013-02-19 Jiong Wang <jiwang@tilera.com> |
| 4701 | |
| 4702 | * tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro. |
| 4703 | (tilegx_write_pc): New function. |
| 4704 | (tilegx_cannot_reference_register): Return zero if REGNO |
| 4705 | is TILEGX_FAULTNUM_REGNUM. |
| 4706 | (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc. |
| 4707 | (tilegx_register_name): Add handling of "faultnum" register. |
| 4708 | * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM. |
| 4709 | * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add |
| 4710 | handling of TILEGX_FAULTNUM_REGNUM. |
| 4711 | * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM. |
| 4712 | |
| 4713 | 2013-02-19 Jiong Wang <jiwang@tilera.com> |
| 4714 | |
| 4715 | * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack |
| 4716 | should be aligned to 64bit. |
| 4717 | |
| 4718 | 2013-02-19 Kai Tietz <ktietz@redhat.com> |
| 4719 | |
| 4720 | * windows-nat.c (windows_xfer_memory): Fix debug-output |
| 4721 | for LLP64. |
| 4722 | |
| 4723 | 2013-02-19 Lei Liu <lei.liu2@windriver.com> |
| 4724 | |
| 4725 | * mips-linux-nat.c (mips64_linux_regsets_store_registers): |
| 4726 | Don't check DSP register number if HAVE_DSP is not set. |
| 4727 | |
| 4728 | 2013-02-19 Alan Modra <amodra@gmail.com> |
| 4729 | |
| 4730 | * elfread.c (struct build_id): Delete. Use struct elf_build_id |
| 4731 | throughout file instead. |
| 4732 | (build_id_bfd_get): Update to use new elf_tdata build_id field. |
| 4733 | Don't xmalloc return value. |
| 4734 | (build_id_verify): Similarly. Don't xfree. |
| 4735 | (build_id_to_debug_filename): Update. |
| 4736 | (find_separate_debug_file_by_buildid): Update, don't xfree. |
| 4737 | |
| 4738 | 2013-02-18 Tom Tromey <tromey@redhat.com> |
| 4739 | |
| 4740 | PR gdb/15102: |
| 4741 | * dwarf2read.c (read_subrange_type): Use result of |
| 4742 | 'check_typedef'. |
| 4743 | |
| 4744 | 2013-02-16 Yuanhui Zhang <asmwarrior@gmail.com> |
| 4745 | |
| 4746 | * frame.c: Remove one extra white space after #include |
| 4747 | directive. |
| 4748 | |
| 4749 | 2013-02-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 4750 | |
| 4751 | * contrib/cc-with-tweaks.sh: Extend the comment for -p option. |
| 4752 | |
| 4753 | 2013-02-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 4754 | |
| 4755 | * gdb-gdb.gdb.in: Wrap set complaints, b internal_error, b info_command |
| 4756 | and dir commands into an if block. |
| 4757 | |
| 4758 | 2013-02-15 Sanimir Agovic <sanimir.agovic@intel.com> |
| 4759 | |
| 4760 | * python/py-breakpoint (struct pybp_code): Use int instead of |
| 4761 | enum type_code. |
| 4762 | |
| 4763 | 2013-02-15 Pedro Alves <pedro@codesourcery.com> |
| 4764 | Hafiz Abid Qadeer <abidh@codesourcery.com> |
| 4765 | |
| 4766 | * NEWS: Mention new field "trace-file". |
| 4767 | * tracepoint.c (trace_status_mi): Output "trace-file" field. |
| 4768 | (tfile_open): Record the trace file's filename in the trace |
| 4769 | status. |
| 4770 | (tfile_files_info): Mention the name of the trace file. |
| 4771 | Check the "filename" field explicitely. |
| 4772 | (trace_status_command): Explicitely check "filename" field. |
| 4773 | (trace_find_command): Ditto. |
| 4774 | (trace_find_pc_command): Ditto. |
| 4775 | (trace_find_tracepoint_command): Ditto. |
| 4776 | (trace_find_line_command): Ditto. |
| 4777 | (trace_find_range_command): Ditto. |
| 4778 | (trace_find_outside_command): Ditto. |
| 4779 | * tracepoint.h (struct trace_status) <from_file>: Rename it |
| 4780 | to "filename" and make it hold the trace file's filename |
| 4781 | instead of a boolean. |
| 4782 | * remote.c (remote_get_trace_status): Initialize "filename" |
| 4783 | field with NULL instead of 0. |
| 4784 | |
| 4785 | 2013-02-15 Yao Qi <yao@codesourcery.com> |
| 4786 | |
| 4787 | * remote.c: Fix a typo. |
| 4788 | |
| 4789 | 2013-02-14 Pierre Muller <muller@sourceware.org> |
| 4790 | |
| 4791 | * contrib/ari/gdb_ari.sh (GNU/Linux rule): Remove. |
| 4792 | |
| 4793 | 2013-02-14 Pedro Alves <palves@redhat.com> |
| 4794 | |
| 4795 | * utils.c (savestring): Don't #undef it. Move function to |
| 4796 | common/common-utils.c. |
| 4797 | * common/common-utils.c: Include gdb_string.h. |
| 4798 | (savestring): Move here from utils.c. |
| 4799 | * common/common-utils.h (savestring): Declare. |
| 4800 | |
| 4801 | 2013-02-14 Pedro Alves <palves@redhat.com> |
| 4802 | |
| 4803 | * utils.c (savestring): Rename parameter 'size' to 'len'. |
| 4804 | |
| 4805 | 2013-02-14 Pedro Alves <palves@redhat.com> |
| 4806 | Yufeng Zhang <yufeng.zhang@arm.com> |
| 4807 | |
| 4808 | * aarch64-linux-nat.c (aarch64_init_debug_reg_state): Delete. |
| 4809 | (aarch64_inferior_data, struct aarch64_inferior_data): |
| 4810 | Delete. |
| 4811 | (struct aarch64_process_info): New. |
| 4812 | (aarch64_process_list): New global. |
| 4813 | (aarch64_find_process_pid, aarch64_add_process) |
| 4814 | (aarch64_process_info_get): New functions. |
| 4815 | (aarch64_inferior_data_get): Delete. |
| 4816 | (aarch64_process_info_get): New function. |
| 4817 | (aarch64_forget_process): New function. |
| 4818 | (aarch64_get_debug_reg_state): New parameter 'pid'. Reimplement. |
| 4819 | (aarch64_linux_prepare_to_resume): Pass the lwp's pid to |
| 4820 | aarch64_get_debug_reg_state. |
| 4821 | (aarch64_notify_debug_reg_change): Use iterate_over_lwps |
| 4822 | instead of linux_nat_iterate_watchpoint_lwps. |
| 4823 | (aarch64_linux_new_fork): New function. |
| 4824 | (aarch64_linux_child_post_startup_inferior): Use |
| 4825 | aarch64_forget_process instead of aarch64_init_debug_reg_state. |
| 4826 | (aarch64_handle_breakpoint, aarch64_linux_insert_hw_breakpoint) |
| 4827 | (aarch64_linux_remove_hw_breakpoint) |
| 4828 | (aarch64_handle_aligned_watchpoint) |
| 4829 | (aarch64_handle_unaligned_watchpoint) |
| 4830 | (aarch64_linux_insert_watchpoint) |
| 4831 | (aarch64_linux_remove_watchpoint) |
| 4832 | (aarch64_linux_stopped_data_address): Adjust to pass the current |
| 4833 | process id to aarch64_debug_reg_state. |
| 4834 | (_initialize_aarch64_linux_nat): Install aarch64_linux_new_fork as |
| 4835 | linux_nat_new_fork hook, and aarch64_forget_process as |
| 4836 | linux_nat_forget_process hook; remove the call to |
| 4837 | register_inferior_data_with_cleanup. |
| 4838 | |
| 4839 | 2013-02-14 Pedro Alves <palves@redhat.com> |
| 4840 | |
| 4841 | * eval.c (evaluate_subexp_for_address) <default_case_after_eval, |
| 4842 | EVAL_AVOID_SIDE_EFFECTS>: Swap and handle TYPE_CODE_REF before |
| 4843 | lval_memory. |
| 4844 | |
| 4845 | 2013-02-14 Pedro Alves <pedro@codesourcery.com> |
| 4846 | Hafiz Abid Qadeer <abidh@codesourcery.com> |
| 4847 | |
| 4848 | * tracepoint.h (validate_trace_state_variable_name): Declare. |
| 4849 | * tracepoint.c (validate_trace_state_variable_name): New. |
| 4850 | (trace_variable_command): Parse the trace state variable's name |
| 4851 | without using parse_expression. Do several validations. |
| 4852 | * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the |
| 4853 | trace state variable's name with parse_expression. Validate it. |
| 4854 | |
| 4855 | 2013-02-14 Yao Qi <yao@codesourcery.com> |
| 4856 | |
| 4857 | * infcmd.c (breakpoint_proceeded): Remove it. |
| 4858 | |
| 4859 | 2013-02-14 Yao Qi <yao@codesourcery.com> |
| 4860 | |
| 4861 | * tracepoint.c (end_actions_pseudocommand): Make it static. |
| 4862 | (while_stepping_pseudocommand): Likewise. |
| 4863 | * tracepoint.h (end_actions_pseudocommand): Remove the |
| 4864 | declaration. |
| 4865 | (while_stepping_pseudocommand): Likewise. |
| 4866 | |
| 4867 | 2013-02-14 Yao Qi <yao@codesourcery.com> |
| 4868 | |
| 4869 | * cli/cli-decode.c (help_cmd): Remove the declaration of |
| 4870 | "cmdlist". |
| 4871 | (help_all): Likewise. |
| 4872 | |
| 4873 | 2013-02-13 Pedro Alves <palves@redhat.com> |
| 4874 | |
| 4875 | * amd64-linux-nat.c (update_debug_registers_callback): |
| 4876 | Update comment. |
| 4877 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use |
| 4878 | iterate_over_lwps. |
| 4879 | (amd64_linux_prepare_to_resume): Pass the lwp's pid to |
| 4880 | i386_debug_reg_state. |
| 4881 | (amd64_linux_new_fork): New function. |
| 4882 | (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as |
| 4883 | linux_nat_new_fork hook, and i386_forget_process as |
| 4884 | linux_nat_forget_process hook. |
| 4885 | * i386-linux-nat.c (update_debug_registers_callback): |
| 4886 | Update comment. |
| 4887 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use |
| 4888 | iterate_over_lwps. |
| 4889 | (i386_linux_prepare_to_resume): Pass the lwp's pid to |
| 4890 | i386_debug_reg_state. |
| 4891 | (i386_linux_new_fork): New function. |
| 4892 | (_initialize_i386_linux_nat): Install i386_linux_new_fork as |
| 4893 | linux_nat_new_fork hook, and i386_forget_process as |
| 4894 | linux_nat_forget_process hook. |
| 4895 | * i386-nat.c (i386_init_dregs): Delete. |
| 4896 | (i386_inferior_data, struct i386_inferior_data): |
| 4897 | Delete. |
| 4898 | (struct i386_process_info): New. |
| 4899 | (i386_process_list): New global. |
| 4900 | (i386_find_process_pid, i386_add_process, i386_process_info_get): |
| 4901 | New functions. |
| 4902 | (i386_inferior_data_get): Delete. |
| 4903 | (i386_process_info_get): New function. |
| 4904 | (i386_debug_reg_state): New parameter 'pid'. Reimplement. |
| 4905 | (i386_forget_process): New function. |
| 4906 | (i386_cleanup_dregs): Rewrite. |
| 4907 | (i386_update_inferior_debug_regs, i386_insert_watchpoint) |
| 4908 | (i386_remove_watchpoint, i386_region_ok_for_watchpoint) |
| 4909 | (i386_stopped_data_address, i386_insert_hw_breakpoint) |
| 4910 | (i386_remove_hw_breakpoint): Adjust to pass the current process id |
| 4911 | to i386_debug_reg_state. |
| 4912 | (i386_use_watchpoints): Don't register inferior data. |
| 4913 | * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and |
| 4914 | adjust comment. |
| 4915 | (i386_forget_process): Declare. |
| 4916 | * linux-fork.c (delete_fork): Call linux_nat_forget_process. |
| 4917 | * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook): |
| 4918 | New static globals. |
| 4919 | (linux_child_follow_fork): Don't call linux_nat_new_thread here. |
| 4920 | (add_initial_lwp): New, factored out from ... |
| 4921 | (add_lwp): ... this. Don't check the number of lwps before |
| 4922 | calling linux_nat_new_thread. |
| 4923 | (linux_nat_iterate_watchpoint_lwps): Delete. |
| 4924 | (linux_nat_attach): Use add_initial_lwp instead of add_lwp. |
| 4925 | (linux_handle_extended_wait): Call the linux_nat_new_fork hook on |
| 4926 | forks and vforks. |
| 4927 | (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the |
| 4928 | initial lwp. |
| 4929 | (linux_nat_kill, linux_nat_mourn_inferior): Call |
| 4930 | linux_nat_forget_process. |
| 4931 | (linux_nat_set_new_fork, linux_nat_set_forget_process) |
| 4932 | (linux_nat_forget_process): New functions. |
| 4933 | * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete |
| 4934 | type. |
| 4935 | (linux_nat_iterate_watchpoint_lwps): Delete declaration. |
| 4936 | (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New |
| 4937 | types. |
| 4938 | (linux_nat_set_new_fork, linux_nat_set_forget_process) |
| 4939 | (linux_nat_forget_process): New declarations. |
| 4940 | |
| 4941 | * amd64fbsd-nat.c (super_mourn_inferior): New global. |
| 4942 | (amd64fbsd_mourn_inferior): New function. |
| 4943 | (_initialize_amd64fbsd_nat): Override to_mourn_inferior. |
| 4944 | * windows-nat.c (windows_detach): Call i386_cleanup_dregs. |
| 4945 | |
| 4946 | 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 4947 | |
| 4948 | * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity): |
| 4949 | Adding _(). |
| 4950 | |
| 4951 | 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 4952 | |
| 4953 | * aarch64-linux-nat.c (debug_reg_change_callback) |
| 4954 | (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with |
| 4955 | %s and phex(). |
| 4956 | |
| 4957 | 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 4958 | |
| 4959 | * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long |
| 4960 | with LONGEST. |
| 4961 | |
| 4962 | 2013-02-13 Pedro Alves <palves@redhat.com> |
| 4963 | Hafiz Abid Qadeer <abidh@codesourcery.com> |
| 4964 | |
| 4965 | * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS. |
| 4966 | |
| 4967 | 2013-02-12 Tom Tromey <tromey@redhat.com> |
| 4968 | |
| 4969 | PR symtab/11464: |
| 4970 | * c-exp.y (lex_one_token): Initialize other fields of yylval on |
| 4971 | NAME return. |
| 4972 | (classify_inner_name): Remove 'first_name' argument, add |
| 4973 | 'context'. Remove unused variable. |
| 4974 | (yylex): Explicitly maintain the context type. Exit loop earlier |
| 4975 | if NAME result is seen. |
| 4976 | |
| 4977 | 2013-02-12 Pedro Alves <palves@redhat.com> |
| 4978 | |
| 4979 | * amd64-darwin-tdep.c: Add (C) after Copyright. |
| 4980 | * cli/cli-cmds.h: Ditto. |
| 4981 | * cli/cli-decode.c: Ditto. |
| 4982 | * cli/cli-decode.h: Ditto. |
| 4983 | * cli/cli-dump.c: Ditto. |
| 4984 | * cli/cli-dump.h: Ditto. |
| 4985 | * cli/cli-interp.c: Ditto. |
| 4986 | * cli/cli-logging.c: Ditto. |
| 4987 | * cli/cli-script.c: Ditto. |
| 4988 | * cli/cli-script.h: Ditto. |
| 4989 | * cli/cli-setshow.c: Ditto. |
| 4990 | * cli/cli-setshow.h: Ditto. |
| 4991 | * cli/cli-utils.c: Ditto. |
| 4992 | * cli/cli-utils.h: Ditto. |
| 4993 | * config/alpha/nm-osf3.h: Ditto. |
| 4994 | * config/djgpp/djconfig.sh: Ditto. |
| 4995 | * config/i386/nm-fbsd.h: Ditto. |
| 4996 | * config/i386/nm-i386gnu.h: Ditto. |
| 4997 | * config/nm-linux.h: Ditto. |
| 4998 | * config/nm-nto.h: Ditto. |
| 4999 | * config/rs6000/nm-rs6000.h: Ditto. |
| 5000 | * config/sparc/nm-sol2.h: Ditto. |
| 5001 | * darwin-nat-info.c: Ditto. |
| 5002 | * dfp.c: Ditto. |
| 5003 | * dfp.h: Ditto. |
| 5004 | * gdb-demangle.h: Ditto. |
| 5005 | * i386-darwin-nat.c: Ditto. |
| 5006 | * i386-darwin-tdep.c: Ditto. |
| 5007 | * linux-fork.h: Ditto. |
| 5008 | * m32c-tdep.c: Ditto. |
| 5009 | * microblaze-linux-tdep.c: Ditto. |
| 5010 | * microblaze-rom.c: Ditto. |
| 5011 | * microblaze-tdep.c: Ditto. |
| 5012 | * microblaze-tdep.h: Ditto. |
| 5013 | * mips-linux-tdep.h: Ditto. |
| 5014 | * ppc-ravenscar-thread.c: Ditto. |
| 5015 | * ppc-ravenscar-thread.h: Ditto. |
| 5016 | * prologue-value.c: Ditto. |
| 5017 | * prologue-value.h: Ditto. |
| 5018 | * ravenscar-thread.c: Ditto. |
| 5019 | * ravenscar-thread.h: Ditto. |
| 5020 | * sparc-ravenscar-thread.c: Ditto. |
| 5021 | * sparc-ravenscar-thread.h: Ditto. |
| 5022 | * tilegx-linux-tdep.c: Ditto. |
| 5023 | * unwind_stop_reasons.def: Ditto. |
| 5024 | * windows-nat.h: Ditto. |
| 5025 | * xtensa-linux-tdep.c: Ditto. |
| 5026 | * xtensa-xtregs.c: Ditto. |
| 5027 | * regformats/regdat.sh: Ditto. |
| 5028 | * regformats/regdef.h: Ditto. |
| 5029 | |
| 5030 | 2013-02-12 Pedro Alves <palves@redhat.com> |
| 5031 | |
| 5032 | * break-catch-sig.c: Update copyright years. |
| 5033 | |
| 5034 | 2013-02-11 Siva Chandra Reddy <sivachandra@google.com> |
| 5035 | |
| 5036 | Add support for a destructor for ui_out data and use it to |
| 5037 | provide a ui_out destructor. |
| 5038 | * ui-out.h: Declare the new ui_out destructor. |
| 5039 | (ui_out_impl): Add a field for data destructor in ui_out_impl. |
| 5040 | * ui-out.c (default_data_destroy): Add a default data destructor |
| 5041 | which does nothing. |
| 5042 | (default_ui_out_impl): Set the new data_destroy field to |
| 5043 | default_data_destroy |
| 5044 | (uo_data_destroy): Local function which invokes the data |
| 5045 | destructor if present. |
| 5046 | (clear_table): Local function which clears the table data of a |
| 5047 | ui_out object. |
| 5048 | (ui_out_destroy): Public function which frees a ui_out object. |
| 5049 | (ui_out_table_end): Use the new clear_table function. |
| 5050 | * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to |
| 5051 | NULL. |
| 5052 | * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field |
| 5053 | to NULL. |
| 5054 | |
| 5055 | 2013-02-11 Doug Evans <dje@google.com> |
| 5056 | |
| 5057 | * printcmd.c (printf_c_string,printf_wide_c_string): New functions. |
| 5058 | (printf_decfloat): New function. Broken out from ui_printf. |
| 5059 | Remove unnecessary code to shift the entire format string down. |
| 5060 | (printf_pointer): New function. |
| 5061 | (ui_printf): Code to print C strings, wide C strings, decfloats, |
| 5062 | and pointers moved to separate functions. |
| 5063 | |
| 5064 | 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com> |
| 5065 | |
| 5066 | * valops.c (value_assign): Handling bitfield offset in |
| 5067 | `lval_internalvar_component' case. |
| 5068 | |
| 5069 | 2013-02-08 Doug Evans <dje@google.com> |
| 5070 | |
| 5071 | * common/format.c (parse_format_string): Fix whitespace. |
| 5072 | |
| 5073 | 2013-02-08 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org> |
| 5074 | |
| 5075 | * stack.c (return_command): Work around uninitialized variable |
| 5076 | warning. |
| 5077 | |
| 5078 | 2013-02-08 Yufeng Zhang <yufeng.zhang@arm.com> |
| 5079 | |
| 5080 | * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the |
| 5081 | number of the registers from 36 to 34. |
| 5082 | |
| 5083 | 2013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 5084 | |
| 5085 | * NEWS: Mention new AArch64 native and target support. |
| 5086 | |
| 5087 | 2013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 5088 | |
| 5089 | * MAINTAINERS (Write After Approval): Add myself. |
| 5090 | |
| 5091 | 2013-02-08 Jim MacArthur <jim.macarthur@arm.com> |
| 5092 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 5093 | Nigel Stephens <nigel.stephens@arm.com> |
| 5094 | Yufeng Zhang <yufeng.zhang@arm.com> |
| 5095 | |
| 5096 | * aarch64-linux-nat.c: New file. |
| 5097 | * config/aarch64/linux.mh: New file. |
| 5098 | * configure.host: Add AArch64. |
| 5099 | * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c. |
| 5100 | |
| 5101 | 2013-02-07 Doug Evans <dje@google.com> |
| 5102 | |
| 5103 | * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to |
| 5104 | disassemble command. |
| 5105 | |
| 5106 | 2013-02-07 Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 5107 | |
| 5108 | * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call |
| 5109 | set_gdbarch_fetch_tls_load_module_address. |
| 5110 | |
| 5111 | 2013-02-06 David S. Miller <davem@davemloft.net> |
| 5112 | |
| 5113 | * sparc-tdep.c (sparc32_return_value): Handle writing return value when |
| 5114 | using RETURN_VALUE_ABI_PRESERVES_ADDRESS. |
| 5115 | * value.c (struct_return_convention): New function. |
| 5116 | (using_struct_return): Implement in terms of struct_return_convention. |
| 5117 | * value.h (struct_return_convention): Declare. |
| 5118 | * stack.c (return_command): Allow successful overriding of the return |
| 5119 | value when RETURN_VALUE_ABI_PRESERVES_ADDRESS. |
| 5120 | |
| 5121 | 2013-02-06 Tom Tromey <tromey@redhat.com> |
| 5122 | |
| 5123 | * python/py-type.c (typy_strip_typedefs): Don't call check_typedef |
| 5124 | outside of TRY_CATCH. |
| 5125 | |
| 5126 | 2013-02-06 Yao Qi <yao@codesourcery.com> |
| 5127 | |
| 5128 | * mi/mi-interp.c: Include "tracepoint.h". |
| 5129 | (mi_tsv_modified): Declare. |
| 5130 | (mi_tsv_created, mi_tsv_deleted): Update declaration. |
| 5131 | (mi_interpreter_init): Call observer_attach_tsv_modified. |
| 5132 | (mi_tsv_modified): New. |
| 5133 | (mi_tsv_created, mi_tsv_deleted): Update. |
| 5134 | * tracepoint.c (trace_variable_command): Call |
| 5135 | observer_notify_tsv_modified if the initial value of tsv is |
| 5136 | changed. |
| 5137 | (delete_trace_state_variable): Call |
| 5138 | observer_notify_tsv_deleted earlier. |
| 5139 | (trace_variable_command): Caller update. |
| 5140 | (create_tsv_from_upload): Likewise. |
| 5141 | * observer.sh: Declare "struct trace_state_variable". |
| 5142 | |
| 5143 | * NEWS: Mention the new MI notification "=tsv-modified". |
| 5144 | |
| 5145 | 2013-02-05 Doug Evans <dje@google.com> |
| 5146 | |
| 5147 | * completer.c (location_completer): Fix typo in comment. |
| 5148 | |
| 5149 | 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 5150 | |
| 5151 | * breakpoint.c (add_location_to_breakpoint): Insert the location with |
| 5152 | ADDRESS sorted. |
| 5153 | |
| 5154 | 2013-02-05 Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 5155 | |
| 5156 | * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix: |
| 5157 | Refactor if statement to avoid trailing || operator. |
| 5158 | |
| 5159 | 2013-02-05 Andreas Tobler <andreast@fgznet.ch> |
| 5160 | |
| 5161 | * NEWS: Add PowerPC FreeBSD as a new native configuration. |
| 5162 | |
| 5163 | 2013-02-04 Andreas Tobler <andreast@fgznet.ch> |
| 5164 | |
| 5165 | * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files. |
| 5166 | * configure.host: Add powerpc*-*-freebsd* target. |
| 5167 | * configure.tgt: Add target info for powerpc*-*-freebsd*. |
| 5168 | * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files. |
| 5169 | * config/powerpc/fbsd.mh: New file. |
| 5170 | |
| 5171 | 2013-02-04 Sergio Durigan Junior <sergiodj@redhat.com> |
| 5172 | Denys Vlasenko <dvlasenk@redhat.com> |
| 5173 | Pedro Alves <palves@redhat.com> |
| 5174 | |
| 5175 | * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook. |
| 5176 | (struct elf_internal_linux_prpsinfo): Forward declare. |
| 5177 | * gdbarch.h, gdbarch.c: Regenerate. |
| 5178 | * linux-tdep.c: Include `cli/cli-utils.h'. |
| 5179 | (linux_fill_prpsinfo): New function. |
| 5180 | (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's |
| 5181 | an elfcore_write_linux_prpsinfo hook, use it, otherwise, use |
| 5182 | elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64 |
| 5183 | depending on gdbarch pointer bitness. |
| 5184 | * ppc-linux-tdep.c: Include elf-bfd.h. |
| 5185 | (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32 |
| 5186 | on 32-bit. |
| 5187 | |
| 5188 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
| 5189 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 5190 | Nigel Stephens <nigel.stephens@arm.com> |
| 5191 | Yufeng Zhang <yufeng.zhang@arm.com> |
| 5192 | |
| 5193 | * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes. |
| 5194 | |
| 5195 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
| 5196 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 5197 | Nigel Stephens <nigel.stephens@arm.com> |
| 5198 | Yufeng Zhang <yufeng.zhang@arm.com> |
| 5199 | |
| 5200 | * aarch64-newlib-tdep.c: New file. |
| 5201 | * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of |
| 5202 | aarch64*-*-elf. |
| 5203 | * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB. |
| 5204 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o. |
| 5205 | (ALLDEPFILES): Add aarch64-newlib-tdep.c. |
| 5206 | * osabi.c (gdb_osabi_names): Add "Newlib". |
| 5207 | |
| 5208 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
| 5209 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 5210 | Nigel Stephens <nigel.stephens@arm.com> |
| 5211 | Yufeng Zhang <yufeng.zhang@arm.com> |
| 5212 | |
| 5213 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o. |
| 5214 | (ALLDEPFILES): Add aarch64-linux-tdep.c. |
| 5215 | * aarch64-linux-tdep.c: New file. |
| 5216 | * aarch64-linux-tdep.h: New file. |
| 5217 | * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset. |
| 5218 | * configure.tgt: Add aarch64-none-linux-gnu. |
| 5219 | |
| 5220 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
| 5221 | Marcus Shawcroft <marcus.shawcroft@arm.com> |
| 5222 | Nigel Stephens <nigel.stephens@arm.com> |
| 5223 | Yufeng Zhang <yufeng.zhang@arm.com> |
| 5224 | |
| 5225 | * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o. |
| 5226 | (HFILES_NO_SRCDIR): Add aarch64-tdep.h. |
| 5227 | (ALLDEPFILES): Add aarch64-tdep.c. |
| 5228 | * aarch64-tdep.c: New file. |
| 5229 | * aarch64-tdep.h: New file. |
| 5230 | * configure.tgt: Add AArch64. |
| 5231 | * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu. |
| 5232 | (aarch64-expedite): New definition. |
| 5233 | * features/aarch64-core.xml: New file. |
| 5234 | * features/aarch64-fpu.xml: New file. |
| 5235 | * features/aarch64-without-fpu.c: New file (generated). |
| 5236 | * features/aarch64-without-fpu.xml: New file. |
| 5237 | * features/aarch64.c: New file (generated). |
| 5238 | * features/aarch64.xml: New file. |
| 5239 | * regformats/aarch64-without-fpu.dat: New file (generated). |
| 5240 | * regformats/aarch64.dat: New file (generated). |
| 5241 | |
| 5242 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 5243 | |
| 5244 | * contrib/expect-read1.c: New file. |
| 5245 | * contrib/expect-read1.sh: New file. |
| 5246 | |
| 5247 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 5248 | |
| 5249 | * dwarf2read.c (file_file_name): New function with code from |
| 5250 | file_full_name. |
| 5251 | (file_full_name): Move most of the code to file_file_name. |
| 5252 | (macro_start_file): Rename variable full_name to file_name and use |
| 5253 | file_file_name for it. Add comp_dir parameter to new_macro_table. |
| 5254 | * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any |
| 5255 | macro_source_file->filename access by macro_source_fullname call. |
| 5256 | * macroscope.c (_initialize_macroscope): Update the new_macro_table |
| 5257 | caller. |
| 5258 | * macrotab.c (struct macro_table): New field comp_dir. |
| 5259 | (macro_include): New variables link_fullname and source_fullname. |
| 5260 | Replace any macro_source_file->filename access by macro_source_fullname |
| 5261 | call. |
| 5262 | (macro_lookup_inclusion): Remove the partial filenames checking code. |
| 5263 | (check_for_redefinition): New variables source_fullname and |
| 5264 | found_key_fullname. Replace any macro_source_file->filename access by |
| 5265 | macro_source_fullname call. |
| 5266 | (macro_undef): New variables source_fullname and key_fullname. Replace |
| 5267 | any macro_source_file->filename access by macro_source_fullname call. |
| 5268 | (macro_lookup_definition): New variables retval and source_fullname. |
| 5269 | Replace any macro_source_file->filename access by macro_source_fullname |
| 5270 | call. |
| 5271 | (foreach_macro): New variable key_fullname. Replace any |
| 5272 | macro_source_file->filename access by macro_source_fullname call. |
| 5273 | (foreach_macro_in_scope): New variable datum_fullname. Replace any |
| 5274 | macro_source_file->filename access by macro_source_fullname call. |
| 5275 | (new_macro_table): Add parameter comp_dir. Initialize T with it. |
| 5276 | (macro_source_fullname): New function. |
| 5277 | * macrotab.h (struct macro_source_file): Extent the filename field |
| 5278 | comment. |
| 5279 | (new_macro_table): New parameter comp_dir, add a comment for it. |
| 5280 | (macro_source_fullname): new declaration. |
| 5281 | |
| 5282 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 5283 | |
| 5284 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable |
| 5285 | this_real_name to outer block. Use it also for |
| 5286 | compare_filenames_for_search. |
| 5287 | (dw2_expand_symtabs_matching): New variable this_real_name. Use it |
| 5288 | with dw2_get_real_path for file_matcher, considering also |
| 5289 | BASENAMES_MAY_DIFFER. |
| 5290 | (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS. |
| 5291 | |
| 5292 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 5293 | |
| 5294 | * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter |
| 5295 | to the file_matcher parameter. Pass 0 to it. |
| 5296 | (dwarf2_create_include_psymtab): Copy also DIRNAME. |
| 5297 | * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of |
| 5298 | NULL psymtab_to_fullname result. |
| 5299 | (psymtab_to_fullname): Remove variable r. Never return NULL, assemble |
| 5300 | an expected filename instead. |
| 5301 | (expand_symtabs_matching_via_partial): Add basenames parameter to the |
| 5302 | file_matcher parameter. Call also psymtab_to_fullname, after newly |
| 5303 | considering BASENAMES_MAY_DIFFER. |
| 5304 | * source.c (rewrite_source_path): Remove static. |
| 5305 | * source.h (rewrite_source_path): New declaration. |
| 5306 | * symfile.h (struct quick_symbol_functions): Add basenames parameter to |
| 5307 | the expand_symtabs_matching field. Comment it. |
| 5308 | * symtab.c (file_matches): New function comment. Add parameter |
| 5309 | basenames, implement it. |
| 5310 | (search_symbols_file_matches): Add basenames parameter. Update the |
| 5311 | file_matches caller. |
| 5312 | (search_symbols): Match FILES also against symtab_to_fullname. |
| 5313 | Optimize it for BASENAMES_MAY_DIFFER. |
| 5314 | |
| 5315 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 5316 | |
| 5317 | * source.c (print_source_lines_base): Print for TUI also "fullname". |
| 5318 | * tui/tui-data.c (init_content_element): Change tui_locator_element |
| 5319 | field to full_name. |
| 5320 | * tui/tui-data.h (struct tui_locator_element): Likewise. |
| 5321 | * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename |
| 5322 | tui_update_locator_filename calls to tui_update_locator_fullname. |
| 5323 | Replace symtab->filename refererence by symtab_to_fullname call. |
| 5324 | * tui/tui-out.c (tui_field_string): Check for "fullname" now. |
| 5325 | * tui/tui-source.c (tui_set_source_content): Change tui_locator_element |
| 5326 | field to full_name. Replace symtab->filename refererence by |
| 5327 | symtab_to_fullname call. |
| 5328 | (tui_show_symtab_source): Rename parameter to fullname. Change |
| 5329 | tui_locator_element field to full_name. |
| 5330 | * tui/tui-stack.c: Include source.h. |
| 5331 | (tui_set_locator_filename): Rename the declaration to ... |
| 5332 | (tui_set_locator_fullname): ... here. Rename its parameter to |
| 5333 | fullname, updates its comment. |
| 5334 | (tui_set_locator_info): Rename its parameter to fullname. |
| 5335 | (tui_set_locator_filename): Rename the definition to ... |
| 5336 | (tui_set_locator_fullname): ... here. Rename its parameter to |
| 5337 | fullname, updates its comment. Change tui_locator_element field to |
| 5338 | full_name. |
| 5339 | (tui_set_locator_info): Rename its parameter to fullname. |
| 5340 | (tui_set_locator_info): Rename callee to tui_set_locator_fullname. |
| 5341 | (tui_update_locator_filename): Rename to ... |
| 5342 | (tui_update_locator_fullname): ... here. Rename callee to |
| 5343 | tui_set_locator_fullname. |
| 5344 | (tui_show_frame_info): Replace symtab->filename refererence by |
| 5345 | symtab_to_fullname call. |
| 5346 | * tui/tui-stack.h (tui_update_locator_filename): Rename to ... |
| 5347 | (tui_update_locator_fullname): ... here. |
| 5348 | * tui/tui-winsource.c (tui_display_main): Rename the callee to |
| 5349 | tui_update_locator_fullname. Replace symtab->filename refererence by |
| 5350 | symtab_to_fullname call. |
| 5351 | * tui/tui.c (tui_show_source): Rename its parameter to fullname. |
| 5352 | Rename the callee to tui_update_locator_fullname. |
| 5353 | * tui/tui.h (tui_show_source): Rename its parameter to fullname. |
| 5354 | |
| 5355 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 5356 | |
| 5357 | * ada-lang.c (user_select_syms): Replace symtab->filename refererences |
| 5358 | by symtab_to_filename_for_display calls. |
| 5359 | * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise. |
| 5360 | (clear_command): New variable sal_fullname, initialize it. Replace |
| 5361 | compare_filenames_for_search by filename_cmp with sal_fullname. |
| 5362 | (say_where, update_static_tracepoint): Replace symtab->filename |
| 5363 | refererences by symtab_to_filename_for_display calls. |
| 5364 | * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec): |
| 5365 | Likewise. |
| 5366 | * dwarf2read.c: Include source.h. |
| 5367 | (fixup_go_packaging): Replace symtab->filename refererences by |
| 5368 | symtab_to_filename_for_display calls. |
| 5369 | * linespec.c (add_sal_to_sals): Rename variable filename to fullname. |
| 5370 | Replace symtab->filename refererences by symtab_to_filename_for_display |
| 5371 | calls. |
| 5372 | (create_sals_line_offset, convert_linespec_to_sals): New variable |
| 5373 | fullname, initialize it, replace symtab->filename reference by the |
| 5374 | variable. |
| 5375 | * linux-fork.c: Include source.h. |
| 5376 | (info_checkpoints_command): Replace symtab->filename refererences by |
| 5377 | symtab_to_filename_for_display calls. |
| 5378 | * macroscope.c (sal_macro_scope): Replace symtab->filename refererences |
| 5379 | by symtab_to_filename_for_display calls. |
| 5380 | * mdebugread.c: Include source.h. |
| 5381 | (psymtab_to_symtab_1): Replace symtab->filename refererences by |
| 5382 | symtab_to_filename_for_display calls. |
| 5383 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file) |
| 5384 | (mi_cmd_file_list_exec_source_files): Likewise. |
| 5385 | * printcmd.c: Include source.h. |
| 5386 | (build_address_symbolic): Replace symtab->filename refererences by |
| 5387 | symtab_to_filename_for_display calls. |
| 5388 | * psymtab.c (partial_map_symtabs_matching_filename) |
| 5389 | (read_psymtabs_with_fullname): Call compare_filenames_for_search also |
| 5390 | with psymtab_to_fullname. |
| 5391 | * python/py-symtab.c (stpy_str): Replace symtab->filename refererences |
| 5392 | by symtab_to_filename_for_display calls. |
| 5393 | (stpy_get_filename): New variable filename, initialize it, use instead |
| 5394 | of symtab->filename refererences. |
| 5395 | (salpy_str): Make variable filename const char *. Replace |
| 5396 | symtab->filename refererences by symtab_to_filename_for_display calls. |
| 5397 | * skip.c: Include source.h and filenames.h. |
| 5398 | (skip_file_command): Remove const from the symtab variable. Replace |
| 5399 | symtab->filename refererences by symtab_to_fullname call. |
| 5400 | (function_name_is_marked_for_skip): New variables searched_for_fullname |
| 5401 | and fullname. Use them to search also with symtab's fullname. |
| 5402 | * source.c (find_source_lines): Replace symtab->filename refererences |
| 5403 | by symtab_to_filename_for_display calls. |
| 5404 | (print_source_lines_base): New variable filename, use it instead of |
| 5405 | symtab->filename. Replace symtab->filename refererences by |
| 5406 | symtab_to_filename_for_display calls. |
| 5407 | (line_info, forward_search_command): Replace symtab->filename |
| 5408 | refererences by symtab_to_filename_for_display calls. |
| 5409 | (reverse_search_command): Replace symtab->filename refererences by |
| 5410 | symtab_to_filename_for_display calls. New variable filename for it. |
| 5411 | * stack.c (frame_info): Likewise. |
| 5412 | * symmisc.c: Include source.h. |
| 5413 | (dump_objfile, dump_symtab_1, maintenance_print_symbols) |
| 5414 | (maintenance_info_symtabs): Replace symtab->filename refererences by |
| 5415 | symtab_to_filename_for_display calls. |
| 5416 | * symtab.c (iterate_over_some_symtabs): Call |
| 5417 | compare_filenames_for_search also with symtab_to_fullname. |
| 5418 | (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace |
| 5419 | symtab->filename refererences by symtab_to_filename_for_display calls. |
| 5420 | (find_line_symtab): Replace symtab->filename refererences by |
| 5421 | symtab_to_filename_for_display calls. |
| 5422 | (file_matches): Replace filename_cmp by compare_filenames_for_search. |
| 5423 | (print_symbol_info): Make the last parameter const char *. New |
| 5424 | variable s_filename. Use it in the function. |
| 5425 | (symtab_symbol_info): Make the last_filename variable const char *. |
| 5426 | Replace symtab->filename refererences by symtab_to_filename_for_display |
| 5427 | calls. |
| 5428 | (rbreak_command): New variable fullname. Use it. Replace |
| 5429 | symtab->filename refererence by symtab_to_filename_for_display call. |
| 5430 | * tracepoint.c (set_traceframe_context, trace_find_line_command) |
| 5431 | (print_one_static_tracepoint_marker): Replace symtab->filename |
| 5432 | refererences by symtab_to_filename_for_display calls. |
| 5433 | * tui/tui-source.c (tui_set_source_content): New variables filename and |
| 5434 | s_filename. Replace symtab->filename refererences by this variable. |
| 5435 | Replace other symtab->filename refererences by |
| 5436 | symtab_to_filename_for_display calls. |
| 5437 | |
| 5438 | 2013-02-03 Eldar Gaynetdinov <hal9000ed2k@gmail.com> |
| 5439 | Jan Kratochvil <jan.kratochvil@redhat.com> |
| 5440 | |
| 5441 | Add a new variable that controls a way in which filenames are |
| 5442 | displayed. |
| 5443 | * NEWS (set filename-display): New entry. |
| 5444 | * source.c (filename_display_basename, filename_display_relative) |
| 5445 | (filename_display_absolute, filename_display_kind_names) |
| 5446 | (filename_display_string, show_filename_display_string) |
| 5447 | (symtab_to_filename_for_display): New. |
| 5448 | (_initialize_source): Added initialization of 'filename-display' |
| 5449 | variable. |
| 5450 | * source.h (symtab_to_filename_for_display): Added declaration. |
| 5451 | * stack.c (print_frame): Added new variable and calling of a new |
| 5452 | function and condition with this variable. Changed third argument of |
| 5453 | calling of a function. |
| 5454 | |
| 5455 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 5456 | |
| 5457 | * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window): |
| 5458 | Rename field reference filename to fullname. |
| 5459 | * tui/tui-data.h (struct tui_source_info): Rename field filename to |
| 5460 | fullname. New comment for it. |
| 5461 | * tui/tui-source.c (tui_set_source_content): Rename field reference |
| 5462 | filename to fullname. Initialize field by symtab_to_fullname now. |
| 5463 | * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field |
| 5464 | reference filename to fullname. Use symtab_to_fullname during |
| 5465 | comparison. |
| 5466 | |
| 5467 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 5468 | |
| 5469 | Code cleanup. |
| 5470 | * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ... |
| 5471 | (dw2_expand_symtabs_with_fullname): ... here. Rename parameter |
| 5472 | filename to fullname. Rename variable this_name to this_fullname. |
| 5473 | Lowercase FILENAME_CMP call. |
| 5474 | (dw2_find_symbol_file): New comment for the returned string. |
| 5475 | (dwarf2_gdb_index_functions): Rename the function to |
| 5476 | dw2_expand_symtabs_with_fullname. |
| 5477 | * psymtab.c (read_psymtabs_with_filename): Rename to ... |
| 5478 | (read_psymtabs_with_fullname): ... here. Rename parameter filename to |
| 5479 | fullname. |
| 5480 | (psym_functions): Rename the function to read_psymtabs_with_fullname. |
| 5481 | * symfile.h (struct quick_symbol_functions): Rename field |
| 5482 | expand_symtabs_with_filename to expand_symtabs_with_fullname and its |
| 5483 | parameter filename to fullname. Document returned string meaning for |
| 5484 | find_symbol_file. |
| 5485 | * symtab.c (find_line_symtab): Rename the called function to |
| 5486 | expand_symtabs_with_fullname. |
| 5487 | |
| 5488 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 5489 | |
| 5490 | Code cleanup. |
| 5491 | * breakpoint.c (clear_command): Remove variable is_abs, unify the |
| 5492 | call of filename_cmp with compare_filenames_for_search. |
| 5493 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable |
| 5494 | is_abs, unify the call of FILENAME_CMP with |
| 5495 | compare_filenames_for_search. New gdb_asserts for real_path and name. |
| 5496 | Unify the call of compare_filenames_for_search with FILENAME_CMP. |
| 5497 | * psymtab.c (partial_map_symtabs_matching_filename): Likewise. |
| 5498 | * symfile.h (struct quick_symbol_functions): Extend the comment for |
| 5499 | map_symtabs_matching_filename. |
| 5500 | * symtab.c (compare_filenames_for_search): Remove the function comment |
| 5501 | relative path requirement. Handle absolute filenames, with a comment. |
| 5502 | (iterate_over_some_symtabs): Remove variable is_abs, unify the call of |
| 5503 | FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for |
| 5504 | real_path and name. Unify the call of compare_filenames_for_search |
| 5505 | with FILENAME_CMP. |
| 5506 | (iterate_over_symtabs): New gdb_assert on REAL_PATH. |
| 5507 | |
| 5508 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 5509 | |
| 5510 | Code cleanup. |
| 5511 | * breakpoint.c (print_breakpoint_location): Replace bp_location field |
| 5512 | source_file references by symtab field references. Remove variables |
| 5513 | sal and fullname. |
| 5514 | (momentary_breakpoint_from_master, add_location_to_breakpoint): |
| 5515 | (clear_command, say_where): Replace bp_location field source_file |
| 5516 | references by symtab field references. |
| 5517 | (bp_location_dtor): Remove the source_file reference. |
| 5518 | (update_static_tracepoint): Replace bp_location field source_file |
| 5519 | references by symtab field references. |
| 5520 | (breakpoint_free_objfile): New function. |
| 5521 | * breakpoint.h (struct bp_location): Extend the comment for line_number. |
| 5522 | Replace the field source_file by field symtab, extend its comment. |
| 5523 | (breakpoint_free_objfile): New declaration. |
| 5524 | * objfiles.c (free_objfile): Call breakpoint_free_objfile. |
| 5525 | * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location |
| 5526 | field source_file references by symtab field references. |
| 5527 | |
| 5528 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 5529 | |
| 5530 | Replace xfullpath calls by gdb_realpath calls. |
| 5531 | * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the |
| 5532 | function comment. |
| 5533 | * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path. |
| 5534 | Remove it from the iterate_over_some_symtabs call. |
| 5535 | (dw2_map_symtabs_matching_filename): Remove parameter full_path. |
| 5536 | Remove it from the dw2_map_expand_apply calls, remove a block handling |
| 5537 | it. |
| 5538 | * psymtab.c (partial_map_expand_apply): Remove parameter full_path. |
| 5539 | Remove it from the iterate_over_some_symtabs call. |
| 5540 | (partial_map_symtabs_matching_filename): Remove parameter full_path. |
| 5541 | Remove it from the partial_map_expand_apply calls, remove a block |
| 5542 | handling it. Drop gdb_realpath call and cleanups from the real_path |
| 5543 | handling. |
| 5544 | * source.c (openp): Drop the comment part about xfullpath. Replace |
| 5545 | xfullpath calls by gdb_realpath calls. |
| 5546 | (find_and_open_source): Replace xfullpath call by gdb_realpath call. |
| 5547 | * symfile.h (struct quick_symbol_functions): Remove parameter full_path |
| 5548 | from method map_symtabs_matching_filename and its comment. |
| 5549 | * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by |
| 5550 | gdb_realpath call. |
| 5551 | * symtab.c (iterate_over_some_symtabs): Remove parameter full_path, |
| 5552 | remove it also from the function comment, remove a block handling it. |
| 5553 | Drop gdb_realpath call and cleanups from the real_path handling. |
| 5554 | (iterate_over_symtabs): Drop variable full_path and its use. |
| 5555 | * symtab.h (iterate_over_some_symtabs): Remove parameter full_path. |
| 5556 | * utils.c (xfullpath): Remove. |
| 5557 | * utils.h (xfullpath): Remove. |
| 5558 | |
| 5559 | 2013-02-01 Andreas Tobler <andreast@fgznet.ch> |
| 5560 | |
| 5561 | * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o. |
| 5562 | (HFILES_NO_SRCDIR): Add ppc64-tdep.h. |
| 5563 | (ALLDEPFILES): Add ppc64-tdep.c. |
| 5564 | * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add |
| 5565 | ppc64-tdep.o to gdb_target_obs. |
| 5566 | * ppc64-tdep.h: New file. |
| 5567 | * ppc64-tdep.c: New file. |
| 5568 | (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from |
| 5569 | ppc-linux-tdep.c to here. |
| 5570 | (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN) |
| 5571 | (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro. |
| 5572 | (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target) |
| 5573 | (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move |
| 5574 | from ppc-linux-tdep.c to here. |
| 5575 | (ppc64_convert_from_func_ptr_addr): Rename from |
| 5576 | ppc64_linux_convert_from_func_ptr_addr to |
| 5577 | ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to |
| 5578 | here. |
| 5579 | * rs6000-tdep.c: |
| 5580 | (read_insn): Move from ppc-linux-tdep.c to here. |
| 5581 | (insns_match_pattern, insn_d_field, insn_ds_field): Move |
| 5582 | from ppc-linux-tdep.c to here and rename them with the ppc_ prefix. |
| 5583 | * ppc-linux-tdep.c: Include ppc64-tdep.h. |
| 5584 | Removed above functions. |
| 5585 | (ppc_linux_init_abi): Adjust. |
| 5586 | |
| 5587 | 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com> |
| 5588 | |
| 5589 | * ada-valprint.c (ada_print_floating): Remove unused 'len'. |
| 5590 | |
| 5591 | 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com> |
| 5592 | |
| 5593 | * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'. |
| 5594 | |
| 5595 | 2013-02-01 Pedro Alves <palves@redhat.com> |
| 5596 | |
| 5597 | * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function. |
| 5598 | * frame.h (deprecated_pc_in_call_dummy): Delete declaration. |
| 5599 | |
| 5600 | 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 5601 | |
| 5602 | * elfread.c (elf_symfile_read): Limit separate debug info additions to |
| 5603 | files with no separate debug info. |
| 5604 | * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls. |
| 5605 | * symfile.c (read_symbols): Call find_separate_debug_file_in_section |
| 5606 | only for files with no separate debug info. |
| 5607 | |
| 5608 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
| 5609 | |
| 5610 | * jit.c (jit_program_space_data): Rename from jit_inferior_data; |
| 5611 | change type. |
| 5612 | (struct jit_program_space_data): Rename from jit_inferior_data. |
| 5613 | Update comments. |
| 5614 | (get_jit_program_space_data): Rename from get_jit_inferior_data. |
| 5615 | Change return type. Attach data to program space. |
| 5616 | (jit_program_space_data_cleanup): Rename from |
| 5617 | jit_inferior_data_cleanup; change argument type. |
| 5618 | (jit_read_descriptor): Change 'inf_data' argument to 'ps_data', |
| 5619 | change type. |
| 5620 | (jit_register_code): Update. |
| 5621 | (jit_update_inferior_cache): Remove. |
| 5622 | (jit_breakpoint_deleted): Get jit data from the location's program |
| 5623 | space. |
| 5624 | (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to |
| 5625 | 'ps_data', change type. |
| 5626 | (jit_inferior_init, jit_breakpoint_re_set_internal) |
| 5627 | (jit_event_handler): Update. |
| 5628 | (free_objfile_data): Get data from objfile's program space. |
| 5629 | (_initialize_jit): Update. |
| 5630 | |
| 5631 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
| 5632 | |
| 5633 | PR gdb/13987: |
| 5634 | * jit.c (struct jit_inferior_data) <cached_code_address, |
| 5635 | jit_breakpoint>: New fields. |
| 5636 | (jit_breakpoint_re_set_internal): Fix logging. Only create |
| 5637 | breakpoint if cached address has changed. |
| 5638 | (jit_update_inferior_cache, jit_breakpoint_deleted): New |
| 5639 | functions. |
| 5640 | (_initialize_jit): Register breakpoint deleted observer. |
| 5641 | |
| 5642 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 5643 | |
| 5644 | * infrun.c (handle_syscall_event): Remove unused gdbarch. |
| 5645 | (save_infcall_suspend_state): Ifdef out unused inf. |
| 5646 | (restore_infcall_suspend_state): Ifdef out unused inf. |
| 5647 | * jit.c (jit_register_code): Remove unused i, b, inf_data. |
| 5648 | (jit_frame_sniffer): Remove unused inf_data. |
| 5649 | |
| 5650 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 5651 | |
| 5652 | * c-exp.y (classify_inner_name): Remove unused type. |
| 5653 | * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed, |
| 5654 | in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished, |
| 5655 | need_escape. |
| 5656 | (c_get_string): Remove unused kind. |
| 5657 | * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2. |
| 5658 | |
| 5659 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 5660 | |
| 5661 | * charset.c (intermediate_encoding): Remove unused i. |
| 5662 | * completer.c (signal_completer): Remove unused i. |
| 5663 | * continuations.c (discard_my_continuations_1): Remove unused |
| 5664 | continuation_ptr. |
| 5665 | * corelow.c (core_close): Remove unuseD name. |
| 5666 | (get_core_siginfo): Remove unused pid. |
| 5667 | * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused |
| 5668 | i, cps. |
| 5669 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset. |
| 5670 | (loclist_describe_location): Remove unused first. |
| 5671 | * event-top.c (command_line_handler): Remove unused got_eof. |
| 5672 | * exec.c (exec_close_1): Remove unused need_symtab_cleanup. |
| 5673 | (resize_section_table): Remove unused old_value. |
| 5674 | * gdb_bfd.c (gdb_bfd_map_section): Remove unused header. |
| 5675 | * gnu-v3-abi.c (compute_vtable_size): Remove unused addr. |
| 5676 | * i386-tdep.c (i386_process_record): Remove unused rex. |
| 5677 | * infcmd.c (get_return_value): Remove unused uiout. |
| 5678 | * jv-lang.c (type_from_class): Remove unused is_array. |
| 5679 | * jv-valprint.c (java_val_print): Remove unused i. |
| 5680 | * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid. |
| 5681 | * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid. |
| 5682 | * m2-typeprint.c (m2_print_type): Remove unused code. |
| 5683 | * macroexp.c (get_character_constant): Remove unused body_start. |
| 5684 | (macro_stringify): Remove unused result. |
| 5685 | * objc-lang.c (find_methods): Remove unused gdbarch. |
| 5686 | * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2. |
| 5687 | * regcache.c (regcache_cooked_read): Remove unused gdbarch. |
| 5688 | * stack.c (print_frame_args): Remove unused summary. |
| 5689 | * thread.c (thread_apply_command): Remove unused p. |
| 5690 | * valarith.c (value_x_unop): Remove unused mangle_ptr. |
| 5691 | * valops.c (search_struct_method): Remove unused skip. |
| 5692 | * valprint.c (generic_val_print): Remove unused byte_order. |
| 5693 | * varobj.c (varobj_update): Remove unused changed. |
| 5694 | * cli/cli-cmds.c (complete_command): Remove unused next_item. |
| 5695 | (alias_command): Remove unused c. |
| 5696 | * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c. |
| 5697 | * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused |
| 5698 | format. |
| 5699 | (mi_cmd_data_write_memory): Remove unused word_format. |
| 5700 | (mi_cmd_data_write_memory_bytes): Remove unused r. |
| 5701 | * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused |
| 5702 | p_start, p_end. |
| 5703 | * python/python.c (_initialize_python): Remove unused cmd_name, cmd. |
| 5704 | * tui/tui-disasm.c (tui_set_disassem_content): Remove unused |
| 5705 | line_width. |
| 5706 | |
| 5707 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 5708 | |
| 5709 | * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs. |
| 5710 | * symtab.c (iterate_over_symtabs): Remove unused s. |
| 5711 | (find_pc_sect_symtab): Remove unused pspAce. |
| 5712 | (find_pc_sect_line): Remove unused alt_symtab. |
| 5713 | (find_pcs_for_symtab_line): Remove unused ix, previous_function. |
| 5714 | (completion_list_add_name): Remove unused newsize. |
| 5715 | |
| 5716 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
| 5717 | |
| 5718 | PR c++/14998: |
| 5719 | * dwarf2read.c (read_tag_ptr_to_member_type): Handle |
| 5720 | TYPE_CODE_FUNC. |
| 5721 | |
| 5722 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 5723 | |
| 5724 | * target.c (target_read_string): Remove unused origlen. |
| 5725 | |
| 5726 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 5727 | |
| 5728 | * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec. |
| 5729 | * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt. |
| 5730 | * ax-general.c (ax_print): Remove unused is_float. |
| 5731 | * blockframe.c (block_innermost_frame): Remove unused start, end. |
| 5732 | * break-catch-sig.c (catch_signal_command): Remove unused gdbarch. |
| 5733 | |
| 5734 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
| 5735 | |
| 5736 | * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo. |
| 5737 | (svr4_read_so_list): Remove unused lmo. |
| 5738 | * solib-target.c (solib_target_relocate_section_addresses): Remove |
| 5739 | unused flags. |
| 5740 | |
| 5741 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
| 5742 | |
| 5743 | * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0". |
| 5744 | |
| 5745 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
| 5746 | |
| 5747 | * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32. |
| 5748 | * utils.c (gnu_debuglink_crc32): Remove. |
| 5749 | * utils.h (gnu_debuglink_crc32): Don't declare. |
| 5750 | |
| 5751 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
| 5752 | |
| 5753 | * dwarf2read.c (compute_delayed_physnames, read_call_site_scope) |
| 5754 | (read_structure_type, read_enumeration_type): Remove cast. |
| 5755 | |
| 5756 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
| 5757 | |
| 5758 | * dwarf2read.c (read_namespace_type): Remove cast. |
| 5759 | (read_typedef): Likewise. |
| 5760 | |
| 5761 | 2013-01-29 Tom Tromey <tromey@redhat.com> |
| 5762 | |
| 5763 | * dwarf2read.c (free_dwo_file): Remove assert. |
| 5764 | |
| 5765 | 2013-01-29 Tom Tromey <tromey@redhat.com> |
| 5766 | |
| 5767 | * value.c (deprecated_set_value_modifiable): Remove. |
| 5768 | * value.h (deprecated_set_value_modifiable): Remove. |
| 5769 | |
| 5770 | 2013-01-28 Doug Evans <dje@google.com> |
| 5771 | |
| 5772 | * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address |
| 5773 | to addresses from dwo files. |
| 5774 | |
| 5775 | 2013-01-25 Siva Chandra Reddy <sivachandra@google.com> |
| 5776 | |
| 5777 | * valops.c (find_overload_match): Remove unused argument 'lax'. |
| 5778 | * value.h: Remove unused argument 'lax' from the declaration of |
| 5779 | find_overload_match. |
| 5780 | * eval.c (value_subexp_standard): Do not pass a 'lax' argument |
| 5781 | to find_overload_match. |
| 5782 | * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax' |
| 5783 | argument to find_overload_match. |
| 5784 | |
| 5785 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
| 5786 | |
| 5787 | * dwarf2read.c (processing_has_namespace_info): Remove. |
| 5788 | (struct dwarf2_cu) <processing_has_namespace_info>: New field. |
| 5789 | (process_die, read_func_scope, dwarf2_start_symtab) |
| 5790 | (new_symbol_full): Update. |
| 5791 | |
| 5792 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
| 5793 | |
| 5794 | * cp-namespace.c (cp_set_block_scope): Remove. |
| 5795 | * cp-support.h (cp_set_block_scope): Remove. |
| 5796 | * dbxread.c: Include block.h. |
| 5797 | (cp_set_block_scope): New function. |
| 5798 | (process_one_symbol): Update. |
| 5799 | * dwarf2read.c (read_func_scope): Use block_set_scope. |
| 5800 | |
| 5801 | 2013-01-25 Pedro Alves <palves@redhat.com> |
| 5802 | |
| 5803 | * remote.c (add_current_inferior_and_thread): Tweak comment. |
| 5804 | |
| 5805 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
| 5806 | |
| 5807 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update. |
| 5808 | (cp_add_using_directive): Add 'copy_names' argument. |
| 5809 | * cp-support.h (cp_add_using_directive): Update. |
| 5810 | (struct using_direct) <import_src, import_dest, alias, |
| 5811 | declaration>: Now const. |
| 5812 | * dwarf2read.c (read_import_statement): Use obconcat. |
| 5813 | Don't copy names passed to cp_add_using_directive. |
| 5814 | |
| 5815 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
| 5816 | |
| 5817 | * c-exp.y (qualified_name): Use TYPE_SAFE_NAME. |
| 5818 | |
| 5819 | 2013-01-25 Pedro Alves <palves@redhat.com> |
| 5820 | |
| 5821 | * remote.c (stop_reply_extract_thread): New. |
| 5822 | (add_current_inferior_and_thread): New parameter 'wait_status'. |
| 5823 | Handle it. |
| 5824 | (remote_start_remote): Pass wait status to |
| 5825 | add_current_inferior_and_thread. |
| 5826 | (extended_remote_run): Update comment. |
| 5827 | (extended_remote_create_inferior_1): Pass wait status to |
| 5828 | add_current_inferior_and_thread. |
| 5829 | |
| 5830 | 2013-01-25 Andrew Burgess <aburgess@broadcom.com> |
| 5831 | Ulrich Weigand <uweigand@de.ibm.com> |
| 5832 | |
| 5833 | * valarith.c (value_vector_widen): New function for replicating a |
| 5834 | scalar into a vector. |
| 5835 | (value_binop): Use value_vector_widen to widen scalar to vector |
| 5836 | rather than casting, this better matches gcc C behaviour. |
| 5837 | * valops.c (value_casst): Update logic for casting between vector |
| 5838 | types, and for casting from scalar to vector, try to match gcc C |
| 5839 | behaviour. |
| 5840 | * value.h (value_vector_widen): Declare. |
| 5841 | * opencl-lang.c (opencl_value_cast): New opencl specific casting |
| 5842 | function, handle special case for casting scalar to vector. |
| 5843 | (opencl_relop): Use opencl_value_cast. |
| 5844 | (evaluate_subexp_opencl): Use opencl_value_cast instead of |
| 5845 | value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE |
| 5846 | in order to use opencl_value_cast. |
| 5847 | |
| 5848 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
| 5849 | |
| 5850 | * event-loop.c: Include "queue.h". |
| 5851 | (gdb_event_p): New typedef. |
| 5852 | (DECLARE_QUEUE_P): Use. |
| 5853 | (DEFINE_QUEUE_P): Use. |
| 5854 | (async_queue_event): Remove. |
| 5855 | (gdb_event_xfree): New. |
| 5856 | (initialize_event_loop): New. |
| 5857 | (process_event): Use QUEUE macros. |
| 5858 | (event_queue): Remove. |
| 5859 | (gdb_wait_for_event): Caller update. |
| 5860 | (check_async_event_handlers): Likewise. |
| 5861 | (poll_timers): Likewise. |
| 5862 | * event-loop.h (initialize_event_loop): Declare. |
| 5863 | * event-loop.c (gdb_event_xfree): New. |
| 5864 | * top.c (gdb_init): Call initialize_event_loop. |
| 5865 | |
| 5866 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
| 5867 | |
| 5868 | * event-loop.c (async_queue_event): Remove one parameter |
| 5869 | 'position'. Remove code handling 'position' == TAIL. |
| 5870 | (gdb_wait_for_event): Caller update. |
| 5871 | (check_async_event_handlers): Caller update. |
| 5872 | (poll_timers): Caller update. |
| 5873 | * event-loop.h (enum queue_position): Remove. |
| 5874 | |
| 5875 | 2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com> |
| 5876 | |
| 5877 | * MAINTAINERS: Update my email. |
| 5878 | |
| 5879 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
| 5880 | |
| 5881 | * main.c (print_gdb_help): Remove "--epoch" from the help |
| 5882 | message. |
| 5883 | |
| 5884 | 2013-01-24 Ulrich Weigand <uweigand@de.ibm.com> |
| 5885 | |
| 5886 | * symtab.c (skip_prologue_using_sal): Consider a file |
| 5887 | change the same as an increased line number |
| 5888 | |
| 5889 | 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
| 5890 | |
| 5891 | * MAINTAINERS (Write After Approval): Add myself to the list. |
| 5892 | |
| 5893 | 2013-01-24 Tom Tromey <tromey@redhat.com> |
| 5894 | |
| 5895 | * ada-lang.h (ada_decode_symbol): Make return type const. |
| 5896 | * ada-lang.c (ada_decode_symbol): Likewise. |
| 5897 | |
| 5898 | 2013-01-23 Doug Evans <dje@google.com> |
| 5899 | |
| 5900 | * linespec.c (find_linespec_symbols): Make static. |
| 5901 | |
| 5902 | 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
| 5903 | |
| 5904 | * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct |
| 5905 | type on float conversion for complex type. |
| 5906 | |
| 5907 | 2013-01-23 Siva Chandra Reddy <sivachandra@google.com> |
| 5908 | |
| 5909 | Add a new class gdb.Architecture which exposes GDB's |
| 5910 | internal representation of architecture via GDB Python API. |
| 5911 | * Makefile.in: Add entries corresponding to the new file |
| 5912 | python/py-arch.c. |
| 5913 | * NEWS (Python Scripting): Add entries for the new class |
| 5914 | gdb.Architecture and the new method gdb.Frame.architecture. |
| 5915 | * python/py-arch.c: Implement gdb.Architecture class. |
| 5916 | * python/py-frame.c (frapy_arch): Implement the method |
| 5917 | gdb.Frame.architecture(). |
| 5918 | (frame_object_methods): Add 'architecture' to the method table. |
| 5919 | * python/python-internal.h: Add declarations of new utility |
| 5920 | functions. |
| 5921 | * python/python.c (_initialize_python): Initialize |
| 5922 | gdb.Architecture class. |
| 5923 | |
| 5924 | 2013-01-23 Doug Evans <dje@google.com> |
| 5925 | |
| 5926 | Work around binutils/15021. |
| 5927 | * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and |
| 5928 | type_unit_group out of union s. All uses updated. |
| 5929 | (read_index_from_section): Watch for index version 8. |
| 5930 | (follow_die_sig): If using .gdb_index version <= 7, record the TU as |
| 5931 | an imported symtab. |
| 5932 | (write_psymtabs_to_index): Increment version number to 8. |
| 5933 | |
| 5934 | 2013-01-22 Pedro Alves <palves@redhat.com> |
| 5935 | |
| 5936 | * annotate.c (breakpoint_changed): Skip if breakpoint is not |
| 5937 | user-visible. |
| 5938 | |
| 5939 | 2013-01-22 Pedro Alves <palves@redhat.com> |
| 5940 | |
| 5941 | * annotate.c (annotate_breakpoints_changed): Rename to ... |
| 5942 | (annotate_breakpoints_invalid): ... this. Make static. |
| 5943 | (breakpoint_changed): Adjust. |
| 5944 | (_initialize_annotate): Always install the observers. Install a |
| 5945 | "breakpoint_created" observer. |
| 5946 | * annotate.h (annotate_breakpoints_changed): Delete declaration. |
| 5947 | * breakpoint.c (set_breakpoint_condition) |
| 5948 | (breakpoint_set_commands, do_map_commands_command) |
| 5949 | (init_raw_breakpoint, clear_command, set_ignore_count) |
| 5950 | (enable_breakpoint_disp): No longer call |
| 5951 | annotate_breakpoints_changed. |
| 5952 | |
| 5953 | 2013-01-22 Pedro Alves <palves@redhat.com> |
| 5954 | |
| 5955 | * annotate.c: Include "inferior.h". |
| 5956 | (frames_invalid_emitted) |
| 5957 | (breakpoints_invalid_emitted): New globals. |
| 5958 | (async_background_execution_p): New function. |
| 5959 | (annotate_breakpoints_changed, annotate_frames_invalid): Skip |
| 5960 | emitting the annotation if it has already been emitted. |
| 5961 | (annotate_display_prompt): New function. |
| 5962 | * annotate.h (annotate_display_prompt): New declaration. |
| 5963 | * event-top.c: Include annotate.h. |
| 5964 | (display_gdb_prompt): Call annotate_display_prompt. |
| 5965 | |
| 5966 | 2013-01-22 Pedro Alves <palves@redhat.com> |
| 5967 | |
| 5968 | * annotate.c (ignore_count_changed): Delete. |
| 5969 | (annotate_breakpoints_changed): Don't clear ignore_count_changed. |
| 5970 | (annotate_ignore_count_change): Delete. |
| 5971 | (annotate_stopped): Don't emit a delayed breakpoints-changed |
| 5972 | annotation. |
| 5973 | * annotate.h (annotate_ignore_count_change): Delete. |
| 5974 | * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call |
| 5975 | annotate_ignore_count_change. |
| 5976 | |
| 5977 | 2013-01-22 Tom Tromey <tromey@redhat.com> |
| 5978 | |
| 5979 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only |
| 5980 | require_rvalue for a register location. |
| 5981 | |
| 5982 | 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com> |
| 5983 | |
| 5984 | * breakpoint.c (print_one_breakpoint_location): Add MI |
| 5985 | field 'thread-groups' when printing a breakpoint. |
| 5986 | (output_thread_groups): New function. |
| 5987 | |
| 5988 | 2013-01-21 Siva Chandra Reddy <sivachandra@google.com> |
| 5989 | |
| 5990 | * python/lib/gdb/commands/explore.py |
| 5991 | (CompoundExplorer.explore_expr): Correct the name of a method |
| 5992 | being invoked. |
| 5993 | (ExploreTypeCommand.invoke): Add a missing 'return'. |
| 5994 | |
| 5995 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 5996 | |
| 5997 | * gdb_obstack.h (obconcat): Move declaration here, from... |
| 5998 | * symfile.h (obconcat): ... here. |
| 5999 | * gdb_obstack.c: New file. |
| 6000 | (obconcat): Move from... |
| 6001 | * symfile.c (obconcat): ... here. |
| 6002 | * Makefile.in (SFILES): Add gdb_obstack.c. |
| 6003 | (COMMON_OBS): Add gdb_obstack.o. |
| 6004 | |
| 6005 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 6006 | |
| 6007 | * symfile.h (obsavestring): Don't declare. |
| 6008 | * symfile.c (obsavestring): Remove. |
| 6009 | * ada-exp.y: Use obstack_copy0, not obsavestring. |
| 6010 | * ada-lang.c: Use obstack_copy0, not obsavestring. |
| 6011 | * coffread.c: Use obstack_copy0, not obsavestring. |
| 6012 | * cp-namespace.c: Use obstack_copy0, not obsavestring. |
| 6013 | * dbxread.c: Use obstack_copy0, not obsavestring. |
| 6014 | * dwarf2read.c: Use obstack_copy0, not obsavestring. |
| 6015 | * jit.c: Use obstack_copy0, not obsavestring. |
| 6016 | * mdebugread.c: Use obstack_copy0, not obsavestring. |
| 6017 | * psymtab.c: Use obstack_copy0, not obsavestring. |
| 6018 | * stabsread.c: Use obstack_copy0, not obsavestring. |
| 6019 | * xcoffread.c: Use obstack_copy0, not obsavestring. |
| 6020 | |
| 6021 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 6022 | |
| 6023 | * dwarf2read.c (fixup_go_packaging): Save package name |
| 6024 | on objfile obstack. |
| 6025 | * gdbtypes.c (init_type): Don't copy name. |
| 6026 | |
| 6027 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 6028 | |
| 6029 | * dwarf2read.c (struct partial_die_info) <name, scope>: Now |
| 6030 | const. |
| 6031 | (struct attribute) <u.str>: Now const. |
| 6032 | (struct fnfieldlist) <name>: Now const. |
| 6033 | (dw2_get_file_names_reader, init_cutu_and_read_dies): Update. |
| 6034 | (partial_die_parent_scope): Make return type const. |
| 6035 | (partial_die_full_name, add_partial_symbol): Update. |
| 6036 | (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make |
| 6037 | 'name' const. |
| 6038 | (find_file_and_directory): Make 'name' and 'comp_dir' const. |
| 6039 | (read_file_scope, read_func_scope, dwarf2_add_field) |
| 6040 | (dwarf2_add_member_fn, read_structure_type) |
| 6041 | (process_enumeration_scope, read_array_type, read_module_type) |
| 6042 | (read_base_type, read_subrange_type): Update. |
| 6043 | (dwarf2_start_symtab): Make 'name' and 'comp_dir' const. |
| 6044 | (new_symbol_full, guess_full_die_structure_name): Update. |
| 6045 | (dwarf2_canonicalize_name): Return const type. Make 'name' const. |
| 6046 | (dwarf2_name): Return const type. |
| 6047 | (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir' |
| 6048 | const. |
| 6049 | |
| 6050 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 6051 | |
| 6052 | * gdbtypes.c (init_type): Make 'name' const. |
| 6053 | * gdbtypes.h (init_type): Update. |
| 6054 | |
| 6055 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 6056 | |
| 6057 | * buildsym.c (patch_subfile_names): Use set_last_source_file. |
| 6058 | (start_symtab): Make 'name' and 'dirname' const. Use |
| 6059 | set_last_source_file. |
| 6060 | (restart_symtab, reset_symtab_globals): Use set_last_source_file. |
| 6061 | (last_source_file): Define. Now static. |
| 6062 | (set_last_source_file, get_last_source_file): New functions. |
| 6063 | * buildsym.h (last_source_file): Don't declare. |
| 6064 | (start_symtab): Update. |
| 6065 | (set_last_source_file, get_last_source_file): Declare. |
| 6066 | * coffread.c (complete_symtab): Use set_last_source_file. |
| 6067 | (coff_end_symtab): Likewise. |
| 6068 | (coff_symtab_read): Use set_last_source_file, get_last_source_file. |
| 6069 | * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use |
| 6070 | set_last_source_file. |
| 6071 | (process_one_symbol): Use get_last_source_file. |
| 6072 | * mdebugread.c (parse_partial_symbols): Use set_last_source_file. |
| 6073 | (psymtab_to_symtab_1): Use get_last_source_file. |
| 6074 | * xcoffread.c (process_linenos): Use get_last_source_file. |
| 6075 | (complete_symtab): Use set_last_source_file. |
| 6076 | (read_xcoff_symtab): Use set_last_source_file, get_last_source_file. |
| 6077 | (scan_xcoff_symtab): Use set_last_source_file. |
| 6078 | |
| 6079 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 6080 | |
| 6081 | * symtab.c (struct demangled_name_entry) <mangled>: Now const. |
| 6082 | (symbol_set_names): Remove casts. Handle field const-ness. |
| 6083 | |
| 6084 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 6085 | |
| 6086 | * dwarf2read.c (new_symbol_full): Remove cast. |
| 6087 | * symtab.c (symbol_set_demangled_name): Make 'name' const. |
| 6088 | * symtab.h (symbol_set_demangled_name): Update. |
| 6089 | |
| 6090 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 6091 | |
| 6092 | * main.c (captured_main): Call bfd_init. |
| 6093 | |
| 6094 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
| 6095 | |
| 6096 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI. |
| 6097 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI. |
| 6098 | * minsyms.c (install_minimal_symbols): Don't check for _Z symbols. |
| 6099 | * NEWS: Update. |
| 6100 | |
| 6101 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 6102 | |
| 6103 | * symmisc.c (maintenance_print_msymbols): Check also ST_DEV. |
| 6104 | |
| 6105 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 6106 | |
| 6107 | Fix gdb.fortran/common-block.exp crash in PIE mode. |
| 6108 | * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use |
| 6109 | LOC_COMMON_BLOCK. |
| 6110 | * f-valprint.c (info_common_command_for_block): Expect |
| 6111 | LOC_COMMON_BLOCK in gdb_assert. |
| 6112 | * symtab.h (struct general_symbol_info): Update comment for the |
| 6113 | common_block member. |
| 6114 | (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member. |
| 6115 | (enum address_class): New member LOC_COMMON_BLOCK. |
| 6116 | |
| 6117 | 2013-01-18 David Blaikie <dblaikie@gmail.com> |
| 6118 | |
| 6119 | * MAINTAINERS (Write After Approval): Add "David Blaikie". |
| 6120 | |
| 6121 | 2013-01-18 Tom Tromey <tromey@redhat.com> |
| 6122 | |
| 6123 | PR c++/14999: |
| 6124 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: |
| 6125 | Call require_rvalue. |
| 6126 | |
| 6127 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
| 6128 | |
| 6129 | * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration. |
| 6130 | (dbx_read_symtab): New declaration. |
| 6131 | (dbx_psymtab_to_symtab): Delete. |
| 6132 | (dbx_read_symtab): Rename from dbx_psymtab_to_symtab. |
| 6133 | Rename parameter PST to SELF. Exchanged two parameters. |
| 6134 | (start_psymtab): Caller update. |
| 6135 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration. |
| 6136 | (dwarf2_read_symtab): New declaration. |
| 6137 | (dwarf2_psymtab_to_symtab): Delete. |
| 6138 | (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab. |
| 6139 | Rename parameter PST to SELF. Exchanged two parameters. |
| 6140 | (create_partial_symtab): Caller update. |
| 6141 | * mdebugread.c (mdebug_psymtab_to_symtab): Delete. |
| 6142 | (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab. |
| 6143 | Rename parameter PST to SELF. Exchanged two parameters. |
| 6144 | (parse_partial_symbols, new_psymtab): Caller update. |
| 6145 | * psympriv.h (struct partial_symtab) <read_symtab>: Exchange |
| 6146 | two parameters. |
| 6147 | * psymtab.c (psymtab_to_symtab): Caller update. |
| 6148 | * xcoffread.c (xcoff_psymtab_to_symtab): Delete. |
| 6149 | (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab. |
| 6150 | Rename parameter PST to SELF. Exchanged two parameters. |
| 6151 | (xcoff_start_psymtab): Caller update. |
| 6152 | |
| 6153 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
| 6154 | |
| 6155 | * infrun.c (proceed): Rename local variable 'oneproc' to |
| 6156 | 'force_step'. |
| 6157 | |
| 6158 | 2013-01-17 Doug Evans <dje@google.com> |
| 6159 | |
| 6160 | * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete. |
| 6161 | (dw2_build_type_unit_groups): Delete. All uses updated. |
| 6162 | |
| 6163 | * symtab.h (struct symbol_search): Add comment. |
| 6164 | |
| 6165 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 6166 | |
| 6167 | * symtab.c (compare_filenames_for_search): New comment for |
| 6168 | HAS_DRIVE_SPEC. |
| 6169 | |
| 6170 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
| 6171 | |
| 6172 | * cp-abi.c (cp_abi_completer): Fix typo in assignment. |
| 6173 | |
| 6174 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 6175 | |
| 6176 | * symtab.c (iterate_over_some_symtabs): New variable cleanups, |
| 6177 | initialize it by existing make_cleanup. Call new do_cleanups. |
| 6178 | |
| 6179 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
| 6180 | |
| 6181 | * cp-abi.c (cp_abi_completer): New function. |
| 6182 | (_initialize_cp_abi): Set completer for "set cp-abi". |
| 6183 | |
| 6184 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
| 6185 | |
| 6186 | * mem-break.c: Remove obsolete comment. |
| 6187 | * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment. |
| 6188 | |
| 6189 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
| 6190 | |
| 6191 | * jit.c (jit_reader_load_command): Interpret the jit reader name |
| 6192 | as an absolute path if it begins with a forward slash. |
| 6193 | |
| 6194 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
| 6195 | |
| 6196 | PR gdb/14550 |
| 6197 | |
| 6198 | * jit.c (finalize_symtab): Ensure that only the global block has a |
| 6199 | NULL superblock. |
| 6200 | |
| 6201 | 2013-01-17 Pedro Alves <palves@redhat.com> |
| 6202 | |
| 6203 | * acinclude.m4: Include ../config/plugins.m4, |
| 6204 | ../config/largefile.m4 and ../config/lead-dot.m4. Add comments. |
| 6205 | * Makefile.in (aclocal_m4_deps): Update. |
| 6206 | * aclocal.m4: Renegerate. |
| 6207 | |
| 6208 | 2013-01-16 Doug Evans <dje@google.com> |
| 6209 | |
| 6210 | * contrib/cc-with-tweaks.sh: Add references to Fission docs. |
| 6211 | |
| 6212 | 2013-01-16 Pedro Alves <palves@redhat.com> |
| 6213 | Tom Tromey <tromey@redhat.com> |
| 6214 | |
| 6215 | PR cli/7221: |
| 6216 | * NEWS: Add "catch signal". |
| 6217 | * breakpoint.c (base_breakpoint_ops): No longer static. |
| 6218 | (bpstat_explains_signal): New function. |
| 6219 | (init_catchpoint): No longer static. |
| 6220 | (base_breakpoint_explains_signal): New function. |
| 6221 | (base_breakpoint_ops): Initialize new field. |
| 6222 | * breakpoint.h (enum bpstat_signal_value): New. |
| 6223 | (struct breakpoint_ops) <explains_signal>: New field. |
| 6224 | (bpstat_explains_signal): Remove macro, declare as function. |
| 6225 | (base_breakpoint_ops, init_catchpoint): Declare. |
| 6226 | * break-catch-sig.c: New file. |
| 6227 | * inferior.h (signal_catch_update): Declare. |
| 6228 | * infrun.c (signal_catch): New global. |
| 6229 | (handle_syscall_event): Update for change to |
| 6230 | bpstat_explains_signal. |
| 6231 | (handle_inferior_event): Likewise. Always handle random signals |
| 6232 | via bpstats. |
| 6233 | (signal_cache_update): Check signal_catch. |
| 6234 | (signal_catch_update): New function. |
| 6235 | (_initialize_infrun): Initialize signal_catch. |
| 6236 | * Makefile.in (SFILES): Add break-catch-sig.c. |
| 6237 | (COMMON_OBS): Add break-catch-sig.o. |
| 6238 | |
| 6239 | 2013-01-16 Tom Tromey <tromey@redhat.com> |
| 6240 | |
| 6241 | * breakpoint.c (print_one_catch_fork, print_one_catch_vfork) |
| 6242 | (print_one_catch_solib, print_one_catch_syscall) |
| 6243 | (print_one_catch_exec, print_one_exception_catchpoint): Emit |
| 6244 | "catch-type". |
| 6245 | |
| 6246 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
| 6247 | |
| 6248 | * printcmd.c (current_display_number): Make it static. |
| 6249 | |
| 6250 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
| 6251 | |
| 6252 | * infcmd.c (step_once): Don't check '!single_inst' as it was |
| 6253 | checked before. |
| 6254 | |
| 6255 | 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 6256 | |
| 6257 | * dwarf2read.c (psymtab_include_file_name): Extend the function comment. |
| 6258 | |
| 6259 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
| 6260 | |
| 6261 | * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the |
| 6262 | set command. |
| 6263 | * command.h (add_setshow_string_noescape_cmd): Update. |
| 6264 | * corefile.c (set_gnutarget_command): Remove trailing whitespace. |
| 6265 | (complete_set_gnutarget): New function. |
| 6266 | (_initialize_core): Set the "set gnutarget" completer. |
| 6267 | |
| 6268 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
| 6269 | |
| 6270 | PR symtab/14442: |
| 6271 | * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'. |
| 6272 | (c_type_print_modifier): Likewise. |
| 6273 | * dwarf2read.c (read_tag_restrict_type): New function. |
| 6274 | (read_type_die_1): Handle DW_TAG_restrict_type. |
| 6275 | * gdbtypes.c (make_restrict_type): New function. |
| 6276 | (recursive_dump_type): Handle TYPE_RESTRICT. |
| 6277 | * gdbtypes.h (enum type_flag_values): Renumber. |
| 6278 | (enum type_instance_flag_value): Add |
| 6279 | TYPE_INSTANCE_FLAG_RESTRICT. |
| 6280 | (TYPE_RESTRICT): New macro. |
| 6281 | (make_restrict_type): Declare. |
| 6282 | |
| 6283 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
| 6284 | |
| 6285 | PR symtab/14931: |
| 6286 | * psymtab.c (struct psymtab_state): New. |
| 6287 | (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New |
| 6288 | functions. |
| 6289 | * psympriv.h (make_cleanup_discard_psymtabs): Declare. |
| 6290 | * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. |
| 6291 | |
| 6292 | 2013-01-14 Richard Sharman <richard_sharman@mitel.com> |
| 6293 | Pedro Alves <palves@redhat.com> |
| 6294 | |
| 6295 | PR remote/14786 |
| 6296 | |
| 6297 | * remote.c (remote_threads_info): Make a copy of the reply from |
| 6298 | qfThreadInfo and use that instead of rs->buf. |
| 6299 | |
| 6300 | 2013-01-14 Yao Qi <yao@codesourcery.com> |
| 6301 | |
| 6302 | * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL. |
| 6303 | (dbx_psymtab_to_symtab): Likewise. |
| 6304 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise. |
| 6305 | * mdebugread.c (mdebug_psymtab_to_symtab): Likewise. |
| 6306 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise. |
| 6307 | |
| 6308 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 6309 | |
| 6310 | * parse.c (parse_exp_in_context): New variable inner_chain. Call |
| 6311 | make_cleanup_restore_current_language. Call set_language. Move |
| 6312 | OLD_CHAIN and INNER_CHAIN cleanups. |
| 6313 | * utils.c (do_restore_current_language) |
| 6314 | (make_cleanup_restore_current_language): New functions. |
| 6315 | * utils.h (make_cleanup_restore_current_language): New declaration. |
| 6316 | |
| 6317 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 6318 | |
| 6319 | * source.c (symtab_to_fullname): Apply rewrite_source_path also for |
| 6320 | non-existing files. |
| 6321 | |
| 6322 | * source.c (symtab_to_fullname): Do not prepend DIRNAME for |
| 6323 | non-existing files if FILENAME is already absolute. |
| 6324 | |
| 6325 | 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 6326 | |
| 6327 | * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of |
| 6328 | fputs_filtered. Append trailing newline. |
| 6329 | |
| 6330 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
| 6331 | Stan Shebs <stan@codesourcery.com> |
| 6332 | |
| 6333 | * psymtab.c (init_psymbol_list): Clarify the comment. |
| 6334 | |
| 6335 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
| 6336 | |
| 6337 | * breakpoint.c (print_one_breakpoint_location): Remove dead code. |
| 6338 | (update_dprintf_command_list): Assert that 'printf_line' is |
| 6339 | non-null. Remove condition check. |
| 6340 | |
| 6341 | 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 6342 | |
| 6343 | Code cleanup. |
| 6344 | * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return |
| 6345 | type const char *. |
| 6346 | * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname |
| 6347 | const char *. |
| 6348 | * tui/tui-source.h (tui_source_is_displayed): Likewise. |
| 6349 | |
| 6350 | 2013-01-09 Anthony Green <green@moxielogic.com> |
| 6351 | |
| 6352 | * cp-abi.c (cplus_print_vtable): Don't return value from void |
| 6353 | function. |
| 6354 | * ada-lang.c (re_set_catch_assert): Ditto. |
| 6355 | |
| 6356 | 2013-01-09 Doug Evans <dje@google.com> |
| 6357 | |
| 6358 | * symfile.h (quick_symbol_functions): Delete member |
| 6359 | pre_expand_symtabs_matching. All uses removed. |
| 6360 | * dwarf2read.c (dw2_lookup_symbol): Implement. |
| 6361 | (dw2_do_expand_symtabs_matching): Delete. |
| 6362 | (dw2_pre_expand_symtabs_matching): Delete. |
| 6363 | (struct dw2_symtab_iterator): New type. |
| 6364 | (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions. |
| 6365 | (dw2_expand_symtabs_for_function): Rewrite. |
| 6366 | (dwarf2_gdb_index_functions): Update. |
| 6367 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete. |
| 6368 | (psym_functions): Update. |
| 6369 | |
| 6370 | 2013-01-09 Tom Tromey <tromey@redhat.com> |
| 6371 | |
| 6372 | * config/pa/hpux.mh (NATDEPFILES): Remove somread.o. |
| 6373 | * configure: Rebuild. |
| 6374 | * configure.ac: Add somread.o to the build if BFD has SOM |
| 6375 | support. |
| 6376 | * somread.c: Include som/aout.h, not syms.h. |
| 6377 | (som_symtab_read): Use som_external_symbol_dictionary_record. |
| 6378 | Unpack records manually. |
| 6379 | (_initialize_somread): Declare. |
| 6380 | |
| 6381 | 2012-01-08 Mike Frysinger <vapier@gentoo.org> |
| 6382 | |
| 6383 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]: |
| 6384 | Cast return_address to 64bits. |
| 6385 | |
| 6386 | 2013-01-08 Hui Zhu <hui_zhu@mentor.com> |
| 6387 | |
| 6388 | * printcmd.c: Remove define of function output_command. |
| 6389 | * tracepoint.c: Remove extern of function output_command. |
| 6390 | * valprint.h: (output_command): New extern. |
| 6391 | |
| 6392 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
| 6393 | |
| 6394 | * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr): |
| 6395 | Remove. |
| 6396 | (objc_language_defn): Use c_printchar, c_printstr, |
| 6397 | c_emit_char. |
| 6398 | |
| 6399 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
| 6400 | |
| 6401 | PR cli/7719: |
| 6402 | * NEWS: Update. |
| 6403 | * ada-valprint.c (printstr, print_field_values): Remove |
| 6404 | "inspect_it" code. |
| 6405 | * cp-valprint.c (cp_print_value_fields): Remove "inspect_it" |
| 6406 | code. |
| 6407 | * jv-valprint.c (java_print_value_fields): Remove "inspect_it" |
| 6408 | code. |
| 6409 | * m2-lang.c (m2_printstr): Remove "inspect_it" code. |
| 6410 | * main.c (captured_main): Remove "epoch" argument. |
| 6411 | * objc-lang.c (objc_printstr): Remove "inspect_it" code. |
| 6412 | * p-lang.c (pascal_printstr): Remove "inspect_it" code. |
| 6413 | * p-valprint.c (pascal_object_print_value_fields): Remove |
| 6414 | "inspect_it" code. |
| 6415 | * printcmd.c (print_command_1): Remove 'inspect' argument. |
| 6416 | (print_command, call_command): Update. |
| 6417 | (inspect_command): Remove. |
| 6418 | (_initialize_printcmd): Make "inspect" an alias for "print". |
| 6419 | * top.c (epoch_interface): Remove. |
| 6420 | * top.h (epoch_interface): Remove. |
| 6421 | * valprint.c (user_print_options): Update. |
| 6422 | (print_converted_chars_to_obstack): Remove "inspect_it" code. |
| 6423 | * valprint.h (struct value_print_options) <inspect_it>: Remove |
| 6424 | field. |
| 6425 | |
| 6426 | 2013-01-04 Tom Tromey <tromey@redhat.com> |
| 6427 | |
| 6428 | * valprint.h (read_string): Add 'extern'. |
| 6429 | |
| 6430 | 2013-01-07 Joel Brobecker <brobecker@adacore.com> |
| 6431 | |
| 6432 | * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test |
| 6433 | used to decide whether to define darwin_read_dyld_info or not. |
| 6434 | |
| 6435 | 2013-01-03 Pierre Muller <muller@sourceware.org> |
| 6436 | |
| 6437 | * main.c (relocate_gdb_directory): Avoid calling stat function |
| 6438 | if DIR is empty. |
| 6439 | |
| 6440 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
| 6441 | |
| 6442 | * psymtab.c (fixup_psymbol_section): Update declaration. |
| 6443 | (fixup_psymbol_section): Remove code returning value. |
| 6444 | |
| 6445 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
| 6446 | |
| 6447 | * symtab.h: Remove some out of date comments. |
| 6448 | (enum exception_event_kind): Move it ... |
| 6449 | * breakpoint.c: ... here. |
| 6450 | |
| 6451 | 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk> |
| 6452 | |
| 6453 | PR gdb/14405 |
| 6454 | * darwin-nat.c (darwin_read_dyld_info): Only build if |
| 6455 | TASK_DYLD_INFO_COUNT is defined. |
| 6456 | (darwin_xfer_partial): Call darwin_read_dyld_info only if |
| 6457 | TASK_DYLD_INFO_COUNT is defined. |
| 6458 | |
| 6459 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
| 6460 | |
| 6461 | * symfile.h (struct ecoff_debug_hack): Remove. |
| 6462 | * objfiles.c: Don't include mdebugread.h. |
| 6463 | |
| 6464 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
| 6465 | |
| 6466 | * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o. |
| 6467 | * configure.ac: Check for Mach-O support in BFD. Update |
| 6468 | CONFIG_OBS. |
| 6469 | * configure: Rebuild. |
| 6470 | |
| 6471 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
| 6472 | |
| 6473 | * acinclude.m4 (GDB_AC_CHECK_BFD): New macro. |
| 6474 | * configure.ac: Use GDB_AC_CHECK_BFD. |
| 6475 | * configure: Rebuild. |
| 6476 | |
| 6477 | 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com> |
| 6478 | |
| 6479 | * MAINTAINERS: Update my email. |
| 6480 | |
| 6481 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
| 6482 | |
| 6483 | * cli/cli-script.h (make_cleanup_free_command_lines): Make extern. |
| 6484 | |
| 6485 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
| 6486 | |
| 6487 | * rs6000-nat.c (bss_data_overlap): New function. |
| 6488 | (vmap_symtab): Use it to adjust the .bss section's offset. |
| 6489 | |
| 6490 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
| 6491 | |
| 6492 | Update year range in copyright notice of all files. |
| 6493 | |
| 6494 | 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com> |
| 6495 | |
| 6496 | * top.c (print_gdb_version): Update copyright year. |
| 6497 | |
| 6498 | For older changes see ChangeLog-2012. |
| 6499 | \f |
| 6500 | Local Variables: |
| 6501 | mode: change-log |
| 6502 | left-margin: 8 |
| 6503 | fill-column: 74 |
| 6504 | version-control: never |
| 6505 | coding: utf-8 |
| 6506 | End: |