| 1 | 2007-09-24 Jim Blandy <jimb@codesourcery.com> |
| 2 | |
| 3 | * symfile.h (struct symfile_segment_data): Doc fixes. |
| 4 | * symfile.c (symfile_map_offsets_to_segments): Doc fixes. |
| 5 | Assert that we were passed some loaded segment addresses, |
| 6 | and that sections' segment numbers are valid. |
| 7 | Simplify offset calculation. |
| 8 | * remote.c (get_offsets): Clarify selection of relocate-by-segment |
| 9 | strategy, and set num_segments correctly. Delete redundant |
| 10 | assignments to do_sections. |
| 11 | |
| 12 | 2007-09-24 Daniel Jacobowitz <dan@codesourcery.com> |
| 13 | |
| 14 | * frame.c (get_prev_frame_1): Also check for PC in the same register. |
| 15 | |
| 16 | 2007-09-24 Vladimir Prus <vladimir@codesourcery.com> |
| 17 | |
| 18 | * breakpoint.c (remove_sal): New. |
| 19 | (expand_line_sal_maybe): New. |
| 20 | (create_breakpoints): Call expand_line_sal_maybe. |
| 21 | (clear_command): Add comment. |
| 22 | (breakpoint_re_set_one): Call expand_line_sal_maybe. |
| 23 | * linespec.c (decode_indirect): Set explicit_pc to 1. |
| 24 | (decode_all_digits): Set explicit_line to 1. |
| 25 | (append_expanded_sal): New. |
| 26 | (expand_line_sal): New. |
| 27 | * linespec.h (expand_line_sal): Declare. |
| 28 | * symtab.c (init_sal): Initialize explicit_pc |
| 29 | and explicit_line. |
| 30 | * symtab.h (struct symtab_and_line): New fields |
| 31 | explicit_pc and explicit_line. |
| 32 | |
| 33 | 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com> |
| 34 | |
| 35 | * infcall.c (call_function_by_hand): Handle language-specific |
| 36 | pass and return by reference. |
| 37 | |
| 38 | * cp-abi.c (cp_pass_by_reference): New. |
| 39 | * cp-abi.h (cp_pass_by_reference): Declare. |
| 40 | (struct cp_abi_ops): Add pass_by_reference. |
| 41 | * gnu-v3-abi.c (gnuv3_pass_by_reference): New. |
| 42 | (init_gnuv3_ops): Set pass_by_reference. |
| 43 | |
| 44 | * language.c (language_pass_by_reference): New. |
| 45 | (default_pass_by_reference): New. |
| 46 | (unknown_language_defn, auto_language_defn, local_language_defn): Add |
| 47 | default_pass_by_reference. |
| 48 | * langauge.h (struct language_defn): Add la_pass_by_reference. |
| 49 | (language_pass_by_reference, default_pass_by_reference): Declare. |
| 50 | * ada-lang.c (ada_language_defn): Add default_pass_by_reference. |
| 51 | * c-lang.c (c_language_defn, asm_language_defn) |
| 52 | (minimal_language_defn): Likewise. |
| 53 | (cplus_language_defn): Add cp_pass_by_reference. |
| 54 | * f-lang.c (f_language_defn): Add default_pass_by_reference. |
| 55 | * jv-lang.c (java_language_defn): Likewise. |
| 56 | * m2-lang.c (m2_language_defn): Likewise. |
| 57 | * objc-lang.c (objc_language_defn): Likewise. |
| 58 | * p-lang.c (pascal_language_defn): Likewise. |
| 59 | * scm-lang.c (scm_language_defn): Likewise |
| 60 | |
| 61 | 2007-09-23 Vladimir Prus <vladimir@codesourcery.com> |
| 62 | |
| 63 | Allow a code breakpoint to have several locations |
| 64 | associated with it. |
| 65 | * breakpoint.h (enum enable_state): Remove the |
| 66 | bp_shlib_disabled enumerator. |
| 67 | (struct bp_location): New members shlib_disabled, |
| 68 | global_next, enabled and function_name. |
| 69 | Rename pending to condition_not_parsed. |
| 70 | |
| 71 | * breakpoint.c (ALL_BP_LOCATIONS): Iterate over global_next. |
| 72 | (ALL_BP_LOCATIONS_SAFE): Likewise. |
| 73 | (breakpoint_enabled): Don't check for pending. |
| 74 | (condition_command): Free and update all locations of |
| 75 | a breakpoint. |
| 76 | (insert_bp_location): Adjust. |
| 77 | (software_breakpoint_inserted_here_p): Don't care |
| 78 | if breakpoint is enabled, as soon as it's inserted. |
| 79 | (print_it_typical): Print bpstat's location, not |
| 80 | bpstat's breakpoint's location. |
| 81 | (bpstat_stop_status): Iterate over all locations, not |
| 82 | all breakpoints. |
| 83 | (print_breakpoint_location): New. |
| 84 | (print_one_breakpoint): Renamed to |
| 85 | (print_one_breakpoint_location): ...this. Take |
| 86 | parameters to describe which location is being |
| 87 | printed. Modify code to properly print header |
| 88 | for several locations and individual locations. |
| 89 | (print_one_breakpoint): Print all locations. |
| 90 | (breakpoint_has_pc): New. |
| 91 | (describe_other_breakpoints): Use the above. |
| 92 | (check_duplicates): Renamed to... |
| 93 | (check_duplicates_for): .. this. |
| 94 | (check_duplicates): Use check_duplicates_for. |
| 95 | (allocate_bp_location): Adjust. |
| 96 | (set_raw_breakpoint_without_location): New, |
| 97 | extracted from set_raw_breakpoint. |
| 98 | (set_breakpoint_location_function): New. |
| 99 | (set_raw_breakpoint): Use |
| 100 | set_raw_breakpoint_without_location. |
| 101 | (make_breakpoint_permanent): Mark all locations |
| 102 | as inserted. |
| 103 | (disable_breakpoints_in_shlibs): Iterate over |
| 104 | locations. |
| 105 | (disable_breakpoints_in_unloaded_shlib): Likewise. |
| 106 | (re_enable_breakpoints_in_shlibs): Likewise. |
| 107 | (mention): Say "pending" when breakpoint has |
| 108 | zero locations. If breakpoint has more than one |
| 109 | location, say so. |
| 110 | (add_location_to_breakpoint): New. |
| 111 | (create_breakpoint): Accept symtabs_and_lines, not |
| 112 | symtab_and_line. Pass extra sals to |
| 113 | add_location_to_breakpoint. |
| 114 | (create_breakpoints): Pass symtabs_and_lines to |
| 115 | create_breakpoints. |
| 116 | (break_command_1): Make pending breakpoints |
| 117 | have zero locations. |
| 118 | (do_captured_breakpoint): Remove wrong allocation. |
| 119 | (clear_command): Iterate over all locations. |
| 120 | (unlink_locations_from_global_list): Renamed |
| 121 | from unlink_location_from_global_list. Remove |
| 122 | all locations. |
| 123 | (delete_breakpoint): Remove all locations. |
| 124 | Iterate over all locations when deciding which |
| 125 | other location to re-enable. |
| 126 | (all_locations_are_pending): New. |
| 127 | (update_breakpoint_locations): Renamed from |
| 128 | update_breakpoint_location. Try to match old |
| 129 | and new locations using names of containing |
| 130 | functions. |
| 131 | (breakpoint_re_set_one): Adjust. |
| 132 | (find_location_by_number): New. |
| 133 | (disable_command): Allow disabling individual location. |
| 134 | (enable_command): Allow enabling individual location. |
| 135 | * breakpoint.c: Adjust all uses of breakpoint's |
| 136 | enable state to for bp_shlib_disabled change. |
| 137 | |
| 138 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
| 139 | |
| 140 | * breakpoint.c (do_restore_lang_radix_cleanup): Remove. |
| 141 | (resolve_pending_breakpoint): Remove. |
| 142 | (re_enable_breakpoints_in_shlibs): Remove. |
| 143 | (unlink_locations_from_global_list): New. |
| 144 | (update_breakpoint_locations): New. |
| 145 | (breakpoint_re_set_one): Don't bail out on pending breakpoints. |
| 146 | Use parse_condition and update_breakpoint_location to |
| 147 | reset breakpoint. Ignore 'symbol not found' error from |
| 148 | decode_line_1. |
| 149 | (breakpoint_re_set): Don't emit newline before the |
| 150 | reason why breakpoint is not reset. |
| 151 | (do_enable_breakpoint): Don't specially process pending |
| 152 | breakpoints. |
| 153 | (free_bp_location): New. |
| 154 | (break_command_1): For pending breakpoints, initialize |
| 155 | all fields of a sal with zeroes. |
| 156 | * breakpoint.h (re_enable_breakpoints_in_shlibs): Remove. |
| 157 | * infcmd.c (post_create_inferior): Don't call |
| 158 | re_enable_breakpoints_in_shlibs. |
| 159 | * infrun.c (handle_inferior_event): Likewise. |
| 160 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. |
| 161 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. |
| 162 | * win32-nat.c (get_win32_debug_event): Likewise. |
| 163 | |
| 164 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
| 165 | |
| 166 | * breakpoint.c (create_breakpoint): Split from |
| 167 | create_breakpoints, implementing most of its logic. |
| 168 | Take just a single sal, single address string and |
| 169 | single condition. Do not take parsed condition at |
| 170 | all. |
| 171 | (create_breakpoints): Just call create_breakpoint |
| 172 | for each sal. |
| 173 | (find_condition_and_thread): New. |
| 174 | (break_command_1): Use find_condition_and_thread. |
| 175 | Do not keep parsed conditions. |
| 176 | (do_captured_breakpoint): Don't convert |
| 177 | condition string to struct expression. |
| 178 | |
| 179 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
| 180 | |
| 181 | * breakpoint.h (struct breakpoint): Move the cond |
| 182 | field to... |
| 183 | (struct bp_location): Here. |
| 184 | * breakpoint.c (condition_command, bpstat_stop_status) |
| 185 | (print_one_breakpoint, allocate_bp_location) |
| 186 | (solib_load_unload_1, create_fork_vfork_event_catchpoint) |
| 187 | (create_exec_event_catchpoint, create_breakpoints) |
| 188 | (break_command_1, watch_command_1, handle_gnu_v3_exceptions) |
| 189 | (create_ada_exception_breakpoint, set_breakpoint_sal) |
| 190 | (delete_breakpoint, breakpoint_re_set_one): Adjust. |
| 191 | * tui/tui-winsource.c (tui_update_breakpoint_info): Adjust. |
| 192 | |
| 193 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
| 194 | |
| 195 | Associate bp_stat with bp_location, not breakpoint. |
| 196 | * breakpoint.h (breakpoint_at): Change type |
| 197 | to bp_location*. |
| 198 | * breakpoint.c (bpstat_alloc): Take bp_location, |
| 199 | not breakpoint. |
| 200 | (bpstat_find_breakpoint): Look at bpstat's location's |
| 201 | owner, not at bpstat->breakpoint_at. |
| 202 | (bpstat_find_step_resume_breakpoint): Likewise. |
| 203 | (bpstat_num): Likewise. |
| 204 | (print_it_typical): Likewise. |
| 205 | (print_bp_stop_message): Likewise. |
| 206 | (watchpoint_check): Likewise. |
| 207 | (bpstat_what): Likewise. |
| 208 | (bpstat_get_triggered_catchpoints): Likewise. |
| 209 | (breakpoint_auto_delete): Likewise. |
| 210 | (delete_breakpoint): Likewise. |
| 211 | (bpstat_stop_status): Pass location, not breakpoint, |
| 212 | to bpstat_alloc. Look at bpstat's location's |
| 213 | owner, not at bpstat->breakpoint_at. |
| 214 | |
| 215 | 2007-09-21 Jim Blandy <jimb@codesourcery.com> |
| 216 | |
| 217 | * macrotab.h (new_macro_table): Document that removing information |
| 218 | from an obstack/bcache-managed macro table leaks memory. |
| 219 | * macrotab.c (macro_free, macro_bcache_free): Instead of asserting |
| 220 | that data is never freed in obstack/bcache-managed macro tables, |
| 221 | just leak the storage. |
| 222 | (macro_undef): If we're undefining a macro at exactly the same |
| 223 | source location that we defined it, simply remove the definition |
| 224 | altogether. |
| 225 | |
| 226 | 2007-09-21 Joel Brobecker <brobecker@adacore.com> |
| 227 | |
| 228 | * symfile.h (struct sym_fns): Add new field sym_read_linetable. |
| 229 | * coffread.c, dbxread.c, elfread.c, mipsread.c somread.c: |
| 230 | Adjust the struct sym_fns object accordingly by setting |
| 231 | the new field to NULL. |
| 232 | * xcoffread.c (aix_process_linenos): Make static. |
| 233 | (xcoff_sym_fns): Set new field to aix_process_linenos. |
| 234 | * buildsym.c (end_symtab): Replace call to PROCESS_LINENUMBER_HOOK |
| 235 | by call to new the new sym_fns sym_read_linetable function. |
| 236 | * config/powerpc/aix.mt (DEPRECATED_TM_FILE): Delete. |
| 237 | * config/rs6000/tm-rs6000.h: Delete. |
| 238 | |
| 239 | 2007-09-21 David Ung <davidu@mips.com> |
| 240 | Maciej W. Rozycki <macro@mips.com> |
| 241 | |
| 242 | * mips-tdep.c (mips_n32n64_push_dummy_call): Per N32/N64 ABI |
| 243 | rules do not treat composite types specially. |
| 244 | |
| 245 | 2007-09-20 Maciej W. Rozycki <macro@mips.com> |
| 246 | |
| 247 | * mips-tdep.c (mips32_in_function_epilogue_p): New function. |
| 248 | (mips16_in_function_epilogue_p): Likewise. |
| 249 | (mips_in_function_epilogue_p): Likewise. |
| 250 | (mips_gdbarch_init): Register mips_in_function_epilogue_p(). |
| 251 | |
| 252 | 2007-09-19 Joel Brobecker <brobecker@adacore.com> |
| 253 | |
| 254 | * configure.ac: Add check for "etext". |
| 255 | * configure, config.in: Regenerate. |
| 256 | * maint.c (TEXTEND): Only define if either _etext or etext |
| 257 | are available. |
| 258 | Disable the profiling functionality if TEXTEND is not defined. |
| 259 | |
| 260 | 2007-09-19 Daniel Jacobowitz <dan@codesourcery.com> |
| 261 | |
| 262 | * mips-tdep.c (mips_stub_frame_cache): Correct the saved return |
| 263 | address register. Correct the call to frame_id_build. |
| 264 | (mips_stub_frame_sniffer): Use the stub unwinder when the PC |
| 265 | is invalid. |
| 266 | |
| 267 | 2007-09-18 Joel Brobecker <brobecker@adacore.com> |
| 268 | |
| 269 | * ia64-tdep.c (refine_prologue_limit): Make sure we don't scan |
| 270 | the linetable past the function end. |
| 271 | |
| 272 | 2007-09-18 James E. Wilson <wilson@specifix.com> |
| 273 | |
| 274 | * MAINTAINERS: Update my email address. |
| 275 | |
| 276 | 2007-09-18 Jerome Guitton <guitton@adacore.com> |
| 277 | |
| 278 | * inf-ttrace.c (inf_ttrace_private_thread_info): New structure type. |
| 279 | (inf_ttrace_delete_dying_threads_callback): New function. |
| 280 | (inf_ttrace_resume): After resuming the execution, iterate over |
| 281 | the dying threads to delete them for the thread list. |
| 282 | (inf_ttrace_wait): on TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE, |
| 283 | mark the corresponding thread as dying instead of removing it |
| 284 | from the thread list. |
| 285 | (inf_ttrace_thread_alive): return 0 for dying threads. |
| 286 | |
| 287 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
| 288 | |
| 289 | * infrun.c (insert_step_resume_breakpoint_at_frame): Add assertion |
| 290 | that return_frame is not null. |
| 291 | |
| 292 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
| 293 | |
| 294 | * solib-svr4.c: Add include of "auxv.h". |
| 295 | (enable_break): Use the AT_BASE auxiliary entry if available. |
| 296 | * Makefile.in (solib-svr4.o): Update dependencies. |
| 297 | |
| 298 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
| 299 | |
| 300 | * NEWS: Create a new section for the next release branch. |
| 301 | Rename the section of the current branch, now that it has |
| 302 | been cut. |
| 303 | |
| 304 | 2007-09-17 Jerome Guitton <guitton@adacore.com> |
| 305 | |
| 306 | * dwarf2loc.c (dwarf_expr_frame_base): Guard against NULL. |
| 307 | * Makefile.in (dwarf2loc.o): Depend on gdb_assert.h. |
| 308 | |
| 309 | 2007-09-16 Vladimir Prus <vladimir@codesourcery.com> |
| 310 | |
| 311 | * mi/mi-cmds.c (mi_cmds): Register -list-features. |
| 312 | * mi/mi-cmds.h (mi_cmd_list_features): New. |
| 313 | * mi/mi-main.c (mi_cmd_list_features): New. |
| 314 | |
| 315 | 2007-09-11 Joel Brobecker <brobecker@adacore.com> |
| 316 | |
| 317 | GDB 6.7 branch created (branch timestamp: 2007-09-07 14:00 UTC) |
| 318 | * version.in: Bump version to 6.7.50-20070911-cvs. |
| 319 | |
| 320 | 2007-09-10 Daniel Jacobowitz <dan@codesourcery.com> |
| 321 | |
| 322 | * thread.c (free_thread): Do not delete the step resume breakpoint |
| 323 | right away. |
| 324 | |
| 325 | 2007-09-10 Daniel Jacobowitz <dan@codesourcery.com> |
| 326 | |
| 327 | * arch-utils.c (gdbarch_info_fill): Also try core_bfd. |
| 328 | * corelow.c (core_read_description): New. |
| 329 | (init_core_ops): Set to_read_description. |
| 330 | * gdbarch.sh: Add gdbarch_core_read_description. |
| 331 | * mips-linux-tdep.c (mips_linux_core_read_description): New. |
| 332 | (mips_linux_init_abi): Call set_gdbarch_core_read_description. |
| 333 | * mips-tdep.c (mips_tdesc_gp32, mips_tdesc_gp64): New. |
| 334 | (mips_register_g_packet_guesses): Use them. |
| 335 | (_initialize_mips_tdep): Initialize them. |
| 336 | * mips-tdep.h (mips_tdesc_gp32, mips_tdesc_gp64): Declare. |
| 337 | * gdbarch.h, gdbarch.c: Regenerated. |
| 338 | |
| 339 | 2007-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
| 340 | |
| 341 | * infrun.c (stepping_past_breakpoint): New global variable. |
| 342 | (stepping_past_breakpoint_ptid): Likewise. |
| 343 | (prepare_to_proceed): Add STEP parameter. Do not check for Ctrl-C. |
| 344 | Only switch threads if we need to single-step over a breakpoint hit |
| 345 | in the previously selected thread. If stepping, remember previous |
| 346 | thread to switch back to in STEPPING_PAST_BREAKPOINT[_PTID]. Call |
| 347 | switch_to_thread instead of copying its contents. |
| 348 | (proceed): Pass STEP to prepare_to_proceed. Always set ONEPROC if |
| 349 | prepare_to_proceed returns true. |
| 350 | (init_wait_for_inferior): Reset STEPPING_PAST_BREAKPOINT. |
| 351 | (context_switch): Call switch_to_thread. |
| 352 | (handle_inferior_event): Switch back to previous thread if requested |
| 353 | in STEPPING_PAST_BREAKPOINT[_PTID] by prepare_to_proceed. |
| 354 | * gdbthread.h (switch_to_thread): Add prototype. |
| 355 | * thread.c (switch_to_thread): Make global. |
| 356 | |
| 357 | 2007-09-07 2007-09-07 Pierre Muller <muller@ics.u-strasbg.fr> |
| 358 | |
| 359 | * p-valprint.c: Fix 7 ARI reported problems. |
| 360 | (pascal_val_print): Fix one operator at end of line issue. |
| 361 | Use paddress function to remove use of |
| 362 | deprecated_print_address_numeric function (2 times). |
| 363 | Use SYMBOL_LINKAGE_NAME instead of DEPRECATED_SYMBOL_NAME. |
| 364 | (pascal_value_print): Fix 3 operator at end of line issues. |
| 365 | |
| 366 | 2007-09-07 Daniel Jacobowitz <dan@codesourcery.com> |
| 367 | |
| 368 | PR gdb/2103 |
| 369 | * arm-tdep.c (arm_in_call_stub): Delete. |
| 370 | (arm_skip_stub): Handle from_arm and from_thumb stubs. |
| 371 | |
| 372 | 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com> |
| 373 | |
| 374 | * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Handle other integer |
| 375 | types. |
| 376 | |
| 377 | 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com> |
| 378 | Jim Blandy <jimb@codesourcery.com> |
| 379 | |
| 380 | * NEWS: Update description of string changes. Mention print/s. |
| 381 | * c-valprint.c (textual_element_type): New. |
| 382 | (c_val_print): Use it. Do not skip address printing for pointers |
| 383 | with a string format. |
| 384 | (c_value_print): Doc update. |
| 385 | * dwarf2read.c (read_array_type): Use make_vector_type. |
| 386 | * gdbtypes.c (make_vector_type): New. |
| 387 | (init_vector_type): Use it. |
| 388 | (gdbtypes_post_init): Initialize builtin_true_unsigned_char. |
| 389 | (_initialize_gdbtypes): Mark int8_t and uint8_t as TYPE_FLAG_NOTTEXT. |
| 390 | * gdbtypes.h (struct builtin_type): Add builtin_true_unsigned_char. |
| 391 | (TYPE_FLAG_NOTTEXT, TYPE_NOTTEXT): New. |
| 392 | (make_vector_type): New. |
| 393 | * printcmd.c (print_formatted): Only handle 's' and 'i' for examine. |
| 394 | Call the language print routine for string format. |
| 395 | (print_scalar_formatted): Call val_print for string format. Handle |
| 396 | unsigned original types for char format. |
| 397 | (validate_format): Do not reject string format. |
| 398 | * stabsread.c (read_type): Use make_vector_type. |
| 399 | * xml-tdesc.c (tdesc_start_vector): Use init_vector_type. |
| 400 | |
| 401 | 2007-09-04 Michael Snyder <msnyder@access-company.com> |
| 402 | |
| 403 | * expprint.c (print_subexp_standard): Check strchr for null. |
| 404 | * Makefile.in (expprint.o): Depend on gdb_assert.h. |
| 405 | |
| 406 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Guard against null. |
| 407 | |
| 408 | * stabsread.c (patch_block_status): Guard against null. |
| 409 | * Makefile.in (stabsread.o): Depend on gdb_assert.h. |
| 410 | |
| 411 | 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com> |
| 412 | |
| 413 | * printcmd.c (printf_command): Handle ptr_arg. Correct typo |
| 414 | in internal error message. |
| 415 | |
| 416 | 2007-09-04 Pedro Alves <pedro_alves@portugalmail.pt> |
| 417 | Daniel Jacobowitz <dan@codesourcery.com> |
| 418 | |
| 419 | * infcmd.c (post_create_inferior): Update comment. |
| 420 | (run_command_1): Always call post_create_inferior with 0 as |
| 421 | from_tty. |
| 422 | |
| 423 | * i386-cygwin-tdep.h: New. |
| 424 | * i386-cygwin-tdep.c: Include "i386-cygwin-tdep.h". |
| 425 | (win32_xfer_shared_library): Make it extern. |
| 426 | |
| 427 | * win32-nat.c: Include gdb_obstack.h and xml-support.h and |
| 428 | i386-cygwin-tdep.h. |
| 429 | (win32_so_ops): Delete. |
| 430 | (get_relocated_section_addrs): Delete. |
| 431 | (solib_symbols_add): Delete. |
| 432 | (register_loaded_dll): Delete. |
| 433 | (win32_make_so): New. |
| 434 | (handle_load_dll): Use win32_make_so. |
| 435 | (win32_free_so): Free the passed in so. |
| 436 | (win32_relocate_section_addresses): Delete. |
| 437 | (win32_solib_create_inferior_hook): Delete. |
| 438 | (handle_unload_dll): Don't add PE offset here. Free so with |
| 439 | win32_free_so instead of free_so. |
| 440 | (win32_special_symbol_handling): Delete. |
| 441 | (get_win32_debug_event): Remove unneeded calls. Set state to |
| 442 | TARGET_WAITKIND_LOADED on a dll unload. |
| 443 | (do_initial_win32_stuff): Clear cygwin_load_start and |
| 444 | cygwin_load_end. |
| 445 | (map_code_section_args): Delete. |
| 446 | (dll_code_sections_add): Delete. |
| 447 | (core_section_load_dll_symbols): Delete. |
| 448 | (win32_xfer_shared_libraries): New. |
| 449 | (win32_current_sos): Delete. |
| 450 | (win32_xfer_partial): New. |
| 451 | (open_symbol_file_object): Delete. |
| 452 | (in_dynsym_resolve_code): Delete. |
| 453 | (init_win32_ops): Set win32_xfer_partial as to_xfer_partial member |
| 454 | of win32_ops. Remove win32_so_ops settings. Don't set |
| 455 | current_target_so_ops here. |
| 456 | |
| 457 | * Makefile.in (i386_cygwin_tdep_h): New variable. |
| 458 | (i386-cygwin-tdep.o): Update dependencies. |
| 459 | (win32-nat.o): Update dependencies. |
| 460 | |
| 461 | 2007-09-04 Pedro Alves <pedro_alves@portugalmail.pt> |
| 462 | Daniel Jacobowitz <dan@codesourcery.com> |
| 463 | |
| 464 | * gdbarch.sh (core_xfer_shared_libraries): New. |
| 465 | |
| 466 | * corelow.c (core_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. |
| 467 | |
| 468 | * gdb_obstack.h (obstack_grow_str, obstack_grow_str0): New. |
| 469 | |
| 470 | * xml-support.c (gdb_xml_parse): Debug output tweaks. |
| 471 | (xml_escape_text): New. |
| 472 | * xml-support.h (xml_escape_text): Declare. |
| 473 | |
| 474 | * config/i386/cygwin.mh (NATDEPFILES): Move corelow.o to ... |
| 475 | * config/i386/cygwin.mt (TDEPFILES): ... here. |
| 476 | |
| 477 | * win32-nat.c: (fetch_elf_core_registers): Delete. |
| 478 | (win32_elf_core_fn): Delete. |
| 479 | (_initialize_core_win32): Delete. |
| 480 | |
| 481 | * i386-cygwin-tdep.c: Include "regset.h", "gdb_objstack.h", |
| 482 | "xml-support.h" and "gdbcore.h". |
| 483 | (i386_win32_gregset_reg_offset): New. |
| 484 | (I386_WIN32_SIZEOF_GREGSET): New. |
| 485 | (i386_win32_regset_from_core_section): New. |
| 486 | (win32_xfer_shared_library): New. |
| 487 | (struct cpms_data): New. |
| 488 | (core_process_module_section): New. |
| 489 | (win32_core_xfer_shared_libraries): New. |
| 490 | (i386_cygwin_skip_trampoline_code): Register gregset_reg_offset, |
| 491 | gregset_num_regs, sizeof_gregset members of tdep. Register |
| 492 | regset_from_core_section and core_xfer_shared_libraries callbacks. |
| 493 | |
| 494 | * Makefile.in (i386-cygwin-tdep.o): Update dependencies. |
| 495 | * gdbarch.h, gdbarch.c: Regenerate. |
| 496 | |
| 497 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
| 498 | |
| 499 | * corelow.c (core_xfer_partial): Pass writebuf to |
| 500 | deprecated_xfer_memory in TARGET_OBJECT_MEMORY write case. |
| 501 | |
| 502 | 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt> |
| 503 | |
| 504 | * arm-tdep.h (arm_skip_stub): Declare. |
| 505 | * arm-wince-tdep.c: Don't include "solib-svr4.h". Include |
| 506 | "gdbcore.h". |
| 507 | (arm_pe_skip_trampoline_code): New function. |
| 508 | (arm_wince_init_abi): Register arm_pe_skip_trampoline_code as |
| 509 | gdbarch_skip_trampoline_code callback. |
| 510 | * Makefile.in (arm-wince-tdep.o): Update dependencies. |
| 511 | |
| 512 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
| 513 | |
| 514 | * MAINTAINERS: Move Fred Fish to Past Maintainers. |
| 515 | |
| 516 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
| 517 | |
| 518 | * configure.ac: Add --with-expat. |
| 519 | * configure: Regenerated. |
| 520 | |
| 521 | 2007-09-03 Andreas Schwab <schwab@suse.de> |
| 522 | |
| 523 | * configure.ac: Accept --with-system-readline. |
| 524 | (READLINE, READLINE_DEPS, READLINE_CFLAGS): Define and substitute. |
| 525 | * configure: Regenerate. |
| 526 | * Makefile.in (READLINE, READLINE_DEPS, READLINE_CFLAGS): Use |
| 527 | substituted values. |
| 528 | (CDEPS): Use $(READLINE_DEPS) instead of $(READLINE). |
| 529 | |
| 530 | 2007-09-03 Maxim Grigoriev <maxim2405@gmail.com> |
| 531 | Daniel Jacobowitz <dan@codesourcery.com> |
| 532 | |
| 533 | * mi-main.c (mi_load_progress): Handle MI2 and MI3 interpreters. |
| 534 | |
| 535 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 536 | |
| 537 | * top.c (print_gdb_version): Fixed a string end-of-line compiler error. |
| 538 | |
| 539 | 2007-09-02 Daniel Jacobowitz <dan@codesourcery.com> |
| 540 | |
| 541 | * top.c (print_gdb_version): Update for GPL version 3. |
| 542 | |
| 543 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 544 | |
| 545 | * NEWS: Mention the build-id .debug files verification. |
| 546 | |
| 547 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 548 | |
| 549 | * linux-nat.c (linux_nat_make_corefile_notes): Fixed a buffer overflow. |
| 550 | |
| 551 | 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 552 | |
| 553 | * Makefile.in (symfile.o): Update dependencies. |
| 554 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Initialize the |
| 555 | DEBUGFILE variable. FIND_SEPARATE_DEBUG_FILE called only if !PSYMTABS. |
| 556 | (struct build_id): New structure. |
| 557 | (build_id_bfd_get, build_id_verify, build_id_to_debug_filename): New. |
| 558 | (find_separate_debug_file): New variable BUILD_ID. |
| 559 | Call BUILD_ID_BFD_GET with BUILD_ID_TO_DEBUG_FILENAME as the first try. |
| 560 | |
| 561 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
| 562 | |
| 563 | * varobj.c (struct varobj): Fix comment |
| 564 | for the type member not to lie when it can be |
| 565 | NULL. |
| 566 | |
| 567 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
| 568 | |
| 569 | Implement -var-info-path-expression. |
| 570 | |
| 571 | * mi/mi-cmds.h (mi_cmd_var_info_path_expression): |
| 572 | Declare. |
| 573 | * mi/mi-cmds.c (mi_cmds): Register var-info-path-expression. |
| 574 | * mi/mi-cmd-var.c (mi_cmd_var_info_path_expression): New. |
| 575 | * varobj.c (struct varobj): New field 'path_expr'. |
| 576 | (c_path_expr_of_child, cplus_path_expr_of_child) |
| 577 | (java_path_expr_of_child): New. |
| 578 | (struct language_specific): New field path_expr_of_child. |
| 579 | (varobj_create): Initialize the path_expr field. |
| 580 | (varobj_get_path_expr): New. |
| 581 | (new_variable): Initialize the path_expr field. |
| 582 | (free_variable): Free the path_expr field. |
| 583 | (adjust_value_for_children_access): New parameter |
| 584 | WAS_TYPE. |
| 585 | (c_number_of_children): Adjust. |
| 586 | (c_describe_child): New parameter CFULL_EXPRESSION. |
| 587 | Compute full expression. |
| 588 | (c_value_of_child, c_type_of_child): Adjust. |
| 589 | (cplus_number_of_children): Adjust. |
| 590 | (cplus_describe_child): New parameter CFULL_EXPRESSION. |
| 591 | Compute full expression. |
| 592 | (cplus_name_of_child, cplus_value_of_child) |
| 593 | (cplus_type_of_child): Adjust. |
| 594 | * varobj.h (varobj_get_path_expr): Declare. |
| 595 | |
| 596 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
| 597 | |
| 598 | * mi/mi-cmd-var.c (print_varobj): If a varobj |
| 599 | type is NULL, don't try to print it. |
| 600 | |
| 601 | 2007-08-30 Alan Modra <amodra@bigpond.net.au> |
| 602 | |
| 603 | * ppc-linux-nat.c (right_fill_reg): Delete. |
| 604 | (supply_gregset): Use ppc_supply_gregset. |
| 605 | (supply_fpregset): Use ppc_supply_fpregset. |
| 606 | (fill_gregset): Use ppc_collect_gregset. |
| 607 | (fill_fpregset): Use ppc_collect_fpregset. |
| 608 | * ppc-linux-tdep.c (PPC_LINUX_PT_*): Don't define. |
| 609 | (right_supply_register, ppc_linux_supply_gregset): Delete. |
| 610 | (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): Delete. |
| 611 | (ppc_linux_supply_fpregset): Delete. |
| 612 | (ppc_linux_collect_gregset): New function. |
| 613 | (ppc32_linux_reg_offsets, ppc64_linux_reg_offsets): New. |
| 614 | (ppc32_linux_gregset, ppc64_linux_gregset): Update to use reg offsets, |
| 615 | ppc_linux_supply_gregset, and ppc_collect_gregset. |
| 616 | (ppc_linux_fpregset): Rename to ppc32_linux_fpregset and update. |
| 617 | (ppc_linux_gregset, ppc_linux_fpregset): New functions. |
| 618 | (ppc_linux_regset_from_core_section): Update. |
| 619 | * ppc-tdep.h (ppc_linux_gregset, ppc_linux_fpregset): Declare. |
| 620 | (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Delete. |
| 621 | (struct ppc_reg_offsets): Add gpr_size, xr_size, fpscr_size fields. |
| 622 | * ppcobsd-tdep.c (ppcobsd_supply_gregset): Delete FIXME and assert. |
| 623 | (ppcobsd_collect_gregset): Likewise. |
| 624 | (_initialize_ppcnbsd_tdep): Init gpr_size, xr_size, fpscr_size. |
| 625 | * ppcnbsd-tdep.c (_initialize_ppcobsd_tdep): Likewise. |
| 626 | * ppcobsd-nat.c (_initialize_ppcobsd_nat): Likewise. |
| 627 | * rs6000-aix-tdep.c (rs6000_aix32_reg_offsets): Likewise. |
| 628 | (rs6000_aix64_reg_offsets): Likewise. |
| 629 | (rs6000_aix_supply_regset): Call ppc_supply_fpregset without testing |
| 630 | ppc_floating_point_unit_p. |
| 631 | (rs6000_aix_collect_regset): Similarly. |
| 632 | * rs6000-tdep.c (ppc_supply_reg): Add regsize param. Adjust offset |
| 633 | when regsize is larger than regcache register size. |
| 634 | (ppc_collect_reg): Similarly zero pad when regsize is larger than |
| 635 | regcache register size. |
| 636 | (ppc_greg_offset): New function, split out from.. |
| 637 | (ppc_supply_gregset): ..here. Separate code handling all regs from |
| 638 | single reg case. Correct xer offset. |
| 639 | (ppc_fpreg_offset): New function, split out from.. |
| 640 | (ppc_supply_fpregset): ..here. Separate code handling all regs from |
| 641 | single reg case. |
| 642 | (ppc_collect_gregset, ppc_collect_fpregset): Likewise. |
| 643 | (ppc_supply_fpregset, ppc_collect_fpregset): Don't assert we have |
| 644 | a fp unit, instead return if no fp. |
| 645 | |
| 646 | 2007-08-29 Jim Blandy <jimb@codesourcery.com> |
| 647 | |
| 648 | * breakpoint.c (watch_command_1): Remove '#ifdef HPUXHPPA' block; |
| 649 | this code has not been compiled for two years. |
| 650 | |
| 651 | 2007-08-29 Michael Snyder <msnyder@access-company.com> |
| 652 | |
| 653 | * event-top.c (gdb_readline2): Return after EOF. |
| 654 | |
| 655 | 2007-08-29 Joel Brobecker <brobecker@adacore.com> |
| 656 | |
| 657 | * symtab.c: Remove a function that has been commented out 3 years ago. |
| 658 | |
| 659 | 2007-08-29 Randolph Chung <tausq@debian.org> |
| 660 | |
| 661 | * hppa-tdep.c (hppa32_cannot_fetch_register) |
| 662 | (hppa64_cannot_fetch_register): New functions. |
| 663 | (hppa_gdbarch_init): Set cannot_fetch_register appropriately. |
| 664 | * hppa-tdep.h (hppa_regnum): Add HPPA_CR26_REGNUM. |
| 665 | |
| 666 | 2007-08-28 Michael Snyder <msnyder@access-company.com> |
| 667 | |
| 668 | * mi/mi-cmd-var.c (mi_print_value_p): No longer necessary to |
| 669 | check for null before calling check_typedef. |
| 670 | |
| 671 | * NEWS: Mention Coverity bug fixes. |
| 672 | |
| 673 | 2007-08-27 Markus Deuling <deuling@de.ibm.com> |
| 674 | |
| 675 | * spu-tdep.c (spu_pointer_to_address): New function. |
| 676 | (spu_integer_to_address): Likewise. |
| 677 | (spu_gdbarch_init): Add spu_pointer_to_address and |
| 678 | spu_integer_to_address to gdbarch. |
| 679 | |
| 680 | 2007-08-26 Pedro Alves <pedro_alves@portugalmail.pt> |
| 681 | |
| 682 | * arm-wince-tdep.c (ARM_WINCE_JB_PC): Change to 10. |
| 683 | |
| 684 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
| 685 | |
| 686 | * Makefile.in (copying.c): Use the top-level COPYING3 as the file |
| 687 | that contains the GDB license. |
| 688 | * copying.awk: Adjust to the GPLv3 wording. |
| 689 | * copying.c: Regenerate. |
| 690 | |
| 691 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
| 692 | |
| 693 | * copying.awk: Protoization, and i18n markup. |
| 694 | |
| 695 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
| 696 | |
| 697 | * config/djgpp/djconfig.sh: Switch license to GPLv3. |
| 698 | * copyright.sh: Likewise. |
| 699 | * gdb-events.sh: Likewise. |
| 700 | * gdb_gcore.sh: Likewise. |
| 701 | * gdb_mbuild.sh: Likewise. |
| 702 | * gdbarch.sh: Likewise. |
| 703 | * observer.sh: Likewise. |
| 704 | * features/feature_to_c.sh: Likewise. |
| 705 | * regformats/regdat.sh: Likewise. |
| 706 | |
| 707 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
| 708 | |
| 709 | Switch the license of all .c files to GPLv3. |
| 710 | Switch the license of all .h files to GPLv3. |
| 711 | Switch the license of all .cc files to GPLv3. |
| 712 | |
| 713 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
| 714 | |
| 715 | * configure.ac: Switch license to GPLv3. |
| 716 | |
| 717 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
| 718 | |
| 719 | * mips-tdep.c (mips_gdbarch_init): Use Tag_GNU_MIPS_ABI_FP to |
| 720 | determine the file's FPU type. |
| 721 | |
| 722 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
| 723 | |
| 724 | * mips-tdep.c (mips_n32n64_fp_arg_chunk_p): New. |
| 725 | (mips_n32n64_push_dummy_call): Always increment float_argreg along |
| 726 | with argreg. Use mips_n32n64_fp_arg_chunk_p. |
| 727 | |
| 728 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
| 729 | |
| 730 | * solib-svr4.c (scan_dyntag): Only read target memory when necessary. |
| 731 | Fix formatting. |
| 732 | (elf_locate_base): Look for DT_MIPS_RLD_MAP first. Expand comments. |
| 733 | (elf_lookup_lib_symbol): Fix formatting. |
| 734 | |
| 735 | 2007-08-21 Michael Snyder <msnyder@access-company.com> |
| 736 | |
| 737 | * dbxread.c (read_dbx_symtab): Guard null deref. |
| 738 | Break up long line. |
| 739 | |
| 740 | * valops.c (find_overload_match): Guard against NULL. |
| 741 | |
| 742 | 2007-08-21 Daniel Jacobowitz <dan@codesourcery.com> |
| 743 | |
| 744 | * MAINTAINERS (Patch Champions): Remove self. |
| 745 | |
| 746 | 2007-08-21 Chris Smith <chris.smith@st.com> |
| 747 | |
| 748 | * cli/cli-script.c (read_command_lines): Call dont_repeat for each |
| 749 | line. |
| 750 | |
| 751 | 2007-08-18 Michael Snyder <msnyder@access-company.com> |
| 752 | |
| 753 | * stabsread.c (dbx_lookup_type): Memory leak. |
| 754 | |
| 755 | * event-loop.c (delete_async_signal_handler): Move pointer null |
| 756 | test to before pointer dereference. |
| 757 | |
| 758 | * ui-out.c (append_header_to_list): Possible cut and paste error. |
| 759 | |
| 760 | * MAINTAINERS: white space tweak. |
| 761 | |
| 762 | 2007-08-17 Michael Snyder <msnyder@access-company.com> |
| 763 | |
| 764 | * stack.c (print_frame): Memory leak. |
| 765 | |
| 766 | * completer.c (filename_completer): Avoid memory leak. |
| 767 | Remove unnecessary nested block. |
| 768 | |
| 769 | * c-exp.y (parse_number): Memory leak. |
| 770 | |
| 771 | * completer.c (location_completer): Must free 'fn_list', except |
| 772 | in the one case where it is returned (as 'list'). |
| 773 | |
| 774 | * varobj.c (value_of_root): Memory leak. |
| 775 | |
| 776 | * gdbtypes.h (virtual_base_list): Remove export decl. |
| 777 | * gdbtypes.c (virtual_base_list): Make static. Not called outside. |
| 778 | (virtual_base_index): Memory leak. |
| 779 | (virtual_base_index_skip_primaries): Ditto. |
| 780 | |
| 781 | 2007-08-17 Maxim Grigoriev <maxim2405@gmail.com> |
| 782 | |
| 783 | * xtensa-tdep.c (ARG_NOF, ARG_1ST, PS_WOE, PS_EXC, C0_MAXOPDS) |
| 784 | (C0_NREGS, C0_CLESV, C0_SP, C0_FP, C0_RA, C0_ARGS, C0_NARGS) |
| 785 | (C0_CONST, C0_INEXP, C0_NOSTK): New macros. |
| 786 | (xtensa_read_register): New function. |
| 787 | (xtensa_windowed_frame_cache, xtensa_call0_frame_cache, xtensa_c0reg) |
| 788 | (xtensa_insn_kind): New types. |
| 789 | (xtensa_frame_cache, xtensa_alloc_frame_cache, xtensa_frame_cache) |
| 790 | (xtensa_frame_prev_register, xtensa_return_value, xtensa_skip_prologue) |
| 791 | (xtensa_verify_config, xtensa_pseudo_register_read) |
| 792 | (xtensa_pseudo_register_write, xtensa_extract_return_value) |
| 793 | (xtensa_store_return_value) |
| 794 | (xtensa_push_dummy_call): Extended to support Xtensa Call0 ABI. |
| 795 | (windowing_enabled, extract_call_winsize, xtensa_unwind_dummy_id) |
| 796 | (xtensa_frame_this_id, xtensa_frame_prev_register) |
| 797 | (xtensa_register_type, xtensa_reg_to_regnum): Cosmetic changes. |
| 798 | (call0_frame_cache, call0_frame_get_reg_at_entry) |
| 799 | (call0_classify_opcode, call0_track_op) |
| 800 | (call0_analyze_prologue, call0_frame_cache): New functions. |
| 801 | |
| 802 | 2007-08-17 Vladimir Prus <vladimir@codesourcery.com> |
| 803 | |
| 804 | * breakpoint.c (bpstat_free): New. |
| 805 | (bpstat_clear): Use bpstat_free. |
| 806 | (delete_breakpoint): Document why we cannot |
| 807 | remove bpstats from stop_bpstat. |
| 808 | * breakpoint.h (bpstat_free): Declare. |
| 809 | |
| 810 | 2007-08-16 Michael Snyder <msnyder@access-company.com> |
| 811 | |
| 812 | * event-loop.c (gdb_wait_for_event): Move statement into "if" block. |
| 813 | |
| 814 | 2007-08-15 Paul Hilfinger <hilfinger@adacore.com> |
| 815 | Joel Brobecker <brobecker@adacore.com> |
| 816 | |
| 817 | * ada-lang.c (resolve_subexp): Correct arity of binary operators. |
| 818 | |
| 819 | 2007-08-15 Paul Hilfinger <hilfinger@adacore.com> |
| 820 | Joel Brobecker <brobecker@adacore.com> |
| 821 | |
| 822 | * ada-lang.c (possible_user_operator_p): Alternative fix to last |
| 823 | checkin guarding against NULL. |
| 824 | |
| 825 | 2007-08-14 Michael Snyder <msnyder@access-company.com> |
| 826 | |
| 827 | * tui-command.c, tui-data.c, tui-disasm.c, tui-file.c, tui-io.c, |
| 828 | tui-layout.c, tui-regs.c, tui-source.c, tui-win.c, tui-windata.c, |
| 829 | tui-wingeneral.c, tui-winsource.c: Coding standard, && and || |
| 830 | go at beginning of new line. |
| 831 | |
| 832 | * tui-data.c, tui-data.h, tui-disasm.c, tui-disasm.h, tui-hooks.c, |
| 833 | tui-io.c, tui-layout.c, tui-layout.h, tui-out.c, tui-regs.c, |
| 834 | tui-source.c, tui-source.h, tui-stack.c, tui-win.c, tui-win.h, |
| 835 | tui-windata.c, tui-windata.h, tui-wingeneral.c, tui-winsource.c, |
| 836 | tui-winsource.h, tui.c, tui.h: Function declarations and |
| 837 | definitions, wrap long lines. |
| 838 | |
| 839 | * tui-command.c, tui-data.c, tui-disasm.c, tui-layout.c, |
| 840 | tui-regs.c, tui-win.c, tui-windata.c, tui-winsource.c, tui.c: |
| 841 | Reformat block comments to GNU standard. |
| 842 | |
| 843 | * tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c, |
| 844 | tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c, |
| 845 | tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c, |
| 846 | tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h, |
| 847 | tui.c, tui.h: Comment reformatting to coding standard (capitals, |
| 848 | spaces after periods, etc). |
| 849 | |
| 850 | * tui-data.c, tui-data.h, tui-disasm.c, tui-hooks.c, tui-layout.c, |
| 851 | tui-regs.c, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c, |
| 852 | tui-wingeneral.c, tui-wingeneral.h, tui-winsource.c, tui.c, |
| 853 | tui-winsource.h: Whitespace changes, fix pointer declarations |
| 854 | to be consistant. |
| 855 | |
| 856 | 2007-08-14 Joel Brobecker <brobecker@adacore.com> |
| 857 | Michael Snyder <msnyder@access-company.com> |
| 858 | |
| 859 | * ada-lang.c (field_alignment): Guard against NULL. |
| 860 | |
| 861 | 2007-08-14 Joel Brobecker <brobecker@adacore.com> |
| 862 | |
| 863 | * MAINTAINERS (Global Maintainers): Add self. |
| 864 | |
| 865 | 2007-08-14 Michael Snyder <msnyder@access-company.com> |
| 866 | |
| 867 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Dead code, dead variable. |
| 868 | |
| 869 | * ada-lang.c (possible_user_operator_p): Guard against NULL. |
| 870 | |
| 871 | * varobj.c (cplus_describe_child): Guard against null. |
| 872 | Use "NULL" instead of "0" to initialize pointers. |
| 873 | |
| 874 | 2007-08-14 Daniel Jacobowitz <dan@codesourcery.com> |
| 875 | |
| 876 | * arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings |
| 877 | to match any gdbarch with matching OSABI. Set default ABI and FPU |
| 878 | after running the OSABI handler. |
| 879 | |
| 880 | 2007-08-14 Daniel Jacobowitz <dan@codesourcery.com> |
| 881 | |
| 882 | * config/i386/linux.mh (NATDEPFILES): Move corelow.o from here... |
| 883 | * config/i386/linux.mt (TDEPFILES): ...to here. |
| 884 | |
| 885 | 2007-08-14 Vladimir Prus <vladimir@codesourcery.com> |
| 886 | |
| 887 | * breakpoint.c (disable_breakpoints_in_shlibs): Remove |
| 888 | the 'silent' parameter and code to implement that. |
| 889 | * breakpoint.h (disable_breakpoints_in_shlibs): Adjust |
| 890 | prototype. |
| 891 | * win32-nat.c: Adjust. |
| 892 | * solib.c: Adjust. |
| 893 | |
| 894 | 2007-08-14 Vladimir Prus <vladimir@codesourcery.com> |
| 895 | |
| 896 | * breakpoint.c (update_breakpoints_after_exec): Don't |
| 897 | set address to zero. |
| 898 | |
| 899 | 2007-08-13 Michael Snyder <msnyder@access-company.com> |
| 900 | |
| 901 | * valops.c: Whitespace clean-up. |
| 902 | |
| 903 | * tui/tui-winsource.c (tui_alloc_source_buffer): Clean up allocation. |
| 904 | |
| 905 | * event-top.c (command_line_handler): Memory leak. |
| 906 | |
| 907 | * mi/mi-cmd-var.c (mi_cmd_var_set_format): Memory leak. |
| 908 | No need to make copy. |
| 909 | |
| 910 | * source.c (find_source_lines): Require symtab 's'. |
| 911 | |
| 912 | 2007-08-11 Michael Snyder <msnyder@access-company.com> |
| 913 | |
| 914 | * completer.c: Spelling fix in comments. |
| 915 | |
| 916 | 2007-08-10 Michael Snyder <msnyder@access-company.com> |
| 917 | |
| 918 | * gdbtypes.c: Coding standard cleanup. |
| 919 | * gdbtypes.c: Comment/whitespace cleanup. |
| 920 | |
| 921 | * stabsread.c (read_huge_number): Attempt to compute value before |
| 922 | values that it depends on. |
| 923 | |
| 924 | * linespec.c (decode_dollar): Dead code, ptr can't be non-null. |
| 925 | (decode_objc): Use "NULL" instead of 0. |
| 926 | (find_method): Ditto. |
| 927 | (decode_all_digits): Ditto. |
| 928 | (decode_dollar): Ditto. |
| 929 | |
| 930 | * mi/mi-main.c (mi_cmd_data_evaluate_expression): Resource leak. |
| 931 | |
| 932 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Memory leak. |
| 933 | |
| 934 | * solib-svr4.c (enable_break): Don't free tmp_pathname until |
| 935 | after closing bfd. |
| 936 | |
| 937 | * completer.c: Comment/whitespace cleanup. |
| 938 | |
| 939 | 2007-08-10 Joel Brobecker <brobecker@adacore.com> |
| 940 | |
| 941 | * Makefile.in (i386nbsd-nat.o): Add missing dependency. |
| 942 | |
| 943 | 2007-08-10 Maxim Grigoriev <maxim2405@gmail.com> |
| 944 | |
| 945 | * remote-fileio.c (remote_fileio_resize_fd_map): Initialize newly |
| 946 | allocated file descriptors. |
| 947 | |
| 948 | 2007-08-10 Joel Brobecker <brobecker@adacore.com> |
| 949 | |
| 950 | * Makefile.in: Minor cleanup throughout; add some missing variables, |
| 951 | add some missing rules, remove some rules that are no longer needed, |
| 952 | and fix the dependencies in several rules. |
| 953 | |
| 954 | 2007-08-10 Ludovic Courtès <ludo@gnu.org> |
| 955 | |
| 956 | * Makefile.in (SFILES): Add scm-{exp,lang,valprint}.c. |
| 957 | (scm_lang_h, scm_tags_h): New. |
| 958 | (COMMON_OBS): Add scm-{exp,lang,valprint}.o. |
| 959 | (scm-exp.o, scm-lang.o, scm-valprint.o): New targets. |
| 960 | * defs.h (enum language): Add `language_scm'. |
| 961 | |
| 962 | * MAINTAINERS: Add Emacs local variables to use UTF-8 upon |
| 963 | opening. |
| 964 | |
| 965 | 2007-08-09 Ludovic Courtès <ludo@gnu.org> |
| 966 | |
| 967 | * MAINTAINERS (Write After Approval): Add myself. |
| 968 | |
| 969 | 2007-08-09 Michael Snyder <msnyder@access-company.com> |
| 970 | |
| 971 | * solib.c (solib_open): Memory leak -- openp returns xmalloc buffer. |
| 972 | |
| 973 | 2007-08-09 Joel Brobecker <brobecker@adacore.com> |
| 974 | |
| 975 | * solib-som.c (som_relocate_section_addresses): Stop saving |
| 976 | the $CODE$ section in the so_list structure. |
| 977 | |
| 978 | 2007-08-08 Maxim Grigoriev <maxim2405@gmail.com> |
| 979 | |
| 980 | * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): New. |
| 981 | (xtensa_register_group_t): Add entries for coprocessors. |
| 982 | * xtensa-tdep.c (xtensa_init_reggroups): New register groups. |
| 983 | (xtensa_add_reggroups): Likewise. |
| 984 | (xtensa_register_reggroup_p): Likewise. |
| 985 | (xtensa_coprocessor_register_group): New function. |
| 986 | (xtensa_cp): New. |
| 987 | |
| 988 | 2007-08-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 989 | |
| 990 | * serial.c (serial_open): Fix the OPEN parameter macro expansion. |
| 991 | |
| 992 | 2007-08-08 Michael Snyder <msnyder@access-company.com> |
| 993 | |
| 994 | * target.c (target_read_string): Guard against null. |
| 995 | |
| 996 | * varobj.c (value_of_root): Move alloc after return to avoid leak. |
| 997 | |
| 998 | * tui/tui-layout.c (tui_set_layout): Dead code, dead variable. |
| 999 | (tui_set_layout_for_display_command): Mem leak. |
| 1000 | |
| 1001 | * top.c (command_line_input): Memory leak. |
| 1002 | |
| 1003 | * solib-svr4.c (open_symbol_file_object): Memory leak. |
| 1004 | (svr4_current_sos): Ditto. |
| 1005 | (enable_break): Ditto. |
| 1006 | |
| 1007 | * cp-valprint.c (cp_print_hpacc_virtual_table_entries): Memory leak. |
| 1008 | |
| 1009 | * dwarf2read.c (add_partial_symbol): Memory leak. |
| 1010 | |
| 1011 | 2007-08-06 Michael Snyder <msnyder@access-company.com> |
| 1012 | |
| 1013 | * ada-lang.c (desc_bounds): Comparison of function address to NULL. |
| 1014 | |
| 1015 | 2007-08-05 Jim Blandy <jimb@codesourcery.com> |
| 1016 | |
| 1017 | * macroexp.c (init_buffer): Remove testing code that overrides the |
| 1018 | caller's length guess. |
| 1019 | (gather_arguments): Use a larger initial size, now that the vector |
| 1020 | growth code has been exercised. |
| 1021 | |
| 1022 | 2007-08-05 Pedro Alves <pedro_alves@portugalmail.pt> |
| 1023 | |
| 1024 | * solib-target.c (solib_target_relocate_section_addresses): Add |
| 1025 | orig_delta to addr_high. |
| 1026 | |
| 1027 | 2007-08-04 Michael Snyder <msnyder@access-company.com> |
| 1028 | |
| 1029 | * remote-fileio.c (remote_fileio_func_write): Memory leak. |
| 1030 | |
| 1031 | * breakpoint.c (print_one_breakpoint): Off by one error. |
| 1032 | |
| 1033 | * tracepoint.c (add_register): Off by one error. |
| 1034 | (stringify_collection_list): Free malloc buffer. |
| 1035 | |
| 1036 | 2007-08-03 Michael Snyder <msnyder@access-company.com> |
| 1037 | |
| 1038 | * mi-cmd-var.c (mi_cmd_var_delete): Remove unused variable, |
| 1039 | stop memory leak, straighten out cleanups. |
| 1040 | |
| 1041 | * jv-lang.c (java_link_class_type): Guard against NULL. |
| 1042 | |
| 1043 | 2007-08-02 Michael Snyder <msnyder@access-company.com> |
| 1044 | |
| 1045 | * gdbtypes.c (create_set_type): Test should only be done within |
| 1046 | the preceeding if block. Otherwise, variable is uninitialized. |
| 1047 | |
| 1048 | * gdbtypes.c (check_typedef): Guard NULL. |
| 1049 | |
| 1050 | 2007-08-01 Michael Snyder <msnyder@access-company.com> |
| 1051 | |
| 1052 | * cli/cli-decode.c (lookup_cmd): Check for null earlier, to |
| 1053 | avoid dereference in lookup_cmd_1. |
| 1054 | |
| 1055 | * tui/tui-data.c (tui_alloc_content): Move assign out of if, |
| 1056 | clean up long lines. |
| 1057 | (tui_alloc_generic_win_info): Tidy by using XMALLOC macro. |
| 1058 | (tui_alloc_win_info): Ditto. |
| 1059 | (tui_add_content_elements): Ditto. |
| 1060 | * tui/tui-file.c (tui_file_magic): Ditto. |
| 1061 | |
| 1062 | 2007-07-31 Michael Snyder <msnyder@access-company.com> |
| 1063 | |
| 1064 | * breakpoint.c (breakpoint_init_inferior): Add 'else' to 'if'. |
| 1065 | True and false paths are mutually exclusive. |
| 1066 | |
| 1067 | * event-top.c (command_line_handler): Add pedantic return. |
| 1068 | |
| 1069 | * f-valprint.c (info_common_command): Bail out to prevent null |
| 1070 | pointer deref. Break up a long line. |
| 1071 | |
| 1072 | * exec.c (xfer_memory): Remove redundant condition from 'if'. |
| 1073 | |
| 1074 | * symfile.c (reread_separate_symbols): Free xmalloced memory. |
| 1075 | |
| 1076 | * printcmd.c (build_address_symbolic): Remove dead code and dead |
| 1077 | variable. |
| 1078 | |
| 1079 | 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com> |
| 1080 | |
| 1081 | * linespec.c (minsym_found): Advance to the next line if possible. |
| 1082 | |
| 1083 | 2007-07-31 Pedro Alves <pedro_alves@portugalmail.pt> |
| 1084 | |
| 1085 | * arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call. |
| 1086 | * config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and |
| 1087 | solib-svr4.o, and add solib-target.o |
| 1088 | |
| 1089 | 2007-07-27 Michael Snyder <msnyder@access-company.com> |
| 1090 | |
| 1091 | * tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof. |
| 1092 | |
| 1093 | 2007-07-26 Maciej W. Rozycki <macro@linux-mips.org> |
| 1094 | |
| 1095 | * MAINTAINERS (Write After Approval): Add myself. |
| 1096 | |
| 1097 | 2007-07-26 Maciej W. Rozycki <macro@mips.com> |
| 1098 | |
| 1099 | * Makefile.in (MAKEHTMLFLAGS): Also search the current directory |
| 1100 | for include files. |
| 1101 | |
| 1102 | 2007-07-25 Maciej W. Rozycki <macro@mips.com> |
| 1103 | |
| 1104 | * Makefile.in (MAKEHTMLFLAGS): Remove "-glossary". |
| 1105 | |
| 1106 | 2007-07-24 Michael Snyder <msnyder@access-company.com> |
| 1107 | |
| 1108 | * solib-svr4.c (svr4_fetch_objfile_link_map): Null pointer check of |
| 1109 | 'buffer' must cover both branches that call strcmp (Coverity). |
| 1110 | |
| 1111 | * stack.c (print_frame_args): Check return value of lookup_symbol. |
| 1112 | |
| 1113 | * ax-gdb.c (find_field): Guard against null ptr. |
| 1114 | |
| 1115 | 2007-07-24 Ulrich Weigand <uweigand@de.ibm.com> |
| 1116 | |
| 1117 | * regformats/reg-spu.dat: Fix order of npc, id registers. |
| 1118 | |
| 1119 | 2007-07-24 Ulrich Weigand <uweigand@de.ibm.com> |
| 1120 | |
| 1121 | * target.c (memory_xfer_partial): Accesses to unmapped overlay |
| 1122 | sections should always go to the executable file. |
| 1123 | |
| 1124 | 2004-07-20 Chris Dearman <chris@mips.com> |
| 1125 | |
| 1126 | * mips-tdep.c (heuristic_proc_start): Add more MIPS16 function |
| 1127 | prologue instructions. |
| 1128 | |
| 1129 | 2007-07-20 Maciej W. Rozycki <macro@mips.com> |
| 1130 | |
| 1131 | * mips-tdep.c (mips_next_pc): Use is_mips16_addr() instead of |
| 1132 | a direct test. |
| 1133 | |
| 1134 | 2007-07-20 Chris Dearman <chris@mips.com> |
| 1135 | Maciej W. Rozycki <macro@mips.com> |
| 1136 | |
| 1137 | * mips-tdep.c (fetch_mips_16): Fix typos and reformat the |
| 1138 | description. |
| 1139 | |
| 1140 | 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt> |
| 1141 | Daniel Jacobowitz <dan@codesourcery.com> |
| 1142 | |
| 1143 | * config/i386/cygwin.mt (TDEPFILES): Add solib-target.o. |
| 1144 | * coff-pe-read.c (read_pe_exported_syms): Delete verbose |
| 1145 | printf. |
| 1146 | * NEWS: Mention gdbserver DLL support. |
| 1147 | |
| 1148 | 2007-07-17 Daniel Jacobowitz <dan@codesourcery.com> |
| 1149 | |
| 1150 | * dwarf2read.c (dwarf_decode_lines): Detect address size mismatches. |
| 1151 | |
| 1152 | 2007-07-16 H.J. Lu <hongjiu.lu@intel.com> |
| 1153 | |
| 1154 | * i386-linux-nat.c (fetch_regs): Work around gcc 3.4 alias |
| 1155 | warning bug. |
| 1156 | |
| 1157 | 2007-07-13 Kevin Buettner <kevinb@redhat.com> |
| 1158 | |
| 1159 | * mep-tdep.c (mep_analyze_prologue): Update comment for BRA |
| 1160 | instruction case. |
| 1161 | |
| 1162 | 2007-07-12 Kevin Buettner <kevinb@redhat.com> |
| 1163 | |
| 1164 | * mep-tdep.c (IS_BRA, BRA_DISP): New macros. |
| 1165 | (mep_analyze_prologue): Add case for BRA instruction. |
| 1166 | |
| 1167 | 2007-07-12 Ulrich Weigand <uweigand@de.ibm.com> |
| 1168 | |
| 1169 | * solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic. |
| 1170 | |
| 1171 | 2007-07-10 Nick Roberts <nickrob@snap.net.nz> |
| 1172 | |
| 1173 | * breakpoint.c: Include "top.h". |
| 1174 | (breakpoint_1): Don't set convenience variable $_ if server prefix |
| 1175 | is used. |
| 1176 | (_initialize_breakpoint): Describe this behaviour in command help. |
| 1177 | |
| 1178 | 2007-07-08 Pedro Alves <pedro_alves@portugalmail.pt> |
| 1179 | |
| 1180 | * solib-target.c (library_list_start_segment): Cast address to |
| 1181 | CORE_ADDR. |
| 1182 | |
| 1183 | 2007-07-06 Mark Kettenis <kettenis@gnu.org> |
| 1184 | |
| 1185 | * bsd-uthread.c (bsd_uthread_wait): Don't try to fetch thread IDs |
| 1186 | for terminated processes. |
| 1187 | |
| 1188 | 2007-07-05 Michael Snyder <msnyder@access-company.com> |
| 1189 | |
| 1190 | * event-top.c (cli_command_loop): Prompt string can (and should) |
| 1191 | be freed after call to readline (Coverity). Also move local var |
| 1192 | declarations into block where they are used. |
| 1193 | |
| 1194 | * tui/tui-interp.c (tui_command_loop): Prompt string can (and |
| 1195 | should) be freed after call to readline (Coverity). Also move |
| 1196 | local var declarations into block where they are used. |
| 1197 | |
| 1198 | 2007-07-03 Andreas Schwab <schwab@suse.de> |
| 1199 | |
| 1200 | * linux-nat.c (linux_nat_info_proc_cmd): Fix parsing of columns in |
| 1201 | /proc/../stat. |
| 1202 | |
| 1203 | 2007-07-03 Paul Gilliam <pgilliam@us.ibm.com> |
| 1204 | Thiago Bauermann <bauerman@br.ibm.com> |
| 1205 | Joseph S. Myers <joseph@codesourcery.com> |
| 1206 | Daniel Jacobowitz <dan@codesourcery.com> |
| 1207 | |
| 1208 | * remote.c (remote_check_symbols): Use |
| 1209 | gdbarch_convert_from_func_ptr_addr. |
| 1210 | * infcall.c (find_function_addr): Handle function descriptors |
| 1211 | without debugging information. |
| 1212 | * ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Renamed |
| 1213 | from ppc64_linux_convert_from_func_ptr_addr. Handle -msecure-plt. |
| 1214 | (ppc_linux_init_abi): Always set convert_from_func_ptr_addr. |
| 1215 | * solib-svr4.c (solib_break_names): Remove "._dl_debug_state". |
| 1216 | (bfd_lookup_symbol): Do not take a SECT_FLAGS argument. Always |
| 1217 | allow SEC_CODE and SEC_DATA. |
| 1218 | (enable_break): Update calls. Pass current_target to solib_add. |
| 1219 | Use gdbarch_convert_from_func_ptr_addr. |
| 1220 | |
| 1221 | 2007-07-03 Ilko Iliev <iliev@ronetix.at> |
| 1222 | Daniel Jacobowitz <dan@codesourcery.com> |
| 1223 | |
| 1224 | * symfile.c (print_transfer_performance): Avoid integer overflow. |
| 1225 | Use larger units. |
| 1226 | |
| 1227 | 2007-07-03 Markus Deuling <deuling@de.ibm.com> |
| 1228 | |
| 1229 | * cp-namespace.c (lookup_symbol_file): Add block to |
| 1230 | lookup_symbol_global call. |
| 1231 | * Makefile.in (solist_h): Add dependency on symtab header. |
| 1232 | (symtab.o): Add dependency on solist header. |
| 1233 | * solib.c (solib_global_lookup): New function. |
| 1234 | * solib-svr4.c (scan_dyntag): Likewise. |
| 1235 | (elf_locate_base): Call helper routine scan_dyntag. |
| 1236 | (elf_lookup_lib_symbol): New function. |
| 1237 | (_initialize_svr4_solib): Add elf_lookup_lib_symbol to svr4_so_ops. |
| 1238 | * solist.h (symtab.h): New include. |
| 1239 | (struct target_so_ops): New member lookup_lib_global_symbol. |
| 1240 | (solib_global_lookup): New prototype. |
| 1241 | * symtab.c: New include solist.h. |
| 1242 | (lookup_objfile_from_block): New function. |
| 1243 | (lookup_global_symbol_from_objfile): New function. |
| 1244 | (basic_lookup_symbol_nonlocal): Add block to lookup_symbol_global call. |
| 1245 | (lookup_symbol_global): Call library-specific lookup procedure. |
| 1246 | * symtab.h (lookup_global_symbol_from_objfile): New prototype. |
| 1247 | |
| 1248 | * NEWS: Document framework. |
| 1249 | |
| 1250 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
| 1251 | |
| 1252 | * target-descriptions.c (tdesc_create_reg): Do not set reg->type |
| 1253 | to NULL. |
| 1254 | |
| 1255 | * cli/cli-script.c (build_command_line): Update NULL check. |
| 1256 | |
| 1257 | 2007-07-02 Michael Snyder <msnyder@access-company.com> |
| 1258 | |
| 1259 | * p-exp.y (yylex): Memory leak, 'uptokstart' must be freed (Coverity). |
| 1260 | |
| 1261 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
| 1262 | |
| 1263 | * Makefile.in (XMLFILES): Add library-list.dtd. |
| 1264 | (ALLDEPFILES): Add solib-target.o. |
| 1265 | (solib-target.o): New rule. |
| 1266 | * remote.c (PACKET_qXfer_libraries): New constant. |
| 1267 | (remote_protocol_features): Add qXfer:libraries:read. |
| 1268 | (remote_wait): Recognize library stop replies. |
| 1269 | (remote_async_wait): Likewise. Fix typo. |
| 1270 | (remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. |
| 1271 | (init_remote_async_ops): Fix typo. |
| 1272 | (_initialize_remote): Register "set remote library-info-packet". |
| 1273 | * solib-som.c (som_current_sos): Set addr_low and addr_high. |
| 1274 | * solib-target.c: New file. |
| 1275 | * solib.c (solib_map_sections): Use addr_low and addr_high instead |
| 1276 | of textsection. |
| 1277 | (info_sharedlibrary_command): Likewise. |
| 1278 | (solib_add_library, solib_remove_library): New. |
| 1279 | * solist.h (struct so_list): Replace textsection with addr_low and |
| 1280 | addr_high. |
| 1281 | * target.h (enum target_object): Add TARGET_OBJECT_LIBRARIES. |
| 1282 | * NEWS: Describe new qXfer:libraries:read and shared library |
| 1283 | event support. |
| 1284 | * features/library-list.dtd: New. |
| 1285 | |
| 1286 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
| 1287 | |
| 1288 | * infrun.c (inferior_ignoring_startup_exec_events): Delete. |
| 1289 | (start_remote): Use STOP_QUIETLY_REMOTE. |
| 1290 | (handle_inferior_event): Do not condition TARGET_WAITKIND_LOADED |
| 1291 | support on a SOLIB_ADD definition. Update breakpoints_inserted. |
| 1292 | Update to match shared library event breakpoint support. Only |
| 1293 | resume if appropriate. Handle STOP_QUIETLY_REMOTE. |
| 1294 | (normal_stop): Handle TARGET_WAITKIND_LOADED. |
| 1295 | * fork-child.c (startup_inferior): Do not set |
| 1296 | inferior_ignoring_startup_exec_events |
| 1297 | * inferior.h (inferior_ignoring_startup_exec_events): Delete |
| 1298 | declaration. |
| 1299 | (enum stop_kind): Improve documentation. Add STOP_QUIETLY_REMOTE. |
| 1300 | |
| 1301 | 2007-07-02 Markus Deuling <deuling@de.ibm.com> |
| 1302 | |
| 1303 | * breakpoint.c (insert_bp_location): Remove dead code |
| 1304 | (DISABLE_UNSETTABLE_BREAK). |
| 1305 | (disable_breakpoints_in_shlibs) |
| 1306 | (disable_breakpoints_in_unloaded_shlib): Likewise (comment). |
| 1307 | |
| 1308 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
| 1309 | |
| 1310 | * breakpoint.c (reattach_breakpoints): Do not use remove_breakpoint. |
| 1311 | Call insert_bp_location. |
| 1312 | |
| 1313 | 2007-07-01 H.J. Lu <hongjiu.lu@intel.com> |
| 1314 | |
| 1315 | * core-regset.c (fetch_core_registers): Work around gcc 3.4 |
| 1316 | alias warning bug. |
| 1317 | |
| 1318 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
| 1319 | |
| 1320 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Search fewer |
| 1321 | objfiles. |
| 1322 | |
| 1323 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
| 1324 | |
| 1325 | * top.c (gdb_readline_wrapper_line): Call rl_callback_handler_remove. |
| 1326 | (struct gdb_readline_wrapper_cleanup): Remove prompt_orig. |
| 1327 | (gdb_readline_wrapper_cleanup): Do not reset the prompt. |
| 1328 | (gdb_readline_wrapper): Do not save the prompt. Pass our prompt |
| 1329 | to display_gdb_prompt. |
| 1330 | |
| 1331 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
| 1332 | |
| 1333 | PR symtab/2161 |
| 1334 | * target.c (memory_xfer_partial): Do not continue past targets with |
| 1335 | all memory. |
| 1336 | |
| 1337 | 2007-06-30 Andreas Schwab <schwab@suse.de> |
| 1338 | |
| 1339 | * m68k-tdep.c (m68k_ps_type): New. |
| 1340 | (m68k_init_types): New. |
| 1341 | (m68k_register_type): Use m68k_ps_type for PS register. |
| 1342 | (_initialize_m68k_tdep): Call m68k_init_types. |
| 1343 | |
| 1344 | * m68k-tdep.c (m68k_gdbarch_init): Don't infer coldfire flavour |
| 1345 | from the generic m68k arch. |
| 1346 | |
| 1347 | 2007-06-28 Michael Snyder <msnyder@access-company.com> |
| 1348 | |
| 1349 | * m2-typeprint.c (m2_print_type): Move pointer ref after null test |
| 1350 | (Coverity). |
| 1351 | |
| 1352 | * linux-thread-db.c (thread_db_get_thread_local_address): Add |
| 1353 | gdb_assert before using return value of find_thread_pid (Coverity). |
| 1354 | |
| 1355 | * source.c (unset_substitute_path_command): Plug leak (Coverity). |
| 1356 | |
| 1357 | * cli/cli-script.c (build_command_line): Add null pointer guard |
| 1358 | (Coverity). |
| 1359 | |
| 1360 | 2007-06-27 Daniel Jacobowitz <dan@codesourcery.com> |
| 1361 | |
| 1362 | * linux-thread-db.c (thread_db_attach): Delete. |
| 1363 | (thread_db_detach): Typo fix. Call target_mourn_inferior |
| 1364 | instead of fixing up proc_handle. |
| 1365 | (have_threads_callback, have_threads): New functions. |
| 1366 | (thread_db_wait): Remove dead proc_handle.pid check. Only |
| 1367 | translate PTIDs if we have registered threads. Check for new |
| 1368 | threads if we have none. |
| 1369 | (thread_db_create_inferior, thread_db_post_startup_inferior): Delete. |
| 1370 | (find_new_threads_callback): Only enable event reporting if TID == 0. |
| 1371 | (same_ptid_callback): New. |
| 1372 | (thread_db_get_thread_local_address): Check for new threads. |
| 1373 | (init_thread_db_ops): Don't set to_attach, to_create_inferior, |
| 1374 | or to_post_startup_inferior. |
| 1375 | |
| 1376 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
| 1377 | |
| 1378 | * infrun.c (adjust_pc_after_break): Do not assume software single-step |
| 1379 | is always active if SOFTWARE_SINGLE_STEP_P is true. |
| 1380 | (resume): Use gdbarch_software_single_step[_p] instead of |
| 1381 | SOFTWARE_SINGLE_STEP[_P]. |
| 1382 | (handle_inferior_event): Do not check for SOFTWARE_SINGLE_STEP_P. |
| 1383 | |
| 1384 | * gdbarch.sh (software_single_step): Remove target macro. |
| 1385 | * gdbarch.h, gdbarch.c: Regenerate. |
| 1386 | |
| 1387 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
| 1388 | |
| 1389 | * gdbarch.sh (gdbarch_swap_ftype, deprecated_register_gdbarch_swap, |
| 1390 | DEPRECATED_REGISTER_GDBARCH_SWAP): Remove. |
| 1391 | (struct gdbarch_swap, struct gdbarch_swap_registration, |
| 1392 | struct gdbarch_swap_registry, gdbarch_swap_registry, |
| 1393 | current_gdbarch_swap_init_hack, current_gdbarch_swap_out_hack, |
| 1394 | current_gdbarch_swap_in_hack): Remove. |
| 1395 | (find_arch_by_info): Do not call current_gdbarch_swap_init_hack. |
| 1396 | (gdbarch_find_by_info): Do not call current_gdbarch_swap_in_hack |
| 1397 | and current_gdbarch_swap_out_hack, update current_gdbarch directly. |
| 1398 | (deprecated_current_gdbarch_select_hack): Likewise. |
| 1399 | * gdbarch.h, gdbarch.c: Regenerate. |
| 1400 | |
| 1401 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
| 1402 | |
| 1403 | * infrun.c (clear_proceed_status): Clean up stop_registers. |
| 1404 | (normal_stop): Allocate regcache for stop_registers. |
| 1405 | (struct inferior_status): Remove stop_registers member. |
| 1406 | (save_inferior_status): Do not save stop_registers. |
| 1407 | (restore_inferior_status): Do not restore stop_registers. |
| 1408 | (discard_inferior_status): Do not discard stop_registers. |
| 1409 | (build_infrun): Remove. |
| 1410 | (_initialize_infrun): Do not swap stop_registers. |
| 1411 | |
| 1412 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
| 1413 | |
| 1414 | * remote.c (remote_address_masked): If remote_address_size is zero, |
| 1415 | default to target address size. |
| 1416 | (build_remote_gdbarch_data): Remove. |
| 1417 | (_initialize_remote): Do not swap remote_address_size. |
| 1418 | |
| 1419 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
| 1420 | |
| 1421 | * gdbtypes.h (builtin_type_true_char, builtin_type_void, |
| 1422 | builtin_type_char, builtin_type_short, builtin_type_int, |
| 1423 | builtin_type_long, builtin_type_signed_char, |
| 1424 | builtin_type_unsigned_char, builtin_type_unsigned_short, |
| 1425 | builtin_type_unsigned_int, builtin_type_unsigned_long, |
| 1426 | builtin_type_float, builtin_type_double, builtin_type_long_double, |
| 1427 | builtin_type_complex, builtin_type_double_complex, builtin_type_string, |
| 1428 | builtin_type_bool, builtin_type_long_long, |
| 1429 | builtin_type_unsigned_long_long, builtin_type_void_data_ptr, |
| 1430 | builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Replace global |
| 1431 | variable declaration with compatibility macro. |
| 1432 | * gdbtypes.c (builtin_type_true_char, builtin_type_void, |
| 1433 | builtin_type_char, builtin_type_short, builtin_type_int, |
| 1434 | builtin_type_long, builtin_type_signed_char, |
| 1435 | builtin_type_unsigned_char, builtin_type_unsigned_short, |
| 1436 | builtin_type_unsigned_int, builtin_type_unsigned_long, |
| 1437 | builtin_type_float, builtin_type_double, builtin_type_long_double, |
| 1438 | builtin_type_complex, builtin_type_double_complex, builtin_type_string, |
| 1439 | builtin_type_bool, builtin_type_long_long, |
| 1440 | builtin_type_unsigned_long_long, builtin_type_void_data_ptr, |
| 1441 | builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Remove. |
| 1442 | (build_gdbtypes): Remove. |
| 1443 | (_initialize_gdbtypes): Do not call build_gdbtypes, move installing |
| 1444 | opaque-type-resolution command here. Do not call |
| 1445 | deprecated_register_gdbarch_swap. |
| 1446 | |
| 1447 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
| 1448 | |
| 1449 | * gdbtypes.h (struct builtin_type): New members nodebug_text_symbol, |
| 1450 | nodebug_data_symbol, nodebug_unknown_symbol, and nodebug_tls_symbol. |
| 1451 | * gdbtypes.c (gdbtypes_post_init): Initialize nodebug_ default types. |
| 1452 | |
| 1453 | * parse.c (msym_text_symbol_type, msym_data_symbol_type): Remove. |
| 1454 | (msym_unknown_symbol_type, msym_tls_symbol_type): Remove. |
| 1455 | (write_exp_msymbol): Use builtin nodebug_ types instead of them. |
| 1456 | (build_parse): Remove. |
| 1457 | (_initialize_parse): Do not call build_parse. Do not register |
| 1458 | msym_ types for gdbarch-swapping. |
| 1459 | |
| 1460 | * dwarf2read.c (new_symbol): Use default nodebug_data_symbol type |
| 1461 | instead of creating private type. |
| 1462 | |
| 1463 | * xcoffread.c (func_symbol_type, var_symbol_type): Remove. |
| 1464 | (_initialize_xcoffread): Do not initialized them. |
| 1465 | (process_xcoff_symbol): Use builtin nodebug_ types instead of them. |
| 1466 | |
| 1467 | * mdebugread.c (nodebug_func_symbol_type): Remove. |
| 1468 | (nodebug_var_symbol_type): Remove. |
| 1469 | (_initialize_mdebugread): Do not initialize them. |
| 1470 | (parse_symbol): Use builtin nodebug_ type instead of them. |
| 1471 | (parse_procedure): Likewise. |
| 1472 | |
| 1473 | 2007-06-21 Chris Dearman <chris@mips.com> |
| 1474 | |
| 1475 | * printcmd.c (do_one_display): If display/i, start with an initial |
| 1476 | line feed to avoid bad layout if there is a branch delay slot. |
| 1477 | |
| 1478 | 2007-06-21 Nigel Stephens <nigel@mips.com> |
| 1479 | Maciej W. Rozycki <macro@mips.com> |
| 1480 | |
| 1481 | * disasm.c (gdb_print_insn): Return the number of branch delay |
| 1482 | slot instructions too. |
| 1483 | * disasm.h (gdb_print_insn): Update prototype. |
| 1484 | * printcmd.c (branch_delay_insns): New variable to record the |
| 1485 | number of delay slot instructions after disassembling a branch. |
| 1486 | (print_formatted): Record the number of branch delay slot |
| 1487 | instructions. |
| 1488 | (do_examine): When disassembling, if the last instruction |
| 1489 | disassembled has any branch delay slots, then bump the count so |
| 1490 | that they get disassembled too. |
| 1491 | * tui/tui-disasm.c (tui_disassemble): Update the call to |
| 1492 | gdb_print_insn(). |
| 1493 | * NEWS: Document the new behaviour. |
| 1494 | |
| 1495 | 2007-06-21 Andreas Schwab <schwab@suse.de> |
| 1496 | |
| 1497 | * regcache.c (write_pc_pid): Restore missing else. |
| 1498 | |
| 1499 | 2007-06-20 Ulrich Weigand <uweigand@de.ibm.com> |
| 1500 | |
| 1501 | * regcache.c (regcache_print): Use get_current_regcache () |
| 1502 | instead of current_regcache. |
| 1503 | |
| 1504 | 2007-06-20 H.J. Lu <hongjiu.lu@intel.com> |
| 1505 | |
| 1506 | PR 4606 |
| 1507 | * gcore.c (gcore_command): Use bfd_make_section_anyway_with_flags |
| 1508 | instead of bfd_make_section_anyway. |
| 1509 | (gcore_create_callback): Likewise. Also set SEC_NEVER_LOAD |
| 1510 | when clearing SEC_LOAD. |
| 1511 | |
| 1512 | 2007-06-19 Joseph Myers <joseph@codesourcery.com> |
| 1513 | |
| 1514 | * arm-tdep.c (arm_push_dummy_call): Correct padding of partial |
| 1515 | registers for big-endian. |
| 1516 | |
| 1517 | 2007-06-19 Markus Deuling <deuling@de.ibm.com> |
| 1518 | |
| 1519 | * gdbarch.sh (TARGET_PRINT_INSN): Replace by gdbarch_print_insn. |
| 1520 | * disasm.c (dump_insns, gdb_print_insn): Likewise. |
| 1521 | * gdbarch.c, gdbarch.h: Regenerate. |
| 1522 | |
| 1523 | 2007-06-19 Markus Deuling <deuling@de.ibm.com> |
| 1524 | |
| 1525 | * gdbarch.sh (BELIEVE_PCC_PROMOTION): Replace by |
| 1526 | gdbarch_believe_pcc_promotion. |
| 1527 | * stabsread.c (define_symbol): Likewise. |
| 1528 | Remove unnecessary definition. |
| 1529 | * coffread.c (process_coff_symbol): Remove unnecessary code. |
| 1530 | * gdbarch.c, gdbarch.h: Regenerate. |
| 1531 | |
| 1532 | 2007-06-19 Daniel Jacobowitz <dan@codesourcery.com> |
| 1533 | |
| 1534 | * configure.ac: Do not use ${objdir}. |
| 1535 | * configure: Regenerated. |
| 1536 | |
| 1537 | 2007-06-18 Ulrich Weigand <uweigand@de.ibm.com> |
| 1538 | |
| 1539 | * gdbarch.sh (deprecated_register_size): Remove. |
| 1540 | * gdbarch.h, gdbarch.c: Regenerate. |
| 1541 | |
| 1542 | * arm-tdep.c (arm_push_dummy_call): Replace DEPRECATED_REGISTER_SIZE |
| 1543 | by INT_REGISTER_SIZE. |
| 1544 | (thumb_get_next_pc, arm_return_in_memory): Likewise. |
| 1545 | (arm_gdbarch_init): Do not call set_gdbarch_deprecated_register_size. |
| 1546 | * ia64-tdep.c (ia64_gdbarch_init): Do not call |
| 1547 | set_gdbarch_deprecated_register_size. |
| 1548 | |
| 1549 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
| 1550 | |
| 1551 | * gdbarch.sh (DEPRECATED_FP_REGNUM): Replace by |
| 1552 | gdbarch_deprecated_fp_regnum. |
| 1553 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. |
| 1554 | * remote-mips.c (mips_wait, mips_fetch_registers): Likewise. |
| 1555 | * arch-utils.c (legacy_virtual_frame_pointer): Likewise. |
| 1556 | * arch-utils.h (gdbarch_virtual_frame_pointer_ftype): Likewise |
| 1557 | (comment). |
| 1558 | * gdbarch.c, gdbarch.h: Regenerate. |
| 1559 | |
| 1560 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
| 1561 | |
| 1562 | * gdbarch.sh (EXTRACT_RETURN_VALUE): Replace with |
| 1563 | gdbarch_extract_return_value. |
| 1564 | * value.c (generic_use_struct_convention): Likewise (comment). |
| 1565 | * ia64-tdep.c (ia64_use_struct_convention): Likewise (comment). |
| 1566 | * arch-utils.c (legacy_return_value): Likewise. |
| 1567 | * arch-utils.h (legacy_return_value): Likewise (comment). |
| 1568 | * gdbarch.sh (STORE_RETURN_VALUE): Replace by |
| 1569 | gdbarch_store_return_value. |
| 1570 | * stack.c (return_command): Likewise (comment). |
| 1571 | * arch-utils.h (legacy_return_value): Likewise (comment). |
| 1572 | * arch-utils.c (legacy_return_value): Likewise. |
| 1573 | * gdbarch.c, gdbarch.h: Regenerate. |
| 1574 | |
| 1575 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
| 1576 | |
| 1577 | * gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Replace by |
| 1578 | gdbarch_deprecated_use_struct_convention. |
| 1579 | * arch-utils.c (legacy_return_value): Likewise. |
| 1580 | * gdbarch.c, gdbarch.h: Regenerate. |
| 1581 | |
| 1582 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
| 1583 | |
| 1584 | * gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Replace by |
| 1585 | gdbarch_deprecated_function_start_offset. |
| 1586 | * symtab.c (find_function_start_sal)skip_prologue_using_sal): Likewise. |
| 1587 | * linespec.c (minsym_found): Likewise. |
| 1588 | * infrun.c (handle_inferior_event): Likewise. |
| 1589 | * infcall.c (find_function_addr): Likewise. |
| 1590 | * cli/cli-cmds.c (disassemble_command): Likewise. |
| 1591 | * gdbarch.c, gdbarch.h: Regenerate. |
| 1592 | |
| 1593 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
| 1594 | |
| 1595 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Replace by |
| 1596 | gdbarch_deprecated_reg_struct_has_addr. |
| 1597 | * infcall.c (call_function_by_hand): Likewise. |
| 1598 | (DEPRECATED_REG_STRUCT_HAS_ADDR_P): Replace by |
| 1599 | * gdbarch_deprecated_reg_struct_has_addr_p. |
| 1600 | * infcall.c (call_function_by_hand): Likewise. |
| 1601 | * gdbarch.c, gdbarch.h: Regenerate. |
| 1602 | |
| 1603 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
| 1604 | |
| 1605 | * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. |
| 1606 | * sh-tdep.c (sh_extract_struct_value_address): Remove. |
| 1607 | (sh_gdbarch_init): Remove |
| 1608 | set_gdbarch_deprecated_extract_struct_value_address. |
| 1609 | * sh64-tdep.c (sh64_extract_struct_value_address): Remove. |
| 1610 | (sh64_gdbarch_init): Remove |
| 1611 | set_gdbarch_deprecated_extract_struct_value_address. |
| 1612 | * ia64-tdep.c (ia64_extract_struct_value_address): Remove. |
| 1613 | (ia64_gdbarch_init): Remove |
| 1614 | set_gdbarch_deprecated_extract_struct_value_address. |
| 1615 | * frv-tdep.c (frv_extract_struct_value_address): Remove. |
| 1616 | (frv_gdbarch_init): Remove |
| 1617 | set_gdbarch_deprecated_extract_struct_value_address. |
| 1618 | * gdbarch.c, gdbarch.h: Regenerate. |
| 1619 | |
| 1620 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
| 1621 | |
| 1622 | * gdbarch.sh (SP_REGNUM): Replace by gdbarch_sp_regnum. |
| 1623 | * v850-tdep.c (v850_unwind_sp): Likewise. |
| 1624 | * std-regs.c (value_of_builtin_frame_sp_reg): Likewise. |
| 1625 | * stack.c (frame_info): Likewise. |
| 1626 | * stabsread.c (define_symbol): Likewise. |
| 1627 | * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu) |
| 1628 | (sh_dwarf2_frame_init_reg, sh_frame_cache, sh_frame_prev_register) |
| 1629 | (sh_unwind_sp): Likewise. |
| 1630 | * sh64-tdep.c (sh64_push_dummy_call, sh64_frame_cache) |
| 1631 | (sh64_frame_prev_register, sh64_unwind_sp): Likewise. |
| 1632 | * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_unwind_dummy_id) |
| 1633 | (rs6000_frame_cache): Likewise. |
| 1634 | * rs6000-nat.c (store_register): Likewise. |
| 1635 | * remote-mips.c (mips_wait): Likewise. |
| 1636 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. |
| 1637 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call) |
| 1638 | (ppc64_sysv_abi_push_dummy_call): Likewise. |
| 1639 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. |
| 1640 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. |
| 1641 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. |
| 1642 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. |
| 1643 | * m32r-rom.c (m32r_supply_register): Likewise. |
| 1644 | * frame.c (frame_sp_unwind): Likewise. |
| 1645 | * mips-tdep.c (mips_insn16_frame_cache) |
| 1646 | (mips_insn32_frame_cache): Likewise (comment). |
| 1647 | * m68klinux-nat.c (supply_gregset): Likewise. |
| 1648 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. |
| 1649 | * ia64-tdep.c (ia64_frame_prev_register): Likewise. |
| 1650 | * i386-tdep.c (i386_get_longjmp_target): Likewise. |
| 1651 | * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise. |
| 1652 | * cris-tdep.c (cris_regnums, cris_sigcontext_addr) |
| 1653 | (cris_sigtramp_frame_unwind_cache, cris_push_dummy_call) |
| 1654 | (cris_scan_prologue, crisv32_scan_prologue, cris_unwind_sp) |
| 1655 | (cris_register_type, crisv32_register_type) |
| 1656 | (cris_dwarf2_frame_init_reg): Likewise. |
| 1657 | * arch-utils.c (legacy_virtual_frame_pointer): Likewise. |
| 1658 | * amd64-tdep.c (amd64_frame_prev_register): Likewise. |
| 1659 | * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise. |
| 1660 | * libunwind-frame.c (libunwind_frame_cache): Likewise. |
| 1661 | |
| 1662 | * gdbarch.sh (PC_REGNUM): Replace by gdbarch_pc_regnum. |
| 1663 | * regcache.c (read_pc_pid, generic_target_write_pc): Likewise. |
| 1664 | * xtensa-tdep.c (xtensa_register_type, xtensa_supply_gregset) |
| 1665 | (xtensa_unwind_pc, xtensa_frame_cache, xtensa_frame_prev_register) |
| 1666 | (xtensa_extract_return_value, xtensa_store_return_value): Likewise. |
| 1667 | * v850-tdep.c (v850_unwind_pc): Likewise. |
| 1668 | * stack.c (frame_info): Likewise. |
| 1669 | * sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh2e_show_regs) |
| 1670 | (sh2a_show_regs, sh2a_nofpu_show_regs, sh3e_show_regs) |
| 1671 | (sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs) |
| 1672 | (sh_dwarf2_frame_init_reg, sh_frame_prev_register, sh_unwind_pc) |
| 1673 | (sh_dsp_show_regs): Likewise. |
| 1674 | * shnbsd-tdep.c (shnbsd_supply_gregset) |
| 1675 | (shnbsd_collect_gregset): Likewise. |
| 1676 | * shnbsd-nat.c (GETREGS_SUPPLIES): Likewise. |
| 1677 | * sh64-tdep.c (sh64_compact_reg_base_num, sh64_show_media_regs) |
| 1678 | (sh64_frame_prev_register, sh64_unwind_pc): Likewise. |
| 1679 | * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset) |
| 1680 | (6000_register_reggroup_p, rs6000_unwind_pc) |
| 1681 | (rs6000_frame_cache): Likewise. |
| 1682 | * rs6000-nat.c (regmap, rs6000_fetch_inferior_registers) |
| 1683 | (rs6000_store_inferior_registers): Likewise. |
| 1684 | * remote-mips.c (mips_wait, mips_load): Likewise. |
| 1685 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. |
| 1686 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. |
| 1687 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. |
| 1688 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. |
| 1689 | * ppcnbsd-nat.c (getregs_supplies, ppcnbsd_supply_pcb): Likewise. |
| 1690 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. |
| 1691 | * ppc-linux-nat.c (ppc_register_u_addr, fetch_ppc_registers) |
| 1692 | (store_ppc_registers, fill_gregset): Likewise. |
| 1693 | * mips-tdep.c (mips_stub_frame_cache, mips_gdbarch_init): Likewise. |
| 1694 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg): Likewise. |
| 1695 | * mipsnbsd-nat.c (getregs_supplies): Likewise. |
| 1696 | * m68k-tdep.c (m68k_register_type, m68k_unwind_pc): Likewise. |
| 1697 | * m68klinux-nat.c (supply_gregset): Likewise. |
| 1698 | * irix5-nat.c (fill_gregset): Likewise. |
| 1699 | * i386-tdep.c (i386_unwind_pc): Likewise. |
| 1700 | * i386-linux-nat.c (i386_linux_resume): Likewise. |
| 1701 | * frame.c (get_prev_frame_1): Likewise. |
| 1702 | * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise. |
| 1703 | * dbug-rom.c (dbug_supply_register): Likewise. |
| 1704 | * cris-tdep.c (cris_sigtramp_frame_unwind_cache, cris_scan_prologue) |
| 1705 | (crisv32_scan_prologue, cris_unwind_pc, cris_register_size) |
| 1706 | (cris_register_type, crisv32_register_type, crisv32_register_name) |
| 1707 | (cris_dwarf2_frame_init_reg, find_step_target) |
| 1708 | (cris_software_single_step, cris_supply_gregset) |
| 1709 | (cris_regnums): Likewise. |
| 1710 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. |
| 1711 | * aix-thread.c (special_register_p, supply_sprs64, supply_sprs32) |
| 1712 | (fill_sprs64, fill_sprs32, store_regs_user_thread): Likewise. |
| 1713 | * std-regs.c (value_of_builtin_frame_pc_reg): Likewise. |
| 1714 | * mips-linux-tdep.c (mips_linux_write_pc): Likewise. |
| 1715 | |
| 1716 | * gdbarch.sh (PS_REGNUM): Replace by gdbarch_ps_regnum. |
| 1717 | * dbug-rom.c (dbug_supply_register): Likewise. |
| 1718 | * xtensa-tdep.c (xtensa_supply_gregset, xtensa_frame_cache) |
| 1719 | (xtensa_frame_prev_register, xtensa_push_dummy_call): Likewise. |
| 1720 | * win32-nat.c (win32_resume): Likewise. |
| 1721 | * std-regs.c (value_of_builtin_frame_ps_reg): Likewise. |
| 1722 | * m68k-tdep.c (m68k_register_type): Likewise. |
| 1723 | * m68klinux-nat.c (supply_gregset): Likewise. |
| 1724 | |
| 1725 | * gdbarch.sh (FP0_REGNUM): Replace by gdbarch_fp0_regnum. |
| 1726 | * sh-tdep.c (sh_extract_return_value_fpu, sh_store_return_value_fpu) |
| 1727 | (sh2e_show_regs, sh2a_show_regs, sh3e_show_regs, sh4_show_regs) |
| 1728 | (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type) |
| 1729 | (fv_reg_base_num, dr_reg_base_num): Likewise. |
| 1730 | * sh64-tdep.c (sh64_fv_reg_base_num, sh64_dr_reg_base_num) |
| 1731 | (sh64_fpp_reg_base_num, sh64_compact_reg_base_num, sh64_push_dummy_call) |
| 1732 | (sh64_extract_return_value, sh64_store_return_value) |
| 1733 | (sh64_show_media_regs, sh64_show_compact_regs, sh64_register_type) |
| 1734 | (sh64_do_fp_register, sh64_media_print_registers_info): Likewise. |
| 1735 | * procfs.c (procfs_fetch_registers, procfs_store_registers) |
| 1736 | (invalidate_cache): Likewise. |
| 1737 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. |
| 1738 | * mipsnbsd-tdep.c (mipsnbsd_supply_fpreg) |
| 1739 | (mipsnbsd_fill_fpreg): Likewise. |
| 1740 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers) |
| 1741 | (mipsnbsd_store_inferior_registers): Likewise. |
| 1742 | * mips-linux-tdep.c (mips_supply_fpregset, mips_fill_fpregset) |
| 1743 | (mips64_supply_fpregset, mips64_fill_fpregset): Likewise. |
| 1744 | * mips-linux-nat.c (mips64_linux_register_addr): Likewise. |
| 1745 | * m68k-tdep.c (m68k_register_type, m68k_convert_register_p): Likewise. |
| 1746 | * m68klinux-nat.c (getfpregs_supplies, supply_fpregset) |
| 1747 | (fill_fpregset): Likewise. |
| 1748 | * irix5-nat.c (supply_fpregset, fill_fpregset): Likewise. |
| 1749 | * i386-tdep.h (struct_return): Likewise (comment). |
| 1750 | * i386-nto-tdep.c (i386nto_register_area): Likewise. |
| 1751 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register) |
| 1752 | (go32_store_registers): Likewise. |
| 1753 | * alpha-tdep.c (alpha_next_pc): Likewise. |
| 1754 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. |
| 1755 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers) |
| 1756 | (alphabsd_store_inferior_registers): Likewise. |
| 1757 | * core-regset.c (fetch_core_registers): Likewise. |
| 1758 | * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise. |
| 1759 | |
| 1760 | * gdbarch.c, gdbarch.h: Regenerate. |
| 1761 | |
| 1762 | 2007-06-18 Daniel Jacobowitz <dan@codesourcery.com> |
| 1763 | |
| 1764 | * coffread.c (coff_sym_fns): Add default_symfile_segments. |
| 1765 | * dbxread.c (start_psymtab): Check HAVE_ELF. |
| 1766 | (aout_sym_fns): Likewise. |
| 1767 | * elfread.c (elf_symfile_segments): New. |
| 1768 | (elf_sym_fns): Add elf_symfile_segments. |
| 1769 | * mipsread.c (ecoff_sym_fns): Add default_symfile_segments. |
| 1770 | * remote.c (get_offsets): Use symfile_map_offsets_to_segments. |
| 1771 | Skip if there is no symfile_objfile. Handle TextSeg and DataSeg. |
| 1772 | * somread.c (som_sym_fns): Use default_symfile_segments. |
| 1773 | * symfile.c (find_sym_fns): Take a BFD and return the sym_fns. |
| 1774 | (init_objfile_sect_indices): Call symfile_find_segment_sections. |
| 1775 | (default_symfile_segments): New function. |
| 1776 | (syms_from_objfile): Update call to find_sym_fns. |
| 1777 | (symfile_get_segment_data, free_symfile_segment_data): New. |
| 1778 | (symfile_map_offsets_to_segments): New. |
| 1779 | (symfile_find_segment_sections): New. |
| 1780 | * symfile.h (struct symfile_segment_data): New. |
| 1781 | (struct sym_fns): Add sym_segments. |
| 1782 | (default_symfile_segments, symfile_get_segment_data) |
| 1783 | (free_symfile_segment_data): New prototypes. |
| 1784 | (symfile_map_offsets_to_segments): Likewise. |
| 1785 | * xcoffread.c (xcoff_sym_fns): Add default_symfile_segments. |
| 1786 | * Makefile.in (COMMON_OBS): Remove elfread.o. |
| 1787 | (elf_internal_h): New. |
| 1788 | (elfread.o): Update. |
| 1789 | * configure.ac: Add elfread.o to COMMON_OBS if bfd/elf.o was |
| 1790 | compiled. |
| 1791 | * config.in, configure: Regenerated. |
| 1792 | * NEWS: Mention qOffsets changes. |
| 1793 | |
| 1794 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
| 1795 | |
| 1796 | * gdbtypes.h (builtin_type_m2_char, builtin_type_m2_int, |
| 1797 | builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool): |
| 1798 | Replace global variable declaration with compatibility macro. |
| 1799 | (struct builtin_m2_type): New data type. |
| 1800 | (builtin_m2_type): Add prototype. |
| 1801 | * m2-lang.c (builtin_type_m2_char, builtin_type_m2_int, |
| 1802 | builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool): |
| 1803 | Remove global variables. |
| 1804 | (m2_language_arch_info): Use builtin_m2_type instead of variables. |
| 1805 | (build_m2_types): New function. |
| 1806 | (m2_type_data): New variable. |
| 1807 | (builtin_m2_type): New function. |
| 1808 | (_initialize_m2_language): Do not build data types. Register |
| 1809 | m2_type_data per-gdbarch data. |
| 1810 | |
| 1811 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
| 1812 | |
| 1813 | * gdbtypes.h (builtin_type_f_character, builtin_type_f_logical, |
| 1814 | builtin_type_f_logical_s1, builtin_type_f_logical_s2, |
| 1815 | builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real, |
| 1816 | builtin_type_f_real_s8, builtin_type_f_real_s16, |
| 1817 | builtin_type_f_complex_s8, builtin_type_f_complex_s16, |
| 1818 | builtin_type_f_complex_s32, builtin_type_f_void): Replace global |
| 1819 | variable declaration with compatibility macro. |
| 1820 | (struct builtin_f_type): New data type. |
| 1821 | (builtin_f_type): Add prototype. |
| 1822 | * f-lang.c (builtin_type_f_character, builtin_type_f_logical, |
| 1823 | builtin_type_f_logical_s1, builtin_type_f_logical_s2, |
| 1824 | builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real, |
| 1825 | builtin_type_f_real_s8, builtin_type_f_real_s16, |
| 1826 | builtin_type_f_complex_s8, builtin_type_f_complex_s16, |
| 1827 | builtin_type_f_complex_s32, builtin_type_f_void): Remove variables. |
| 1828 | (f_language_arch_info): Use builtin_f_type instead of variables. |
| 1829 | (build_fortran_types): Build builtin_f_type structure instead of |
| 1830 | setting global type variables. |
| 1831 | (f_type_data): New variable. |
| 1832 | (builtin_f_type): New function. |
| 1833 | (_initialize_f_language): Do not call build_fortran_types. Do not |
| 1834 | swap global type variables. Register f_type_data per-gdbarch data. |
| 1835 | |
| 1836 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
| 1837 | |
| 1838 | * f-lang.c (_initialize_f_language): Do not initialize or |
| 1839 | swap builtin_type_string. |
| 1840 | |
| 1841 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
| 1842 | |
| 1843 | * std-regs.c (builtin_type_frame_reg, build_builtin_type_frame_reg, |
| 1844 | value_of_builtin_frame_reg): Remove. |
| 1845 | (_initialize_frame_reg): Do not swap builtin_type_frame_reg. Remove |
| 1846 | inactive call to value_of_builtin_frame_reg. |
| 1847 | |
| 1848 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
| 1849 | |
| 1850 | * gdbarch.sh (bfd_vma_bit): Remove. |
| 1851 | * gdbarch.c, gdbarch.h: Regenerate. |
| 1852 | |
| 1853 | * gdbtypes.h (builtin_bfd_vma_type): Remove. |
| 1854 | * gdbtypes.h (builtin_bfd_vma_type): Remove. |
| 1855 | (build_gdbtypes): Do not initialize it. |
| 1856 | (_initialize_gdbtypes): Do not swap it. |
| 1857 | |
| 1858 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
| 1859 | |
| 1860 | * gdbtypes.c (builtin_type_v2_double, builtin_type_v4_float, |
| 1861 | builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16, |
| 1862 | builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32, |
| 1863 | builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf, |
| 1864 | builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi, |
| 1865 | builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si, |
| 1866 | builtin_type_vec64, builtin_type_vec128): Remove. |
| 1867 | (init_simd_type): Remove. |
| 1868 | (init_vector_type): Make global. |
| 1869 | (build_builtin_type_vec64, build_builtin_type_vec128): Remove. |
| 1870 | (build_gdbtypes): Do not build vector types. |
| 1871 | (_initialize_gdbtypes): Do not swap vector types. |
| 1872 | * gdbtypes.h (builtin_type_v2_double, builtin_type_v4_float, |
| 1873 | builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16, |
| 1874 | builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32, |
| 1875 | builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf, |
| 1876 | builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi, |
| 1877 | builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si, |
| 1878 | builtin_type_vec64, builtin_type_vec128): Remove declarations. |
| 1879 | (init_vector_type): Add prototype. |
| 1880 | |
| 1881 | * i386-tdep.h (struct gdbarch_tdep): Add i386_mmx_type and |
| 1882 | i386_sse_type members. |
| 1883 | (i386_mmx_type, i386_sse_type): Change from variables to functions. |
| 1884 | * i386-tdep.c (i386_mmx_type, i386_sse_type): Remove variables. |
| 1885 | (i386_init_types): Do not build vector types. |
| 1886 | (i386_mmx_type, i386_sse_type): New functions. |
| 1887 | (i386_register_type): Call them instead of using global variables. |
| 1888 | (i386_gdbarch_init): Use XCALLOC to allocate tdep structure. |
| 1889 | * amd64-tdep.c (amd64_register_type): Call i386_sse_type instead |
| 1890 | of using global variable. |
| 1891 | |
| 1892 | * rs6000-tdep.h (struct gdbarch_tdep): Add ppc_builtin_type_vec64 |
| 1893 | and ppc_builtin_type_vec128 members. |
| 1894 | * rs6000-tdep.c (rs6000_builtin_type_vec64): New function. |
| 1895 | (rs6000_builtin_type_vec128): Likewise. |
| 1896 | (rs6000_register_type): Call them instead of using builtin_type_vec64 |
| 1897 | and builtin_type_vec128. |
| 1898 | (rs6000_gdbarch_init): Use XCALLOC to allocate tdep structure. |
| 1899 | |
| 1900 | * spu-tdep.c (struct gdbarch_tdep): New data type. |
| 1901 | (spu_builtin_type_vec128): Remove variable. |
| 1902 | (spu_builtin_type_vec128): New function. |
| 1903 | (spu_register_type): Call it instead of using global variable. |
| 1904 | (spu_gdbarch_init): Allocate tdep structure. |
| 1905 | (spu_init_vector_type): Remove function. |
| 1906 | (_initialize_spu_tdep): Do not call it. |
| 1907 | |
| 1908 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
| 1909 | |
| 1910 | * amd64-tdep.c (struct amd64_register_info): Remove. |
| 1911 | (amd64_register_info): Remove. |
| 1912 | (amd64_register_names): New static variable. |
| 1913 | (AMD64_NUM_REGS): Use amd64_register_names instead of |
| 1914 | amd64_register_info. |
| 1915 | (amd64_register_name): Likewise. |
| 1916 | (amd64_register_type): Do not refer to amd64_register_info. |
| 1917 | |
| 1918 | * s390-tdep.c (struct s390_register_info): Remove. |
| 1919 | (s390_register_info): Remove. |
| 1920 | (s390_register_name): Do not refer to s390_register_info. |
| 1921 | (s390_register_type): Likewise. |
| 1922 | |
| 1923 | * sparc64-tdep.c (struct sparc64_register_info): Remove. |
| 1924 | (sparc64_register_info, sparc64_pseudo_register_info): Remove. |
| 1925 | (sparc64_register_names, sparc64_pseudo_register_names): New. |
| 1926 | (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use |
| 1927 | sparc64_register_names and sparc64_pseudo_register_names instead of |
| 1928 | sparc64_register_info and sparc64_pseudo_register_info. |
| 1929 | (sparc64_register_name): Likewise. |
| 1930 | (sparc64_register_type): Do not refer to sparc64_register_info |
| 1931 | and sparc64_pseudo_register_info. |
| 1932 | |
| 1933 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
| 1934 | |
| 1935 | * c-lang.c (cplus_builtin_types): Remove. |
| 1936 | (enum cplus_primitive_types): New data type. |
| 1937 | (cplus_language_arch_info): New function. |
| 1938 | (cplus_language_defn): Set la_language_arch_info member. Do not set |
| 1939 | la_builtin_type_vector and string_char_type members. |
| 1940 | |
| 1941 | * f-lang.c (f_builtin_types): Remove. |
| 1942 | (enum f_primitive_types): New data type. |
| 1943 | (f_language_arch_info): New function. |
| 1944 | (f_language_de): Set la_language_arch_info member. Do not set |
| 1945 | la_builtin_type_vector and string_char_type members. |
| 1946 | |
| 1947 | * m2-lang.c (m2_builtin_types): Remove. |
| 1948 | (enum m2_primitive_types): New data type. |
| 1949 | (m2_language_arch_info): New function. |
| 1950 | (m2_language_defn): Set la_language_arch_info member. Do not set |
| 1951 | la_builtin_type_vector and string_char_type members. |
| 1952 | |
| 1953 | * objc-lang.c (objc_builtin_types): Remove. |
| 1954 | (objc_language): Set la_language_arch_info member. Do not set |
| 1955 | la_builtin_type_vector and string_char_type members. |
| 1956 | |
| 1957 | * p-lang.c (pascal_builtin_types): Remove. |
| 1958 | (enum pascal_primitive_types): New data type. |
| 1959 | (pascal_language_arch_info): New function. |
| 1960 | (pascal_language_defn): Set la_language_arch_info member. Do not set |
| 1961 | la_builtin_type_vector and string_char_type members. |
| 1962 | |
| 1963 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
| 1964 | |
| 1965 | * regcache.c (struct regcache): Add ptid_t member. |
| 1966 | (regcache_xmalloc): Initialize it. |
| 1967 | (regcache_cpy_no_passthrough): Do not refer to current_regcache. |
| 1968 | (regcache_dup): Likewise. |
| 1969 | (regcache_dup_no_passthrough): Likewise. |
| 1970 | (current_regcache): Make static. |
| 1971 | (registers_ptid): Remove variable. |
| 1972 | (get_thread_regcache): New function. |
| 1973 | (get_current_regcache): New function. |
| 1974 | (registers_changed): Implement by freeing current regcache. |
| 1975 | (regcache_raw_read): Do not refer to current_regcache. Set |
| 1976 | inferior_ptid to regcache->ptid while calling target routines. |
| 1977 | (regcache_raw_write): Likewise. |
| 1978 | (regcache_raw_supply): Do not refer to current_regcache. |
| 1979 | (read_pc_pid): Use thread regcache. Do not modify inferior_ptid. |
| 1980 | (write_pc_pid): Likewise. |
| 1981 | (build_regcache): Remove. |
| 1982 | (_initialize_regcache): Do not call DEPRECATED_REGISTER_GDBARCH_SWAP |
| 1983 | or deprecated_register_gdbarch_swap. Do not initialize |
| 1984 | registers_ptid. |
| 1985 | * regcache.h (get_current_regcache): Add prototype. |
| 1986 | (get_thread_regcache): Likewise. |
| 1987 | (current_regcache): Remove declaration. |
| 1988 | |
| 1989 | * corelow.c (core_open): Replace current_regcache by |
| 1990 | get_current_regcache (). |
| 1991 | * frame.c (frame_pop): Likewise. |
| 1992 | (put_frame_register): Likewise. |
| 1993 | (get_current_frame, create_new_frame): Likewise. |
| 1994 | * mi/mi-main.c (mi_cmd_data_write_register_values): Likewise. |
| 1995 | * stack.c (return_command): Likewise. |
| 1996 | * infcall.c (call_function_by_hand): Likewise. |
| 1997 | * infrun.c (resume): Likewise. |
| 1998 | (save_inferior_status, restore_inferior_status): Likewise. |
| 1999 | * linux-fork.c (fork_load_infrun_state): Likewise. |
| 2000 | (fork_save_infrun_state): Likewise. |
| 2001 | * win32-nat.c (win32_resume): Likewise. |
| 2002 | * i386fbsd-nat.c (i386fbsd_resume): Likewise. |
| 2003 | * monitor.c (monitor_wait): Likewise. |
| 2004 | * remote.c (remote_wait): Likewise. |
| 2005 | * remote-mips.c (mips_wait): Likewise. |
| 2006 | |
| 2007 | * bsd-kvm.c (bsd_kvm_open): Likewise |
| 2008 | (bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Likewise. |
| 2009 | * fbsd-nat.c (fbsd_make_corefile_notes): Likewise. |
| 2010 | * i386-linux-nat.c (i386_linux_resume): Likewise. |
| 2011 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Likewise. |
| 2012 | (ia64_linux_stopped_data_address): Likewise. |
| 2013 | |
| 2014 | * frv-tdep.c (frv_fdpic_loadmap_addresses): Likewise. |
| 2015 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. |
| 2016 | * mep-tdep.c (current_me_module, current_options): Likewise. |
| 2017 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Likewise. |
| 2018 | |
| 2019 | * linux-nat.c (linux_nat_do_thread_registers): Use thread |
| 2020 | regcache instead of current_regcache. Call target_fetch_registers. |
| 2021 | (linux_nat_corefile_thread_callback): Update call site. |
| 2022 | (linux_nat_do_registers): Likewise. |
| 2023 | * procfs.c (procfs_do_thread_registers): Use thread regcache instead |
| 2024 | of current_regcache. |
| 2025 | (procfs_make_note_section): Likewise. |
| 2026 | * proc-service.c (ps_lgetregs, ps_lsetregs): Likewise. |
| 2027 | (ps_lgetfpregs, ps_lsetfpregs): Likewise. |
| 2028 | * sol-thread.c (ps_lgetregs, ps_lsetregs): Likewise. |
| 2029 | (ps_lgetfpregs, ps_lsetfpregs): Likewise. |
| 2030 | |
| 2031 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
| 2032 | |
| 2033 | * regcache.c (read_register, read_register_pid): Remove. |
| 2034 | (write_register, write_register_pid): Likewise. |
| 2035 | * regcache.h (read_register, read_register_pid): Remove prototype. |
| 2036 | (write_register, write_register_pid): Likewise. |
| 2037 | |
| 2038 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
| 2039 | |
| 2040 | * gdbarch.sh (read_pc): Add REGCACHE argument. Remove PTID argument. |
| 2041 | (write_pc): Likewise. Remove default implementation, add predicate. |
| 2042 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2043 | * regcache.c (read_pc_pid): Use current regcache instead of calling |
| 2044 | read_register_pid. |
| 2045 | (write_pc_pid): Check gdbarch_write_pc predicate, implement default |
| 2046 | case inline. |
| 2047 | (generic_target_write_pc): Remove. |
| 2048 | * inferior.h (generic_target_write_pc): Remove. |
| 2049 | * frv-tdep.c (frv_gdbarch_init): Do not install it. |
| 2050 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. |
| 2051 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. |
| 2052 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. |
| 2053 | * sh-tdep.c (sh_gdbarch_init): Likewise. |
| 2054 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. |
| 2055 | |
| 2056 | * avr-tdep.c (avr_read_pc): Add REGCACHE argument. Remove PTID |
| 2057 | argument. Use REGCACHE instead of calling read_register_pid. |
| 2058 | * hppa-hpux-tdep.c (hppa_hpux_read_pc): Likewise. |
| 2059 | * hppa-tdep.c (hppa_read_pc): Likewise. |
| 2060 | * hppa-tdep.h (hppa_read_pc): Likewise. |
| 2061 | * ia64-tdep.c (ia64_read_pc): Likewise. |
| 2062 | * m32r-tdep.c (m32r_read_pc): Likewise. |
| 2063 | * mep-tdep.c (mep_read_pc): Likewise. |
| 2064 | * mn10300-tdep.c (mn10300_read_pc): Likewise. |
| 2065 | * spu-tdep.c (spu_read_pc): Likewise. |
| 2066 | |
| 2067 | * arm-tdep.c (arm_write_pc): Add REGCACHE argument. Remove PTID |
| 2068 | argument. Use REGCACHE instead of calling write_register_pid. |
| 2069 | * avr-tdep.c (avr_write_pc): Likewise. |
| 2070 | * hppa-hpux-tdep.c (hppa_hpux_write_pc): Likewise. |
| 2071 | * hppa-tdep.c (hppa_write_pc): Likewise. |
| 2072 | * hppa-tdep.h (hppa_write_pc): Likewise. |
| 2073 | * i386-linux-tdep.c (i386_linux_write_pc): Likewise. |
| 2074 | * amd64-linux-tdep.c (amd64_linux_write_pc): Likewise. |
| 2075 | * ia64-linux-tdep.c (ia64_linux_write_pc): Likewise. |
| 2076 | * ia64-tdep.c (ia64_write_pc): Likewise. |
| 2077 | * ia64-tdep.h (ia64_write_pc): Likewise. |
| 2078 | * m32r-tdep.c (m32r_write_pc): Likewise. |
| 2079 | * m88k-tdep.c (m88k_write_pc): Likewise. |
| 2080 | * mep-tdep.c (mep_write_pc): Likewise. |
| 2081 | * mips-tdep.c (mips_write_pc): Likewise. |
| 2082 | * mips-linux-tdep.c (mips_linux_write_pc): Likewise. |
| 2083 | * mn10300-tdep.c (mn10300_write_pc): Likewise. |
| 2084 | * sparc-tdep.c (sparc_write_pc): Likewise. |
| 2085 | * spu-tdep.c (spu_write_pc): Likewise. |
| 2086 | |
| 2087 | * mips-tdep.c (read_signed_register): Remove. |
| 2088 | (read_signed_register_pid): Likewise. |
| 2089 | (mips_read_pc): Add REGCACHE argument. Remove PTID argument. |
| 2090 | Use REGCACHE instead of calling read_signed_register_pid. |
| 2091 | |
| 2092 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
| 2093 | |
| 2094 | * gdbarch.sh (push_dummy_code): Add REGCACHE argument. |
| 2095 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2096 | * infcall.c (generic_push_dummy_code): Add REGCACHE argument. |
| 2097 | (push_dummy_code): Likewise. Pass it to callee. |
| 2098 | (call_function_by_hand): Pass current regcache to push_dummy_code. |
| 2099 | |
| 2100 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Add REGCACHE |
| 2101 | argument. Use it instead of current_regcache. |
| 2102 | |
| 2103 | * cris-tdep.c (cris_push_dummy_code): Add REGCACHE argument. |
| 2104 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. |
| 2105 | |
| 2106 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
| 2107 | |
| 2108 | * gdbarch.sh (get_longjmp_target): Add FRAME argument. |
| 2109 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2110 | * infrun.c (handle_inferior_event): Pass current frame to |
| 2111 | gdbarch_get_longjmp_target. |
| 2112 | |
| 2113 | * alpha-tdep.c (alpha_get_longjmp_target): Add FRAME argument. |
| 2114 | Read registers from FRAME instead of using read_register. |
| 2115 | Use get_frame_arch instead of current_gdbarch. |
| 2116 | * arm-tdep.c (arm_get_longjmp_target): Likewise. |
| 2117 | * i386-tdep.c (i386_get_longjmp_target): Likewise. |
| 2118 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. |
| 2119 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Likewise. |
| 2120 | (mips64_linux_get_longjmp_target): Likewise. |
| 2121 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Likewise. |
| 2122 | |
| 2123 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
| 2124 | |
| 2125 | * gdbarch.sh (skip_trampoline_code): Add FRAME argument. |
| 2126 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2127 | * arch-utils.c (generic_skip_trampoline_code): Add FRAME argument. |
| 2128 | * arch-utils.h (generic_skip_trampoline_code): Likewise. |
| 2129 | * infrun.c (handle_inferior_event): Pass current frame to |
| 2130 | gdbarch_skip_trampoline_code and skip_language_trampoline. |
| 2131 | |
| 2132 | * language.c (unk_lang_trampoline): Add FRAME argument. |
| 2133 | (skip_language_trampoline): Add FRAME argument. Pass it to |
| 2134 | skip_trampoline callback. |
| 2135 | * language.h: Add forward declaration of struct frame_info. |
| 2136 | (struct language_defn): Add FRAME argument to skip_trampoline. |
| 2137 | (skip_language_trampoline): Add FRAME argument. |
| 2138 | * cp-abi.c (cplus_skip_trampoline): Add FRAME argument. Pass it |
| 2139 | to skip_trampoline callback. |
| 2140 | * cp-abi.h: Add forward declaration of struct frame_info. |
| 2141 | (cplus_skip_trampoline): Add FRAME argument. |
| 2142 | (struct cp_abi_ops): Add FRAME argument to skip_trampoline callback. |
| 2143 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Add FRAME argument. Pass it |
| 2144 | to gdbarch_skip_trampoline_code. |
| 2145 | * objc-lang.c (objc_skip_trampoline): Add FRAME argument. Pass it |
| 2146 | to gdbarch_skip_trampoline_code. |
| 2147 | |
| 2148 | * minsyms.c (find_solib_trampoline_target): Add FRAME argument. |
| 2149 | * symtab.h (find_solib_trampoline_target): Likewise. |
| 2150 | * obsd-tdep.c (obsd_skip_solib_resolver): Pass current frame to |
| 2151 | find_solib_trampoline_target. |
| 2152 | |
| 2153 | * arm-tdep.c (arm_skip_stub): Add FRAME argument. Read registers |
| 2154 | from FRAME instead of calling read_register. |
| 2155 | |
| 2156 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Add FRAME |
| 2157 | argument. Read registers from FRAME instead of using read_register. |
| 2158 | * hppa-tdep.c (hppa_skip_trampoline_code): Likewise. |
| 2159 | * hppa-tdep.h (hppa_skip_trampoline_code): Add FRAME argument. |
| 2160 | |
| 2161 | * i386-cygwin-tdep.c (i386_cygwin_skip_trampoline_code): Add FRAME |
| 2162 | argument. |
| 2163 | |
| 2164 | * m32c-tdep.c (m32c_skip_trampoline_code): Add FRAME argument. |
| 2165 | |
| 2166 | * mips-tdep.c (mips_skip_trampoline_code): Add FRAME argument. Read |
| 2167 | registers from FRAME instead of using read_signed_register. |
| 2168 | |
| 2169 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Add FRAME |
| 2170 | argument. |
| 2171 | (ppc64_standard_linkage_target): Likewise. Read registers from FRAME |
| 2172 | instead of using read_register. |
| 2173 | (ppc64_skip_trampoline_code): Add FRAME argument. Pass it to |
| 2174 | ppc64_standard_linkage_target. |
| 2175 | * rs6000-tdep.c (rs6000_skip_trampoline_code): Add FRAME argument. |
| 2176 | Pass it to find_solib_trampoline_target. Read registers from FRAME |
| 2177 | instead of using read_register. |
| 2178 | |
| 2179 | * xstormy16-tdep.c (xstormy16_skip_trampoline_code): Add FRAME |
| 2180 | argument. |
| 2181 | |
| 2182 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
| 2183 | |
| 2184 | * gdbarch.sh (software_single_step): Replace REGCACHE argument by |
| 2185 | FRAME argument. |
| 2186 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2187 | * infrun.c (resume): Pass current frame to SOFTWARE_SINGLE_STEP. |
| 2188 | |
| 2189 | * alpha-tdep.c (alpha_next_pc): Add FRAME argument. Retrieve |
| 2190 | registers from FRAME instead of using read_register. |
| 2191 | (alpha_software_single_step): Replace REGCACHE by FRAME. Pass FRAME |
| 2192 | to alpha_next_pc. Use get_frame_pc instead of read_pc. |
| 2193 | * alpha-tdep.h (alpha_software_single_step): Replace REGCACHE |
| 2194 | argument by FRAME. |
| 2195 | |
| 2196 | * arm-tdep.c (shifted_reg_val): Add FRAME argument. Read registers |
| 2197 | from FRAME instead of using read_register. |
| 2198 | (thumb_get_next_pc): Likewise. |
| 2199 | (arm_get_next_pc): Likewise. |
| 2200 | (arm_software_single_step): Replace REGCACHE by FRAME. Pass FRAME |
| 2201 | to arm_get_next_pc. Use get_frame_pc instead of read_register. |
| 2202 | * arm-tdep.h (arm_software_single_step): Replace REGCACHE |
| 2203 | argument by FRAME. |
| 2204 | |
| 2205 | * cris-tdep.c (find_step_target): Add FRAME argument. Read registers |
| 2206 | from FRAME instead of using read_register. |
| 2207 | (cris_software_single_step): Replace REGCACHE by FRAME. Pass FRAME |
| 2208 | to find_step_target. |
| 2209 | |
| 2210 | * mips-tdep.c (mips32_next_pc): Add FRAME argument. Read registers |
| 2211 | from FRAME instead of using read_register / read_signed_register. |
| 2212 | (extended_mips16_next_pc): Likewise. |
| 2213 | (mips16_next_pc): Likewise. |
| 2214 | (mips_next_pc): Likewise. |
| 2215 | (mips_software_single_step): Replace REGCACHE by FRAME. Pass FRAME |
| 2216 | to mips_next_pc. Use get_frame_pc instead of read_pc. |
| 2217 | * mips-tdep.h (mips_software_single_step): Replace REGCACHE |
| 2218 | argument by FRAME. |
| 2219 | |
| 2220 | * rs6000-tdep.c (branch_dest): Add FRAME argument. Use it instead |
| 2221 | of current frame. Read registers from FRAME. |
| 2222 | (deal_with_atomic_sequence): Add FRAME argument. Pass it to |
| 2223 | branch_dest. Use get_frame_pc instead of read_pc. |
| 2224 | (rs6000_software_single_step): Likewise. |
| 2225 | (bl_to_blrl_insn_p): Do not call branch_dest. |
| 2226 | * rs6000-tdep.h (rs6000_software_single_step): Replace REGCACHE |
| 2227 | argument by FRAME. |
| 2228 | |
| 2229 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Add FRAME argument. |
| 2230 | Read registers from FRAME instead of current regcache. |
| 2231 | * sparc-linux-tdep.c (sparc32_linux_step_trap): Likewise. |
| 2232 | * sparcnbsd-tdep.c (sparcnbsd_step_trap): Likewise. |
| 2233 | * sparc-tdep.c (sparc_address_from_register): Remove. |
| 2234 | (sparc_analyze_control_transfer): Pass FRAME argument instead of |
| 2235 | GDBARCH. Pass FRAME to step_trap callback. |
| 2236 | (sparc_step_trap): Add FRAME argument. |
| 2237 | (space_software_single_step): Replace REGCACHE by FRAME. Pass FRAME |
| 2238 | to sparc_analyze_control_transfer. Read registers from FRAME instead |
| 2239 | of calling sparc_address_from_register. |
| 2240 | * sparc-tdep.h (struct gdbarch_tdep): Add FRAME argument to |
| 2241 | step_trap callback. |
| 2242 | (sparc_address_from_register): Remove prototype. |
| 2243 | (sparc_software_single_step): Replace REGCACHE argument by FRAME. |
| 2244 | (sparcnbsd_step_trap): Add FRAME argument. |
| 2245 | |
| 2246 | * spu-tdep.c (spu_software_single_step): Replace REGCACHE argument |
| 2247 | by FRAME. Read registers from FRAME instead of REGCACHE. |
| 2248 | |
| 2249 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
| 2250 | |
| 2251 | * arm-tdep.c (arm_print_float_info): Use register value from FRAME |
| 2252 | instead of calling read_register. |
| 2253 | |
| 2254 | * avr-tdep.c (avr_push_dummy_call): Write to REGCACHE instead of |
| 2255 | calling write_register. |
| 2256 | |
| 2257 | * hppa-tdep.c (hppa32_push_dummy_call): Write to REGCACHE instead of |
| 2258 | calling write_register. |
| 2259 | |
| 2260 | * ia64-tdep.c (find_func_descr): Add REGCACHE parameter. Use it |
| 2261 | instead of calling read_register. |
| 2262 | (ia64_push_dummy_call): Update call to find_func_descr. Use REGCACHE |
| 2263 | instead of calling read_register and write_register. |
| 2264 | |
| 2265 | * m32r-tdep.c (m32r_linux_supply_gregset): Use REGCACHE parameter |
| 2266 | instead of current_regcache. |
| 2267 | |
| 2268 | * mn10300-tdep.c (mn10300_push_dummy_call): Write to REGCACHE instead |
| 2269 | of calling write_register. |
| 2270 | * mn10300-linux-tdep.c (am33_supply_fpregset_method): Use REGCACHE |
| 2271 | parameter instead of current_regcache. |
| 2272 | |
| 2273 | * mips-tdep.c (mips2_fp_compat): Add FRAME parameter. Use it |
| 2274 | instead of calling read_register. |
| 2275 | (mips_read_fp_register_double, mips_print_fp_register): Update calls. |
| 2276 | (mips_eabi_push_dummy_call): Use REGCACHE instead of write_register. |
| 2277 | (mips_n32n64_push_dummy_call): Likewise. |
| 2278 | (mips_o32_push_dummy_call): Likewise. |
| 2279 | (mips_o64_push_dummy_call): Likewise. |
| 2280 | |
| 2281 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use REGCACHE |
| 2282 | parameter instead of current_regcache. |
| 2283 | |
| 2284 | * xtensa-tdep.c (xtensa_register_write_masked): Add REGCACHE parameter. |
| 2285 | Use it instead of read_register and write_register. |
| 2286 | (xtensa_register_read_masked): Likewise. |
| 2287 | (xtensa_pseudo_register_read): Update call. |
| 2288 | (xtensa_pseudo_register_write): Likewise. |
| 2289 | (xtensa_frame_cache): Use register values unwound from NEXT_FRAME |
| 2290 | instead of calling read_register. |
| 2291 | (xtensa_push_dummy_call): Update comment. |
| 2292 | |
| 2293 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
| 2294 | |
| 2295 | * mips-tdep.c (mips16_scan_prologue): Replace read_next_frame_reg |
| 2296 | by frame_unwind_register_signed calls. |
| 2297 | (mips32_scan_prologue): Likewise. Skip analysis of alloca stack |
| 2298 | frame allocations when called with NULL NEXT_FRAME parameter. |
| 2299 | (read_next_frame_reg): Remove. |
| 2300 | |
| 2301 | * sh-tdep.c (sh_analyze_prologue): Add FPSCR parameter. Use it |
| 2302 | instead of reading the FPSCR register. |
| 2303 | (sh_frame_cache): Pass unwound FPSCR register value to |
| 2304 | sh_analyze_prologue. |
| 2305 | (sh_skip_prologue): Pass dummy FPSCR value to sh_analyze_prologue. |
| 2306 | |
| 2307 | * v850-tdep.c (v850_analyze_prologue): Add CTBP parameter. Use it |
| 2308 | instead of reading the CTBP register. |
| 2309 | (v850_frame_cache): Pass unwound CTBP register value to |
| 2310 | v850_analyze_prologue. |
| 2311 | |
| 2312 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
| 2313 | |
| 2314 | * sh-tdep.h (sh_show_regs): Add FRAME parameter. |
| 2315 | * sh-tdep.c (sh_show_regs): Likewise. |
| 2316 | (sh_show_regs_command): Pass current frame to sh_show_regs routine. |
| 2317 | (sh_generic_show_regs): Add FRAME parameter. Use register |
| 2318 | values from that frame instead of calling read_register. |
| 2319 | (sh3_show_regs, sh2e_show_regs, sh2a_show_regs, sh2a_nofpu_show_regs, |
| 2320 | sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs, |
| 2321 | sh_dsp_show_regs): Likewise. |
| 2322 | * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs, |
| 2323 | sh64_show_regs): Likewise. |
| 2324 | |
| 2325 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
| 2326 | |
| 2327 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Read from |
| 2328 | current regcache instead of calling read_register. |
| 2329 | |
| 2330 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
| 2331 | |
| 2332 | * mep-tdep.c (current_me_module): Read from current regcache |
| 2333 | instead of calling read_register. |
| 2334 | (current_options): Likewise. |
| 2335 | |
| 2336 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
| 2337 | |
| 2338 | * cris-tdep.c (cris_stopped_data_address): Read register values |
| 2339 | from current frame instead of calling read_register. |
| 2340 | * frv-tdep.c (frv_stopped_data_address): Likewise. |
| 2341 | |
| 2342 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
| 2343 | |
| 2344 | * solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc |
| 2345 | instead of write_register (PC_REGNUM, ...). |
| 2346 | |
| 2347 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
| 2348 | |
| 2349 | * solib-sunos.c (sunos_solib_create_inferior_hook): Add comment |
| 2350 | explaining why the PC adjustment code is necessary. |
| 2351 | |
| 2352 | 2007-06-15 Vladimir Prus <vladimir@codesourcery.com> |
| 2353 | |
| 2354 | * m68k-tdep.h (enum m68k_flavour): New. |
| 2355 | (struct gdbarch_tdep): New fields |
| 2356 | float_return, flavour and fpregs_present. |
| 2357 | * m68k-tdep.c (m68k_register_type): Use |
| 2358 | fpregs_present and conditionalize floating |
| 2359 | registers type on flavour. |
| 2360 | (m68k_register_names): New. |
| 2361 | (m68k_register_name): Use the above. |
| 2362 | (m68k_convert_register_p): Consult fpregs_present. |
| 2363 | (m68k_register_to_value, m68k_value_to_register): |
| 2364 | Use register_type to obtain the type of floating |
| 2365 | point registers. |
| 2366 | (m68k_svr4_extract_return_value): Check tdep->float_return. |
| 2367 | Use register_type to get the type of floating |
| 2368 | point regiters. |
| 2369 | (m68k_svr4_store_return_value): Likewise. |
| 2370 | (m68k_dwarf_reg_to_regnum): Check tdep->fpregs_present. |
| 2371 | (m68k_analyze_register_saves): Likewise. |
| 2372 | (m68k_gdbarch_init): Extract infromation |
| 2373 | from XML description, if present. Guess coldfire by |
| 2374 | looking at the file, if present. Conditionalize |
| 2375 | setting of long double format. Set decr_pc_after_break |
| 2376 | to 2 on coldfire and fido. Enable XML-driven |
| 2377 | register description. |
| 2378 | * m68kbsd-tdep.c (m68kbsd_fpreg_offset): Use |
| 2379 | size of tdep->fpreg_type, as opposed to hardcoded value. |
| 2380 | * Makefile.in (m68k-tdep.o): Update dependencies. |
| 2381 | |
| 2382 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
| 2383 | |
| 2384 | * NEWS: Mention "info spu" commands and qXfer:spu:read and |
| 2385 | qXfer:spu:write remote packet types. |
| 2386 | |
| 2387 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
| 2388 | |
| 2389 | * xml-tdesc.c (tdesc_start_target): New. |
| 2390 | (target_attributes): New. |
| 2391 | (tdesc_elements): Use it. |
| 2392 | * features/gdb-target.dtd: Add #FIXED version attribute for |
| 2393 | <target>. |
| 2394 | |
| 2395 | 2007-06-13 Arthur Huillet <arthur.huillet@free.fr> |
| 2396 | |
| 2397 | * mi/mi-cmd-var.c (mi_cmd_var_assign): Fix typo. |
| 2398 | |
| 2399 | 2007-06-13 Claudio Fontana <claudio.fontana@gmail.com> |
| 2400 | |
| 2401 | * fork-child.c (fork_inferior): Update comment. |
| 2402 | |
| 2403 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
| 2404 | |
| 2405 | * features/Makefile: Generate regformats for mips-linux and |
| 2406 | mips64-linux. |
| 2407 | * features/sort-regs.xsl: Correct typo. |
| 2408 | * regformats/reg-mips.dat, regformats/reg-mips64.dat: Delete. |
| 2409 | * regformats/mips-linux.dat, regformats/mips64-linux.dat: New generated |
| 2410 | files. |
| 2411 | |
| 2412 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
| 2413 | |
| 2414 | * config/mips/linux.mh (TDEP_XML): New. |
| 2415 | * features/mips-linux.xml, features/mips64-linux.xml: New files. |
| 2416 | * mips-linux-nat.c (mips_linux_register_addr): Handle |
| 2417 | MIPS_RESTART_REGNUM. |
| 2418 | (mips64_linux_register_addr): Likewise. |
| 2419 | (super_xfer_partial, mips_linux_xfer_partial): New. |
| 2420 | (_initialize_mips_linux_nat): Add them to the target_ops. |
| 2421 | * mips-linux-tdep.c (mips_supply_gregset): Handle MIPS_RESTART_REGNUM. |
| 2422 | (mips_fill_gregset, mips64_supply_gregset, mips64_fill_gregset) |
| 2423 | (mips_linux_o32_sigframe_init) |
| 2424 | (mips_linux_n32n64_sigframe_init): Likewise. |
| 2425 | (mips_linux_write_pc, mips_linux_restart_reg_p): New. |
| 2426 | (mips_linux_init_abi): Use mips_linux_write_pc. Check for the |
| 2427 | "org.gnu.gdb.mips.linux" feature. |
| 2428 | * mips-linux-tdep.h (MIPS_RESTART_REGNUM): New constant. |
| 2429 | (mips_linux_restart_reg_p): New prototype. |
| 2430 | * mips-tdep.c (mips_gdbarch_init): Pass tdesc_data to the OS/ABI |
| 2431 | initialization routine. |
| 2432 | * Makefile.in (mips-linux-tdep.o, mips-linux-nat.o): Update. |
| 2433 | |
| 2434 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
| 2435 | |
| 2436 | * Makefile.in (mips-tdep.o): Update. |
| 2437 | * mips-tdep.c (struct register_alias, mips_o32_aliases) |
| 2438 | (mips_n32_n64_aliases, mips_register_aliases): New. |
| 2439 | (mips_register_name): Call tdesc_register_name. |
| 2440 | (mips_tdesc_register_reggroup_p): New. |
| 2441 | (mips_pseudo_register_type, value_of_mips_user_reg): New. |
| 2442 | (mips_gdbarch_init): Add target-described register support. |
| 2443 | Register aliases for register names. |
| 2444 | * target-descriptions.c (tdesc_register_name): Make global. |
| 2445 | (tdesc_register_in_reggroup_p): New function, broken out from |
| 2446 | tdesc_register_reggroup_p. |
| 2447 | (tdesc_register_reggroup_p): Use it. |
| 2448 | * target-descriptions.h (tdesc_register_name) |
| 2449 | (tdesc_register_in_reggroup_p): New prototypes. |
| 2450 | * NEWS: Correct formatting. Mention MIPS register support. |
| 2451 | * features/mips-cp0.xml, features/mips-fpu.xml, |
| 2452 | features/mips64-cp0.xml, gdb/features/mips64-fpu.xml, mips-cpu.xml, |
| 2453 | features/mips64-cpu.xml: New files. |
| 2454 | |
| 2455 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
| 2456 | |
| 2457 | * gdbarch.sh (TARGET_ADDR_BIT): Replace by gdbarch_addr_bit. |
| 2458 | * valops.c (value_cast): Likewise. |
| 2459 | * utils.c (strlen_paddr, paddr, paddr_nz, paddress): Likewise. |
| 2460 | * ui-out.c (ui_out_field_core_addr): Likewise. |
| 2461 | * tracepoint.c (tracepoints_info): Likewise. |
| 2462 | * symtab.c (print_msymbol_info): Likewise. |
| 2463 | * solib-irix.c (irix_current_sos) |
| 2464 | (irix_open_symbol_file_object): Likewise. |
| 2465 | * remote.c (build_remote_gdbarch_data): Likewise. |
| 2466 | * prologue-value.c (make_pv_area): Likewise. |
| 2467 | * procfs.c (info_mappings_callback): Likewise. |
| 2468 | * printcmd.c (print_scalar_formatted) |
| 2469 | (deprecated_print_address_numeric): Likewise. |
| 2470 | * memattr.c (mem_info_command): Likewise. |
| 2471 | * linux-nat.c (linux_nat_info_proc_cmd): Likewise. |
| 2472 | * gdbtypes.c (build_flt, gdbtypes_post_init): Likewise. |
| 2473 | * exec.c (print_section_info): Likewise. |
| 2474 | * dwarf2read.c (read_subrange_type): Likewise. |
| 2475 | * dwarf2loc.c (find_location_expression): Likewise. |
| 2476 | * dwarf2expr.c (dwarf2_read_address, unsigned_address_type) |
| 2477 | (signed_address_type, execute_stack_op): Likewise. |
| 2478 | * breakpoint.c (print_one_breakpoint, breakpoint_1): Likewise. |
| 2479 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2480 | |
| 2481 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
| 2482 | |
| 2483 | * gdbarch.sh (TARGET_ARCHITECTURE): Replace by gdbarch_bfd_arch_info. |
| 2484 | * arch-utils.c (show_architecture): Likewise. |
| 2485 | * remote-mips.c (mips_open): Likewise |
| 2486 | * nto-tdep.c (nto_find_and_open_solib) |
| 2487 | (nto_init_solib_absolute_prefix): Likewise. |
| 2488 | * nto-procfs (procfs_open): Likewise. |
| 2489 | * m68hc11-tdep.c (gdb_print_insn_m68hc11): Likewise. |
| 2490 | * gcore.c (default_gcore_mach, default_gcore_arch): Likewise. |
| 2491 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2492 | |
| 2493 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
| 2494 | |
| 2495 | * gdbarch.sh (TARGET_BFD_VMA_BIT): Replace by gdbarch_bfd_vma_bit. |
| 2496 | * gdbtypes.c (build_flt): Likewise. |
| 2497 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2498 | |
| 2499 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
| 2500 | |
| 2501 | * gdbarch.sh (BREAKPOINT_FROM_PC): Replace by |
| 2502 | gdbarch_breakpoint_from_pc. |
| 2503 | * s390-tdep.c (s390_gdbarch_init): Likewise (comment). |
| 2504 | * remote.c (remote_insert_breakpoint) |
| 2505 | (remote_insert_hw_breakpoint): Likewise. |
| 2506 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. |
| 2507 | * mips-tdep.c (mips_breakpoint_from_pc): Likewise (comment). |
| 2508 | * breakpoint.h (bp_target_info): Likewise (comment). |
| 2509 | * breakpoint.c (read_memory_nobpt): Likewise. |
| 2510 | * mem-break.c (default_memory_insert_breakpoint): Likewise. |
| 2511 | (symtab.h, breakpoint.h): Remove include. Remove unnecessary comment. |
| 2512 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2513 | |
| 2514 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
| 2515 | |
| 2516 | * gdbarch.sh (TARGET_PTR_BIT): Replace with gdbarch_ptr_bit. |
| 2517 | * solib-svr4.c (svr4_truncate_ptr): Likewise. |
| 2518 | * solib-pa64.c (read_dynamic_info): Likewise. |
| 2519 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise. |
| 2520 | * solib.c (info_sharedlibrary_command): Likewise. |
| 2521 | * s390-nat.c (SUBOFF): Likewise. |
| 2522 | * p-valprint.c (pascal_val_print): Likewise. |
| 2523 | * procfs.c (info_proc_mappings): Likewise. |
| 2524 | * printcmd.c (decode_format): Likewise. |
| 2525 | * nto-tdep.c (nto_truncate_ptr): Likewise. |
| 2526 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) |
| 2527 | (mips64_linux_get_longjmp_target): Likewise. |
| 2528 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. |
| 2529 | * jv-valprint.c (java_value_print): Likewise. |
| 2530 | * jv-lang.c (get_java_object_header_size): Likewise. |
| 2531 | * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Likewise. |
| 2532 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) |
| 2533 | (hppa_hpux_unwind_adjust_stub): Likewise. |
| 2534 | * gnu-v3-abi.c (build_gdb_vtable_type): Likewise. |
| 2535 | * gdbtypes.c (make_pointer_type, make_reference_type) |
| 2536 | (smash_to_memberptr_type): Likewise. |
| 2537 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2538 | |
| 2539 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
| 2540 | |
| 2541 | * mips-tdep.c (mips_print_register): Remove unused ALL argument. |
| 2542 | (print_gp_register_row): Stop before printing a register bigger |
| 2543 | than the ABI register size. |
| 2544 | (mips_print_registers_info): Update call to mips_print_register. |
| 2545 | |
| 2546 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
| 2547 | |
| 2548 | * expression.h (enum exp_opcode): Document a register name for |
| 2549 | OP_REGISTER. |
| 2550 | * parse.c (write_dollar_variable): Write the register name for |
| 2551 | OP_REGISTER. |
| 2552 | (operator_length_standard): Expect the register name following |
| 2553 | OP_REGISTER. |
| 2554 | * ada-lang.c (resolve_subexp): Likewise. |
| 2555 | * ax-gdb.c (gen_expr): Likewise. |
| 2556 | * eval.c (evaluate_subexp_standard): Likewise. |
| 2557 | * expprint.c (print_subexp_standard, dump_subexp_body_standard): |
| 2558 | Likewise. |
| 2559 | * tracepoint.c (encode_actions): Likewise. |
| 2560 | |
| 2561 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
| 2562 | |
| 2563 | * utils.c (set_screen_size): Use INT_MAX for default columns. |
| 2564 | |
| 2565 | 2007-06-13 Ulrich Weigand <uweigand@de.ibm.com> |
| 2566 | |
| 2567 | * remote.c (remote_protocol_features): Add qXfer:spu:read and |
| 2568 | qXfer:spu:write packet types. |
| 2569 | |
| 2570 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
| 2571 | |
| 2572 | * gdbarch.sh (DEPRECATED_STACK_ALIGN): Remove. |
| 2573 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2574 | |
| 2575 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
| 2576 | |
| 2577 | * gdbarch.sh (STAB_REG_TO_REGNUM): Replace by |
| 2578 | gdbarch_stab_reg_to_regnum. |
| 2579 | * stabsread.c (define_symbol): Likewise. |
| 2580 | * gdbarch.sh (ECOFF_REG_TO_REGNUM): Replace by |
| 2581 | gdbarch_ecoff_reg_to_regnum. |
| 2582 | * mdebugread.c (parse_symbol): Likewise. |
| 2583 | * i386-tdep.c (i386_gdbarch_init): Likewise (comment). |
| 2584 | * gdbarch.sh (DWARF_REG_TO_REGNUM): Replace by |
| 2585 | gdbarch_dwarf_reg_to_regnum. |
| 2586 | * gdbarch.sh (SDB_REG_TO_REGNUM): Replace by gdbarch_sdb_reg_to_regnum. |
| 2587 | * coffread.c (process_coff_symbol): Likewise. |
| 2588 | * gdbarch.sh (DWARF2_REG_TO_REGNUM): Replace by |
| 2589 | gdbarch_dwarf2_reg_to_regnum. |
| 2590 | * dwarf2loc.c (dwarf_expr_read_reg,dwarf2_evaluate_loc_desc) |
| 2591 | (locexpr_describe_location): Likewise. |
| 2592 | * dwarf2-frame.c (read_reg,execute_cfa_program,dwarf2_frame_cache) |
| 2593 | (dwarf2_frame_prev_register,dwarf2_signal_frame_this_id): Likewise. |
| 2594 | * dwarf2loc.c (DWARF2_REG_TO_REGNUM): Remove macro. |
| 2595 | * dwarf2read.c (DWARF2_REG_TO_REGNUM): Remove macro. |
| 2596 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2597 | |
| 2598 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
| 2599 | |
| 2600 | * gdbarch.sh (SMASH_TEXT_ADDRESS): Replace by |
| 2601 | gdbarch_smash_text_address. |
| 2602 | * somread.c (som_symtab_read): Likewise. |
| 2603 | * elfread.c (record_minimal_symbol): Likewise. |
| 2604 | * dbxread.c (process_one_symbol): Likewise. |
| 2605 | * coffread.c (coff_symtab_read): Likewise. |
| 2606 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2607 | |
| 2608 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
| 2609 | |
| 2610 | * gdbarch.sh (REGISTER_TO_VALUE): Replace by gdbarch_register_to_value. |
| 2611 | * findvar.c (value_from_register): Likewise. |
| 2612 | * gdbarch.sh (VALUE_TO_REGISTER): Replace by gdbarch_value_to_register. |
| 2613 | * valops.c (value_assign): Likewise. |
| 2614 | * gdbarch.sh (CONVERT_REGISTER_P): Replace by |
| 2615 | gdbarch_convert_register_p. |
| 2616 | * findvar.c (value_from_register): Likewise. |
| 2617 | * valops.c (value_assign): Likewise. |
| 2618 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2619 | |
| 2620 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
| 2621 | |
| 2622 | * gdbarch.sh (REGISTER_SIM_REGNO): Replace by |
| 2623 | gdbarch_register_sim_regno. |
| 2624 | * sim-regno.h (sim_regno): Likewise (comment). |
| 2625 | * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise. |
| 2626 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2627 | |
| 2628 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
| 2629 | |
| 2630 | * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Replace by |
| 2631 | gdbarch_virtual_frame_pointer. |
| 2632 | * tracepoint.c (encode_actions): Likewise. |
| 2633 | * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Likewise. |
| 2634 | * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): Likewise. |
| 2635 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2636 | |
| 2637 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
| 2638 | |
| 2639 | * gdbarch.sh (TARGET_FLOAT_BIT): Replace by gdbarch_float_bit. |
| 2640 | * p-lang.c (pascal_create_fundamental_type): Likewise. |
| 2641 | * objc-lang.c (objc_create_fundamental_type): Likewise. |
| 2642 | * mdebugread.c (_initialize_mdebugread): Likewise. |
| 2643 | * m2-lang.c (m2_create_fundamental_type) |
| 2644 | (_initialize_m2_language): Likewise. |
| 2645 | * gdbtypes.c (build_gdbtypes): Likewise. |
| 2646 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. |
| 2647 | * doublest.c (floatformat_from_length): Likewise. |
| 2648 | * c-lang.c (c_create_fundamental_type): Likewise. |
| 2649 | * ada-lang.c (ada_create_fundamental_type) |
| 2650 | (ada_language_arch_info): Likewise. |
| 2651 | * gdbarch.sh (TARGET_FLOAT_FORMAT): Replace by gdbarch_float_format. |
| 2652 | * value.c (unpack_double): Likewise (comment). |
| 2653 | * gdbtypes.c (build_gdbtypes): Likewise. |
| 2654 | * doublest.c (floatformat_from_length): Likewise. |
| 2655 | * gdbarch.sh (TARGET_DOUBLE_BIT): Replace by gdbarch_double_bit. |
| 2656 | * valarith.c (value_binop): Likewise. |
| 2657 | * p-lang.c (pascal_create_fundamental_type): Likewise. |
| 2658 | * objc-lang.c (objc_create_fundamental_type): Likewise. |
| 2659 | * mdebugread.c (_initialize_mdebugread): Likewise. |
| 2660 | * m2-lang.c (m2_create_fundamental_type): Likewise. |
| 2661 | * gdbtypes.c (build_gdbtypes): Likewise. |
| 2662 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. |
| 2663 | * doublest.c (floatformat_from_length): Likewise. |
| 2664 | * cris-tdep.c (cris_gdbarch_init): Likewise (comment). |
| 2665 | * c-lang.c (c_create_fundamental_type): Likewise. |
| 2666 | * ada-lex.l (processReal): Likewise. |
| 2667 | * ada-lang.c (ada_create_fundamental_type) |
| 2668 | (ada_language_arch_info): Likewise. |
| 2669 | * gdbarch.sh (TARGET_DOUBLE_FORMAT): Replace by gdbarch_double_format. |
| 2670 | * value.c (unpack_double): Likewise (comment). |
| 2671 | * gdbtypes.c (build_gdbtypes): Likewise. |
| 2672 | * doublest.c (floatformat_from_length): Likewise. |
| 2673 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Replace by |
| 2674 | gdbarch_long_double_bit. |
| 2675 | * p-lang.c (pascal_create_fundamental_type): Likewise. |
| 2676 | * objc-lang.c (objc_create_fundamental_type): Likewise. |
| 2677 | * m2-lang.c (m2_create_fundamental_type): Likewise. |
| 2678 | * gdbtypes.c (build_gdbtypes): Likewise. |
| 2679 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. |
| 2680 | * doublest.c (floatformat_from_length): Likewise. |
| 2681 | * c-lang.c (c_create_fundamental_type): Likewise. |
| 2682 | * ada-lex.l (processReal): Likewise. |
| 2683 | * ada-lang.c (ada_create_fundamental_type) |
| 2684 | (ada_language_arch_info): Likewise. |
| 2685 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Replace by |
| 2686 | gdbarch_long_double_format. |
| 2687 | * gdbtypes.c (build_gdbtypes): Likewise. |
| 2688 | * doublest.c (floatformat_from_length): Likewise. |
| 2689 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2690 | |
| 2691 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
| 2692 | |
| 2693 | * gdbarch.sh (TARGET_SHORT_BIT): Replace by gdbarch_int_bit. |
| 2694 | * ada-lang.c (ada_create_fundamental_type) |
| 2695 | (ada_language_arch_info): Likewise. |
| 2696 | * c-lang.c (c_create_fundamental_type): Likewise. |
| 2697 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. |
| 2698 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. |
| 2699 | * m2-lang.c (m2_create_fundamental_type): Likewise. |
| 2700 | * objc-lang.c (objc_create_fundamental_type): Likewise. |
| 2701 | * p-lang.c (pascal_create_fundamental_type): Likewise. |
| 2702 | * gdbarch.sh (TARGET_INT_BIT): Replace by gdbarch_int_bit. |
| 2703 | * c-exp.y (parse_number): Likewise. |
| 2704 | * objc-exp.y (parse_number): Likewise. |
| 2705 | * ada-lex.l (processInt): Likewise. |
| 2706 | * f-exp.y (parse_number): Likewise. |
| 2707 | * p-exp.y (parse_number): Likewise. |
| 2708 | * ada-lang.c (ada_create_fundamental_type, ada_language_arch_info) |
| 2709 | (gdbtypes_post_init, build_gdbtypes): Likewise. |
| 2710 | * p-lang.c (pascal_create_fundamental_type): Likewise. |
| 2711 | * parse.c (build_parse): Likewise. |
| 2712 | * xcoffread.c (_initialize_xcoffread): Likewise. |
| 2713 | * stabsread.c (define_symbol, read_one_struct_field, read_enum_type) |
| 2714 | (read_range_type): Likewise. |
| 2715 | * objc-lang.c (objc_create_fundamental_type): Likewise. |
| 2716 | * f-lang.c (build_fortran_types, f_create_fundamental_type): Likewise. |
| 2717 | * m2-lang.c (m2_create_fundamental_type, _initialize_m2_language) |
| 2718 | (m2_create_fundamental_type): Likewise. |
| 2719 | * c-lang.c (c_create_fundamental_type): Likewise. |
| 2720 | * coffread.c (coff_read_enum_type): Likewise. |
| 2721 | * mdebugread.c (parse_symbol, _initialize_mdebugread): Likewise. |
| 2722 | * dwarf2read.c (new_symbol): Likewise. |
| 2723 | * gdbarch.sh (TARGET_LONG_BIT): Replace by gdbarch_long_bit. |
| 2724 | * c-exp.y (parse_number): Likewise. |
| 2725 | * objc-exp.y (parse_number): Likewise. |
| 2726 | * ada-lex.l (processInt): Likewise. |
| 2727 | * f-exp.y (parse_number): Likewise. |
| 2728 | * p-exp.y (parse_number): Likewise. |
| 2729 | * valarith.c (value_binop): Likewise. |
| 2730 | * symfile.c (read_target_long_array, simple_overlay_update_1): Likewise. |
| 2731 | * ada-lang.c (ada_create_fundamental_type) |
| 2732 | (ada_language_arch_info): Likewise. |
| 2733 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. |
| 2734 | * symfile.c (TARGET_LONG_BYTES): Likewise. |
| 2735 | * p-lang.c (pascal_create_fundamental_type): Likewise. |
| 2736 | * objc-lang.c (objc_create_fundamental_type): Likewise. |
| 2737 | * m2-lang.c (m2_create_fundamental_type): Likewise. |
| 2738 | * f-lang.c (f_create_fundamental_type): Likewise. |
| 2739 | * c-lang.c (c_create_fundamental_type): Likewise. |
| 2740 | * coffread.c (decode_base_type): Likewise. |
| 2741 | * gdbarch.sh (TARGET_LONG_LONG_BIT): Replace by gdbarch_long_long_bit. |
| 2742 | * c-exp.y (parse_number): Likewise. |
| 2743 | * objc-exp.y (parse_number): Likewise. |
| 2744 | * p-exp.y (parse_number): Likewise. |
| 2745 | * ada-lang.c (ada_create_fundamental_type) |
| 2746 | (ada_language_arch_info): Likewise. |
| 2747 | * gdbtypes.c (gdbtypes_post_init, build_gdbtypes): Likewise. |
| 2748 | * stabsread.c (read_range_type): Likewise. |
| 2749 | * p-lang.c (pascal_create_fundamental_type): Likewise. |
| 2750 | * objc-lang.c (objc_create_fundamental_type): Likewise. |
| 2751 | * m2-lang.c (m2_create_fundamental_type): Likewise. |
| 2752 | * f-lang.c (f_create_fundamental_type): Likewise. |
| 2753 | * c-lang.c (c_create_fundamental_type): Likewise. |
| 2754 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2755 | |
| 2756 | 2007-06-12 Andreas Schwab <schwab@suse.de> |
| 2757 | |
| 2758 | * frame-unwind.h (frame_dealloc_cache_ftype): Define. |
| 2759 | (struct frame_unwind): Add dealloc_cache. |
| 2760 | * frame.c (reinit_frame_cache): Call dealloc_cache on all caches. |
| 2761 | |
| 2762 | * libunwind-frame.h (libunwind_frame_dealloc_cache): Declare. |
| 2763 | * libunwind-frame.c (libunwind_frame_dealloc_cache): Define. |
| 2764 | (libunwind_frame_unwind): Set dealloc_cache. |
| 2765 | * ia64-tdep.c (ia64_libunwind_frame_unwind): Set dealloc_cache. |
| 2766 | |
| 2767 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
| 2768 | Markus Deuling <deuling@de.ibm.com> |
| 2769 | |
| 2770 | * remote.c (remote_write_qxfer): New function. |
| 2771 | (remote_xfer_partial): Add handling for TARGET_OBJECT_SPU. |
| 2772 | (remote_read_qxfer): Do not cache empty objects. |
| 2773 | (_initialize_remote): Add PACKET_qXfer_spu_read and |
| 2774 | PACKET_qXfer_spu_write. |
| 2775 | |
| 2776 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
| 2777 | |
| 2778 | * target.h (enum target_object): Add TARGET_OBJECT_SPU. |
| 2779 | * spu-linux-nat.c (spu_xfer_partial): Handle TARGET_OBJECT_SPU. |
| 2780 | |
| 2781 | * spu-tdep.h (SPU_NUM_PSEUDO_REGS): Add 5 pseudo registers. |
| 2782 | (enum spu_regnum): Add SPU_FPSCR_REGNUM, SPU_SRR0_REGNUM, |
| 2783 | SPU_LSLR_REGNUM, SPU_DECR_REGNUM, SPU_DECR_STATUS_REGNUM. |
| 2784 | * spu-tdep.c (infospucmdlist): New variable. |
| 2785 | (spu_register_name): Handle additional pseudo registers. |
| 2786 | (spu_register_type): Likewise. |
| 2787 | (spu_pseudo_register_read): Likewise. |
| 2788 | (spu_pseudo_register_write): Likewise. |
| 2789 | (spu_pseudo_register_read_spu): New function. |
| 2790 | (spu_pseudo_register_write_spu): Likewise. |
| 2791 | (info_spu_event_command): New function. |
| 2792 | (info_spu_signal_command): Likewise. |
| 2793 | (info_spu_mailbox_list): Likewise. |
| 2794 | (info_spu_mailbox_command): Likewise. |
| 2795 | (spu_mfc_get_bitfield): Likewise. |
| 2796 | (info_spu_dma_cmdlist): Likewise. |
| 2797 | (info_spu_dma_command): Likewise. |
| 2798 | (info_spu_proxydma_command): Likewise. |
| 2799 | (info_spu_command): Likewise. |
| 2800 | (_initialize_spu_tdep): Install "info spu" commands. |
| 2801 | |
| 2802 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
| 2803 | |
| 2804 | * spu-linux-nat.c (spu_proc_xfer_spu): Do not return failure when |
| 2805 | accessing non-seekable spufs files. |
| 2806 | |
| 2807 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
| 2808 | |
| 2809 | * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Replace by |
| 2810 | gdbarch_skip_trampoline_code. |
| 2811 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment). |
| 2812 | * objc-lang.c (objc_skip_trampoline) |
| 2813 | (objc_submethod_helper_data): Likewise. |
| 2814 | * m32c-lang.c (m32c_skip_trampoline_code): Likewise (comment). |
| 2815 | * infrun.c (handle_inferior_event): Likewise. |
| 2816 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Likewise. |
| 2817 | * gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Replace by |
| 2818 | gdbarch_in_solib_return_trampoline. |
| 2819 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment). |
| 2820 | * infrun.c (handle_inferior_event): Likewise. |
| 2821 | * hppa-tdep.c (hppa_stub_unwind_sniffer): Likewise. |
| 2822 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2823 | |
| 2824 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
| 2825 | |
| 2826 | * gdbarch.sh (SKIP_PROLOGUE): Replace by gdbarch_skip_prologue. |
| 2827 | * symtab.c (find_function_start_sal, in_prologue): Likewise. |
| 2828 | * linespec.c (minsym_found): Likewise. |
| 2829 | * infrun.c (step_into_function): Likewise. |
| 2830 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2831 | |
| 2832 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
| 2833 | |
| 2834 | * gdbarch.sh (NAME_OF_MALLOC): Replace by gdbarch_name_of_malloc. |
| 2835 | * valops.c (value_allocate_space_in_inferior): Likewise. |
| 2836 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2837 | |
| 2838 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
| 2839 | |
| 2840 | * gdbarch.sh (MEMORY_INSERT_BREAKPOINT): Replace by |
| 2841 | gdbarch_memory_insert_breakpoint. |
| 2842 | * mem-break.c (memory_insert_breakpoint): Likewise. |
| 2843 | * gdbarch.sh (MEMORY_REMOVE_BREAKPOINT): Replace by |
| 2844 | gdbarch_memory_remove_breakpoint. |
| 2845 | * mem-break.c (memory_remove_breakpoint): Likewise. |
| 2846 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2847 | |
| 2848 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
| 2849 | |
| 2850 | * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS): Replace by |
| 2851 | gdbarch_fetch_tls_load_module_address. |
| 2852 | * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS_P): Replace by |
| 2853 | gdbarch_fetch_tls_load_module_address_p. |
| 2854 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2855 | |
| 2856 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
| 2857 | |
| 2858 | * gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by |
| 2859 | gdbarch_decr_pc_after_break. |
| 2860 | * tracepoint.c (trace_dump_command): Likewise. |
| 2861 | * solib-sunos.c (sunos_solib_create_inferior_hook): Likewise. |
| 2862 | * linux-thread-db.c (check_event): Likewise. |
| 2863 | * linux-nat.c (cancel_breakpoints_callback): Likewise. |
| 2864 | * infrun.c (adjust_pc_after_break, normal_stop): Likewise. |
| 2865 | * frame.h: Likewise (comment). |
| 2866 | * dummy-frame.c (deprecated_pc_in_call_dummy): Likewise. |
| 2867 | * aix-thread.c (aix_thread_wait): Likewise. |
| 2868 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2869 | |
| 2870 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
| 2871 | |
| 2872 | * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS): Replace by |
| 2873 | gdbarch_address_class_type_flags. |
| 2874 | * dwarf2read.c (read_tag_pointer_type): Likewise. |
| 2875 | * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_P): Replace by |
| 2876 | gdbarch_address_class_type_flags_p. |
| 2877 | * dwarf2read.c (read_tag_pointer_type): Likewise. |
| 2878 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2879 | |
| 2880 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
| 2881 | |
| 2882 | * gdbarch.sh (ADDR_BITS_REMOVE): Replace by gdbarch_addr_bits_remove. |
| 2883 | * value.c (value_as_address): Likewise (comment). |
| 2884 | * remote-mips.c (common_breakpoint): Likewise. |
| 2885 | * regcache.c (read_pc_pid): Likewise. |
| 2886 | * printcmd.c (do_one_display): Likewise. |
| 2887 | * monitor.c (monitor_write_memory, monitor_read_memory) |
| 2888 | (monitor_insert_breakpoint): Likewise. |
| 2889 | * mips-tdep.c (heuristic_proc_start): Likewise. |
| 2890 | * infrun.c (insert_step_resume_breakpoint_at_frame) |
| 2891 | (insert_step_resume_breakpoint_at_caller): Likewise. |
| 2892 | * buildsym.c (record_line): Likewise. |
| 2893 | * arm-tdep.c (arm_scan_prologue, thumb_get_next_pc) |
| 2894 | (arm_get_next_pc): Likewise. |
| 2895 | * armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register) |
| 2896 | (store_regs): Likewise. |
| 2897 | * arm-linux-tdep.c (arm_linux_supply_gregset): Likewise. |
| 2898 | * arm-linux-nat.c (fetch_register, fetch_regs): Likewise. |
| 2899 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2900 | |
| 2901 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
| 2902 | |
| 2903 | * gdbarch.sh (REGISTER_NAME): Replace by gdbarch_register_name. |
| 2904 | * tracepoint.c (scope_info): Likewise. |
| 2905 | * target.c (debug_print_register): Likewise. |
| 2906 | * stack.c (frame_info): Likewise. |
| 2907 | * sh-tdep.c (sh_register_reggroup_p): Likewise. |
| 2908 | * sh64-tdep.c (sh64_do_fp_register, sh64_do_register) |
| 2909 | (sh64_media_print_registers_info) |
| 2910 | (sh64_compact_print_registers_info): Likewise. |
| 2911 | * rs6000-tdep.c (rs6000_register_reggroup_p): Likewise. |
| 2912 | * remote-sim.c (gdbsim_fetch_register): Likewise. |
| 2913 | * remote.c (packet_reg): Likewise (comment). |
| 2914 | * reggroups.c (default_register_reggroup_p): Likewise. |
| 2915 | * regcache.c (regcache_dump): Likewise. |
| 2916 | * printcmd.c (address_info): Likewise. |
| 2917 | * ppc-linux-nat.c (fetch_register, store_register): Likewise. |
| 2918 | * mt-dep.c (mt_registers_info): Likewise. |
| 2919 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Likewise (comment). |
| 2920 | * mips-tdep.c (mips_register_reggroup_p, mips_read_fp_register_single) |
| 2921 | (mips_read_fp_register_double, mips_print_fp_register) |
| 2922 | (mips_print_register, print_gp_register_row, mips_print_registers_info) |
| 2923 | (mips_register_sim_regno): Likewise. |
| 2924 | * m68klinux-nat.c (regmap, fetch_register, store_register): Likewise. |
| 2925 | * inf-ptrace.c (inf_ptrace_fetch_register) |
| 2926 | (inf_ptrace_store_register): Likewise. |
| 2927 | * infcmd.c (default_print_registers_info): Likewise. |
| 2928 | * ia64-linux-nat.c (ia64_linux_fetch_register) |
| 2929 | (ia64_linux_store_register): Likewise. |
| 2930 | * i386-linux-nat.c (fetch_register, store_register): Likewise. |
| 2931 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise. |
| 2932 | * hppa-linux-nat.c (fetch_register, store_register): Likewise. |
| 2933 | * hppa-hpux-nat.c (hppa_hpux_fetch_register) |
| 2934 | (hppa_hpux_store_register): Likewise. |
| 2935 | * findvar.c (locate_var_value): Likewise. |
| 2936 | * dwarf2loc.c (locexpr_describe_location): Likewise. |
| 2937 | * dwarf2-frame.c (execute_cfa_program): Likewise. |
| 2938 | * arm-tdep.c (arm_push_dummy_call): Likewise. |
| 2939 | * arch-utils.c (legacy_register_sim_regno): Likewise. |
| 2940 | * alpha-tdep.c (alpha_register_reggroup_p): Likewise. |
| 2941 | * alpha-nat.c (fetch_osf_core_registers): Likewise. |
| 2942 | * mi/mi-main.c (mi_cmd_data_list_register_names) |
| 2943 | (mi_cmd_data_list_changed_registers, mi_cmd_data_list_register_values) |
| 2944 | (mi_cmd_data_write_register_values): Likewise. |
| 2945 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2946 | |
| 2947 | 2007-06-07 Daniel Jacobowitz <dan@codesourcery.com> |
| 2948 | |
| 2949 | * target-memory.c (blocks_to_erase): Correct off-by-one error. |
| 2950 | |
| 2951 | 2007-06-06 Vladimir Prus <vladimir@codesourcery.com> |
| 2952 | |
| 2953 | * remote.c (process_g_packet): Don't check size. |
| 2954 | * gdbarch.sh: Remove register_bytes_ok. |
| 2955 | * gdbarch.c: Regenerated. |
| 2956 | * gdbarch.h: Regenerated. |
| 2957 | * m68k-tdep.c (REGISTER_BYTES_NOFP): Remove. |
| 2958 | (m68k_register_bytes_ok): Remove. |
| 2959 | (m68k_gdbarch_init): Don't register m68k_register_bytes_ok. |
| 2960 | |
| 2961 | 2007-06-06 Andreas Schwab <schwab@suse.de> |
| 2962 | |
| 2963 | * libunwind-frame.c (unw_destroy_addr_space_p): Define. |
| 2964 | (destroy_addr_space_name): Define. |
| 2965 | (libunwind_load): Get address of destroy_addr_space function. |
| 2966 | (libunwind_frame_cache): Destroy unw_addr_space_t object before |
| 2967 | returning unsuccessfully. |
| 2968 | (libunwind_frame_sniffer): Destroy unw_addr_space_t object before |
| 2969 | returning. |
| 2970 | (libunwind_sigtramp_frame_sniffer): Likewise. |
| 2971 | (libunwind_get_reg_special): Likewise. |
| 2972 | |
| 2973 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
| 2974 | |
| 2975 | * gdbarch.sh (FETCH_POINTER_ARGUMENT): Replace by |
| 2976 | gdbarch_fetch_pointer_argument. |
| 2977 | * objc-lang.c (OBJC_FETCH_POINTER_ARGUMENT): Likewise. |
| 2978 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2979 | |
| 2980 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
| 2981 | |
| 2982 | * gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Replace by |
| 2983 | gdbarch_have_nonsteppable_watchpoint. |
| 2984 | * infrun.c (handle_inferior_event, adjust_pc_after_break): Likewise. |
| 2985 | * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Replace by |
| 2986 | gdbarch_cannot_step_breakpoint. |
| 2987 | * infrun.c (resume): Likewise. |
| 2988 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2989 | |
| 2990 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
| 2991 | |
| 2992 | * gdbarch.sh (FRAME_ARGS_SKIP): Replace by gdbarch_frame_args_skip. |
| 2993 | * stack.c (print_frame_args): Likewise. |
| 2994 | * gdbarch.sh (FRAME_NUM_ARGS): Replace by gdbarch_frame_num_args. |
| 2995 | * stack.c (print_args_stub, frame_info): Likewise. |
| 2996 | * gdbarch.sh (FRAME_NUM_ARGS_P): Replace by gdbarch_frame_num_args_p. |
| 2997 | * stack.c (print_args_stub, frame_info): Likewise. |
| 2998 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2999 | |
| 3000 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
| 3001 | |
| 3002 | * gdbarch.sh (COFF_MAKE_MSYMBOL_SPECIAL): Replace by |
| 3003 | gdbarch_coff_make_msymbol_special. |
| 3004 | * coffread.c (coff_symtab_read): Likewise. |
| 3005 | * gdbarch.sh (ELF_MAKE_MSYMBOL_SPECIAL): Replace by |
| 3006 | gdbarch_elf_make_msymbol_special. |
| 3007 | * elfread.c (elf_symtab_read): Likewise. |
| 3008 | * mips-tdep.c (mips_elf_make_msymbol_special): Likewise (comment). |
| 3009 | * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Likewise (comment). |
| 3010 | * gdbarch.c, gdbarch.h: Regenerate. |
| 3011 | |
| 3012 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
| 3013 | |
| 3014 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by |
| 3015 | gdbarch_frame_red_zone_size. |
| 3016 | * gdbarch.c, gdbarch.h: Regenerate. |
| 3017 | |
| 3018 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
| 3019 | |
| 3020 | * gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than. |
| 3021 | * infcall.c (call_function_by_hand): Likewise. |
| 3022 | * gcore.c (derive_stack_segment): Likewise. |
| 3023 | * frame.c (frame_id_inner): Likewise. |
| 3024 | * arch-utils.c (core_addr_lessthan): Likewise (comment). |
| 3025 | * ada-lang.c (ensure_lval): Likewise. |
| 3026 | * gdbarch.c, gdbarch.h: Regenerate. |
| 3027 | |
| 3028 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
| 3029 | |
| 3030 | * gdbarch.sh (ADDRESS_TO_POINTER): Replace by |
| 3031 | gdbarch_address_to_pointer. |
| 3032 | * findvar.c (store_typed_address): Likewise. |
| 3033 | * gdbtypes.c (make_pointer_type): Likewise (comment). |
| 3034 | * procfs.c (procfs_address_to_host_pointer): Likewise. |
| 3035 | * std-regs.c (value_of_builtin_frame_reg): Likewise. |
| 3036 | (value_of_builtin_frame_fp_reg): Likewise. |
| 3037 | (value_of_builtin_frame_pc_reg): Likewise. |
| 3038 | * utils.c (paddress): Likewise (comment). |
| 3039 | * gdbarch.sh (POINTER_TO_ADDRESS): Replace by |
| 3040 | gdbarch_pointer_to_address. |
| 3041 | * findvar.c (extract_typed_address): Likewise. |
| 3042 | * gdbtypes.c (make_pointer_type): Likewise (comment). |
| 3043 | * valops.c (value_cast): Likewise (comment). |
| 3044 | * gdbarch.c, gdbarch.h: Regenerate. |
| 3045 | |
| 3046 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
| 3047 | |
| 3048 | * gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target. |
| 3049 | * infrun.c (handle_inferior_event): Likewise. |
| 3050 | * gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by |
| 3051 | gdbarch_get_longjmp_target_p. |
| 3052 | * breakpoint.c (breakpoint_re_set): Likewise. |
| 3053 | * infrun.c (handle_inferior_event): Likewise. |
| 3054 | * gdbarch.c, gdbarch.h: Regenerate. |
| 3055 | |
| 3056 | 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 3057 | |
| 3058 | * hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook, |
| 3059 | HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break, |
| 3060 | HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification, |
| 3061 | hp_cxx_exception_support, hp_cxx_exception_support_initialized, |
| 3062 | eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr, |
| 3063 | eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior, |
| 3064 | find_stub_with_shl_get, cover_find_stub_with_shl_get, |
| 3065 | initialize_hp_cxx_exception_support, child_enable_exception_callback, |
| 3066 | current_ex_event, child_get_current_exception_event): Remove. |
| 3067 | (hppa_hpux_inferior_created): Remove. |
| 3068 | (hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created. |
| 3069 | |
| 3070 | * breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove. |
| 3071 | (deprecated_exception_support_initialized): Remove. |
| 3072 | * breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove. |
| 3073 | (deprecated_exception_support_initialized): Remove. |
| 3074 | (breakpoint_init_inferior): Remove handling of non-zero |
| 3075 | deprecated_exception_catchpoints_are_fragile. |
| 3076 | |
| 3077 | * symtab.h (deprecated_hp_som_som_object_present): Remove. |
| 3078 | * symtab.c (deprecated_hp_som_som_object_present): Remove. |
| 3079 | * c-typeprint.c (c_type_print_base): Remove handling of non-zero |
| 3080 | deprecated_hp_som_som_object_present. |
| 3081 | * eval.c (evaluate_subexp_standard): Likewise. |
| 3082 | * valops.c (value_cast): Likewise. |
| 3083 | |
| 3084 | * parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove. |
| 3085 | * parser-defs.h (parse_nested_classes_for_hpacc): Remove. |
| 3086 | * c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc. |
| 3087 | |
| 3088 | 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 3089 | |
| 3090 | * objfiles.h (ImportEntry, ExportEntry): Remove types. |
| 3091 | (struct objfile): Remove import_list, import_list_size, |
| 3092 | export_list, export_list_size members. |
| 3093 | (is_in_import_list): Remove prototype. |
| 3094 | * objfiles.c (is_in_import_list): Remove. |
| 3095 | * somread.c (init_import_symbols, init_export_symbols): Remove. |
| 3096 | (som_symfile_read): Do not call init_import_symbols. Do not |
| 3097 | set objfile->export_list and objfile->export_list_size. |
| 3098 | |
| 3099 | 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com> |
| 3100 | |
| 3101 | * dwarf2read.c (dwarf2_symbol_mark_computed): Fix formatting. |
| 3102 | Use the original objfile if necessary. |
| 3103 | |
| 3104 | 2007-06-04 Daniel Jacobowitz <dan@codesourcery.com> |
| 3105 | |
| 3106 | * defs.h (ldirname): New prototype. |
| 3107 | * dwarf2read.c (read_file_scope): Use DW_AT_name if DW_AT_comp_dir is |
| 3108 | missing. |
| 3109 | * utils.c (ldirname): New function. |
| 3110 | * xml-tdesc.c (file_read_description_xml): Use ldirname. |
| 3111 | |
| 3112 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
| 3113 | |
| 3114 | * spu-tdep.c (spu_push_dummy_call): Store stack back chain. |
| 3115 | |
| 3116 | 2007-06-01 Joel Brobecker <brobecker@adacore.com> |
| 3117 | |
| 3118 | * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning. |
| 3119 | |
| 3120 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
| 3121 | |
| 3122 | * irix5-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Remove. |
| 3123 | |
| 3124 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
| 3125 | |
| 3126 | * ppc-linux-tdep.c (INSTR_SC, INSTR_LI_R0_0x6666, INSTR_LI_R0_0x7777, |
| 3127 | INSTR_LI_R0_NR_sigreturn, INSTR_LI_R0_NR_rt_sigreturn): Remove. |
| 3128 | (PPC_LINUX_SIGNAL_FRAMESIZE, PPC_LINUX_REGS_PTR_OFFSET, |
| 3129 | PPC_LINUX_HANDLER_PTR_OFFSET): Remove. |
| 3130 | (ppc_linux_in_sigtramp, insn_is_sigreturn, |
| 3131 | ppc_linux_at_sigtramp_return_path): Remove. |
| 3132 | |
| 3133 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
| 3134 | |
| 3135 | * xtensa-tdep.c (XTENSA_IS_ENTRY, extract_call_winsize) |
| 3136 | (xtensa_register_write_masked, xtensa_register_read_masked) |
| 3137 | (xtensa_extract_return_value, xtensa_store_return_value |
| 3138 | (xtensa_push_dummy_call, xtensa_breakpoint_from_pc): Replace |
| 3139 | TARGET_BYTE_ORDER by gdbarch_byte_order. |
| 3140 | * sh-tdep.c (sh_breakpoint_from_pc, gdb_print_insn_sh) |
| 3141 | (sh_justify_value_in_reg, sh_next_flt_argreg, sh_push_dummy_call_fpu) |
| 3142 | (sh_extract_return_value_fpu, sh_store_return_value_fpu): Likewise. |
| 3143 | * sh64-tdep.c (sh64_breakpoint_from_pc, gdb_print_insn_sh64) |
| 3144 | (sh64_push_dummy_call, sh64_extract_return_value) |
| 3145 | (sh64_store_return_value, sh64_register_convert_to_virtual) |
| 3146 | (sh64_register_convert_to_raw, sh64_pseudo_register_read) |
| 3147 | (sh64_pseudo_register_write, sh64_do_fp_register) |
| 3148 | (sh64_frame_prev_register): Likewise. |
| 3149 | * score-tdep.c (score_print_insn, score_breakpoint_from_pc) |
| 3150 | (score_return_value, score_push_dummy_call, score_fetch_inst): Likewise. |
| 3151 | * rs6000-tdep.c (rs6000_breakpoint_from_pc, rs6000_push_dummy_call) |
| 3152 | (e500_move_ev_register,gdb_print_insn_powerpc): Likewise. |
| 3153 | * remote-m32r-sdi.c (m32r_resume, m32r_wait): Likewise. |
| 3154 | * ppc-linux-nat.c (store_register): Likewise. |
| 3155 | * nto-tdep.c (nto_find_and_open_solib) |
| 3156 | (nto_init_solib_absolute_prefix): Likewise. |
| 3157 | * mips-tdep.c (mips_pseudo_register_read, mips_pseudo_register_write) |
| 3158 | (mips_convert_register_p, mips_eabi_push_dummy_call) |
| 3159 | (mips_n32n64_push_dummy_call, mips_n32n64_return_value) |
| 3160 | (mips_o32_push_dummy_call, mips_o32_return_value) |
| 3161 | (mips_o64_push_dummy_call, mips_o64_return_value, mips_o64_return_value) |
| 3162 | (mips_read_fp_register_single, mips_read_fp_register_double) |
| 3163 | (mips_print_register, print_gp_register_row, gdb_print_insn_mips) |
| 3164 | (mips_breakpoint_from_pc): Likewise. |
| 3165 | * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Likewise. |
| 3166 | * mips-linux-tdep.c (mips64_supply_fpregset, mips64_fill_fpregset) |
| 3167 | (mips_linux_o32_sigframe_init): Likewise. |
| 3168 | * m32r-tdep.c (m32r_memory_insert_breakpoint) |
| 3169 | (m32r_memory_remove_breakpoint, m32r_breakpoint_from_pc): Likewise. |
| 3170 | * libunwind-frame.c (libunwind_frame_cache, libunwind_frame_sniffer) |
| 3171 | (libunwind_sigtramp_frame_sniffer, libunwind_get_reg_special): Likewise. |
| 3172 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise. |
| 3173 | * coffread.c (process_coff_symbol): Likewise. |
| 3174 | * arm-tdep.c (convert_from_extended, convert_to_extended) |
| 3175 | (gdb_print_insn_arm): Likewise. |
| 3176 | |
| 3177 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
| 3178 | |
| 3179 | * gdbarch.sh (NUM_REGS): Replace by gdbarch_num_regs. |
| 3180 | * i386-tdep.c (i386_dbx_reg_to_regnum) |
| 3181 | (i386_svr4_reg_to_regnum): Likewise. |
| 3182 | * inf-ptrace.c (inf_ptrace_fetch_registers) |
| 3183 | (inf_ptrace_store_registers): Likewise. |
| 3184 | * corelow.c (get_core_registers): Likewise. |
| 3185 | * i386-linux-nat.c (supply_gregset, fill_gregset) |
| 3186 | (i386_linux_fetch_inferior_registers) |
| 3187 | (i386_linux_store_inferior_registers): Likewise. |
| 3188 | * remote.c (init_remote_state,packet_reg_from_regnum) |
| 3189 | (packet_reg_from_pnum,process_g_packet,remote_fetch_registers) |
| 3190 | (remote_prepare_to_store,store_registers_using_G) |
| 3191 | (remote_store_registers,remote_arch_state): Likewise. |
| 3192 | * tracepoint.c (encode_actions): Likewise. |
| 3193 | * mi/mi-main.c (mi_cmd_data_list_register_names) |
| 3194 | (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values) |
| 3195 | (mi_cmd_data_write_register_values): Likewise. |
| 3196 | * tui/tui-regs.c (tui_show_register_group) |
| 3197 | (tui_show_register_group): Likewise. |
| 3198 | * xtensa-tdep.h (FP_ALIAS): Likewise. |
| 3199 | * xtensa-tdep.c (xtensa_register_name,xtensa_register_type) |
| 3200 | (xtensa_reg_to_regnum,xtensa_pseudo_register_read) |
| 3201 | (xtensa_pseudo_register_write,xtensa_register_reggroup_p): Likewise. |
| 3202 | * win32-nat.c (do_win32_fetch_inferior_registers) |
| 3203 | (do_win32_store_inferior_registers,fetch_elf_core_registers |
| 3204 | * user-regs.h: Likewise (comment). |
| 3205 | * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise. |
| 3206 | * trad-frame.c (trad_frame_alloc_saved_regs): Likewise. |
| 3207 | * target-descriptions.h: Likewise (comment). |
| 3208 | * target-descriptions.c (tdesc_use_registers): Likewise (comment). |
| 3209 | * target.c (debug_print_register): Likewise. |
| 3210 | * stack.c (frame_info): Likewise. |
| 3211 | * stabsread.c (define_symbol): Likewise. |
| 3212 | * sh64-tdep.c (sh64_do_pseudo_register,sh64_print_register) |
| 3213 | (sh64_media_print_registers_info) |
| 3214 | (sh64_compact_print_registers_info): Likewise. |
| 3215 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. |
| 3216 | * rs6000-nat.c (fetch_register,store_register): Likewise. |
| 3217 | * remote-sim.c (one2one_register_sim_regno,gdbsim_fetch_register) |
| 3218 | (gdbsim_fetch_register,gdbsim_store_register): Likewise. |
| 3219 | * remote-mips.c (mips_fetch_registers,mips_store_registers): Likewise. |
| 3220 | * remote-m32r-sdi.c (m32r_fetch_registers) |
| 3221 | (m32r_store_registers): Likewise. |
| 3222 | * reggroups.c (default_register_reggroup_p): Likewise. |
| 3223 | * regcache.c (init_regcache_descr,register_size,regcache,regcache_save) |
| 3224 | (regcache_restore,regcache_dump): Likewise. |
| 3225 | * monitor.c (monitor_fetch_registers,monitor_store_registers): Likewise. |
| 3226 | * mips-tdep.c (mips_xfer_register,mips_register_name) |
| 3227 | (mips_register_reggroup_p,mips_pseudo_register_read) |
| 3228 | (mips_pseudo_register_write,mips_convert_register_p,mips_register_type) |
| 3229 | (mips_unwind_pc,mips_unwind_sp,mips_unwind_dummy_id,set_reg_offset) |
| 3230 | (mips16_scan_prologue,mips_insn16_frame_cache,reset_saved_regs) |
| 3231 | (mips32_scan_prologue,mips_insn32_frame_cache,read_next_frame_reg) |
| 3232 | (mips_n32n64_return_value,mips_o32_return_value,mips_o64_return_value) |
| 3233 | (print_gp_register_row,mips_print_registers_info) |
| 3234 | (mips_stab_reg_to_regnum,mips_dwarf_dwarf2_ecoff_reg_to_regnum) |
| 3235 | (mips_register_sim_regno): Likewise. |
| 3236 | * mips-linux-tdep.c (mips_linux_o32_sigframe_init) |
| 3237 | (mips_linux_n32n64_sigframe_init): Likewise. |
| 3238 | * mips-linux-nat.c (mips_linux_register_addr) |
| 3239 | (mips64_linux_register_addr): Likewise. |
| 3240 | * findvar.c (value_of_register): Likewise. |
| 3241 | * infcmd.c (default_print_registers_info,registers_info) |
| 3242 | (print_vector_info,print_float_info): Likewise. |
| 3243 | * mips64obsd-tdep.c (mips64obsd_sigframe_init): Likewise. |
| 3244 | * inf-child.c (inf_child_fetch_inferior_registers): Likewise. |
| 3245 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. |
| 3246 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache(: Likewise. |
| 3247 | * m32r-tdep.c (m32r_frame_unwind_cache): Likewise. |
| 3248 | * ia64-linux-nat.c (ia64_register_addr,ia64_cannot_fetch_register) |
| 3249 | (ia64_cannot_store_register,ia64_linux_fetch_registers) |
| 3250 | (ia64_linux_store_registers): Likewise. |
| 3251 | * hpux-thread.c (hpux_thread_fetch_registers) |
| 3252 | (hpux_thread_store_registers): Likewise. |
| 3253 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM,E_PSEUDO_EXR_REGNUM) |
| 3254 | (h8300_init_frame_cache,h8300_frame_cache,h8300_frame_prev_register) |
| 3255 | (h8300_register_type): Likewise. |
| 3256 | * dwarf2-frame.c (dwarf2_frame_cache) |
| 3257 | (dwarf2_frame_state_alloc_regs): Likewise. |
| 3258 | * cris-tdep.c (cris_register_size,cris_cannot_fetch_register) |
| 3259 | (cris_cannot_store_register,crisv32_cannot_fetch_register) |
| 3260 | (crisv32_cannot_store_register,cris_register_name): Likewise. |
| 3261 | * avr-tdep.c (avr_frame_unwind_cache): Likewise. |
| 3262 | * arch-utils.c (legacy_register_sim_regno) |
| 3263 | (legacy_virtual_frame_pointer): Likewise. |
| 3264 | * arm-tdep.c (arm_make_prologue_cache,arm_register_sim_regno):Likewise. |
| 3265 | * arm-tdep.h: Likewise (comment). |
| 3266 | * frv-tdep.c (frv_register_sim_regno): Likewise. |
| 3267 | * m68klinux-nat.c (old_fetch_inferior_registers) |
| 3268 | (old_store_inferior_registers): Likewise. |
| 3269 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. |
| 3270 | * irix5-nat.c (fetch_core_registers): Likewise. |
| 3271 | * hppa-tdep.c (hppa_frame_cache): Likewise. |
| 3272 | * hppa-linux-nat.c (hppa_linux_register_addr) |
| 3273 | (hppa_linux_fetch_inferior_registers) |
| 3274 | (hppa_linux_store_inferior_registers): Likewise. |
| 3275 | * hppa-hpux-nat.c (hppa_hpux_fetch_inferior_registers) |
| 3276 | (hppa_hpux_store_inferior_registers): Likewise. |
| 3277 | * amd64-nat.c (amd64_native_gregset_reg_offset) |
| 3278 | (amd64_supply_native_gregset,amd64_collect_native_gregset): Likewise. |
| 3279 | * dbug-rom.c (dbug_regname): Likewise. |
| 3280 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache) |
| 3281 | (HARD_PAGE_REGNUM (comment)): Likewise. |
| 3282 | * gdbarch.sh (NUM_PSEUDO_REGS): Replace by gdbarch_num_pseudo_regs. |
| 3283 | * i386-tdep.c (i386_dbx_reg_to_regnum) |
| 3284 | (i386_svr4_reg_to_regnum): Likewise. |
| 3285 | * mi/mi-main.c (mi_cmd_data_list_register_names) |
| 3286 | (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values) |
| 3287 | (mi_cmd_data_write_register_values): Likewise. |
| 3288 | * gdbarch.c, gdbarch.h: Regenerate. |
| 3289 | * tui/tui-regs.c (tui_show_register_group): Likewise. |
| 3290 | * xtensa-tdep.h (FP_ALIAS): Likewise. |
| 3291 | * user-regs.h: Likewise (comment). |
| 3292 | * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise. |
| 3293 | * trad-frame.c (trad_frame_alloc_saved_regs): Likewise. |
| 3294 | * target-descriptions.h: Likewise (comment). |
| 3295 | * target.c (debug_print_register): Likewise. |
| 3296 | * stack.c (frame_info): Likewise. |
| 3297 | * stabsread.c (define_symbol): Likewise. |
| 3298 | * sh64-tdep.c (sh64_print_register,sh64_media_print_registers_info) |
| 3299 | (sh64_compact_print_registers_info): Likewise. |
| 3300 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. |
| 3301 | * regcache.c (init_regcache_descr,register_size,regcache,regcache_save |
| 3302 | (regcache_restore,regcache_dump): Likewise. |
| 3303 | * mips-tdep.c (print_gp_register_row,mips_print_registers_info) |
| 3304 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum) |
| 3305 | (mips_stab_reg_to_regnum): Likewise. |
| 3306 | * findvar.c (value_of_register): Likewise. |
| 3307 | * infcmd.c (default_print_registers_info,registers_info) |
| 3308 | (print_vector_info,print_float_info): Likewise. |
| 3309 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. |
| 3310 | * h8300-tdep.c (h8300_register_type): Likewise. |
| 3311 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. |
| 3312 | * frame.h (SIZEOF_FRAME_SAVED_REGS): Likewise. |
| 3313 | * xtensa-tdep.c (xtensa_register_type,xtensa_reg_to_regnum) |
| 3314 | (xtensa_pseudo_register_read,xtensa_pseudo_register_write): Likewise. |
| 3315 | * parse.c: Remove comment. |
| 3316 | * gdbarch.c, gdbarch.h: Regenerate |
| 3317 | |
| 3318 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
| 3319 | |
| 3320 | * gdbarch.sh (CANNOT_FETCH_REGISTER): Replace by |
| 3321 | gdbarch_cannot_fetch_register. |
| 3322 | * alpha-nat.c (fetch_osf_core_registers): Likewise. |
| 3323 | * hppa-linux-nat.c (fetch_register): Likewise. |
| 3324 | * inf-ptrace.c (inf_ptrace_fetch_register): Likewise. |
| 3325 | * m68klinux-nat.c (fetch_register): Likewise. |
| 3326 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): |
| 3327 | Likewise. |
| 3328 | * gdbarch.sh (CANNOT_STORE_REGISTER): Replace by |
| 3329 | gdbarch_cannot_store_register. |
| 3330 | * hppa-linux-nat.c (store_register): Likewise. |
| 3331 | * inf-ptrace.c (inf_ptrace_store_register): Likewise. |
| 3332 | * regcache.c (regcache_raw_write): Likewise. |
| 3333 | * m68klinux-nat.c (store_register): Likewise. |
| 3334 | * mipsnbsd-tdep.c (mipsnbsd_fill_reg, mipsnbsd_fill_fpreg): Likewise. |
| 3335 | * gdbarch.c, gdbarch.h: Regenerate. |
| 3336 | |
| 3337 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
| 3338 | |
| 3339 | * gdbarch.sh (TARGET_OSABI): Replace by gdbarch_osabi. |
| 3340 | * gdbarch.c, gdbarch.h: Regenerate. |
| 3341 | |
| 3342 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
| 3343 | |
| 3344 | * gdbarch.sh (TARGET_CHAR_SIGNED): Replace by gdbarch_char_signed. |
| 3345 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. |
| 3346 | * gdbarch.c, gdbarch.h: Regenerate. |
| 3347 | |
| 3348 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
| 3349 | |
| 3350 | * gdbarch.sh (TARGET_BYTE_ORDER): Replace by gdbarch_byte_order. |
| 3351 | * ax-gdb.c (gen_bitfield_ref): Likewise. |
| 3352 | * mi/mi-main.c (get_register): Likewise. |
| 3353 | * findvar.c (default_value_from_register, extract_signed_integer) |
| 3354 | (extract_unsigned_integer, extract_long_unsigned_integer) |
| 3355 | (store_signed_integer, store_unsigned_integer): Likewise. |
| 3356 | * regcache.c (regcache_dump): Likewise. |
| 3357 | * value.c (lookup_internalvar, value_of_internalvar) |
| 3358 | (set_internalvar): Likewise. |
| 3359 | * defs.h: Likewise. |
| 3360 | * valprint.c (print_binary_chars, print_octal_chars) |
| 3361 | (print_decimal_chars, print_hex_chars, print_char_chars): Likewise. |
| 3362 | * infcmd.c (default_print_registers_info): Likewise. |
| 3363 | * arch-utils.c (selected_byte_order, show_endian): Likewise. |
| 3364 | * stabsread.c (define_symbol): Likewise. |
| 3365 | * doublest.c (floatformat_from_length, floatformat_from_type) |
| 3366 | (extract_typed_floating, store_typed_floating): Likewise. |
| 3367 | * gdbarch.c, gdbarch.h: Regenerate. |
| 3368 | |
| 3369 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
| 3370 | |
| 3371 | * gdbarch.sh (CALL_DUMMY_LOCATION): Replace by |
| 3372 | gdbarch_call_dummy_location. |
| 3373 | * infcall.c (call_function_by_hand): Likewise. |
| 3374 | * inferior.h: Change comment. |
| 3375 | * arch-utils.c: Change comment. |
| 3376 | * gdbarch.c, gdbarch.h: Regenerate. |
| 3377 | |
| 3378 | 2007-05-28 Joel Brobecker <brobecker@adacore.com> |
| 3379 | |
| 3380 | * solib-aix5.c: Delete. |
| 3381 | * Makefile.in (solib-aix5.o): Delete rule. |
| 3382 | |
| 3383 | 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com> |
| 3384 | |
| 3385 | * breakpoint.h (enum bpstat_what_main_action): Remove |
| 3386 | BPSTAT_WHAT_THROUGH_SIGTRAMP. |
| 3387 | * infrun.c (process_event_stop_test): Do not check for it. |
| 3388 | |
| 3389 | 2007-05-22 Chris Dearman <chris@mips.com> |
| 3390 | Maciej W. Rozycki <macro@mips.com> |
| 3391 | |
| 3392 | * ser-unix.c (show_serial_hwflow): New function. |
| 3393 | (hardwire_raw): Add hardware flow control support. |
| 3394 | (_initialize_ser_hardwire): Add "set/show remoteflow". |
| 3395 | * Makefile.in (ser-unix.o): Depend on $(gdbcmd_h). |
| 3396 | * NEWS: Document the new command. |
| 3397 | |
| 3398 | 2007-05-21 Ulrich Weigand <uweigand@de.ibm.com> |
| 3399 | |
| 3400 | * config/i386/tm-linux.h (sys_quotactl): Do not define. |
| 3401 | * configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not |
| 3402 | define for i[[3456]]86-*-linux* native configurations. |
| 3403 | * config.in, configure: Regenerate. |
| 3404 | |
| 3405 | 2007-05-19 Joel Brobecker <brobecker@adacore.com> |
| 3406 | |
| 3407 | * rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debugging |
| 3408 | a core file. Add comment in the function description. |
| 3409 | |
| 3410 | 2007-05-18 Caroline Tice <ctice@apple.com> |
| 3411 | |
| 3412 | * c-valprint.c (c_value_print): If the initialized field of the |
| 3413 | value struct is 0, print out "[uninitialized]" before the value. |
| 3414 | * dwarf2expr.c (execute_stack_op): Initialize ctx->initialized field; |
| 3415 | allow DW_OP_GNU_uninit as legal op following a DW_OP_reg op or a |
| 3416 | DW_OP_regx op; add case for DW_OP_GNU_uninit and update |
| 3417 | ctx->initialized appropriately. Verify no location op follows |
| 3418 | DW_OP_GNU_uninit. |
| 3419 | * dwarf2expr.h (struct dwarf_expr_context): New field, initialized. |
| 3420 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Add call to |
| 3421 | set_value_initialized. |
| 3422 | * dwarf2read.c (dwarf_stack_op_name): Add case for DW_OP_GNU_uninit. |
| 3423 | (decode_locdesc): Add case for DW_OP_GNU_uninit. |
| 3424 | * value.c (struct value): New field, initialized. |
| 3425 | (allocate_value): Initialize new field. |
| 3426 | (set_value_initialized): New function. |
| 3427 | (value_initialized): New function. |
| 3428 | * value.h (value_initialized): New extern declaration. |
| 3429 | (set_value_initialized): Likewise. |
| 3430 | |
| 3431 | 2007-05-18 Caroline Tice <ctice@apple.com> |
| 3432 | |
| 3433 | * MAINTAINERS (Write After Approval): Add self. |
| 3434 | |
| 3435 | 2007-05-17 Joel Brobecker <brobecker@adacore.com> |
| 3436 | |
| 3437 | * gdbtypes.c (make_reference_type): Preserve the type chain |
| 3438 | and set the length of all the variants of the pointer type. |
| 3439 | |
| 3440 | 2007-05-17 Joel Brobecker <brobecker@adacore.com> |
| 3441 | |
| 3442 | * gdbtypes.c (make_pointer_type): Preserve the pointer type chain |
| 3443 | and set the length of all the variants of the pointer type. |
| 3444 | |
| 3445 | 2007-05-17 Maciej W. Rozycki <macro@mips.com> |
| 3446 | |
| 3447 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a |
| 3448 | comment. |
| 3449 | (mips_o64_push_dummy_call): Reformat a comment. |
| 3450 | |
| 3451 | 2007-05-17 Qinwei <qinwei@sunnorth.com.cn> |
| 3452 | |
| 3453 | * score-tdep.c (score_frame_cache->fp, score_analyze_prologue) |
| 3454 | (score_prologue_frame_base_address): Return fp to keep gdb print |
| 3455 | local variables correctly when debugging information is stabs. |
| 3456 | |
| 3457 | (score_analyze_prologue): For software watchpoint, fetch all the |
| 3458 | instructions from range [startaddr, pc] once and identify them locally |
| 3459 | to reduce memory access. |
| 3460 | (score_malloc_and_get_memblock, score_free_memblock) |
| 3461 | (score_adjust_memblock_ptr): New functions. |
| 3462 | (score_fetch_inst): Fetch single instruction or mutiple instructions. |
| 3463 | |
| 3464 | (score_target_can_use_watch, score_stopped_by_watch) |
| 3465 | (score_target_insert_watchpoint, score_target_remove_watchpoint) |
| 3466 | (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint): |
| 3467 | New functions for remote & local hw-watchpoint and hw-breakpoint. |
| 3468 | |
| 3469 | 2007-05-16 Alfred M. Szmidt <ams@gnu.org> |
| 3470 | |
| 3471 | * reply_mig_hack.awk: Check for `auto const mach_msg_type_t' |
| 3472 | declarations as well. |
| 3473 | |
| 3474 | 2007-05-16 Ulrich Weigand <uweigand@de.ibm.com> |
| 3475 | |
| 3476 | * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h. |
| 3477 | * config/arm/tm-embed.h: Delete file. |
| 3478 | |
| 3479 | * arm-tdep.h (arm_software_single_step): Declare. |
| 3480 | * arm-tdep.c (arm_software_single_step): Make global. |
| 3481 | (arm_gdbarch_init): Move set_gdbarch_software_single_step call |
| 3482 | from here to ... |
| 3483 | * arm-linux-tdep.c (arm_linux_init_abi): ... here ... |
| 3484 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ... |
| 3485 | * armobsd-tdep.c (armobsd_init_abi): ... here ... |
| 3486 | * arm-wince-tdep.c (arm_wince_init_abi): ... and here. |
| 3487 | |
| 3488 | * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer |
| 3489 | allow defines to be overriden by TM file. |
| 3490 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise. Also, |
| 3491 | change default to {0xbe,0xbe}. |
| 3492 | * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint, |
| 3493 | arm_obsd_thumb_be_breakpoint): New global variables. |
| 3494 | (armobsd_init_abi): Override tdep->thumb_breakpoint and |
| 3495 | tdep->thumb_breakpoint_size. |
| 3496 | * arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable. |
| 3497 | (arm_wince_init_abi): Override tdep->thumb_breakpoint and |
| 3498 | tdep->thumb_breakpoint_size. |
| 3499 | |
| 3500 | * arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code. |
| 3501 | |
| 3502 | 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
| 3503 | |
| 3504 | * NEWS: Mention removed "set mips stack-arg-size" and "set mips |
| 3505 | saved-gpreg-size". |
| 3506 | |
| 3507 | * mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants. |
| 3508 | (size_auto, size_32, size_64, size_enums, mips_abi_regsize_string) |
| 3509 | (mips_stack_argsize_string, mips_stack_argsize): Delete. |
| 3510 | (mips_abi_regsize): Simplify. |
| 3511 | (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) |
| 3512 | (mips_n32n64_return_value, mips_o32_push_dummy_call) |
| 3513 | (mips_o32_return_value, mips_o64_push_dummy_call) |
| 3514 | (mips_o64_return_value): Propogate constant register sizes. Use the |
| 3515 | ABI register size instead of mips_stack_argsize. |
| 3516 | (mips_dump_tdep): Don't print mips_stack_argsize. |
| 3517 | (_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size |
| 3518 | settings. |
| 3519 | |
| 3520 | 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
| 3521 | |
| 3522 | * config/mips/linux.mt (DEPRECATED_TM_FILE): Delete. |
| 3523 | * config/mips/tm-linux.h: Delete. |
| 3524 | * mips-linux-tdep.c (mips_svr4_so_ops): New. |
| 3525 | (mips_linux_in_dynsym_resolve_code): Make static. Use |
| 3526 | svr4_in_dynsym_resolve_code. |
| 3527 | (mips_linux_init_abi): Initialize mips_svr4_so_ops. Call |
| 3528 | set_solib_ops. |
| 3529 | * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make |
| 3530 | global. |
| 3531 | * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare. |
| 3532 | * Makefile.in (mips-linux-tdep.o): Update. |
| 3533 | * solib.c (set_solib_ops): New. |
| 3534 | (current_target_so_ops): Update comment. |
| 3535 | * solib.h (set_solib_ops): New prototype. |
| 3536 | |
| 3537 | 2007-05-16 Chris Dearman <chris@mips.com> |
| 3538 | |
| 3539 | * printcmd.c (do_examine): Fix typos in a comment. |
| 3540 | |
| 3541 | 2007-05-16 Richard Sandiford <richard@codesourcery.com> |
| 3542 | |
| 3543 | * configure.ac: Allow sysroots to be relocated under $prefix as |
| 3544 | well as $exec_prefix. |
| 3545 | * configure: Regenerate. |
| 3546 | |
| 3547 | 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com> |
| 3548 | |
| 3549 | * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>. |
| 3550 | (offsetof): Do not define. |
| 3551 | (find_stub_with_shl_get): Use numerical value 3 instead of |
| 3552 | symbolic value TYPE_PROCEDURE. |
| 3553 | |
| 3554 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
| 3555 | |
| 3556 | * gdb_proc_service.h (paddr_t): Delete typedef. |
| 3557 | * proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New. |
| 3558 | (ps_xfer_memory): Take a psaddr_t. Use ps_addr_to_core_addr. |
| 3559 | (ps_pglobal_lookup): Take a psaddr_t *. Use core_addr_to_ps_addr. |
| 3560 | (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t. |
| 3561 | * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t. |
| 3562 | * Makefile.in (proc-service.o): Update. |
| 3563 | |
| 3564 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
| 3565 | |
| 3566 | * Makefile.in (mips-tdep.o): Update. |
| 3567 | * mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI |
| 3568 | unwinder. |
| 3569 | |
| 3570 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
| 3571 | |
| 3572 | * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long |
| 3573 | instead of store_typed_address. |
| 3574 | * value.c (pack_long): New. |
| 3575 | (value_from_longest): Use it. |
| 3576 | * value.h (pack_long): New prototype. |
| 3577 | |
| 3578 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
| 3579 | |
| 3580 | * dwarf2-frame.c (read_encoded_value): Correct typo. Use |
| 3581 | DW_EH_PE_signed if appropriate. |
| 3582 | |
| 3583 | 2007-05-14 Paul Brook <paul@codesourcery.com> |
| 3584 | Daniel Jacobowitz <dan@codesourcery.com> |
| 3585 | |
| 3586 | * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New |
| 3587 | function. |
| 3588 | (dwarf_decode_lines): Check for line info without a file. |
| 3589 | |
| 3590 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
| 3591 | |
| 3592 | * linux-thread-db.c (thread_db_pid_to_str): Print thread IDs |
| 3593 | as hexadecimal. |
| 3594 | |
| 3595 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
| 3596 | |
| 3597 | * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of |
| 3598 | STRUCTOP_STRUCT. |
| 3599 | * jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of |
| 3600 | STRUCTOP_STRUCT. |
| 3601 | * jv-typeprint.c (java_print_type): Do not crash on NULL varstring. |
| 3602 | |
| 3603 | 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com> |
| 3604 | |
| 3605 | * gdbarch.sh (read_sp): Remove. |
| 3606 | * gdbarch.c, gdbarch.h: Regenerate. |
| 3607 | * frame.c (frame_sp_unwind): Do not call TARGET_READ_SP. |
| 3608 | |
| 3609 | * avr-tdep.c (avr_read_sp): Remove. |
| 3610 | (avr_unwind_sp): New function. |
| 3611 | (avr_gdbarch_init): Install unwind_sp instead of read_sp callback. |
| 3612 | * mips-tdep.c (mips_read_sp): Remove. |
| 3613 | (mips_unwind_sp): New function. |
| 3614 | (mips_gdbarch_init): Install unwind_sp instead of read_sp callback. |
| 3615 | * score-tdep.c (score_read_unsigned_register): Remove. |
| 3616 | (score_read_sp): Remove. |
| 3617 | (score_unwind_sp): New function. |
| 3618 | (score_gdbarch_init): Install unwind_sp instead of read_sp callback. |
| 3619 | |
| 3620 | 2007-05-14 Maxim Grigoriev <maxim2405@gmail.com> |
| 3621 | |
| 3622 | * buildsym.c (start_subfile): Handle absolute pathnames |
| 3623 | while comparing subfile names. |
| 3624 | |
| 3625 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
| 3626 | |
| 3627 | * hppa-hpux-tdep.c: Include "regcache.h". |
| 3628 | * hppa-linux-tdep.c: Likewise. |
| 3629 | * hppa-tdep.c: Include "gdb_stdint.h". |
| 3630 | (find_unwind_entry): Cast host pointer to uintptr_t before passing |
| 3631 | it to paddr_nz. |
| 3632 | * Makefile.in: Update dependencies. |
| 3633 | |
| 3634 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
| 3635 | |
| 3636 | * blockframe.c: Remove obsolete comments. |
| 3637 | * alpha-nat.c (fetch_osf_core_registers): Update comment. |
| 3638 | * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment. |
| 3639 | * hppa-tdep.h (enum hppa_regnum): Likewise. |
| 3640 | * mips-tdep.h: Likewise. |
| 3641 | * m68hc11-tdep.c: Likewise. |
| 3642 | |
| 3643 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
| 3644 | |
| 3645 | * inferior.h (read_sp): Remove prototype. |
| 3646 | * regcache.c (read_sp): Remove. |
| 3647 | * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp. |
| 3648 | * infcall.c (call_function_by_hand): Likewise. |
| 3649 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead |
| 3650 | of calling read_sp. |
| 3651 | * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. |
| 3652 | |
| 3653 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
| 3654 | |
| 3655 | * i386-linux-nat.c (i386_linux_resume): Use regcache functions |
| 3656 | instead of read_register and read_register_pid. |
| 3657 | |
| 3658 | * ia64-linux-nat.c (enable_watchpoints_in_psr): Use REGCACHE |
| 3659 | argument instead of PTID. Use regcache functions instead of |
| 3660 | read_register_pid. |
| 3661 | (ia64_linux_insert_watchpoint): Update call. |
| 3662 | (ia64_linux_stopped_data_address): Use regcache functions |
| 3663 | instead of read_register_pid and write_register_pid. |
| 3664 | |
| 3665 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
| 3666 | |
| 3667 | * libunwind-frame.h (struct regcache): Add forward declaration. |
| 3668 | (libunwind_get_reg_special): Add REGCACHE argument. |
| 3669 | * libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE |
| 3670 | argument. Pass it to unw_init_remote_p. |
| 3671 | |
| 3672 | * ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to |
| 3673 | libunwind_get_reg_special. |
| 3674 | (ia64_access_reg): Remove "write" case. |
| 3675 | (ia64_access_fpreg): Likewise. Read from next_frame passed |
| 3676 | as callback argument instead of from current_regcache. |
| 3677 | (ia64_access_rse_reg): Remove "write" case. Read from regcache |
| 3678 | passed as callback argument instead of from current_regcache. |
| 3679 | (ia64_access_rse_fpreg): New function. |
| 3680 | (ia64_unw_rse_acce): Use it instead of ia64_access_fpreg. |
| 3681 | |
| 3682 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
| 3683 | |
| 3684 | * NEWS: Mention SPU overlay support. |
| 3685 | |
| 3686 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
| 3687 | |
| 3688 | * spu-tdep.c (spu_frame_unwind_cache): Add comment. |
| 3689 | |
| 3690 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
| 3691 | |
| 3692 | * breakpoint.c (remove_breakpoint): Do not remove software |
| 3693 | breakpoints in unmapped overlay sections. |
| 3694 | |
| 3695 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
| 3696 | |
| 3697 | * spu-tdep.c: Include "observer.h". |
| 3698 | (spu_frame_unwind_cache): Unwind PC through overlay return stubs. |
| 3699 | (spu_overlay_data): New variable. |
| 3700 | (struct spu_overlay_table): New type. |
| 3701 | (spu_get_overlay_table, spu_overlay_update_osect, spu_overlay_update, |
| 3702 | spu_overlay_new_objfile): New functions. |
| 3703 | (spu_gdbarch_init): Install spu_overlay_update. |
| 3704 | (_initialize_spu_tdep): Register spu_overlay_new_objfile, |
| 3705 | allocate spu_overlay_data objfile data. |
| 3706 | |
| 3707 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
| 3708 | |
| 3709 | * gdbarch.sh (overlay_update): New gdbarch function. |
| 3710 | (struct obj_section): Add forward declaration. |
| 3711 | * gdbarch.c, gdbarch.h: Regenerate. |
| 3712 | |
| 3713 | * symfile.c (simple_overlay_update): Make global. |
| 3714 | (target_overlay_update): Remove variable. |
| 3715 | (overlay_is_mapped): Call gdbarch_overlay_update instead of |
| 3716 | target_overlay_update. |
| 3717 | (overlay_load_command): Likewise. |
| 3718 | * symfile.h (struct obj_section): Add forward declaration. |
| 3719 | (simple_overlay_update): Add prototype. |
| 3720 | |
| 3721 | * m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update. |
| 3722 | |
| 3723 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
| 3724 | |
| 3725 | * observer.sh: Add "struct objfile" forward declaration. |
| 3726 | * target.h (deprecated_target_new_objfile_hook): Remove. |
| 3727 | * symfile.c (deprecated_target_new_objfile_hook): Remove. |
| 3728 | (clear_symtab_users): Call observer_notify_new_objfile. |
| 3729 | (symbol_file_add_with_addrs_or_offsets): Likewise. |
| 3730 | * rs6000-nat.c: Include "observer.h". |
| 3731 | (vmap_ldinfo): Call observer_notify_new_objfile. |
| 3732 | (xcoff_relocate_core): Likewise. |
| 3733 | * remote.c (remote_new_objfile_chain): Remove. |
| 3734 | (remote_new_objfile): Do not call remote_new_objfile_chain. |
| 3735 | (_initialize_remote): Use observer_attach_new_objfile. |
| 3736 | * tui/tui-hooks.c (tui_target_new_objfile_chain): Remove. |
| 3737 | (tui_new_objfile_hook): Do not call tui_target_new_objfile_chain. |
| 3738 | (_initialize_tui_hooks): Use observer_attach_new_objfile. |
| 3739 | * aix-thread.c: Include "observer.h". |
| 3740 | (target_new_objfile_chain): Remove. |
| 3741 | (new_objfile): Do not call target_new_objfile_chain. |
| 3742 | (_initialize_aix_thread): Use observer_attach_new_objfile. |
| 3743 | * hpux-thread.c: Include "observer.h" |
| 3744 | (target_new_objfile_chain): Remove. |
| 3745 | (hpux_thread_new_objfile): Make static. Do not call |
| 3746 | target_new_objfile_chain. |
| 3747 | (_initialize_hpux_thread): Use observer_attach_new_objfile. |
| 3748 | * linux-thread-db.c: Include "observer.h". |
| 3749 | (target_new_objfile_chain): Remove. |
| 3750 | (thread_db_new_objfile): Do not call target_new_objfile_chain. |
| 3751 | (_initialize_thread_db): Use observer_attach_new_objfile. |
| 3752 | * sol-thread.c: Include "observer.h". |
| 3753 | (target_new_objfile_chain): Remove. |
| 3754 | (sol_thread_new_objfile): Make static. Do not call |
| 3755 | target_new_objfile_chain. |
| 3756 | (_initialize_sol_thread): Use observer_attach_new_objfile. |
| 3757 | * Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o, |
| 3758 | rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on |
| 3759 | $(observer_h). |
| 3760 | |
| 3761 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
| 3762 | |
| 3763 | * gdbarch.sh (remote_translate_xfer_address): Remove. |
| 3764 | * gdbarch.h, gdbarch.c: Regenerate. |
| 3765 | * arch-utils.c (generic_remote_translate_xfer_address): Remove. |
| 3766 | * arch-utils.h (generic_remote_translate_xfer_address): Remove. |
| 3767 | * remote.c (remote_write_bytes_aux, remote_read_bytes): Do not |
| 3768 | call gdbarch_remote_translate_xfer_address. |
| 3769 | * frv-tdep.c (frv_gdbarch_init): Do not call |
| 3770 | set_gdbarch_remote_translate_xfer_address. |
| 3771 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Remove. |
| 3772 | (ia64_gdbarch_init): Do not install it. |
| 3773 | |
| 3774 | 2007-05-11 Bob Wilson <bob.wilson@acm.org> |
| 3775 | |
| 3776 | * NEWS: Mention change in handling the -tui option. |
| 3777 | |
| 3778 | 2007-05-11 Daniel Jacobowitz <dan@codesourcery.com> |
| 3779 | |
| 3780 | * linux-thread-db.c (enable_thread_event_reporting): Fix comment |
| 3781 | typo. |
| 3782 | |
| 3783 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
| 3784 | |
| 3785 | * breakpoint.c (single_step_breakpoint_inserted_here_p): New function. |
| 3786 | (breakpoint_inserted_here_p): Call it. |
| 3787 | (software_breakpoint_inserted_here_p): Likewise. |
| 3788 | |
| 3789 | 2007-05-10 Ulrich Weigand <uweigand@de.ibm.com> |
| 3790 | |
| 3791 | * inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list. |
| 3792 | (inf_ptrace_fetch_register): Add register_u_offset callback parameters |
| 3793 | GDBARCH and STORE_P. Handle callback (CORE_ADDR) -1 return value. |
| 3794 | (inf_ptrace_store_register): Likewise. |
| 3795 | (inf_ptrace_trad_target): Adapt register_u_offset parameter list. |
| 3796 | * inf-ptrace.h (inf_ptrace_trad_target): Likewise. |
| 3797 | |
| 3798 | * vax-nat.c (vax_register_u_offset): Adapt parameter list. |
| 3799 | |
| 3800 | * linux-nat.c (linux_trad_target): Adapt parameter list. |
| 3801 | * linux-nat.h (linux_trad_target): Likewise. |
| 3802 | |
| 3803 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Adapt parameters. |
| 3804 | |
| 3805 | * mips-linux-nat.c (mips_linux_cannot_fetch_register): Remove. |
| 3806 | (mips_linux_cannot_store_register): Likewise. |
| 3807 | (mips_linux_register_addr): Add GDBARCH and STORE_P parameters. |
| 3808 | Return (CORE_ADDR) -1 for registers that cannot be fetched or |
| 3809 | stored via ptrace. Use GDBARCH instead of current_gdbarch. |
| 3810 | (mips64_linux_register_addr): Likewise. |
| 3811 | (mips_linux_register_u_offset): Adapt parameter list. Pass |
| 3812 | GDBARCH and STORE_P on to mips{64}_linux_register_addr. |
| 3813 | |
| 3814 | * config/mips/linux.mh (NAT_FILE): Set to config/nm-linux.h. |
| 3815 | * config/mips/nm-linux.h: Delete file. |
| 3816 | |
| 3817 | 2007-05-10 Pedro Alves <pedro_alves@portugalmail.pt> |
| 3818 | |
| 3819 | * remote.c (remote_detach): Error out if remote can't detach. |
| 3820 | |
| 3821 | 2007-05-10 Luis Machado <luisgpm@br.ibm.com> |
| 3822 | |
| 3823 | * rs6000-tdep.c: (deal_with_atomic_sequence) Stores branch |
| 3824 | instruction's opcode in the "opcode" variable and declares new |
| 3825 | variable "closing_insn". |
| 3826 | |
| 3827 | 2007-05-10 Chris Dearman <chris@mips.com> |
| 3828 | Maciej W. Rozycki <macro@mips.com> |
| 3829 | |
| 3830 | * cli/cli-setshow.c (do_setshow_command): Remove trailing |
| 3831 | whitespace when setting a var_filename. |
| 3832 | |
| 3833 | 2007-05-09 Bob Wilson <bob.wilson@acm.org> |
| 3834 | |
| 3835 | * main.c (captured_main): Recognize -tui option and print an error |
| 3836 | message when the TUI is not configured. |
| 3837 | |
| 3838 | 2007-05-09 Andreas Schwab <schwab@suse.de> |
| 3839 | |
| 3840 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't |
| 3841 | set removed members. |
| 3842 | (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. |
| 3843 | |
| 3844 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
| 3845 | |
| 3846 | * gdbarch.sh (deprecated_store_struct_return): Remove. |
| 3847 | * gdbarch.c, gdbarch.h: Regenerate. |
| 3848 | * frv-tdep.c (frv_store_struct_return): Remove. |
| 3849 | (frv_gdbarch_init): Do not install it. |
| 3850 | |
| 3851 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
| 3852 | |
| 3853 | * config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define. |
| 3854 | * config/mips/nm-irix5.h (USE_PROC_FS): Do not define. |
| 3855 | * config/nm-linux.h (USE_PROC_FS): Do not undefine. |
| 3856 | |
| 3857 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
| 3858 | |
| 3859 | * spu-linux-nat.c: Include "gdb_stdint.h". |
| 3860 | (fetch_ppc_register): Use uint64_t instead of unsigned long long. |
| 3861 | (fetch_ppc_memory_1, store_ppc_memory_1): Likewise. |
| 3862 | (fetch_ppc_memory, store_ppc_memory): Fix coding style. |
| 3863 | (spu_symbol_file_add_from_memory): Use strtoulst instead of sscanf. |
| 3864 | (spu_child_wait): Mark up string for translation. |
| 3865 | |
| 3866 | 2007-05-08 Paul Gilliam <pgilliam@us.ibm.com> |
| 3867 | Luis Machado <luisgpm@br.ibm.com> |
| 3868 | |
| 3869 | * rs6000-tdep.c: (LWARX_MASK, LWARX_INSTRUCTION, LDARX_INSTRUCTION, |
| 3870 | STWCX_MASK, STWCX_INSTRUCTION, STDCX_INSTRUCTION, BC_MASK, |
| 3871 | BC_INSTRUCTION): Define. |
| 3872 | (deal_with_atomic_sequence): New function. |
| 3873 | (rs6000_software_single_step): Call deal_with_atomic_sequence. |
| 3874 | (rs6000_gdbarch_init): Install deal_with_atomic_sequence as |
| 3875 | gdbarch_software_single_step routine. |
| 3876 | |
| 3877 | 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com> |
| 3878 | |
| 3879 | * spu-linux-nat.c (fetch_ppc_register, fetch_ppc_memory_1, |
| 3880 | store_ppc_memory_1, fetch_ppc_memory, store_ppc_memory, |
| 3881 | parse_spufs_run, spu_bfd_iovec_pread, spu_bfd_open, |
| 3882 | spu_symbol_file_add_from_memory, spu_child_post_startup_inferior, |
| 3883 | spu_child_post_attach, spu_fetch_inferior_registers, |
| 3884 | spu_store_inferior_registers, spu_xfer_partial): Store PPE-side |
| 3885 | memory addresses as ULONGEST, not CORE_ADDR. |
| 3886 | |
| 3887 | 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com> |
| 3888 | |
| 3889 | * gdbarch.sh: Add skip_permanent_breakpoint callback. |
| 3890 | * gdbarch.h, gdbarch.c: Regenerate. |
| 3891 | |
| 3892 | * infrun.c (SKIP_PERMANENT_BREAKPOINT): Remove default definition. |
| 3893 | (resume): Call gdbarch_skip_permanent_breakpoint instead of |
| 3894 | SKIP_PERMANENT_BREAKPOINT. Inline default case. |
| 3895 | |
| 3896 | * hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): Make static. |
| 3897 | Add REGCACHE argument. Use it instead of read/write_register. |
| 3898 | (hppa_hpux_init_abi): Install hppa_skip_permanent_breakpoint. |
| 3899 | |
| 3900 | * config/pa/tm-hppah.h: Delete file. |
| 3901 | * config/pa/hppa64.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h. |
| 3902 | * config/pa/hppahpux.mt (DEPRECATED_TM_FILE): Likewise. |
| 3903 | |
| 3904 | 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com> |
| 3905 | |
| 3906 | * Makefile.in (c-lang.o, gnu-v3-abi.o): Update. |
| 3907 | * NEWS: Mention improved C++ thunk support. |
| 3908 | * c-lang.c (cplus_language_defn): Mention cplus_skip_trampoline. |
| 3909 | * cp-abi.c (cplus_skip_trampoline): New. |
| 3910 | * cp-abi.h (cplus_skip_trampoline): New prototype. |
| 3911 | (struct cp_abi_ops): Add skip_trampoline member. |
| 3912 | * gnu-v3-abi.c (gnuv3_skip_trampoline): New. |
| 3913 | (init_gnuv3_ops): Set skip_trampoline. |
| 3914 | |
| 3915 | 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com> |
| 3916 | |
| 3917 | * rs6000-tdep.c (struct frame_extra_info): Delete. |
| 3918 | |
| 3919 | 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com> |
| 3920 | |
| 3921 | * linux-thread-db.c: Update some FIXME comments. |
| 3922 | (thread_db_xfer_partial): Delete. |
| 3923 | (init_thread_db_ops): Do not set to_xfer_partial. |
| 3924 | |
| 3925 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 3926 | |
| 3927 | * inftarg.c, infptrace.c: Remove files. |
| 3928 | * Makefile.in (ALLDEPFILES): Remove inftarg.c and infptrace.c |
| 3929 | (inftarg.o, infptrace.o): Remove rules. |
| 3930 | * gdbcore.h (register_addr): Remove prototype. |
| 3931 | * inferior.h (kill_inferior, store_inferior_registers, |
| 3932 | fetch_inferior_registers, attach, detach, ptrace_wait, child_resume, |
| 3933 | call_ptrace, pre_fork_inferior): Remove prototypes. |
| 3934 | * target.h (child_xfer_memory, child_pid_to_exec_file, |
| 3935 | child_core_file_to_sym_file, child_post_attach, |
| 3936 | child_post_startup_inferior, child_acknowledge_created_inferior, |
| 3937 | child_insert_fork_catchpoint, child_remove_fork_catchpoint, |
| 3938 | child_insert_vfork_catchpoint, child_remove_vfork_catchpoint, |
| 3939 | child_insert_exec_catchpoint, child_remove_exec_catchpoint, |
| 3940 | child_follow_fork, child_reported_exec_events_per_exec_call, |
| 3941 | child_has_exited, child_thread_alive): Remove prototypes. |
| 3942 | |
| 3943 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 3944 | |
| 3945 | * sparc-nat.h (sparc_fetch_inferior_registers): Add prototype. |
| 3946 | (sparc_store_inferior_registers): Likewise. |
| 3947 | * sparc-nat.c (fetch_inferior_registers): Rename to ... |
| 3948 | (sparc_fetch_inferior_registers): ... this. |
| 3949 | (store_inferior_registers): Rename to ... |
| 3950 | (sparc_store_inferior_registers): ... this. |
| 3951 | (sparc_target): Update callback names. |
| 3952 | * sparc-linux.nat.c (_initialize_sparc_linux_nat): Likewise. |
| 3953 | * sparc64-linux.nat.c (_initialize_sparc64_linux_nat): Likewise. |
| 3954 | |
| 3955 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 3956 | |
| 3957 | * linux-nat.c (child_post_attach): Rename to ... |
| 3958 | (linux_child_post_attach): ... this. Make static. |
| 3959 | (child_follow_fork): Rename to ... |
| 3960 | (linux_child_follow_fork): ... this. Make static. |
| 3961 | (child_insert_fork_catchpoint): Rename to ... |
| 3962 | (linux_child_insert_fork_catchpoint): ... this. Make static. |
| 3963 | (child_insert_vfork_catchpoint): Rename to ... |
| 3964 | (linux_child_insert_vfork_catchpoint): ... this. Make static. |
| 3965 | (child_insert_exec_catchpoint): Rename to ... |
| 3966 | (linux_child_insert_exec_catchpoint): ... this. Make static. |
| 3967 | (child_pid_to_exec_file): Rename to ... |
| 3968 | (linux_child_pid_to_exec_file): ... this. Make static. |
| 3969 | Add prototype. |
| 3970 | (linux_handle_extended_wait): Update call. |
| 3971 | (linux_xfer_partial): Update callback routine names. |
| 3972 | |
| 3973 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 3974 | |
| 3975 | * configure.host (alpha*-*-osf[12]*): Remove support. |
| 3976 | * NEWS: Mention removed configurations. |
| 3977 | |
| 3978 | * config/alpha/alpha-osf1.mh: Delete file. |
| 3979 | * config/alpha/alpha-osf2.mh: Delete file. |
| 3980 | * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove inftarg.o |
| 3981 | and infptrace.o. |
| 3982 | * config/alpha/nm-osf.h: Delete file. |
| 3983 | * config/alpha/nm-osf2.h: Delete file. |
| 3984 | * config/alpha/nm-osf3.h: Do not include "nm-osf2.h". |
| 3985 | (START_INFERIOR_TRAPS_EXPECTED): Copy from nm-osf.h. |
| 3986 | (PROCFS_DONT_TRACE_FAULTS): Copy from nm-osf2.h. |
| 3987 | |
| 3988 | * alpha-nat.c (ALPHA_UNIQUE_PTRACE_ADDR): Do not define. |
| 3989 | (register_addr, kernel_u_size): Remove. |
| 3990 | Do not check for "defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)". |
| 3991 | |
| 3992 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 3993 | |
| 3994 | * regcache.c (regcache_invalidate): New function. |
| 3995 | (register_cached): Remove. |
| 3996 | (set_register_cached): Remove. |
| 3997 | (deprecated_registers_fetched): Remove. |
| 3998 | (registers_changed): Use regcache_invalidate instead |
| 3999 | of set_register_cached. |
| 4000 | (regcache_raw_read): Update comment. |
| 4001 | |
| 4002 | * regcache.h (regcache_invalidate): Add prototype. |
| 4003 | (register_cached): Remove. |
| 4004 | (set_register_cached): Remove. |
| 4005 | (deprecated_registers_fetched): Remove. |
| 4006 | |
| 4007 | * findvar.c (value_of_register): Do not call register_cached. |
| 4008 | * frame.c (frame_register): Likewise. |
| 4009 | * tui/tui-regs.c (tui_get_register): Likewise. |
| 4010 | |
| 4011 | * remote.c (fetch_register_using_p): Do not call set_register_cached. |
| 4012 | (process_g_packet): Likewise. |
| 4013 | (remote_fetch_registers): Likewise. |
| 4014 | * remote-sim.c (gdbsim_fetch_register): Likewise. |
| 4015 | * mt-tdep.c (mt_select_coprocessor): Replace set_register_cached call |
| 4016 | by regcache_invalidate. |
| 4017 | (mt_pseudo_register_write): Likewise. |
| 4018 | * sh-tdep.c (sh_pseudo_register_write): Likewise. |
| 4019 | |
| 4020 | * corelow.c (get_core_registers): Replace deprecated_registers_fetched |
| 4021 | call by loop over regcache_raw_supply (..., NULL). |
| 4022 | |
| 4023 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 4024 | |
| 4025 | * target.h (struct target_ops): Add REGCACHE parameter to |
| 4026 | to_prepare_to_store. |
| 4027 | (target_prepare_to_store): Likewise. |
| 4028 | * target.c (debug_to_prepare_to_store): Add REGCACHE parameter. |
| 4029 | (update_current_target): Adapt prepare_to_store de_fault rule. |
| 4030 | |
| 4031 | * regcache.c (regcache_raw_write): Pass regcache to |
| 4032 | target_prepare_to_store. |
| 4033 | |
| 4034 | * inftarg.c (child_prepare_to_store): Add REGCACHE parameter. |
| 4035 | Do not call CHILD_PREPARE_TO_STORE. |
| 4036 | * gnu-nat.c (gnu_prepare_to_store): Likewise. |
| 4037 | * procfs.c (procfs_prepare_to_store): Likewise. |
| 4038 | |
| 4039 | * inf-child.c (inf_child_prepare_to_store): Add REGCACHE parameter. |
| 4040 | * go32-nat.c (go32_prepare_to_store): Likewise. |
| 4041 | * monitor.c (monitor_prepare_to_store): Likewise. |
| 4042 | * nto-procfs.c (procfs_prepare_to_store): Likewise. |
| 4043 | * remote-m32r-sdi.c (m32r_prepare_to_store): Likewise. |
| 4044 | * remote-mips.c (mips_prepare_to_store): Likewise. |
| 4045 | * remote-sim.c (gdbsim_prepare_to_store): Likewise. |
| 4046 | * win32-nat.c (win32_prepare_to_store): Likewise. |
| 4047 | |
| 4048 | * remote.c (remote_prepare_to_store): Add REGCACHE parameter. |
| 4049 | Use it instead of current_regcache. |
| 4050 | |
| 4051 | * hpux-thread.c (hpux_thread_prepare_to_store): Add REGCACHE |
| 4052 | parameter. Pass it on to next target. |
| 4053 | * sol-thread.c (sol_thread_prepare_to_store): Likewise. |
| 4054 | |
| 4055 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 4056 | |
| 4057 | * target.h (struct regcache): Add forward declaration. |
| 4058 | (struct target_ops): Add REGCACHE parameter to to_fetch_registers |
| 4059 | and to_store_registers target operations. |
| 4060 | (target_fetch_registers, target_store_registers): Update. |
| 4061 | |
| 4062 | * regcache.c (regcache_raw_read): Replace register_cached by |
| 4063 | regcache_valid_p. Pass regcache to target_fetch_registers. |
| 4064 | (regcache_raw_write): Pass regcache to target_store_registers. |
| 4065 | |
| 4066 | * arm-linux-nat.c (store_fpregister, store_fpregs, store_register, |
| 4067 | store_regs, store_wmmx_regs): Replace register_cached by |
| 4068 | regcache_valid_p. |
| 4069 | |
| 4070 | * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd): Pass current_regcache |
| 4071 | to target_fetch_registers calls. |
| 4072 | * corelow.c (core_open): Likewise. |
| 4073 | * linux-nat.c (linux_nat_corefile_thread_callback): Likewise. |
| 4074 | * proc-service.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs, |
| 4075 | ps_lsetfpregs): Likewise. |
| 4076 | * sol-thread.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs, |
| 4077 | ps_lsetfpregs): Likewise. |
| 4078 | * win32-nat.c (win32_resume): Likewise. |
| 4079 | * ia64-tdep.c (ia64_store_return_value): Pass current_regcache |
| 4080 | to target_store_registers call. |
| 4081 | * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. |
| 4082 | |
| 4083 | * inferior.h (store_inferior_registers): Update prototype. |
| 4084 | (fetch_inferior_registers): Likewise. |
| 4085 | * gnu-nat.c (gnu_store_registers, gnu_fetch_registers): Likewise. |
| 4086 | * mips-linux-nat.c (super_fetch_registers, super_store_registers): |
| 4087 | Update function pointer signatures. |
| 4088 | |
| 4089 | * aix-thread.c (aix_thread_fetch_registers): Add REGCACHE parameter, |
| 4090 | use it instead of current_regcache, update calls. |
| 4091 | (aix_thread_store_registers): Likewise. |
| 4092 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers): Likewise. |
| 4093 | (alphabsd_store_inferior_registers): Likewise. |
| 4094 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Likewise. |
| 4095 | (amd64bsd_store_inferior_registers): Likewise. |
| 4096 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Likewise. |
| 4097 | (amd64_linux_store_inferior_registers): Likewise. |
| 4098 | * arm-linux-nat.c (fetch_fpregister, fetch_fpregs, store_fpregister, |
| 4099 | store_fpregs, fetch_register, fetch_regs, store_register, store_regs, |
| 4100 | fetch_wmmx_regs, store_wmmx_regs): Likewise. |
| 4101 | (arm_linux_fetch_inferior_registers): Likewise. |
| 4102 | (arm_linux_store_inferior_registers): Likewise. |
| 4103 | * armnbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register, |
| 4104 | fetch_fp_regs, armnbsd_fetch_registers): Likewise. |
| 4105 | (store_register, store_regs, store_fp_register, store_fp_regs, |
| 4106 | armnbsd_store_registers): Likewise. |
| 4107 | * bsd-kvm.c (bsd_kvm_fetch_pcb, bsd_kvm_fetch_registers): Likewise. |
| 4108 | * bsd-uthread.c (bsd_uthread_fetch_registers): Likewise. |
| 4109 | (bsd_uthread_store_registers): Likewise. |
| 4110 | * corelow.c (get_core_registers): Likewise. |
| 4111 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register, |
| 4112 | go32_store_registers): Likewise. |
| 4113 | * hppabsd-nat.c (hppabsd_fetch_registers): Likewise. |
| 4114 | (hppabsd_store_registers): Likewise. |
| 4115 | * hppa-hpux-nat.c (hppa_hpux_fetch_register): Likewise. |
| 4116 | (hppa_hpux_fetch_inferior_registers): Likewise. |
| 4117 | (hppa_hpux_store_register): Likewise. |
| 4118 | (hppa_hpux_store_inferior_registers): Likewise. |
| 4119 | * hppa-linux-nat.c (fetch_register, store_register): Likewise. |
| 4120 | (hppa_linux_fetch_inferior_registers): Likewise. |
| 4121 | (hppa_linux_store_inferior_registers): Likewise. |
| 4122 | * hpux-thread.c (hpux_thread_fetch_registers): Likewise. |
| 4123 | (hpux_thread_store_registers): Likewise. |
| 4124 | * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Likewise. |
| 4125 | (i386bsd_store_inferior_registers): Likewise. |
| 4126 | * i386gnu-nat.c (fetch_fpregs, gnu_fetch_registers, store_fpregs, |
| 4127 | gnu_store_registers): Likewise. |
| 4128 | * i386-linux-nat.c (fetch_register, store_register, fetch_regs, |
| 4129 | store_regs, fetch_fpregs, store_fpregs, fetch_fpxregs, store_fpxregs): |
| 4130 | Likewise. |
| 4131 | (i386_linux_fetch_inferior_registers): Likewise. |
| 4132 | (i386_linux_store_inferior_registers): Likewise. |
| 4133 | * ia64-linux-nat.c (ia64_linux_fetch_register): Likewise. |
| 4134 | (ia64_linux_fetch_registers): Likewise. |
| 4135 | (ia64_linux_store_register): Likewise. |
| 4136 | (ia64_linux_store_registers): Likewise. |
| 4137 | * inf-child.c (inf_child_fetch_inferior_registers): Likewise. |
| 4138 | (inf_child_store_inferior_registers): Likewise. |
| 4139 | * inf-ptrace.c (inf_ptrace_fetch_register): Likewise. |
| 4140 | (inf_ptrace_fetch_registers): Likewise. |
| 4141 | (inf_ptrace_store_register): Likewise. |
| 4142 | (inf_ptrace_store_registers): Likewise. |
| 4143 | * infptrace.c (fetch_register, store_register): Likewise. |
| 4144 | (fetch_inferior_registers, store_inferior_registers): Likewise. |
| 4145 | * m32r-linux-nat.c (fetch_regs, store_regs): Likewise. |
| 4146 | (m32r_linux_fetch_inferior_registers): Likewise. |
| 4147 | (m32r_linux_store_inferior_registers): Likewise. |
| 4148 | * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Likewise. |
| 4149 | (m68kbsd_store_inferior_registers): Likewise. |
| 4150 | * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers, |
| 4151 | store_register, old_store_inferior_registers, fetch_regs, store_regs, |
| 4152 | fetch_fpregs, store_fpregs): Likewise. |
| 4153 | (m68k_linux_fetch_inferior_registers): Likewise. |
| 4154 | (m68k_linux_store_inferior_registers): Likewise. |
| 4155 | * m88kbsd-nat.c (m88kbsd_fetch_inferior_registers): Likewise. |
| 4156 | (m88kbsd_store_inferior_registers): Likewise. |
| 4157 | * mips64obsd-nat.c (mips64obsd_fetch_inferior_registers): Likewise. |
| 4158 | (mips64obsd_store_inferior_registers): Likewise. |
| 4159 | * mips-linux-nat.c (mips64_linux_regsets_fetch_registers): Likewise. |
| 4160 | (mips64_linux_regsets_store_registers): Likewise. |
| 4161 | (mips64_linux_fetch_registers): Likewise. |
| 4162 | (mips64_linux_store_registers): Likewise. |
| 4163 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers): Likewise. |
| 4164 | (mipsnbsd_store_inferior_registers): Likewise. |
| 4165 | * monitor.c (monitor_fetch_register, monitor_store_register): Likewise. |
| 4166 | (monitor_fetch_registers, monitor_store_registers): Likewise. |
| 4167 | * nto-procfs.c (procfs_fetch_registers): Likewise. |
| 4168 | (procfs_store_registers): Likewise. |
| 4169 | * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register, |
| 4170 | fetch_register, supply_vrregset, fetch_altivec_registers, |
| 4171 | fetch_ppc_registers, ppc_linux_fetch_inferior_registers): Likewise. |
| 4172 | (store_altivec_register, store_spe_register, store_register, |
| 4173 | fill_vrregset, store_altivec_registers, store_ppc_registers, |
| 4174 | ppc_linux_store_inferior_registers): Likewise. |
| 4175 | * ppcnbsd-nat.c (ppcnbsd_fetch_inferior_registers): Likewise. |
| 4176 | (ppcnbsd_store_inferior_registers): Likewise. |
| 4177 | * ppcobsd-nat.c (ppcobsd_fetch_registers): Likewise. |
| 4178 | (ppcobsd_store_registers): Likewise. |
| 4179 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. |
| 4180 | * remote.c (fetch_register_using_p, process_g_packet, |
| 4181 | fetch_registers_using_g, remote_fetch_registers): Likewise. |
| 4182 | (store_register_using_P, store_registers_using_G, |
| 4183 | remote_store_registers): Likewise. |
| 4184 | * remote-m32r-sdi.c (m32r_fetch_registers, m32r_fetch_register, |
| 4185 | m32r_store_register, m32r_store_register): Likewise. |
| 4186 | * remote-mips.c (mips_fetch_registers, mips_store_registers): Likewise. |
| 4187 | * remote-sim.c (gdbsim_fetch_register): Likewise. |
| 4188 | (gdbsim_store_register): Likewise. |
| 4189 | * rs6000-nat.c (fetch_register, store_register): Likewise. |
| 4190 | (rs6000_fetch_inferior_registers): Likewise. |
| 4191 | (rs6000_store_inferior_registers): Likewise. |
| 4192 | * s390-nat.c (fetch_regs, store_regs): Likewise. |
| 4193 | (fetch_fpregs, store_fpregs): Likewise. |
| 4194 | (s390_linux_fetch_inferior_registers): Likewise. |
| 4195 | (s390_linux_store_inferior_registers): Likewise. |
| 4196 | * shnbsd-nat.c (shnbsd_fetch_inferior_registers): Likewise. |
| 4197 | (shnbsd_store_inferior_registers): Likewise. |
| 4198 | * sol-thread.c (sol_thread_fetch_registers): Likewise. |
| 4199 | (sol_thread_store_registers): Likewise. |
| 4200 | * sparc-nat.c (fetch_inferior_registers): Likewise. |
| 4201 | (store_inferior_registers): Likewise. |
| 4202 | * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise. |
| 4203 | (spu_store_inferior_registers): Likewise. |
| 4204 | * target.c (debug_print_register): Likewise. |
| 4205 | (debug_to_fetch_registers, debug_to_store_registers): Likewise. |
| 4206 | * vaxbsd-nat.c (vaxbsd_fetch_inferior_registers): Likewise. |
| 4207 | (vaxbsd_store_inferior_registers): Likewise. |
| 4208 | * win32-nat.c (do_win32_fetch_inferior_registers): Likewise. |
| 4209 | (win32_fetch_inferior_registers): Likewise. |
| 4210 | (win32_store_inferior_registers): Likewise. |
| 4211 | |
| 4212 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 4213 | |
| 4214 | * gdbcore.h (struct regcache): Add forward declaration. |
| 4215 | (struct core_fns): Add REGCACHE argument to core_read_registers |
| 4216 | callback. |
| 4217 | * corelow.c (get_core_register_section): Add REGCACHE argument, |
| 4218 | use it instead of current_regcache, pass it to core_read_registers |
| 4219 | callback. |
| 4220 | (get_core_registers): Add current_regcache as parameter to |
| 4221 | get_core_register_section calls. |
| 4222 | |
| 4223 | * alpha-nat.c (fetch_osf_core_registers): Add REGCACHE argument, |
| 4224 | use it instead of current_regcache. |
| 4225 | * armnbsd-nat.c (fetch_core_registers): Likewise. |
| 4226 | (fetch_elfcore_registers): Likewise. |
| 4227 | * core-regset.c (fetch_core_registers): Likewise. |
| 4228 | * cris-tdep.c (fetch_core_registers): Likewise. |
| 4229 | * irix5-nat.c (fetch_core_registers): Likewise. |
| 4230 | * m68klinux-nat.c (fetch_core_registers): Likewise. |
| 4231 | * mips-linux-tdep.c (fetch_core_registers): Likewise. |
| 4232 | * win32-nat.c (fetch_elf_core_registers): Likewise. |
| 4233 | |
| 4234 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 4235 | |
| 4236 | * gregset.h (struct regcache): Add forward declaration. |
| 4237 | (supply_gregset): Add REGCACHE parameter, make GREGS const. |
| 4238 | (supply_fpregset): Add REGCACHE parameter, make FPREGS const. |
| 4239 | (supply_fpxregset): Add REGCACHE parameter, make FPXREGS const. |
| 4240 | (fill_gregset): Add REGCACHE parameter. |
| 4241 | (fill_fpregset): Likewise. |
| 4242 | (fill_fpxregset): Likewise. |
| 4243 | |
| 4244 | Update all definitions accordingly: |
| 4245 | * alphabsd-nat.c, alpha-linux-nat.c, alpha-nat.c, amd64-linux-nat.c, |
| 4246 | arm-linux-nat.c, hppa-linux-nat.c, i386gnu-nat.c, i386-linux-nat.c, |
| 4247 | i386-sol2-nat.c, i386v4-nat.c, ia64-linux-nat.c, irix5-nat.c, |
| 4248 | m32r-linux-nat.c, m68klinux-nat.c, mips-linux-nat.c, ppc-linux-nat.c, |
| 4249 | s390-nat.c, sparc64-linux-nat.c, sparc-linux-nat.c, sparc-sol2-nat.c |
| 4250 | (supply_gregset): Add REGCACHE parameter, use it instead of |
| 4251 | current_regcache. Make GREGSETP parameter const, adapt casts. |
| 4252 | (supply_fpregset): Add REGCACHE parameter, use it instead of |
| 4253 | current_regcache. Make FPREGSETP parameter const, adapt casts. |
| 4254 | (fill_gregset): Add REGCACHE parameter, use it instead of |
| 4255 | current_regcache. |
| 4256 | (fill_fpregset): Likewise. |
| 4257 | |
| 4258 | Update all callers to pass in current_regcache as the new argument: |
| 4259 | * core-regset.c: Include "regcache.h". |
| 4260 | (fetch_core_registers): Update supply_gregset,and supply_fpregset calls. |
| 4261 | * procfs.c: Include "regcache.h". |
| 4262 | (procfs_fetch_registers): Update supply_gregset, supply_fpregset calls. |
| 4263 | (procfs_store_registers): Update fill_gregset, fill_fpregset calls. |
| 4264 | (procfs_do_thread_registers): Likewise. |
| 4265 | (procfs_make_note_section): Likewise. |
| 4266 | * proc-service.c: Include "regcache.h". |
| 4267 | (ps_lgetregs): Update fill_gregset call. |
| 4268 | (ps_lsetregs): Update supply_gregset call. |
| 4269 | (ps_lgetfpregs): Update fill_fpregset call. |
| 4270 | (ps_lsetfpregs): Update supply_fpregset call. |
| 4271 | * sol-thread.c (sol_thread_fetch_registers): Update supply_gregset, |
| 4272 | supply_fpregset calls. |
| 4273 | (sol_thread_store_registers): Update fill_gregset, fill_fpregset calls. |
| 4274 | (ps_lgetregs): Update fill_gregset call. |
| 4275 | (ps_lsetregs): Update supply_gregset call. |
| 4276 | (ps_lgetfpregs): Update fill_fpregset call. |
| 4277 | (ps_lsetfpregs): Update supply_fpregset call. |
| 4278 | |
| 4279 | * linux-nat.c (linux_nat_do_thread_registers): Update fill_gregset, |
| 4280 | fill_fpregset, and fill_fpxregset calls. |
| 4281 | * i386-linux-nat.c (fetch_regs): Update supply_gregset call. |
| 4282 | (store_regs): Update fill_gregset call. |
| 4283 | (fetch_fpregs): Update supply_fpregset call. |
| 4284 | (store_fpregs): Update fill_fpregset call. |
| 4285 | (fetch_fpxregs): Update supply_fpxregset call. |
| 4286 | (store_fpxregs): Update fill_fpxregset call. |
| 4287 | * m32r-linux-nat.c (fetch_regs): Update supply_gregset call. |
| 4288 | (store_regs): Update fill_gregset call. |
| 4289 | * m68klinux-nat.c (fetch_regs): Update supply_gregset call. |
| 4290 | (store_regs): Update fill_gregset call. |
| 4291 | (fetch_fpregs): Update supply_fpregset call. |
| 4292 | (store_fpregs): Update fill_fpregset call. |
| 4293 | (fetch_core_registers): Update supply_gregset, supply_fpregset calls. |
| 4294 | * s390-nat.c (fetch_regs): Update supply_gregset call. |
| 4295 | (store_regs): Update fill_gregset call. |
| 4296 | (fetch_fpregs): Update supply_fpregset call. |
| 4297 | (store_fpregs): Update fill_fpregset call. |
| 4298 | |
| 4299 | * Makefile.in (core-regset.o, procfs.o, proc-service.o): Update |
| 4300 | dependencies. |
| 4301 | |
| 4302 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 4303 | |
| 4304 | * monitor.c (monitor_supply_register): Add REGCACHE parameter, use |
| 4305 | it instead of current_regcache. |
| 4306 | (parse_register_dump): Add REGCACHE parameter, pass it to |
| 4307 | supply_register callback. |
| 4308 | (monitor_dump_reg_block): Add REGCACHE parameter, pass it to |
| 4309 | parse_register_dump. |
| 4310 | (monitor_dump_regs): Add REGCACHE parameter, pass it to |
| 4311 | parse_register_dump and dumpregs callback. |
| 4312 | (monitor_wait): Pass current_regcache to parse_register_dump and |
| 4313 | monitor_dump_regs. |
| 4314 | (monitor_fetch_register): Pass current_regcache to |
| 4315 | monitor_supply_register. |
| 4316 | (monitor_fetch_registers): Pass current_regcache to |
| 4317 | monitor_dump_regs. |
| 4318 | * monitor.h (struct monitor_ops): Add REGCACHE parameter to |
| 4319 | supply_register and dumpregs callbacks. |
| 4320 | (monitor_supply_register, monitor_dump_reg_block): Update |
| 4321 | prototypes. |
| 4322 | * dbug-rom.c (dbug_supply_register): Add REGCACHE parameter. Pass |
| 4323 | it to monitor_supply_register. |
| 4324 | * dink32-rom.c (dink32_supply_register): Likewise. |
| 4325 | * ppcbug-rom.c (ppcbug_supply_register): Likewise. |
| 4326 | * m32r-rom.c (m32r_supply_register): Likewise. Also, use REGCACHE |
| 4327 | instead of current_regcache. |
| 4328 | |
| 4329 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 4330 | |
| 4331 | * i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset): |
| 4332 | Add REGCACHE parameter. Use it instead of current_regcache. |
| 4333 | (i386nto_supply_regset): Add REGCACHE parameter, pass it to |
| 4334 | i386nto_supply_gregset and i386nto_supply_fpregset. |
| 4335 | (i386nto_regset_fill): Add REGCACHE parameter; use it instead |
| 4336 | of current_regcache. |
| 4337 | |
| 4338 | * nto-procfs.c (procfs_fetch_registers): Pass current_regcache to |
| 4339 | nto_supply_ helper functions. |
| 4340 | (procfs_store_registers): Pass current_regcache to nto_regset_fill. |
| 4341 | |
| 4342 | * nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter. |
| 4343 | |
| 4344 | * nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to |
| 4345 | supply_greget, supply_fpregset, supply_altregset, supply_regset, |
| 4346 | and regset_fill member function pointers. |
| 4347 | (nto_dummy_supply_regset): Adapt prototype. |
| 4348 | |
| 4349 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 4350 | |
| 4351 | * shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it |
| 4352 | instead of current_regcache. Make REGS const. |
| 4353 | (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache. |
| 4354 | * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update |
| 4355 | prototypes. |
| 4356 | * shnbsd-nat.c: Include "regcache.h". |
| 4357 | (shnbsd_fetch_inferior_registers): Pass current_regcache to |
| 4358 | shnbsd_supply_reg. |
| 4359 | (shnbsd_store_inferior_registers): Pass current_regcache to |
| 4360 | shnbsd_fill_reg. |
| 4361 | * Makefile.in (shbsd-nat.o): Update dependencies. |
| 4362 | |
| 4363 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 4364 | |
| 4365 | * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter. Use it |
| 4366 | instead of current_regcache. |
| 4367 | (mips_supply_gregset): Likewise. Pass REGCACHE to supply_32bit_reg. |
| 4368 | Make GREGSETP const, remove superfluous casts. |
| 4369 | (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache. |
| 4370 | (mips_supply_fpregset): Likewise. Make FPREGSETP const, remove |
| 4371 | superfluous casts. |
| 4372 | (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache. |
| 4373 | (supply_64bit_reg): Likewise |
| 4374 | (mips64_supply_gregset): Likewise. Pass REGCACHE to supply_64bit_reg. |
| 4375 | Make GREGSETP const, adapt casts accordingly. |
| 4376 | (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache. |
| 4377 | (mips64_supply_fpregset): Likewise. Make FPREGSET const, adapt |
| 4378 | casts accordingly. |
| 4379 | (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache. |
| 4380 | (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_ |
| 4381 | helper routines. |
| 4382 | * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset, |
| 4383 | mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset, |
| 4384 | mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset): |
| 4385 | Adapt prototypes. |
| 4386 | * mips-linux-nat.c: Include "regcache.h". |
| 4387 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass |
| 4388 | current_regcache to mips{64}_(supply|fill)_ helper routines. |
| 4389 | (mips64_linux_regsets_fetch_registers): Likewise. |
| 4390 | (mips64_linux_regsets_store_registers): Likewise. |
| 4391 | |
| 4392 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add |
| 4393 | REGCACHE argument; replace current_regcache. Make REGS const. |
| 4394 | (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument; |
| 4395 | replace current_regcache. |
| 4396 | * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg, |
| 4397 | mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes. |
| 4398 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers, |
| 4399 | mipsnbsd_store_inferior_registers): Pass current_regcache to |
| 4400 | mipsnbsd_(supply|fill)_... helper routines. |
| 4401 | |
| 4402 | * Makefile.in (mips-linux-nat.o): Update dependencies. |
| 4403 | |
| 4404 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 4405 | |
| 4406 | * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove. |
| 4407 | * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes. |
| 4408 | * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace |
| 4409 | i387_fill_fsave and i387_fill_fxsave calls by inline copies. |
| 4410 | * i386-nto-tdep.c (i386nto_regset_fill): Likewise. |
| 4411 | * i386gnu-nat.c (store_fpregs): Likewise. |
| 4412 | * i386v4-nat.c (fill_fpregset): Likewise. |
| 4413 | * go32-nat.c (store_register, go32_store_registers): Likewise. |
| 4414 | |
| 4415 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 4416 | |
| 4417 | * cris-tdep.c (supply_gregset): Rename to ... |
| 4418 | (cris_supply_gregset): ... this. Add REGCACHE parameter. Use it |
| 4419 | instead of current_regcache. |
| 4420 | (fetch_core_registers): Update call. Pass current_regcache. |
| 4421 | |
| 4422 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 4423 | |
| 4424 | * arnmnbsd-nat.c (supply_gregset): Rename to ... |
| 4425 | (arm_supply_gregset): ... this. Add REGCACHE parameter. |
| 4426 | Use it instead of current_regcache. |
| 4427 | (supply_fparegset): Rename to ... |
| 4428 | (arm_supply_fparegset): ... this. Add REGCACHE parameter. |
| 4429 | Use it instead of current_regcache. |
| 4430 | (fetch_regs, fetch_fp_regs): Update calls. Pass current_regcache. |
| 4431 | (fetch_core_registers, fetch_elfcore_registers): Likewise. |
| 4432 | |
| 4433 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 4434 | |
| 4435 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs, |
| 4436 | alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter, |
| 4437 | use it instead of current_regcache. |
| 4438 | * alpha-tdep.h (struct regcache): Add forward declaration. |
| 4439 | (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs, |
| 4440 | alpha_fill_fp_regs): Update prototypes. |
| 4441 | |
| 4442 | * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset, |
| 4443 | fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines. |
| 4444 | * alpha-linux-nat.c: Include "regcache.h". |
| 4445 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass |
| 4446 | current_regcache to alpha_supply/fill_ routines. |
| 4447 | |
| 4448 | * alphabsd-tdep.c: Include "regcache.h". |
| 4449 | (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter, |
| 4450 | pass it to alpha_supply_ routines. Make REGS const. |
| 4451 | (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter, |
| 4452 | pass it to alpha_fill_ routines. |
| 4453 | * alphabsd-tdep.h (struct regcache): Add forward declaration. |
| 4454 | (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg, |
| 4455 | alphabsd_fill_fpreg): Update prototypes. |
| 4456 | |
| 4457 | * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset, |
| 4458 | fill_fpregset, alphabsd_fetch_inferior_registers, |
| 4459 | alphabsd_store_inferior_registers): Pass current_regcache to |
| 4460 | alphabsd_supply/fill_ routines. |
| 4461 | |
| 4462 | * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update |
| 4463 | dependencies. |
| 4464 | |
| 4465 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 4466 | |
| 4467 | * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs, |
| 4468 | supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it |
| 4469 | instead of current_regcache. |
| 4470 | (fetch_regs_user_thread, fetch_regs_kernel_thread): Add |
| 4471 | REGCACHE parameter, pass it to supply_ routines. |
| 4472 | (aix_thread_fetch_registers): Pass current_regcache to |
| 4473 | fetch_regs_user_thread and fetch_regs_kernel_thread. |
| 4474 | |
| 4475 | (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32): |
| 4476 | Add REGCACHE parameter, use it instead of current_regcache. |
| 4477 | Call regcache_valid_p instead of register_cached. |
| 4478 | (store_regs_user_thread, store_regs_kernel_thread): Likewise. |
| 4479 | Also, pass REGCACHE to fill_ routines. |
| 4480 | (aix_thread_store_registers): Pass current_regcache to |
| 4481 | store_regs_user_thread and store_regs_kernel_thread. |
| 4482 | |
| 4483 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 4484 | |
| 4485 | * m32r-linux-nat.c (supply_gregset): Do not modify contents |
| 4486 | pointed to by GREGSETP. |
| 4487 | |
| 4488 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
| 4489 | |
| 4490 | * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead |
| 4491 | of regcache_raw_read_signed. |
| 4492 | (fill_fpregset): Use regcache_raw_collect instead of |
| 4493 | regcache_raw_read. |
| 4494 | |
| 4495 | 2007-05-03 Kevin Buettner <kevinb@redhat.com> |
| 4496 | |
| 4497 | * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating |
| 4498 | point arguments, test explicitly for use of the EABI32 ABI |
| 4499 | instead of inferring this condition from tests on register |
| 4500 | sizes. |
| 4501 | |
| 4502 | 2007-05-03 Kevin Buettner <kevinb@redhat.com> |
| 4503 | |
| 4504 | * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address |
| 4505 | prior to allocating its location. |
| 4506 | |
| 4507 | 2007-05-02 Maciej W. Rozycki <macro@mips.com> |
| 4508 | |
| 4509 | * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions |
| 4510 | based on mips_abi_regsize() whose result is known in advance. |
| 4511 | (mips_o64_push_dummy_call): Likewise. |
| 4512 | |
| 4513 | 2007-04-29 Ulrich Weigand <uweigand@de.ibm.com> |
| 4514 | |
| 4515 | * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check. |
| 4516 | * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS. |
| 4517 | |
| 4518 | * mips-linux-nat.c: Include "gregset.h". |
| 4519 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move |
| 4520 | from mips-linux-tdep.c. Change parameter type to gdb_gregset_t. |
| 4521 | * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset, |
| 4522 | fill_fpregset): Move to mips-linux-nat.c. |
| 4523 | |
| 4524 | * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies. |
| 4525 | |
| 4526 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
| 4527 | |
| 4528 | * regcache.c (deprecated_read_register_gen): Remove, inline ... |
| 4529 | (read_register): ... here. |
| 4530 | (deprecated_write_register_gen): Remove, inline ... |
| 4531 | (write_register): ... here. |
| 4532 | * regcache.h (deprecated_read_register_gen): Remove prototype. |
| 4533 | (deprecated_write_register_gen): Likewise. |
| 4534 | |
| 4535 | * remote-sim.c (gdbsim_store_register): Replace call to |
| 4536 | deprecated_read_register_gen with regcache_cooked_read. |
| 4537 | * target.c (debug_print_register): Replace calls to |
| 4538 | deprecated_read_register_gen and read_register with |
| 4539 | regcache_cooked_read. |
| 4540 | |
| 4541 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
| 4542 | |
| 4543 | * hpux-thread.c (hpux_thread_store_registers): Use |
| 4544 | regcache_raw_collect, not regcache_raw_read. |
| 4545 | * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply, |
| 4546 | not regcache_raw_write. |
| 4547 | |
| 4548 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
| 4549 | |
| 4550 | * gdbarch.sh: Remove deprecated_register_byte. |
| 4551 | * gdbarch.c, gdbarch.h: Regenerate. |
| 4552 | * arch-utils.h (generic_register_size, generic_register_byte): Remove. |
| 4553 | * arch-utils.c (generic_register_size, generic_register_byte): Remove. |
| 4554 | |
| 4555 | * regcache.h (regcache_valid_p): Make REGCACHE parameter const. |
| 4556 | * regcache.c (regcache_valid_p): Allow to query cooked registers in |
| 4557 | read-only register caches. Make REGCACHE parameter const. |
| 4558 | (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE. |
| 4559 | |
| 4560 | * mi/mi-main.c (old_regs): Remove. |
| 4561 | (mi_setup_architecture_data, _initialize_mi_main): Remove. |
| 4562 | (register_changed_p): Reimplement to compare two register caches. |
| 4563 | (mi_cmd_data_list_changed_registers): Update caller. |
| 4564 | * mi/mi-main.h (mi_setup_architecture_data): Remove. |
| 4565 | * mi/mi-interp.c (mi_interpreter_init): Do not call |
| 4566 | mi_setup_architecture_data. |
| 4567 | |
| 4568 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
| 4569 | |
| 4570 | * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define, |
| 4571 | inline definition at the places the macros are used. |
| 4572 | * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise. |
| 4573 | |
| 4574 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
| 4575 | |
| 4576 | * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and |
| 4577 | "gdb_string.h". |
| 4578 | (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables. |
| 4579 | (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions. |
| 4580 | (rs6000_aix32_regset, rs6000_aix64_regset): New variables. |
| 4581 | (rs6000_aix_regset_from_core_section): New function. |
| 4582 | (rs6000_aix_init_osabi): Register it. |
| 4583 | (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and |
| 4584 | sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000. |
| 4585 | * rs6000-nat.c (CoreRegs): Do not define type. |
| 4586 | (fetch_core_registers, rs6000_core_fns): Remove. |
| 4587 | (_initialize_core_rs6000): Do not register it. Rename to ... |
| 4588 | (_initialize_rs6000_nat): ... this. |
| 4589 | * Makefile.in (rs6000-aix-tdep.o): Update dependencies. |
| 4590 | |
| 4591 | 2007-04-27 Kevin Buettner <kevinb@redhat.com> |
| 4592 | |
| 4593 | * dwarf2expr.c (unsigned_address_type): Add forward declaration. |
| 4594 | (dwarf2_read_address): Sign extend return address as required by |
| 4595 | target architecture. |
| 4596 | |
| 4597 | 2007-04-27 Kevin Buettner <kevinb@redhat.com> |
| 4598 | |
| 4599 | * solib-frv.c (lm_base): Bail out if the main executable has |
| 4600 | not been relocated. |
| 4601 | |
| 4602 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
| 4603 | |
| 4604 | * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location |
| 4605 | of FPCR register in fpregset. |
| 4606 | |
| 4607 | 2007-04-27 Maciej W. Rozycki <macro@mips.com> |
| 4608 | |
| 4609 | * Makefile.in (gdbtk-wrapper.o): Update dependencies. |
| 4610 | (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise. |
| 4611 | |
| 4612 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
| 4613 | |
| 4614 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove. |
| 4615 | * rs6000-nat.c (rs6000_wait): New function. |
| 4616 | (_initialize_core_rs6000): Install it as to_wait target method. |
| 4617 | * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS. |
| 4618 | |
| 4619 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
| 4620 | |
| 4621 | * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove. |
| 4622 | * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK. |
| 4623 | * rs6000-nat.c (super_create_inferior): New variable. |
| 4624 | (rs6000_create_inferior): Make static. Adapt argument list. Call |
| 4625 | original version of create_inferior via super_create_inferior. |
| 4626 | (_initialize_core_rs6000): Install to_create_inferior target method. |
| 4627 | |
| 4628 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
| 4629 | |
| 4630 | * aix-thread.c (aix_thread_xfer_memory): Replace by ... |
| 4631 | (aix_thread_xfer_partial): ... this. |
| 4632 | (init_aix_thread_ops): Install to_xfer_partial instead |
| 4633 | of deprecated_xfer_memory target method. |
| 4634 | |
| 4635 | * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o |
| 4636 | and inftarg.o, add inf-ptrace.o. |
| 4637 | * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS, |
| 4638 | CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove. |
| 4639 | * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h". |
| 4640 | (fetch_inferior_registers): Rename to ... |
| 4641 | (rs6000_fetch_inferior_registers): ... this. Make static. |
| 4642 | (store_inferior_registers): Rename to ... |
| 4643 | (rs6000_store_inferior_registers): ... this. Make static. |
| 4644 | (read_word, child_xfer_memory): Remove. |
| 4645 | (rs6000_xfer_partial): New function. |
| 4646 | (kernel_u_size): Remove. |
| 4647 | (_initialize_core_rs6000): Add inf_ptrace-based target. |
| 4648 | * Makefile.in (rs6000-nat.o): Update dependencies. |
| 4649 | |
| 4650 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
| 4651 | |
| 4652 | * inf-ptrace.c: Include "gdb_stdint.h". |
| 4653 | (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as |
| 4654 | intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3. |
| 4655 | (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t" |
| 4656 | before casting CORE_ADDR to PTRACE_TYPE_ARG3. |
| 4657 | (inf_ptrace_store_register): Likewise. |
| 4658 | * Makefile.in (inf-ptrace.o): Update dependencies. |
| 4659 | |
| 4660 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
| 4661 | |
| 4662 | * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules. |
| 4663 | * configure.tgt (rs6000-*-*): Likewise. |
| 4664 | * config/rs6000/aix4.mh: Delete file. |
| 4665 | * config/rs6000/aix4.mt: Delete file. |
| 4666 | * config/rs6000/rs6000.mh: Delete file. |
| 4667 | * config/rs6000/rs6000.mt: Delete file. |
| 4668 | |
| 4669 | * config/powerpc/nm-aix.h: Delete file. |
| 4670 | * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h. |
| 4671 | |
| 4672 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
| 4673 | |
| 4674 | * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *". |
| 4675 | Remove obsolete part of comment. |
| 4676 | (store_regs_user_thread): Use uint32_t temporaries when calling |
| 4677 | fill_sprs32. |
| 4678 | (store_regs_kernel_thread): Likewise. Add assertion to verify |
| 4679 | correct size of struct ptsprs members. |
| 4680 | (aix_thread_xfer_memory): Fix type of myaddr. |
| 4681 | (aix_thread_extra_thread_info): Fix compiler warning. |
| 4682 | * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *". |
| 4683 | (fetch_register, store_register): Adapt callers. |
| 4684 | |
| 4685 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
| 4686 | |
| 4687 | * vec.h (vec_free): Rename to vec_free_. Adapt users. |
| 4688 | |
| 4689 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
| 4690 | |
| 4691 | * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h", |
| 4692 | and "regcache.h". |
| 4693 | (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New. |
| 4694 | (alpha_linux_gregset, alpha_linux_fpregset): New variables. |
| 4695 | (alpha_linux_regset_from_core_section): New function. |
| 4696 | (alpha_linux_init_abi): Install it. |
| 4697 | * alpha-linux-nat.c: Do not include "gdbcore.h". Include |
| 4698 | "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>, |
| 4699 | <sys/procfs.h>, and "gregset.h". |
| 4700 | (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR): |
| 4701 | Move from config/alpha/nm-linux.h. |
| 4702 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy |
| 4703 | from alpha-nat.c. |
| 4704 | (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c. |
| 4705 | * alpha-nat.c: Remove #ifdef __linux__ section. |
| 4706 | (fetch_elf_core_registers, alpha_elf_core_fns): Remove. |
| 4707 | (_initialize_core_alpha): Do not register alpha_elf_core_fns. |
| 4708 | (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally. |
| 4709 | (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h. |
| 4710 | * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h. |
| 4711 | (NATDEPFILES): Remove alpha-nat.o. |
| 4712 | * config/alpha/nm-linux.h: Delete file. |
| 4713 | * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c. |
| 4714 | * Makefile.in (alpha-linux-nat.o): Update dependencies. |
| 4715 | (alpha-linux-tdep.o): Likewise. |
| 4716 | |
| 4717 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
| 4718 | |
| 4719 | * mips-linux-nat.c: No longer include "gdbcore.h". |
| 4720 | (mips_linux_register_addr): Move from mips-linux-tdep.c. |
| 4721 | (mips64_linux_register_addr): Likewise. |
| 4722 | (mips_linux_register_u_offset): Call mips_linux_register_addr or |
| 4723 | mips64_linux_register_addr instead of register_addr. |
| 4724 | * mips-linux-tdep.c (mips_linux_register_addr, |
| 4725 | mips64_linux_register_addr): Move to mips-linux-nat.c. |
| 4726 | (register_addr): Remove. |
| 4727 | (register_addr_data, init_register_addr_data): Remove. |
| 4728 | (_initialize_mips_linux_tdep): Do not initialize register_addr_data. |
| 4729 | (set_mips_linux_register_addr): Remove. |
| 4730 | (mips_linux_init_abi): Do not call set_mips_linux_register_addr. |
| 4731 | * Makefile.in (mips-linux-nat.o): Update dependencies. |
| 4732 | |
| 4733 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
| 4734 | |
| 4735 | * linux-nat.c (linux_register_u_offset): Remove. |
| 4736 | (linux_target_install_ops): New function. |
| 4737 | (linux_target): Use it. |
| 4738 | (linux_trad_target): New function. |
| 4739 | * linux-nat.h (linux_trad_target): Declare. |
| 4740 | |
| 4741 | * alpha-linux-nat.c: Include "gdbcore.h". |
| 4742 | (alpha_linux_register_u_offset): New function. |
| 4743 | (_initialize_alpha_linux_nat): Use linux_trad_target. |
| 4744 | |
| 4745 | * mips-linux-nat.c: Include "gdbcore.h". |
| 4746 | (mips_linux_register_u_offset): New function. |
| 4747 | (_initialize_mips_linux_nat): Use linux_trad_target. |
| 4748 | |
| 4749 | * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h. |
| 4750 | * config/arm/nm-linux.h: Delete file. |
| 4751 | |
| 4752 | * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove. |
| 4753 | * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove. |
| 4754 | |
| 4755 | * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h. |
| 4756 | * config/ia64/nm-linux.h: Delete file. |
| 4757 | |
| 4758 | * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h. |
| 4759 | * config/m32r/nm-linux.h: Delete file. |
| 4760 | |
| 4761 | * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h. |
| 4762 | * config/m68k/nm-linux.h: Delete file. |
| 4763 | |
| 4764 | * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h. |
| 4765 | * config/pa/nm-linux.h: Delete file. |
| 4766 | |
| 4767 | * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h. |
| 4768 | * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise. |
| 4769 | * config/powerpc/nm-linux.h: Delete file. |
| 4770 | |
| 4771 | * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h. |
| 4772 | * config/s390/nm-linux.h: Delete file. |
| 4773 | |
| 4774 | * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h. |
| 4775 | * config/sparc/linux64.mh (NAT_FILE): Likewise. |
| 4776 | * config/sparc/nm-linux.h: Delete file. |
| 4777 | |
| 4778 | * Makefile.in (alpha-linux-nat.o): Update dependencies. |
| 4779 | (mips-linux-nat.o): Likewise. |
| 4780 | |
| 4781 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
| 4782 | |
| 4783 | * core-aout.c: Delete file. |
| 4784 | * Makefile.in (ALLDEPFILES): Remove core-aout.c. |
| 4785 | (core-aout.o): Delete rule. |
| 4786 | * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove. |
| 4787 | |
| 4788 | * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove. |
| 4789 | |
| 4790 | * arm-linux-nat.c (arm_linux_kernel_u_size): Remove. |
| 4791 | * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE, |
| 4792 | KERNEL_U_ADDR): Remove. |
| 4793 | |
| 4794 | * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove. |
| 4795 | (cannot_fetch_register, cannot_store_register): Remove. |
| 4796 | (fetch_register): Inline cannot_fetch_register and register_addr. |
| 4797 | (store_register): Inline cannot_store_register and register_addr. |
| 4798 | * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o. |
| 4799 | * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, |
| 4800 | REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): |
| 4801 | Remove. |
| 4802 | |
| 4803 | * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove. |
| 4804 | (fetch_register): Inline register_addr. |
| 4805 | (store_register): Inline register_addr. |
| 4806 | * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o. |
| 4807 | * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, |
| 4808 | U_REGS_OFFSET, REGISTER_U_ADDR): Remove. |
| 4809 | |
| 4810 | * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove. |
| 4811 | * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET, |
| 4812 | REGISTER_U_ADDR): Remove. |
| 4813 | |
| 4814 | * hppa-linux-nat.c (register_addr): Rename to ... |
| 4815 | (hppa_linux_register_addr): ... this. Make static. |
| 4816 | (fetch_register, store_register): Adapt callers. |
| 4817 | * config/pa/nm-linux.h (U_REGS_OFFSET): Remove. |
| 4818 | |
| 4819 | * ppc-linux-nat.c (kernel_u_size): Remove. |
| 4820 | * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove. |
| 4821 | |
| 4822 | * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static. |
| 4823 | * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o. |
| 4824 | (NAT_FILE): Remove. |
| 4825 | * config/vax/nm-vax.h: Delete file. |
| 4826 | |
| 4827 | 2007-04-20 Mark Shinwell <shinwell@codesourcery.com> |
| 4828 | |
| 4829 | * MAINTAINERS (Write After Approval): Add myself. |
| 4830 | |
| 4831 | 2007-04-20 Mark Shinwell <shinwell@codesourcery.com> |
| 4832 | |
| 4833 | * Makefile.in: Adjust dependencies of m68klinux-tdep.c. |
| 4834 | * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New. |
| 4835 | (m68k_linux_sigcontext_reg_offset): Fix typo. |
| 4836 | (target_is_uclinux): New. |
| 4837 | (m68k_linux_inferior_created): New. |
| 4838 | (m68k_linux_get_sigtramp_info): Check for uClinux or |
| 4839 | normal Linux. Use m68k_uclinux_sigcontext_reg_offset for |
| 4840 | uClinux. |
| 4841 | (_initialize_m68k_linux_tdep): Register |
| 4842 | m68k_linux_inferior_created. |
| 4843 | |
| 4844 | 2007-04-19 Pedro Alves <pedro_alves@portugalmail.pt> |
| 4845 | |
| 4846 | * win32-nat.c (win32_detach): Remove delete_command call. |
| 4847 | Resume inferior with win32_resume instead of win32_continue. |
| 4848 | |
| 4849 | 2007-04-19 Jerome Guitton <guitton@adacore.com> |
| 4850 | |
| 4851 | * ser-mingw.c (fd_is_file): New function. |
| 4852 | (file_select_thread): New function. |
| 4853 | (ser_console_wait_handle): Add special handling for files. |
| 4854 | |
| 4855 | 2007-04-18 Denis Pilat <denis.pilat@st.com> |
| 4856 | |
| 4857 | * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type |
| 4858 | when missing from DW_TAG_subrange_type. Remove the handling of null |
| 4859 | return from die_type. |
| 4860 | |
| 4861 | 2007-04-18 Maciej W. Rozycki <macro@mips.com> |
| 4862 | |
| 4863 | * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last |
| 4864 | change to rearrange some brackets. |
| 4865 | (mips_n32n64_push_dummy_call): Likewise. |
| 4866 | (mips_o32_push_dummy_call): Likewise. |
| 4867 | (mips_o64_push_dummy_call): Likewise. |
| 4868 | |
| 4869 | 2007-04-18 Denis Pilat <denis.pilat@st.com> |
| 4870 | |
| 4871 | * infcmd.c (post_create_inferior): Start with a call to |
| 4872 | target_terminal_ours. |
| 4873 | |
| 4874 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
| 4875 | |
| 4876 | * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some |
| 4877 | brackets. |
| 4878 | (mips_n32n64_push_dummy_call): Likewise. Reformat some |
| 4879 | expressions. |
| 4880 | (mips_o32_push_dummy_call): Likewise. |
| 4881 | (mips_o64_push_dummy_call): Likewise. |
| 4882 | |
| 4883 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
| 4884 | |
| 4885 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a |
| 4886 | comment. |
| 4887 | |
| 4888 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
| 4889 | |
| 4890 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a |
| 4891 | comment. |
| 4892 | (mips_o32_push_dummy_call): Likewise. |
| 4893 | |
| 4894 | 2007-04-17 Andreas Schwab <schwab@suse.de> |
| 4895 | |
| 4896 | * symtab.c (skip_prologue_using_sal): Allow the end of the prologue |
| 4897 | sal to be bigger than the end of the function. |
| 4898 | |
| 4899 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
| 4900 | Nigel Stephens <nigel@mips.com> |
| 4901 | |
| 4902 | * mips-tdep.c (mips_o32_push_dummy_call): Take account of |
| 4903 | argument alignment requirements when calculating stack space |
| 4904 | required. When aligning an arg register to eight bytes |
| 4905 | boundary, align stack_offset too. Write floating-point |
| 4906 | arguments to the appropriate integer register if need go there. |
| 4907 | (mips_o64_push_dummy_call): Likewise. |
| 4908 | |
| 4909 | 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com> |
| 4910 | |
| 4911 | * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and |
| 4912 | "sig" arguments, add "regcache" argument. |
| 4913 | * gdbarch.c, gdbarch.h: Regenerate. |
| 4914 | |
| 4915 | * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments. |
| 4916 | (handle_inferior_event): Call remove_single_step_breakpoints directly |
| 4917 | instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints. |
| 4918 | |
| 4919 | * alpha-tdep.c (alpha_software_single_step): Update argument list. |
| 4920 | Remove handling of !insert_breakpoints_p case. |
| 4921 | * arm-tdep.c (arm_software_single_step): Likewise. |
| 4922 | * cris-tdep.c (cris_software_single_step): Likewise. |
| 4923 | * mips-tdep.c (mips_software_single_step): Likewise. |
| 4924 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. |
| 4925 | * sparc-tdep.c (sparc_software_single_step): Likewise. |
| 4926 | * spu-tdep.c (spu_software_single_step): Likewise. |
| 4927 | |
| 4928 | * alpha-tdep.h (alpha_software_single_step): Update prototype. |
| 4929 | * mips-tdep.h (mips_software_single_step): Likewise. |
| 4930 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. |
| 4931 | * sparc-tdep.h (sparc_software_single_step): Likewise. |
| 4932 | |
| 4933 | 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com> |
| 4934 | |
| 4935 | * alpha-tdep.c (alpha_software_single_step): Do not call write_pc |
| 4936 | when removing single-step breakpoints. |
| 4937 | |
| 4938 | 2007-04-14 Vladimir Prus <vladimir@codesourcery.com> |
| 4939 | |
| 4940 | * varobj.h (varobj_set_frozen): New |
| 4941 | (varobj_get_frozen): New. |
| 4942 | (varobj_update): New parameter explicit. |
| 4943 | * varobj.c (struct varobj): New fields frozen |
| 4944 | and not_fetched. |
| 4945 | (varobj_set_frozen, varobj_get_frozen): New. |
| 4946 | (install_new_value): Don't fetch values for |
| 4947 | frozen variable object, or children thereof. Allow |
| 4948 | a frozen variable object to have non-fetched value. |
| 4949 | (varobj_update): Allow updating child variables. |
| 4950 | Don't traverse frozen children. |
| 4951 | (new_variable): Initialize the frozen field. |
| 4952 | (c_value_of_variable): Return NULL for frozen |
| 4953 | variable without any value yet. |
| 4954 | * mi/mi-cmd-var.c (varobj_update_one): New parameter |
| 4955 | 'explicit'. |
| 4956 | (mi_cmd_var_create): Output the 'frozen' field, |
| 4957 | as soon as testsuite is adjusted to expect that field. |
| 4958 | (mi_cmd_var_set_frozen): New. |
| 4959 | (mi_cmd_var_update): Pass the 'explicit' parameter to |
| 4960 | varobj_update_one. |
| 4961 | * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'. |
| 4962 | * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare. |
| 4963 | |
| 4964 | 2007-04-13 Paul Brook <paul@codesourcery.com> |
| 4965 | |
| 4966 | * target-descriptions.c (tdesc_named_type): Add ieee_single and |
| 4967 | ieee_double. |
| 4968 | * doc/gdb.texinfo: Document ieee_single and ieee_double target types. |
| 4969 | |
| 4970 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
| 4971 | |
| 4972 | * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c, |
| 4973 | remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h, |
| 4974 | scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c, |
| 4975 | ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete. |
| 4976 | * Makefile.in: Remove references to deleted files. |
| 4977 | * README: Do not mention deleted ROM monitor interfaces. |
| 4978 | * defs.h (enum language): Delete language_scm. |
| 4979 | * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING. |
| 4980 | (dump_subexp_body_standard): Likewise. |
| 4981 | * parse.c (operator_length_standard): Likewise. |
| 4982 | * expression.h (enum exp_opcode): Delete OP_EXPRSTRING. |
| 4983 | * remote-mips.c: Do not include remote-utils.h. |
| 4984 | * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug |
| 4985 | throughout. |
| 4986 | * value.c: Do not include scm-lang.h. |
| 4987 | (unpack_long): Delete scm_unpack call. |
| 4988 | * config/h8300/h8300.mt, config/mips/embed.mt, |
| 4989 | config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt, |
| 4990 | config/sh/embed.mt, config/sh/linux.mt: Remove references to |
| 4991 | deleted files. |
| 4992 | * NEWS: Mention removed files. |
| 4993 | |
| 4994 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
| 4995 | |
| 4996 | * symfile.c (add_psymbol_with_dem_name_to_list): Remove. |
| 4997 | * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype. |
| 4998 | |
| 4999 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
| 5000 | |
| 5001 | * NEWS: Mention removal of HP aCC support. |
| 5002 | |
| 5003 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
| 5004 | |
| 5005 | * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the |
| 5006 | first entry for static executables. |
| 5007 | (breakpoint_addr): Delete unused variable. |
| 5008 | (elf_locate_base): Search for _r_debug in static executables. |
| 5009 | (enable_break): Do not set breakpoint_addr. Scan solib_break_names |
| 5010 | also. |
| 5011 | |
| 5012 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
| 5013 | |
| 5014 | * breakpoint.c (update_breakpoints_after_exec, print_it_typical) |
| 5015 | (bpstat_what, print_one_breakpoint, allocate_bp_location) |
| 5016 | (mention): Remove bp_through_sigtramp support. |
| 5017 | * breakpoint.h (enum bptype): Remove bp_through_sigtramp. |
| 5018 | |
| 5019 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
| 5020 | |
| 5021 | * breakpoint.c (bpstat_what): Give step-resume higher priority than |
| 5022 | shlib events. |
| 5023 | |
| 5024 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
| 5025 | |
| 5026 | * infrun.c: Doc fixes. |
| 5027 | (handle_inferior_event): Clarify debug message. |
| 5028 | (insert_step_resume_breakpoint_at_sal): Print a debug message. |
| 5029 | |
| 5030 | 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com> |
| 5031 | |
| 5032 | * configure.tgt (arm-*-nto*, sh-*-nto*): Remove. |
| 5033 | |
| 5034 | 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com> |
| 5035 | |
| 5036 | * config/m68k/tm-monitor.h: Delete file. |
| 5037 | * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove. |
| 5038 | * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break |
| 5039 | call moved to ... |
| 5040 | * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ... |
| 5041 | * m68klinux-tdep.c (m68k_linux_init_abi): ... here. |
| 5042 | |
| 5043 | 2007-04-12 Luis Machado <luisgpm@br.ibm.com> |
| 5044 | |
| 5045 | * gdbarch.sh (software_single_step): Change the return type |
| 5046 | from void to int and reformatted some comments to <= 80 |
| 5047 | columns. |
| 5048 | * gdbarch.c, gdbarch.h: Regenerated. |
| 5049 | * alpha-tdep.c (alpha_software_single_step): Likewise. |
| 5050 | * alpha-tdep.h (alpha_software_single_step): Likewise. |
| 5051 | * arm-tdep.c (arm_software_single_step): Likewise. |
| 5052 | * cris-tdep.c (cris_software_single_step): Likewise. |
| 5053 | * mips-tdep.c (mips_software_single_step): Likewise. |
| 5054 | * mips-tdep.h (mips_software_single_step): Likewise. |
| 5055 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. |
| 5056 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. |
| 5057 | * sparc-tdep.c (sparc_software_single_step): Likewise. |
| 5058 | * sparc-tdep.h (sparc_software_single_step): Likewise. |
| 5059 | * spu-tdep.c (spu_software_single_step): Likewise. |
| 5060 | * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP |
| 5061 | and act accordingly. |
| 5062 | |
| 5063 | 2007-04-11 Steve Ellcey <sje@cup.hp.com> |
| 5064 | |
| 5065 | * configure.ac (build_warnings): Add -Wno-char-subscripts. |
| 5066 | * configure: Regenerate. |
| 5067 | * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts. |
| 5068 | |
| 5069 | 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 5070 | |
| 5071 | * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'. |
| 5072 | |
| 5073 | 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 5074 | |
| 5075 | * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New |
| 5076 | macros. |
| 5077 | (TYPE_IS_OPAQUE): Empty vs. opaque structures are now |
| 5078 | distinct on the TYPE_STUB_SUPPORTED debug targets. |
| 5079 | * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED. |
| 5080 | |
| 5081 | 2007-04-11 Joel Brobecker <brobecker@adacore.com> |
| 5082 | |
| 5083 | * sparc-tdep.c (X_RS2): New macro. |
| 5084 | (sparc_skip_stack_check): New function. |
| 5085 | (sparc_analyze_prologue): Adjust PC past stack probing |
| 5086 | sequence if necessary. |
| 5087 | |
| 5088 | 2007-04-10 Andreas Schwab <schwab@suse.de> |
| 5089 | |
| 5090 | * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR |
| 5091 | register. |
| 5092 | |
| 5093 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
| 5094 | |
| 5095 | * breakpoint.c (gdb_breakpoint_query): Really return an |
| 5096 | enum gdb_rc. |
| 5097 | (gdb_breakpoint): Likewise. |
| 5098 | * thread.c (gdb_list_thread_ids): Likewise. |
| 5099 | (gdb_thread_select): Likewise. |
| 5100 | * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc. |
| 5101 | (mi_cmd_thread_list_ids): Remove bogus initialization. |
| 5102 | |
| 5103 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
| 5104 | |
| 5105 | * Makefile.in (SFILES): Remove hpacc-abi.c. |
| 5106 | (COMMON_OBS): Remove hpacc-abi.o. |
| 5107 | (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE). |
| 5108 | (hpacc-abi.o, hpread.o): Delete rules. |
| 5109 | * somread.c: Delete extern declarations from hpread.c. |
| 5110 | (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs. |
| 5111 | (som_symfile_finish): Do not call hpread_symfile_finish. |
| 5112 | (som_symfile_init): Do not call hpread_symfile_init. |
| 5113 | * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o. |
| 5114 | * config/pa/hppahpux.mt (TDEPFILES): Likewise. |
| 5115 | * hpacc-abi.c, hpread.c: Deleted. |
| 5116 | |
| 5117 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
| 5118 | |
| 5119 | * solib-svr4.c (enable_break): Simplify return value. |
| 5120 | (svr4_solib_create_inferior_hook): Do not warn if enable_break fails. |
| 5121 | |
| 5122 | 2007-04-10 Andreas Schwab <schwab@suse.de> |
| 5123 | |
| 5124 | * solib-svr4.h (struct link_map_offsets): Remove l_addr_size, |
| 5125 | l_ld_size, l_next_size, l_prev_size, l_name_size. |
| 5126 | |
| 5127 | * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address |
| 5128 | to extract addresses from link map. |
| 5129 | (LM_DYNAMIC_FROM_LINK_MAP): Likewise. |
| 5130 | (LM_NEXT): Likewise. |
| 5131 | (LM_NAME): Likewise. |
| 5132 | (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise. |
| 5133 | (elf_locate_base): Likewise. |
| 5134 | (open_symbol_file_object): Likewise. |
| 5135 | (svr4_fetch_objfile_link_map): Likewise. |
| 5136 | (SOLIB_EXTRACT_ADDRESS): Remove unused macro. |
| 5137 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of |
| 5138 | l_ld_size. |
| 5139 | (svr4_ilp32_fetch_link_map_offsets): Don't set removed members. |
| 5140 | (svr4_lp64_fetch_link_map_offsets): Likewise. |
| 5141 | |
| 5142 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set |
| 5143 | removed members. Set l_ld_offset to -1 if not present. |
| 5144 | |
| 5145 | 2007-04-08 Vladimir Prus <vladimir@codesourcery.com> |
| 5146 | |
| 5147 | Pass stderr of program run with "target remote |" |
| 5148 | via gdb_stderr. |
| 5149 | * serial.c (serial_open): Set error_fd to -1. |
| 5150 | * serial.h (struct serial): New field error_fd. |
| 5151 | (struct serial_opts): New field avail. |
| 5152 | * ser-pipe.c (pipe_open): Create another pair |
| 5153 | of sockets. Pass stderr to gdb. |
| 5154 | * ser-mingw.c (pipe_windows_open): Pass |
| 5155 | PEX_STDERR_TO_PIPE to pex_run. Initialize |
| 5156 | sd->error_fd. |
| 5157 | (pipe_avail): New. |
| 5158 | (_initialize_ser_windows): Hook pipe_avail. |
| 5159 | * ser-base.c (generic_readchar): Check if there's |
| 5160 | anything in stderr channel and route that to gdb_stderr. |
| 5161 | |
| 5162 | 2007-04-03 Pedro Alves <pedro_alves@portugalmail.pt> |
| 5163 | |
| 5164 | * dbxread.c (read_ofile_symtab): Move current_objfile |
| 5165 | clearing to after end_stabs. |
| 5166 | |
| 5167 | 2007-04-01 Andreas Schwab <schwab@suse.de> |
| 5168 | |
| 5169 | * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter |
| 5170 | gdbarch instead of current_gdbarch. |
| 5171 | |
| 5172 | 2007-04-01 Vladimir Prus <vladimir@codesourcery.com> |
| 5173 | |
| 5174 | * varobj.c (varobj_create): Keep varobj value |
| 5175 | NULL when evaluating the type. |
| 5176 | |
| 5177 | 2007-03-31 Pedro Alves <pedro_alves@portugalmail.pt> |
| 5178 | |
| 5179 | * NEWS: Mention new Windows CE support. |
| 5180 | |
| 5181 | 2007-03-30 Pedro Alves <pedro_alves@portugalmail.pt> |
| 5182 | |
| 5183 | * configure.tgt: Move mips*-*-pe and sh*-*-pe to |
| 5184 | the obsoletion stanza. |
| 5185 | * NEWS: Mention deleted targets. |
| 5186 | |
| 5187 | * config/sh/tm-wince.h: Remove. |
| 5188 | * config/sh/wince.mt: Remove. |
| 5189 | * config/mips/tm-wince.h: Remove. |
| 5190 | * config/mips/wince.mt: Remove. |
| 5191 | |
| 5192 | * wince.c: Remove. |
| 5193 | * wince-stub.c: Remove. |
| 5194 | * wince-stub.h: Remove. |
| 5195 | * Makefile.in (wince.o): Remove rule. |
| 5196 | (wince-stub.o): Likewise. |
| 5197 | |
| 5198 | * mips-tdep.c (mips_next_pc): Make static. |
| 5199 | * mips-tdep.h (mips_next_pc): Remove declaration. |
| 5200 | * arm-tdep.c (arm_pc_is_thumb): Make static. |
| 5201 | (thumb_get_next_pc): Likewise. |
| 5202 | (arm_get_next_pc): Likewise. |
| 5203 | * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration. |
| 5204 | (arm_pc_is_thumb): Likewise. |
| 5205 | (thumb_get_next_pc): Likewise. |
| 5206 | (arm_get_next_pc): Likewise. |
| 5207 | |
| 5208 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
| 5209 | |
| 5210 | * MAINTAINERS: Remove d10v entry. |
| 5211 | * Makefile.in (SFILES): Remove dwarfread.c. |
| 5212 | (COMMON_OBS): Remove dwarfread.o. |
| 5213 | (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o) |
| 5214 | (remote-est.o, rom68k-rom.o): Delete. |
| 5215 | * NEWS: Mention removal of d10v, target abug, target cpu32bug, |
| 5216 | target est, target rom68k, and DWARF 1. |
| 5217 | * configure.tgt: Mark d10v as removed. |
| 5218 | * dwarf2read.c: Doc update. |
| 5219 | * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset, |
| 5220 | and lnsize. |
| 5221 | (elf_locate_sections): Do not set them. |
| 5222 | (elf_symfile_read): Do not call dwarf_build_psymtabs. |
| 5223 | * symfile.h (dwarf_build_psymtabs): Delete prototype. |
| 5224 | * config/m68k/monitor.mt (TDEPFILES): Prune. |
| 5225 | * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c, |
| 5226 | remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete. |
| 5227 | |
| 5228 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
| 5229 | |
| 5230 | * doublest.c (convert_floatformat_to_doublest): Use |
| 5231 | floatformat_classify. |
| 5232 | (floatformat_is_nan): Rename to... |
| 5233 | (floatformat_classify): ...this. Return more information. |
| 5234 | * doublest.h (enum float_kind): New. |
| 5235 | (floatformat_is_nan): Replace prototype... |
| 5236 | (floatformat_classify): ...with this one. |
| 5237 | * valprint.c (print_floating): Use floatformat_classify. Handle |
| 5238 | infinity. |
| 5239 | |
| 5240 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
| 5241 | |
| 5242 | * README: Mention ISO C library requirement. |
| 5243 | |
| 5244 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
| 5245 | |
| 5246 | * Makefile.in (SFILES): Remove nlmread.c. |
| 5247 | (COMMON_OBS): Remove nlmread.o. |
| 5248 | (nlmread.o): Delete rule. |
| 5249 | * README: Delete reference to remote-st.c. |
| 5250 | * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete. |
| 5251 | * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and |
| 5252 | GDB_OSABI_LYNXOS. |
| 5253 | * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete. |
| 5254 | (_initialize_i386_tdep): Do not reference them. |
| 5255 | * nlmread.c: Delete file. |
| 5256 | * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS. |
| 5257 | * target.c: Doc update. |
| 5258 | * thread.c: Delete commented include. |
| 5259 | * config/alpha/tm-alpha.h: Doc update. |
| 5260 | |
| 5261 | 2007-03-30 Chris Dearman <chris@mips.com> |
| 5262 | |
| 5263 | * utils.c (string_to_core_addr): Comment typo. |
| 5264 | |
| 5265 | 2007-03-30 Chris Dearman <chris@mips.com> |
| 5266 | |
| 5267 | * mips-tdep.c: Comment typo. |
| 5268 | |
| 5269 | 2007-03-29 Ulrich Weigand <uweigand@de.ibm.com> |
| 5270 | |
| 5271 | * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove. |
| 5272 | * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. |
| 5273 | * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. |
| 5274 | * config/powerpc/nm-ppc64-linux.h: Remove file. |
| 5275 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h. |
| 5276 | * inferior.h (PTRACE_ARG3_TYPE): Do not define. |
| 5277 | (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3. |
| 5278 | * infptrace.c (call_ptrace): Likewise. |
| 5279 | * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define. |
| 5280 | (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3 |
| 5281 | and PTRACE_XFER_TYPE by PTRACE_TYPE_RET. |
| 5282 | (store_register): Likewise. |
| 5283 | |
| 5284 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
| 5285 | |
| 5286 | * Makefile.in (varobj.o): Add missing dependency. |
| 5287 | |
| 5288 | 2007-03-29 Michael Snyder <msnyder@access-company.com> |
| 5289 | |
| 5290 | * MAINTAINERS: Update my email address. |
| 5291 | |
| 5292 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
| 5293 | |
| 5294 | Add support for exception handling with multiple versions of |
| 5295 | the Ada runtime: |
| 5296 | * ada-lang.c: Update general comments on how Ada exception catchpoints |
| 5297 | are implemented. |
| 5298 | (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name) |
| 5299 | (__gnat_raise_nodefer_with_msg): Delete. |
| 5300 | (ada_unhandled_exception_name_addr_ftype): New type. |
| 5301 | (exception_support_info): New type. |
| 5302 | (ada_unhandled_exception_name_addr): Add forward declaration. |
| 5303 | (ada_unhandled_exception_name_addr_from_raise): Likewise. |
| 5304 | (default_exception_support_info): New constant. |
| 5305 | (exception_support_info_fallback): Likewise. |
| 5306 | (exception_info): New global variable. |
| 5307 | (ada_exception_support_info_sniffer): New function. |
| 5308 | (ada_executable_changed_observer): Likewise. |
| 5309 | (ada_unhandled_exception_name_addr_from_raise): Renamed from |
| 5310 | ada_unhandled_exception_name_addr. |
| 5311 | (ada_unhandled_exception_name_addr): Reimplement to match the |
| 5312 | latest Ada runtime implementation. |
| 5313 | (error_breakpoint_runtime_sym_not_found): Delete. |
| 5314 | (ada_exception_sym_name): Get the exception sym name from |
| 5315 | exception_info rather than hardcoding it. |
| 5316 | (ada_exception_sal): Add call to ada_exception_support_info_sniffer. |
| 5317 | Update error handling. |
| 5318 | * Makefile.in (ada-lang.o): Add dependency on observer.h. |
| 5319 | |
| 5320 | 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
| 5321 | |
| 5322 | * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o) |
| 5323 | (remote-st.o, uw-thread.o): Delete. |
| 5324 | (HFILES_NO_SRCDIR, ALLDEPFILES): Update. |
| 5325 | * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*, |
| 5326 | i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*, |
| 5327 | i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*, |
| 5328 | i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*, |
| 5329 | i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and |
| 5330 | rs6000-*-lynxos* to an obsoletion stanza. |
| 5331 | * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*, |
| 5332 | i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*, |
| 5333 | and rs6000-*-lynxos* to an obsoletion stanza. Do not mention |
| 5334 | i[34567]86-*-netware*. |
| 5335 | * NEWS: Mention deleted targets. |
| 5336 | |
| 5337 | * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c, |
| 5338 | uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh, |
| 5339 | config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh, |
| 5340 | config/i386/i386v4.mh, config/i386/i386v42mp.mh, |
| 5341 | config/i386/ncr3000.mh, config/i386/ncr3000.mt, |
| 5342 | config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h, |
| 5343 | config/i386/nm-i386sco5.h, config/i386/nm-i386v.h, |
| 5344 | config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h, |
| 5345 | config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt, |
| 5346 | config/m68k/tm-cisco.h, config/m68k/tm-os68k.h, |
| 5347 | config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt, |
| 5348 | config/rs6000/tm-rs6000ly.h: Delete files. |
| 5349 | |
| 5350 | 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
| 5351 | |
| 5352 | * defs.h (deprecated_registers_changed_hook): Delete declaration. |
| 5353 | * interps.c (clear_interpreter_hooks): Do not clear |
| 5354 | deprecated_registers_changed_hook. |
| 5355 | * regcache.c (registers_changed): Do not call it. |
| 5356 | * top.c (deprecated_registers_changed_hook): Do not define it. |
| 5357 | * mi/mi-interp.c (mi_command_loop): Do not clear it. |
| 5358 | * tui/tui-hooks.c (tui_install_hooks): Do not install it. |
| 5359 | (tui_remove_hooks): Do not remove it. |
| 5360 | (tui_selected_frame_level_changed_hook): Check for negative level. |
| 5361 | Use get_selected_frame. |
| 5362 | (tui_registers_changed_hook): Deleted. |
| 5363 | |
| 5364 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
| 5365 | |
| 5366 | * stabsread.c (add_undefined_type): Add extra parameter. |
| 5367 | Now handles nameless types separately. |
| 5368 | (struct nat): New type. |
| 5369 | (noname_undefs, noname_undefs_allocated, noname_undefs_length): |
| 5370 | New static variables. |
| 5371 | (read_type): Update calls to add_undefined_type. |
| 5372 | (add_undefined_type_noname): New function. |
| 5373 | (add_undefined_type_1): Renames from add_undefined_type. |
| 5374 | (cleanup_undefined_types_noname): New function. |
| 5375 | (cleanup_undefined_types_1): Renames cleanup_undefined_types. |
| 5376 | (cleanup_undefined_types): New handles nameless types separately. |
| 5377 | (_initialize_stabsread): Initialize our new static constants. |
| 5378 | |
| 5379 | 2007-03-29 Denis Pilat <denis.pilat@st.com> |
| 5380 | |
| 5381 | * configure.ac: Test for signal.h. |
| 5382 | * configure, config.in: Regenerate. |
| 5383 | |
| 5384 | 2007-03-29 Denis Pilat <denis.pilat@st.com> |
| 5385 | |
| 5386 | * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output. |
| 5387 | * infrun.c (normal_stop): Remove MI specific frame printing treatment. |
| 5388 | |
| 5389 | 2007-03-29 Pedro Alves <pedro_alves@portugalmail.pt> |
| 5390 | |
| 5391 | * arm-wince-tdep.c: New. |
| 5392 | * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h. |
| 5393 | (MT_CFLAGS): Delete. |
| 5394 | (TM_CLIBS): Delete. |
| 5395 | (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o, |
| 5396 | solib-legacy.o, solib-svr4.o, and remove wince.o. |
| 5397 | * configure.tgt (arm*-*-mingw32ce*): Add. |
| 5398 | * signals/signals.c [HAVE_SIGNAL_H]: Check. |
| 5399 | (do_target_signal_to_host): Silence 'not used' warning. |
| 5400 | * config/arm/tm-wince.h: Remove. |
| 5401 | |
| 5402 | 2007-03-28 Ulrich Weigand <uweigand@de.ibm.com> |
| 5403 | |
| 5404 | * arch-utils.c (legacy_pc_in_sigtramp): Remove. |
| 5405 | * arch-utils.h (legacy_pc_in_sigtramp): Remove. |
| 5406 | |
| 5407 | * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove. |
| 5408 | * config/ia64/tm-linux.h: Remove file. |
| 5409 | * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback. |
| 5410 | * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of |
| 5411 | legacy_pc_in_sigtramp. |
| 5412 | (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp. |
| 5413 | * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static. |
| 5414 | Remove func_name argument. |
| 5415 | (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp. |
| 5416 | |
| 5417 | * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine. |
| 5418 | * target.c (update_current_target): Add to_have_steppable_watchpoint. |
| 5419 | * target.h (struct target_ops): Add to_have_steppable_watchpoint. |
| 5420 | (HAVE_STEPPABLE_WATCHPOINT): Define. |
| 5421 | |
| 5422 | * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o. |
| 5423 | * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET, |
| 5424 | CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER, |
| 5425 | TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT, |
| 5426 | STOPPED_BY_WATCHPOINT, target_stopped_data_address, |
| 5427 | target_insert_watchpoint, target_remove_watchpoint): Remove. |
| 5428 | (FETCH_INFERIOR_REGISTERS): Define. |
| 5429 | * ia64-linux-nat.c (ia64_register_addr): Make static. |
| 5430 | (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise. |
| 5431 | (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument. |
| 5432 | (ia64_linux_remove_watchpoint): Likewise. Add type argument. |
| 5433 | (ia64_linux_stopped_data_address): Make static. Add target_ops. |
| 5434 | (ia64_linux_stopped_by_watchpoint): Make static. |
| 5435 | (ia64_linux_can_use_hw_breakpoint): New function. |
| 5436 | (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise. |
| 5437 | (ia64_linux_store_register, ia64_linux_store_registers): Likewise. |
| 5438 | (_initialize_ia64_linux_nat): Install register and watchpoint ops. |
| 5439 | |
| 5440 | 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt> |
| 5441 | |
| 5442 | * linespec.c: Include language.h. |
| 5443 | (find_methods): Add language parameter. Call |
| 5444 | lookup_symbol_in_language. Pass language down. |
| 5445 | (add_matching_methods): Likewise. Call |
| 5446 | lookup_symbol_in_language. |
| 5447 | (add_constructors): Likewise. |
| 5448 | (find_method): Pass sym_class to collect_methods. |
| 5449 | (collect_methods): Add sym_class parameter. Pass language |
| 5450 | down. |
| 5451 | * symtab.c (lookup_symbol): Rename to ... |
| 5452 | (lookup_symbol_in_language): ... this. Add language |
| 5453 | parameter. Use passed language instead of current_language. |
| 5454 | (lookup_symbol): New as wrapper around |
| 5455 | lookup_symbol_in_language. |
| 5456 | (lookup_symbol_aux): Add language parameter. Use passed |
| 5457 | language instead of current_language. |
| 5458 | (search_symbols): Indent. |
| 5459 | * symtab.h (enum language): Forward declare. |
| 5460 | (lookup_symbol_in_language): Declare. |
| 5461 | (lookup_symbol): Update description. |
| 5462 | * ada-lang.h (lookup_symbol_in_language): Remove declaration. |
| 5463 | * ada-lang.c (restore_language): Remove. |
| 5464 | (lookup_symbol_in_language): Remove. |
| 5465 | |
| 5466 | 2007-03-27 Pedro Alves <pedro_alves@portugalmail.pt> |
| 5467 | |
| 5468 | * breakpoint.c (bpstat_num): Add int *num parameter. |
| 5469 | * breakpoint.h (bpstat_num): Likewise. |
| 5470 | * infcmd.c (continue_command): Adjust to new bpstat_num |
| 5471 | interface. |
| 5472 | (program_info): Likewise. |
| 5473 | |
| 5474 | 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
| 5475 | |
| 5476 | * config/sh/tm-sh.h: Remove file. |
| 5477 | * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove. |
| 5478 | * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove. |
| 5479 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove. |
| 5480 | * config/sh/tm-wince.h: Do not include "sh/tm-sh.h". |
| 5481 | |
| 5482 | 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
| 5483 | |
| 5484 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT, |
| 5485 | DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove. |
| 5486 | * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT, |
| 5487 | DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT. |
| 5488 | * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint |
| 5489 | sequence if target_shortname is "remote". |
| 5490 | |
| 5491 | 2007-03-27 Anton Blanchard <anton@samba.org> |
| 5492 | |
| 5493 | * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset |
| 5494 | instead of wordsize when looking for the LR in a stack frame. |
| 5495 | |
| 5496 | 2007-03-27 Andreas Schwab <schwab@suse.de> |
| 5497 | Daniel Jacobowitz <dan@codesourcery.com> |
| 5498 | |
| 5499 | * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to... |
| 5500 | (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p |
| 5501 | argument. Update all callers. |
| 5502 | (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum. |
| 5503 | (dwarf2_frame_set_eh_frame_regnum): Rename to... |
| 5504 | (dwarf2_frame_set_adjust_regnum): ...this. Update argument type. |
| 5505 | * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to... |
| 5506 | (dwarf2_frame_set_adjust_regnum): ...this. |
| 5507 | (dwarf2_frame_eh_frame_regnum): Delete prototype. |
| 5508 | * rs6000-tdep.c: Include "dwarf2-frame.h". |
| 5509 | (rs6000_adjust_frame_regnum): Define. |
| 5510 | (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder. |
| 5511 | Register rs6000_adjust_frame_regnum. |
| 5512 | |
| 5513 | * Makefile.in (rs6000-tdep.o): Update dependencies. |
| 5514 | |
| 5515 | 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com> |
| 5516 | |
| 5517 | * Makefile.in: Add support for a "pdf" target. |
| 5518 | |
| 5519 | 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com> |
| 5520 | |
| 5521 | * amd64-tdep.c (amd64_init_frame_cache): New function. |
| 5522 | (amd64_alloc_frame_cache, amd64_skip_prologue): Use it. |
| 5523 | |
| 5524 | 2007-03-26 Nigel Stephens <nigel@mips.com> |
| 5525 | Maciej W. Rozycki <macro@mips.com> |
| 5526 | |
| 5527 | * ui-out.c (ui_out_field_core_addr): Truncate address to |
| 5528 | TARGET_ADDR_BIT size before printing. |
| 5529 | |
| 5530 | 2007-03-22 Nigel Stephens <nigel@mips.com> |
| 5531 | Maciej W. Rozycki <macro@mips.com> |
| 5532 | |
| 5533 | * remote-mips.c (mips_xfer_memory): Update prototype. |
| 5534 | |
| 5535 | 2007-03-22 Joel Brobecker <brobecker@adacore.com> |
| 5536 | |
| 5537 | * symfile.h: #include "symtab.h" |
| 5538 | |
| 5539 | 2007-03-22 Denis Pilat <denis.pilat@st.com> |
| 5540 | |
| 5541 | * utils.c (pagination_on_command, pagination_off_command): |
| 5542 | Remove useless prototypes. |
| 5543 | |
| 5544 | 2007-03-21 Pierre Muller <muller@ics.u-strasbg.fr> |
| 5545 | |
| 5546 | Fix PR pascal/2232. |
| 5547 | * p-valprint.c (pascal_object_print_value): Use type_name_no_tag |
| 5548 | instead of TYPE_NAME for object base class name. |
| 5549 | |
| 5550 | |
| 5551 | 2007-03-19 Kevin Buettner <kevinb@redhat.com> |
| 5552 | |
| 5553 | * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id): |
| 5554 | Specify frame type in calls to frame_func_unwind(). |
| 5555 | |
| 5556 | 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com> |
| 5557 | |
| 5558 | * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal. |
| 5559 | (rs6000_in_function_epilogue_p): Use extract_unsigned_integer. |
| 5560 | (refine_prologue_limit): Delete. |
| 5561 | (skip_prologue): Don't call it. Use extract_unsigned_integer. |
| 5562 | Assume lim_pc is set. Correct check for incomplete prologues. |
| 5563 | Do not skip clobbers of the frame pointer. |
| 5564 | * symtab.c (skip_prologue_using_sal): Fail if there is only one |
| 5565 | sal. |
| 5566 | |
| 5567 | 2007-03-13 Nathan Froyd <froydnj@codesourcery.com> |
| 5568 | |
| 5569 | * frame.c (frame_pop): Check to see whether there's a frame to |
| 5570 | which we can pop first. |
| 5571 | |
| 5572 | 2007-03-13 Nathan Froyd <froydnj@codesourcery.com> |
| 5573 | |
| 5574 | * MAINTAINERS (Write After Approval): Add myself. |
| 5575 | |
| 5576 | 2007-03-09 Markus Deuling <deuling@de.ibm.com> |
| 5577 | |
| 5578 | * infrun.c (breakpoints_failed): Remove unnecessary variable. |
| 5579 | (handle_inferior_event): Remove unnecessary braces. |
| 5580 | * breakpoint.c (bpstat_what): Remove wrong comment. |
| 5581 | |
| 5582 | 2007-03-09 Ulrich Weigand <uweigand@de.ibm.com> |
| 5583 | |
| 5584 | * spu-tdep.c (spu_in_function_epilogue_p): New function. |
| 5585 | (spu_gdbarch_init): Install it. |
| 5586 | |
| 5587 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
| 5588 | |
| 5589 | * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported |
| 5590 | object types, not 0. |
| 5591 | |
| 5592 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
| 5593 | |
| 5594 | * spu-tdep.c (spu_frame_align): New function. |
| 5595 | (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK. |
| 5596 | |
| 5597 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
| 5598 | |
| 5599 | * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit. |
| 5600 | (spu_software_single_step): Likewise. |
| 5601 | (spu_read_pc, spu_write_pc): New functions. |
| 5602 | (spu_gdbarch_init): Install them. |
| 5603 | |
| 5604 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
| 5605 | |
| 5606 | * cli/cli-dump.c (struct callback_data): load_offset needs to |
| 5607 | have signed long type. |
| 5608 | |
| 5609 | 2007-03-07 Joel Brobecker <brobecker@adacore.com> |
| 5610 | |
| 5611 | * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer): |
| 5612 | Revert the previous change that had some unexpected side-effects |
| 5613 | on mips32. |
| 5614 | (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper |
| 5615 | function to get the address of the calling instruction. |
| 5616 | |
| 5617 | 2007-03-07 Denis Pilat <denis.pilat@st.com> |
| 5618 | |
| 5619 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace |
| 5620 | get_selected_frame by deprecated_safe_get_selected_frame. |
| 5621 | |
| 5622 | 2007-03-02 Mark Kettenis <kettenis@gnu.org> |
| 5623 | |
| 5624 | * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and |
| 5625 | "gdb_string.h". Don't include "nbsd-tdep.h". |
| 5626 | (SIZEOF_STRUCT_REG): Remove. |
| 5627 | (SHNBSD_SIZEOF_GREGS): New. |
| 5628 | (shnbsd_supply_gregset, shnbsd_collect_gregset) |
| 5629 | (shnbsd_regset_from_core_section): New functions. |
| 5630 | (fetch_core_registers, fetch_elfcore_registers): Remove functions. |
| 5631 | (shnbsd_supply_reg, shnbsd_fill_reg): Simply call |
| 5632 | shnbsd_supply_gregset, shnbsd_collect_gregset. |
| 5633 | (shnbsd_gregset): New variable. |
| 5634 | (shnbsd_init_abi): Set regset_from_core_section. |
| 5635 | (GDB_OSABI_NETBSD_CORE): New define. |
| 5636 | (shnbsd_core_osabi_sniffer): New function. |
| 5637 | (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer. |
| 5638 | * Makefile.in (shnbsd-tdep.o): Update dependencies. |
| 5639 | * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove |
| 5640 | nbsd-tdep.o. |
| 5641 | * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o. |
| 5642 | |
| 5643 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
| 5644 | |
| 5645 | * gdbtypes.c (replace_type): Fix typo that caused us to not update |
| 5646 | length of the types referenced by the new type CV ring. |
| 5647 | |
| 5648 | 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
| 5649 | |
| 5650 | * frame.c (frame_pop, frame_observer_target_changed): Call |
| 5651 | reinit_frame_cache. |
| 5652 | (flush_cached_frames): Rename to reinit_frame_cache and delete |
| 5653 | old implementation. |
| 5654 | * frame.h (flush_cached_frames): Delete prototype and update comment. |
| 5655 | |
| 5656 | * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call |
| 5657 | reinit_frame_cache instead of flush_cached_frames. Do not call |
| 5658 | select_frame after reinit_frame_cache. |
| 5659 | * corelow.c (core_open): Likewise. |
| 5660 | * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise. |
| 5661 | * infrun.c (prepare_to_proceed, context_switch) |
| 5662 | (handle_inferior_event): Likewise. |
| 5663 | * linux-fork.c (fork_load_infrun_state): Likewise. |
| 5664 | * ocd.c (ocd_start_remote): Likewise. |
| 5665 | * remote-e7000.c (e7000_start_remote): Likewise. |
| 5666 | * remote-mips.c (device): Likewise. |
| 5667 | * thread.c (switch_to_thread): Likewise. |
| 5668 | * tracepoint.c (finish_tfind_command): Likewise. |
| 5669 | * gdbarch.c: Regenerated. |
| 5670 | |
| 5671 | 2007-02-28 Jerome Guitton <guitton@adacore.com> |
| 5672 | Joel Brobecker <brobecker@adacore.com> |
| 5673 | |
| 5674 | * gdbtypes.c (check_typedef): Do not replace stub type if |
| 5675 | the resolved type is not defined in the same objfile. |
| 5676 | |
| 5677 | 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
| 5678 | |
| 5679 | * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion. |
| 5680 | |
| 5681 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
| 5682 | |
| 5683 | * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN |
| 5684 | symbol for Ada units when the symbol is defined using 't' rather |
| 5685 | than 'Tt' as symbol descriptor. |
| 5686 | |
| 5687 | 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
| 5688 | |
| 5689 | * config/mips/tm-nbsd.h: Delete file. |
| 5690 | * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove. |
| 5691 | * config/sh/tm-nbsd.h: Delete file. |
| 5692 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h. |
| 5693 | |
| 5694 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
| 5695 | |
| 5696 | * mi/mi-cmd-var.c (varobj_update_one): Remove reference to |
| 5697 | unused WRONG_PARAM value since it was recently deleted. |
| 5698 | |
| 5699 | 2007-02-28 Vladimir Prus <vladimir@codesourcery.com> |
| 5700 | |
| 5701 | * varobj.c (varobj_update): Free temporary vectors. |
| 5702 | |
| 5703 | 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
| 5704 | |
| 5705 | * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h. |
| 5706 | * config/powerpc/tm-linux.h: Delete file. |
| 5707 | * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h". |
| 5708 | (PROCESS_LINENUMBER_HOOK): Do not undefine. |
| 5709 | (TEXT_SEGMENT_BASE): Do not redefine. |
| 5710 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here |
| 5711 | from config/rs6000/tm-rs6000.h. |
| 5712 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. |
| 5713 | * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration. |
| 5714 | (TEXT_SEGMENT_BASE): Remove. |
| 5715 | (IN_SOLIB_RETURN_TRAMPOLINE): Remove. |
| 5716 | (rs6000_in_solib_return_trampoline): Remove. |
| 5717 | (SKIP_TRAMPOLINE_CODE): Remove. |
| 5718 | (rs6000_skip_trampoline_code): Remove. |
| 5719 | (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h. |
| 5720 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. |
| 5721 | (FP0_REGNUM): Remove. |
| 5722 | (rs6000_find_toc_address_hook): Move to rs6000-tdep.h. |
| 5723 | (rs6000_set_host_arch_hook): Remove. |
| 5724 | * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h). |
| 5725 | (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h). |
| 5726 | * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base. |
| 5727 | * rs6000-aix-tdep.c: Include "ppc-tdep.h". |
| 5728 | (rs6000_aix_init_osabi): Set text_segment_base tdep field. |
| 5729 | * rs6000-nat.c: Include "rs6000-tdep.h". |
| 5730 | (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field. |
| 5731 | (set_host_arch): Rename to ... |
| 5732 | (rs6000_create_inferior): ... this. Make public. |
| 5733 | (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook. |
| 5734 | * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove. |
| 5735 | (rs6000_create_inferior): Remove. |
| 5736 | (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field. |
| 5737 | (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum, |
| 5738 | set_gdbarch_in_solib_return_trampoline, and |
| 5739 | set_gdbarch_skip_trampoline_code. |
| 5740 | * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here |
| 5741 | from config/rs6000/tm-rs6000.h. |
| 5742 | |
| 5743 | 2007-02-27 Joel Brobecker <brobecker@adacore.com> |
| 5744 | |
| 5745 | * buildsym.c (record_producer): Do nothing if no producer is provided. |
| 5746 | |
| 5747 | 2007-02-27 Nick Roberts <nickrob@snap.net.nz> |
| 5748 | |
| 5749 | * varobj.c (varobj_update): Remove unused local. Use gdb_assert |
| 5750 | to check changelist is non-NULL. Call error if the frontend tries |
| 5751 | to update a non-root variable. |
| 5752 | |
| 5753 | * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value. |
| 5754 | |
| 5755 | 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
| 5756 | |
| 5757 | * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id) |
| 5758 | (dwarf2_frame_sniffer): Update. |
| 5759 | (dwarf2_signal_frame_this_id): New function. |
| 5760 | (dwarf2_signal_frame_unwind): Use it. |
| 5761 | (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block. |
| 5762 | * frame.c (frame_func_unwind): Add this_type argument. |
| 5763 | (get_frame_func): Update. |
| 5764 | (frame_unwind_address_in_block): Add this_type argument and check it. |
| 5765 | Fix a typo. |
| 5766 | (get_frame_address_in_block): Update. |
| 5767 | * frame.h (enum frame_type): Move higher in the file. |
| 5768 | (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type |
| 5769 | argument. |
| 5770 | |
| 5771 | * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c, |
| 5772 | arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c, |
| 5773 | hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c, |
| 5774 | libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c, |
| 5775 | m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c, |
| 5776 | mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c, |
| 5777 | score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c, |
| 5778 | sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c, |
| 5779 | xstormy16-tdep.c, xtensa-tdep.c: Update calls to |
| 5780 | frame_func_unwind and frame_unwind_address_in_block to specify |
| 5781 | the frame type. Use frame_unwind_address_in_block instead of |
| 5782 | frame_pc_unwind in sniffers. |
| 5783 | |
| 5784 | 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
| 5785 | |
| 5786 | * frame.c (deprecated_selected_frame): Rename to... |
| 5787 | (selected_frame): ...this. Make static. |
| 5788 | (get_selected_frame, select_frame): Update. |
| 5789 | * frame.h (deprected_select_frame): Delete. |
| 5790 | (deprecated_safe_get_selected_frame): Update comments. |
| 5791 | |
| 5792 | * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c, |
| 5793 | infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c, |
| 5794 | tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c, |
| 5795 | parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c, |
| 5796 | tui/tui.c: Replace references to deprecated_selected_frame. |
| 5797 | |
| 5798 | 2007-02-27 Fred Fish <fnf@specifix.com> |
| 5799 | |
| 5800 | * rs6000-tdep.c (skip_prologue): Recognize addi instructions that |
| 5801 | directly decrement the stack pointer, accumulate their operand into |
| 5802 | the stack offset, and mark the function as not being frameless. |
| 5803 | |
| 5804 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
| 5805 | |
| 5806 | * arch-utils.c (selected_byte_order): New. |
| 5807 | * arch-utils.h (selected_byte_order): New prototype. |
| 5808 | * remote-sim.c (gdbsim_open): Use selected_byte_order. |
| 5809 | |
| 5810 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
| 5811 | |
| 5812 | * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA. |
| 5813 | (default_symfile_offsets): Check VMA here. Update section VMAs. |
| 5814 | |
| 5815 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
| 5816 | |
| 5817 | * remote.c (init_remote_state): Add special handling for placeholder |
| 5818 | registers. |
| 5819 | |
| 5820 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
| 5821 | |
| 5822 | * Makefile.in (XMLFILES): Include $(TDEP_XML). |
| 5823 | (filenames_h): New variable. |
| 5824 | (clean): Clean up xml-builtin.c and stamp-xml. |
| 5825 | (arm-linux-nat.o): Update. |
| 5826 | * config/arm/linux.mh (TDEP_XML): Define. |
| 5827 | * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. |
| 5828 | (arm_linux_has_wmmx_registers): New. |
| 5829 | (GET_THREAD_ID): Fix typo. |
| 5830 | (IWMMXT_REGS_SIZE): Define. |
| 5831 | (fetch_wmmx_regs, store_wmmx_regs): New. |
| 5832 | (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs. |
| 5833 | (arm_linux_store_inferior_registers): Use store_wmmx_regs. |
| 5834 | (super_xfer_partial, arm_linux_xfer_partial): New. |
| 5835 | (_initialize_arm_linux_nat): Use them. |
| 5836 | * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT. |
| 5837 | (xml_builtin_xfer_partial): New function. |
| 5838 | * xml-support.h (xml_builtin_xfer_partial): New prototype. |
| 5839 | * NEWS: Update mention of iWMMXt support. |
| 5840 | |
| 5841 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
| 5842 | |
| 5843 | * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves |
| 5844 | if there are no FPA registers. |
| 5845 | (arm_dwarf_reg_to_regnum): New function. |
| 5846 | (arm_register_type, arm_register_name): Return minimal values for |
| 5847 | unsupported registers. |
| 5848 | (arm_register_sim_regno): Handle iWMMXt registers. |
| 5849 | (arm_gdbarch_init): Record missing FPA registers if indicated by |
| 5850 | a target description. Recognize iWMMXt registers. Only register |
| 5851 | "info float" for FPA. Use ARM_NUM_REGS. Register |
| 5852 | arm_dwarf_reg_to_regnum. |
| 5853 | * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt |
| 5854 | constants. |
| 5855 | (struct gdbarch_tdep): Add have_fpa_registers. |
| 5856 | * features/xscale-iwmmxt.xml: Update capitalization. |
| 5857 | * regformats/arm-with-iwmmxt.dat: Regenerated. |
| 5858 | |
| 5859 | 2007-02-24 Kevin Buettner <kevinb@redhat.com> |
| 5860 | |
| 5861 | * NEWS (New targets): Add entry for the Toshiba Media Processor. |
| 5862 | |
| 5863 | 2007-02-23 Kevin Buettner <kevinb@redhat.com> |
| 5864 | |
| 5865 | * MAINTAINERS (mep): New target. |
| 5866 | |
| 5867 | 2007-02-23 Kevin Buettner <kevinb@redhat.com> |
| 5868 | |
| 5869 | From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and |
| 5870 | Richard Sandiford: |
| 5871 | * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables. |
| 5872 | (mep-tdep.o): New rule. |
| 5873 | * configure.tgt (mep-*-*): New target. |
| 5874 | * mep-tdep.c: New file. |
| 5875 | * config/mep/mep.mt: New file. |
| 5876 | |
| 5877 | 2007-02-22 Markus Deuling <deuling@de.ibm.com> |
| 5878 | |
| 5879 | * infrun.c (inferior_stop_reason, print_stop_reason): Remove |
| 5880 | BREAKPOINT_HIT and STOP_UNKNOWN. |
| 5881 | |
| 5882 | 2007-02-22 Markus Deuling <deuling@de.ibm.com> |
| 5883 | |
| 5884 | * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT. |
| 5885 | |
| 5886 | 2007-02-20 Joel Brobecker <brobecker@adacore.com> |
| 5887 | |
| 5888 | * gdb_expat.h (XMLCALL): Define if not already defined. |
| 5889 | |
| 5890 | 2007-02-20 Andreas Schwab <schwab@suse.de> |
| 5891 | |
| 5892 | * Makefile.in (symfile.o): Update dependencies. |
| 5893 | |
| 5894 | 2007-02-20 Daniel Jacobowitz <dan@codesourcery.com> |
| 5895 | |
| 5896 | * MAINTAINERS: Disable -Werror for cris simulator. Build |
| 5897 | sparc64-solaris2.10 instead of the broken sparc-elf. |
| 5898 | * solib-frv.c: Include "solib.h". |
| 5899 | * Makefile.in (solib-frv.o): Update. |
| 5900 | * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch. |
| 5901 | * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int. |
| 5902 | (xtensa_frame_this_id, xtensa_frame_prev_register) |
| 5903 | (xtensa_push_dummy_call): Use %p. |
| 5904 | |
| 5905 | 2007-02-16 Daniel Jacobowitz <dan@codesourcery.com> |
| 5906 | |
| 5907 | * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, |
| 5908 | ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c, |
| 5909 | sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". |
| 5910 | * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o) |
| 5911 | (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o) |
| 5912 | (sparc-linux-tdep.o): Update. |
| 5913 | |
| 5914 | 2007-02-15 Maxim Grigoriev <maxim2405@gmail.com> |
| 5915 | |
| 5916 | * xtensa-tdep.h (xtensa_reg_mask_t): New. |
| 5917 | (xtensa_mask_t): Change mask field to be a separate array. |
| 5918 | * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read) |
| 5919 | (xtensa_pseudo_register_write, xtensa_unwind_pc) |
| 5920 | (xtensa_unwind_dummy_id, xtensa_push_dummy_call) |
| 5921 | (xtensa_breakpoint_from_pc): Remove implicit type casting. |
| 5922 | * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5) |
| 5923 | (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13) |
| 5924 | (mask14, mask15): Rename to |
| 5925 | (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3) |
| 5926 | (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7) |
| 5927 | (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11) |
| 5928 | (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this. |
| 5929 | (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3) |
| 5930 | (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7) |
| 5931 | (xtensa_submask8, xtensa_submask9, xtensa_submask10) |
| 5932 | (xtensa_submask11, xtensa_submask12, xtensa_submask13) |
| 5933 | (xtensa_submask14, xtensa_submask15): New. |
| 5934 | (rmap): Follow strict aliasing rules doing static initialization. |
| 5935 | |
| 5936 | 2007-02-13 Daniel Jacobowitz <dan@codesourcery.com> |
| 5937 | |
| 5938 | * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr |
| 5939 | handling from here... |
| 5940 | (tdesc_register_type): ...to here. |
| 5941 | * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr. |
| 5942 | * features/arm-core.xml: Use code_ptr and data_ptr. |
| 5943 | |
| 5944 | 2007-02-13 Denis Pilat <denis.pilat@st.com> |
| 5945 | |
| 5946 | * varobj.h (enum varobj_update_error): New enum. |
| 5947 | * varobj.c (struct varobj_root): Add is_valid member. |
| 5948 | (varobj_get_type): Check for invalid varobj. |
| 5949 | (varobj_get_attributes): Likewise. |
| 5950 | (variable_editable):Likewise. |
| 5951 | (varobj_update): Likewise. Use varobj_update_error. |
| 5952 | (new_root_variable): Set root varobj as valid by default. |
| 5953 | (varobj_invalidate): New function. |
| 5954 | * symfile.c (clear_symtab_users): Use varobj_invalidate. |
| 5955 | * mi/mi-cmd-var.c (varobj_update_one): Change return type to void. |
| 5956 | Use varobj_update_error. |
| 5957 | |
| 5958 | 2007-02-12 Pierre Muller <muller@ics.u-strasbg.fr> |
| 5959 | |
| 5960 | Fix PR pascal/2223. |
| 5961 | * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as |
| 5962 | Pascal language marker. |
| 5963 | * dwarf2read.c (set_cu_language): Likewise. |
| 5964 | |
| 5965 | 2007-02-12 Corinna Vinschen <vinschen@redhat.com> |
| 5966 | |
| 5967 | * win32-nat.c (win32_wait): Reset terminal pgrp to GDB. |
| 5968 | (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp |
| 5969 | instead of target_terminal_init since inferior_ptid isn't set yet. |
| 5970 | |
| 5971 | 2007-02-10 Pedro Alves <pedro_alves@portugalmail.pt> |
| 5972 | |
| 5973 | * MAINTAINERS (Write After Approval): Add myself. |
| 5974 | |
| 5975 | 2007-02-09 Fred Fish <fnf@specifix.com> |
| 5976 | |
| 5977 | Based on work by Apple Computer, Inc. |
| 5978 | * event-top.c (async_request_quit): Call quit() whenever either |
| 5979 | quit_flag is set or immediate_quit is set. |
| 5980 | |
| 5981 | 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net> |
| 5982 | |
| 5983 | * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's |
| 5984 | type to a pointer to const struct block. |
| 5985 | (ada_lookup_symbol_list): Don't cast away constness when calling |
| 5986 | remove_out_of_scope_renamings. |
| 5987 | |
| 5988 | 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net> |
| 5989 | |
| 5990 | * linux-nat.c (linux_nat_find_memory_regions): Don't check the |
| 5991 | address of 'filename'; it is always non null. |
| 5992 | |
| 5993 | 2007-02-09 Joel Brobecker <brobecker@adacore.com> |
| 5994 | |
| 5995 | * exec.c (add_to_section_table): Do not discard empty sections. |
| 5996 | |
| 5997 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
| 5998 | |
| 5999 | * features/Makefile, features/arm-with-iwmmxt.xml, |
| 6000 | features/gdbserver-regs.xsl, features/number-regs.xsl, |
| 6001 | features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files. |
| 6002 | * regformats/arm-with-iwmmxt.dat: Generate. |
| 6003 | * NEWS: Mention iWMMXt. |
| 6004 | |
| 6005 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
| 6006 | |
| 6007 | * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o) |
| 6008 | (xml-tdesc.o): Update. |
| 6009 | * xml-support.c: Add a comment. |
| 6010 | (gdb_xml_enums_boolean): New variable. |
| 6011 | (gdb_xml_parse_attr_enum): Use strcasecmp. |
| 6012 | * xml-support.h (gdb_xml_enums_boolean): Declare. |
| 6013 | * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature, |
| 6014 | next_regnum, and current_union. |
| 6015 | (tdesc_start_feature, tdesc_start_reg, tdesc_start_union) |
| 6016 | (tdesc_end_union, tdesc_start_field, tdesc_start_vector) |
| 6017 | (field_attributes, union_children, reg_attributes, union_attributes) |
| 6018 | (vector_attributes, feature_attributes, feature_children): New. |
| 6019 | (target_children): Make static. Add <feature>. |
| 6020 | (tdesc_elements): Make static. |
| 6021 | * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p) |
| 6022 | (struct tdesc_feature, tdesc_feature_p): New types. |
| 6023 | (struct target_desc): Add features member. |
| 6024 | (struct tdesc_arch_data, tdesc_data): New. |
| 6025 | (target_find_description): Clarify error message. Warn about |
| 6026 | ignored register descriptions. |
| 6027 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) |
| 6028 | (tdesc_named_type, tdesc_data_init, tdesc_data_alloc) |
| 6029 | (tdesc_data_cleanup, tdesc_numbered_register) |
| 6030 | (tdesc_numbered_register_choices, tdesc_find_register) |
| 6031 | (tdesc_register_name, tdesc_register_type) |
| 6032 | (tdesc_remote_register_number, tdesc_register_reggroup_p) |
| 6033 | (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type) |
| 6034 | (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers) |
| 6035 | (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature) |
| 6036 | (tdesc_create_feature, tdesc_record_type): New. |
| 6037 | (free_target_description): Free features. |
| 6038 | (_initialize_target_descriptions): Initialize tdesc_data. |
| 6039 | * arch-utils.c (default_remote_register_number): New. |
| 6040 | * arch-utils.h (default_remote_register_number): New prototype. |
| 6041 | * target-descriptions.h (set_tdesc_pseudo_register_name) |
| 6042 | (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p) |
| 6043 | (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup) |
| 6044 | (tdesc_numbered_register, tdesc_numbered_register_choices) |
| 6045 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) |
| 6046 | (tdesc_named_type, tdesc_create_feature, tdesc_record_type) |
| 6047 | (tdesc_create_reg): Declare. |
| 6048 | * gdbarch.sh (remote_register_number): New entry. |
| 6049 | * gdbarch.c, gdbarch.h: Regenerate. |
| 6050 | * remote.c (init_remote_state): Use gdbarch_remote_register_number. |
| 6051 | * features/gdb-target.dtd: Add feature, reg, vector, union, and field. |
| 6052 | |
| 6053 | * arm-tdep.c (arm_register_aliases): New. |
| 6054 | (arm_register_name_strings): Rename to... |
| 6055 | (arm_register_names): ...this. Make const. Delete the old version. |
| 6056 | (current_option, arm_register_byte): Delete. |
| 6057 | (set_disassembly_style): Simplify. Do not adjust arm_register_names. |
| 6058 | (value_of_arm_user_reg): New. |
| 6059 | (arm_gdbarch_init): Verify any described registers. Call |
| 6060 | tdesc_use_registers. Don't use arm_register_byte. Create aliases |
| 6061 | for standard register names. |
| 6062 | (_initialize_arm_tdep): Do not adjust arm_register_names. |
| 6063 | * user-regs.c (struct user_reg): Add baton member. |
| 6064 | (append_user_reg, user_reg_add_builtin, user_regs_init) |
| 6065 | (user_reg_add, value_of_user_reg): Use a baton for user |
| 6066 | register functions. |
| 6067 | * std-regs.c: Update. |
| 6068 | * user-regs.h (user_reg_read_ftype, user_reg_add_builtin) |
| 6069 | (user_reg_add): Add baton argument. |
| 6070 | * NEWS: Mention target description register support. |
| 6071 | * features/arm-core.xml, features/arm-fpa.xml: New. |
| 6072 | * eval.c (evaluate_subexp_standard): Allow ptype $register |
| 6073 | when the program is not running. |
| 6074 | |
| 6075 | 2007-02-09 Nick Roberts <nickrob@snap.net.nz> |
| 6076 | |
| 6077 | * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field. |
| 6078 | |
| 6079 | 2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
| 6080 | |
| 6081 | * rs6000-tdep.c (gdb_print_insn_powerpc): Set |
| 6082 | info->disassembler_options to "any". |
| 6083 | |
| 6084 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
| 6085 | |
| 6086 | * varobj.c (install_new_value): Only call value_get_print_value |
| 6087 | if changeable. |
| 6088 | |
| 6089 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
| 6090 | |
| 6091 | Reported by timeless@gmail.com: |
| 6092 | * gdb/target.c (target_flash_erase): Do not return void value. |
| 6093 | (target_flash_done): Likewise. |
| 6094 | * gdb/cli/cli-cmds.c (source_command): Likewise. |
| 6095 | |
| 6096 | 2007-02-08 Fred Fish <fnf@specifix.com> |
| 6097 | |
| 6098 | Based on work by Apple Computer, Inc. |
| 6099 | * event-top.c (handle_sigint): Set quit_flag. |
| 6100 | (async_request_quit): Don't set quit_flag. Avoid calling quit() |
| 6101 | if quit_flag has already been reset. |
| 6102 | |
| 6103 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
| 6104 | |
| 6105 | * ser-mingw.c (pipe_windows_close): Move variable initialization back |
| 6106 | up. |
| 6107 | |
| 6108 | 2007-02-08 Fred Fish <fnf@specifix.com> |
| 6109 | |
| 6110 | * defs.h (request_quit): Remove declaration. |
| 6111 | * utils.c (request_quit): Remove definition. |
| 6112 | |
| 6113 | 2007-02-08 Joel Brobecker <brobecker@gnat.com> |
| 6114 | Jan Kratochvil <jan.kratochvil@redhat.com> |
| 6115 | Daniel Jacobowitz <dan@codesourcery.com> |
| 6116 | |
| 6117 | * rs6000-tdep.c (bl_to_blrl_insn_p): New function. |
| 6118 | (skip_prologue): Allow bl->blrl used by PIC code. |
| 6119 | |
| 6120 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
| 6121 | Daniel Jacobowitz <dan@codesourcery.com> |
| 6122 | |
| 6123 | * cp-valprint.c (cp_print_value_fields, cp_print_value): Always |
| 6124 | initialize tmp_obstack. |
| 6125 | * p-valprint.c (pascal_object_print_value_fields) |
| 6126 | (pascal_object_print_value): Likewise. |
| 6127 | |
| 6128 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
| 6129 | |
| 6130 | * features/feature_to_c.sh: Use %s to avoid problems with nawk. |
| 6131 | |
| 6132 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
| 6133 | |
| 6134 | * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". |
| 6135 | * Makefile.in (sparcnbsd-tdep.o): Update dependencies. |
| 6136 | |
| 6137 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
| 6138 | |
| 6139 | * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s) |
| 6140 | (xml_cache): New. |
| 6141 | (tdesc_parse_xml): Cache expanded descriptions. |
| 6142 | |
| 6143 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
| 6144 | |
| 6145 | * Makefile.in (XMLFILES): New. |
| 6146 | (COMMON_OBS): Add xml-builtin.o. |
| 6147 | (xml-builtin.c, stamp-xml): New rules. |
| 6148 | (xml-tdesc.o): Update. |
| 6149 | * features/feature_to_c.sh: New file. |
| 6150 | * xml-support.c (MAX_XINCLUDE_DEPTH): Define. |
| 6151 | (struct gdb_xml_parser): Add dtd_name and is_xinclude. |
| 6152 | (gdb_xml_start_element): Initialize scope after possibly reallocating |
| 6153 | scopes. Move cleanup later. Handle the XInclude description |
| 6154 | specially. |
| 6155 | (gdb_xml_end_element): Only parse the body if there is a current element. |
| 6156 | Call XML_DefaultCurrent if there is no element. |
| 6157 | (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New. |
| 6158 | (struct xinclude_parsing_data, xinclude_start_include) |
| 6159 | (xinclude_end_include, xml_xinclude_default) |
| 6160 | (xml_xinclude_start_doctype, xml_xinclude_end_doctype) |
| 6161 | (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes) |
| 6162 | (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New. |
| 6163 | * xml-support.h (xml_fetch_another, xml_process_xincludes) |
| 6164 | (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations. |
| 6165 | * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand |
| 6166 | XInclude directives. Use the compiled in DTD. |
| 6167 | (fetch_xml_from_file): Add baton argument. Treat it as a containing |
| 6168 | directory name. Do not warn here. |
| 6169 | (file_read_description_xml): Update call. Warn here instead. Pass |
| 6170 | a dirname as baton. |
| 6171 | (fetch_available_features_from_target): New. |
| 6172 | (target_read_description_xml): Use it. |
| 6173 | * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd |
| 6174 | to handle XInclude. |
| 6175 | * features/xinclude.dtd: New file. |
| 6176 | |
| 6177 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
| 6178 | |
| 6179 | * linux-thread-db.c (check_for_thread_db): Return early if we have |
| 6180 | no libthread_db support. |
| 6181 | |
| 6182 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
| 6183 | |
| 6184 | * mi/mi-parse.h: Include <sys/time.h>. |
| 6185 | |
| 6186 | 2007-02-05 Nick Roberts <nickrob@snap.net.nz> |
| 6187 | |
| 6188 | * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print |
| 6189 | instead of print_variable_value to print values. |
| 6190 | |
| 6191 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
| 6192 | |
| 6193 | * mi/mi-main.c: Numerous formatting changes. |
| 6194 | (mi_cmd_data_write_register_values): Replace clause inadvertantly |
| 6195 | removed in my previous change. |
| 6196 | |
| 6197 | 2007-02-03 Eli Zaretskii <eliz@gnu.org> |
| 6198 | |
| 6199 | * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now): |
| 6200 | Use 1000000L instead of 1000000. |
| 6201 | |
| 6202 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
| 6203 | |
| 6204 | Based on work by Apple Computer, Inc. |
| 6205 | |
| 6206 | * configure.ac: Test for sys/resource.h and getrusage. |
| 6207 | * configure, config.in: Regenerate. |
| 6208 | |
| 6209 | * mi/mi-main.c: Include <sys/resource.h> if present. |
| 6210 | (rusage): Declare if HAVE_GETRUSAGE. |
| 6211 | (current_command_ts, do_timings): New static variables. |
| 6212 | (timestamp, print_diff_now, print_diff, timeval_diff): |
| 6213 | New static timing functions. |
| 6214 | (mi_cmd_enable_timings): New function for new MI command. |
| 6215 | (captured_mi_execute_command, mi_execute_async_cli_command): |
| 6216 | Call timing functions. |
| 6217 | |
| 6218 | * mi/mi-cmds.c (mi_cmds): Add entry for new MI command |
| 6219 | -enable-timings. |
| 6220 | |
| 6221 | * mi/mi-cmds.h (mi_cmd_enable_timings): New extern. |
| 6222 | |
| 6223 | * mi/mi-parse.h: (mi_timestamp): New structure. |
| 6224 | (mi_parse): Add mi_timestamp* member. |
| 6225 | |
| 6226 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
| 6227 | |
| 6228 | * thread.c (make_cleanup_restore_current_thread): New function. |
| 6229 | (info_threads_command): Use of make_cleanup_restore_current_thread |
| 6230 | to restore the current thread and the selected frame. |
| 6231 | (restore_selected_frame): New function. |
| 6232 | (struct current_thread_cleanup): Add frame_id field. |
| 6233 | (do_restore_current_thread_cleanup): Add restoring of the selected |
| 6234 | frame. |
| 6235 | (make_cleanup_restore_current_thread): Likewise. |
| 6236 | (thread_apply_all_command): backup the selected frame while |
| 6237 | entering the function and restore it at exit. |
| 6238 | (thread_apply_command): Likewise. |
| 6239 | |
| 6240 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
| 6241 | |
| 6242 | * MAINTAINERS (Write After Approval): Add myself to the list. |
| 6243 | |
| 6244 | 2007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
| 6245 | |
| 6246 | * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask. |
| 6247 | (m32r_store_register): Ditto. |
| 6248 | |
| 6249 | 2007-01-30 Vladimir Prus <vladimir@codesourcery.com> |
| 6250 | |
| 6251 | * ser-mingw.c (pipe_windows_open) |
| 6252 | (pipe_windows_read, pipe_windows_write): Declare |
| 6253 | variables at the top of the function. |
| 6254 | |
| 6255 | 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
| 6256 | |
| 6257 | * doublest.c (floatformat_from_length): Use the right element from |
| 6258 | gdbarch floatformats. |
| 6259 | (floatformat_from_type, extract_typed_floating) |
| 6260 | (store_typed_floating): Likewise. |
| 6261 | * doublest.h: Remove declarations for undefined floatformat arrays. |
| 6262 | * gdbarch.sh (float_format, double_format, long_double_format): Change |
| 6263 | to pairs. |
| 6264 | (pformat): Update for pairs. |
| 6265 | * gdbarch.c, gdbarch.h: Regenerated. |
| 6266 | * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double) |
| 6267 | (floatformats_ieee_double_littlebyte_bigword) |
| 6268 | (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext) |
| 6269 | (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f) |
| 6270 | (floatformats_vax_d): New variables. |
| 6271 | (builtin_type_ieee_single, builtin_type_ieee_double) |
| 6272 | (builtin_type_arm_ext, builtin_type_ia64_spill) |
| 6273 | (builtin_type_ia64_quad): Replace arrays with individual types. |
| 6274 | (builtin_type_ieee_single_big, builtin_type_ieee_single_little) |
| 6275 | (builtin_type_ieee_double_big, builtin_type_ieee_double_little) |
| 6276 | (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext) |
| 6277 | (builtin_type_m88110_ext, builtin_type_m88110_harris_ext) |
| 6278 | (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword) |
| 6279 | (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little) |
| 6280 | (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete |
| 6281 | unused and endian-specific types. |
| 6282 | (recursive_dump_type): Update for floatformat pairs. |
| 6283 | (build_flt): Move higher. Handle bit == -1. Take a floatformat pair. |
| 6284 | (build_gdbtypes): Use build_flt. |
| 6285 | (_initialize_gdbtypes): Update set of initialized types. |
| 6286 | * gdbtypes.h: Update declarations to match gdbtypes.c. |
| 6287 | (struct main_type): Store a pointer to two floatformats. |
| 6288 | * arch-utils.c (default_float_format, default_double_format): Delete. |
| 6289 | * arch-utils.h (default_float_format, default_double_format): Delete. |
| 6290 | |
| 6291 | * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, |
| 6292 | ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c, |
| 6293 | mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c, |
| 6294 | sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c, |
| 6295 | vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update. |
| 6296 | |
| 6297 | 2007-01-29 Joel Brobecker <brobecker@adacore.com> |
| 6298 | |
| 6299 | * target.c (maintenance_print_target_stack): New function. |
| 6300 | (initialize_targets): Add new "maintenance print target-stack" |
| 6301 | command. |
| 6302 | |
| 6303 | 2007-01-28 Mark Kettenis <kettenis@gnu.org> |
| 6304 | |
| 6305 | * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero. |
| 6306 | |
| 6307 | 2007-01-27 Daniel Jacobowitz <dan@codesourcery.com> |
| 6308 | |
| 6309 | * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long. |
| 6310 | (struct dwarf2_loclist_baton): Likewise. |
| 6311 | |
| 6312 | 2007-01-27 Eli Zaretskii <eliz@gnu.org> |
| 6313 | |
| 6314 | * cli/cli-script.c: Include breakpoint.h. |
| 6315 | (build_command_line): Require arguments only for if and while |
| 6316 | commands. |
| 6317 | (get_command_line, execute_user_command, execute_control_command): |
| 6318 | Fix wording of warning messages. |
| 6319 | (print_command_lines): Print breakpoint commands. |
| 6320 | (execute_control_command): Call commands_from_control_command to |
| 6321 | handle the `commands' command inside a body of a flow-control |
| 6322 | command. |
| 6323 | (read_next_line): Recognize the `commands' command and build a |
| 6324 | command line structure for it. |
| 6325 | (recurse_read_control_structure, read_command_lines): Handle |
| 6326 | `commands' similarly to `if' and `while'. |
| 6327 | |
| 6328 | * breakpoint.c (get_number_trailer): Document the special meaning |
| 6329 | of NULL as the first argument PP. |
| 6330 | (commands_from_control_command): New function. |
| 6331 | |
| 6332 | * breakpoint.h (commands_from_control_command): Add prototype. |
| 6333 | |
| 6334 | * defs.h (commands_control): New enumerated value for enum |
| 6335 | command_control_type. |
| 6336 | |
| 6337 | 2007-01-26 Joel Brobecker <brobecker@adacore.com> |
| 6338 | |
| 6339 | * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name. |
| 6340 | (ada_exception_sal): Update accordingly. |
| 6341 | |
| 6342 | 2007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 6343 | |
| 6344 | * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs. |
| 6345 | * NEWS: Describe CHAR array vs. string identifcation rules. |
| 6346 | |
| 6347 | 2007-01-25 Paul Brook <paul@codesourcery.com> |
| 6348 | |
| 6349 | * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error. |
| 6350 | |
| 6351 | 2007-01-24 Jim Blandy <jimb@codesourcery.com> |
| 6352 | |
| 6353 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location |
| 6354 | expression is empty, bother to return the 'optimized out' value we |
| 6355 | construct. (Thanks to Carl Burch.) |
| 6356 | |
| 6357 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
| 6358 | |
| 6359 | * varobj.c (c_value_of_root, c_value_of_child) |
| 6360 | (cplus_describe_child): Don't call release_value. |
| 6361 | |
| 6362 | 2007-01-24 Thiemo Seufer <ths@mips.com> |
| 6363 | |
| 6364 | * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct |
| 6365 | initialization. |
| 6366 | |
| 6367 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
| 6368 | |
| 6369 | Refactor getting children name, value and type access |
| 6370 | for varobjs in C++. |
| 6371 | * varobj.c (get_type_deref): Remove. |
| 6372 | (adjust_value_for_child_access): New. |
| 6373 | (c_number_of_children): Use the above. |
| 6374 | (c_describe_child): Likewise. |
| 6375 | (enum accessibility): New. |
| 6376 | (match_accessibility): New function. |
| 6377 | (cplus_describe_child): New function. |
| 6378 | (cplus_name_of_child, cplus_value_of_child) |
| 6379 | (cplus_type_of_child): Reimplement in terms |
| 6380 | of cplus_describe_child. |
| 6381 | (cplus_number_of_children): Use |
| 6382 | adjust_value_for_child_access. |
| 6383 | |
| 6384 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
| 6385 | |
| 6386 | Fix computation of the 'editable' attribute and |
| 6387 | value changeability for for references. |
| 6388 | * varobj.c (get_value_type): New function. |
| 6389 | (c_variable_editable): Use get_value_type. |
| 6390 | (varobj_value_is_changeable): Likewise. |
| 6391 | |
| 6392 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
| 6393 | |
| 6394 | * source.c (find_and_open_source): Try rewriting the source |
| 6395 | path inside filename if dirname is NULL. |
| 6396 | |
| 6397 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
| 6398 | |
| 6399 | * dwarf2read.c (add_partial_symbol): Create an extra partial |
| 6400 | symbol in the VAR_DOMAIN for Ada structures, unions or enums. |
| 6401 | (new_symbol): Likewise for symbols. |
| 6402 | |
| 6403 | 2007-01-24 Nick Roberts <nickrob@snap.net.nz> |
| 6404 | |
| 6405 | * mi/mi-main.c (mi_cmd_execute): Call free_all_values. |
| 6406 | |
| 6407 | 2007-01-23 Vladimir Prus <vladimir@codesourcery.com> |
| 6408 | |
| 6409 | * value.c (value_primitive_field): Copy the full 'location' |
| 6410 | contents, instead of assuming that copying ADDRESS will |
| 6411 | bring over everything in the union. Remove obsolete comment. |
| 6412 | |
| 6413 | 2007-01-23 Masaki Muranaka <monaka@monami-software.com> |
| 6414 | |
| 6415 | * m32c-tdep.c (make_regs, m32c_analyze_prologue) |
| 6416 | (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer) |
| 6417 | (m32c_m16c_pointer_to_address): Separate code from declarations. |
| 6418 | |
| 6419 | 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com> |
| 6420 | |
| 6421 | * target.c (update_current_target): Correct typo. |
| 6422 | |
| 6423 | 2007-01-22 Masaki Muranaka <monaka@monami-software.com> |
| 6424 | |
| 6425 | * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a |
| 6426 | declaration. |
| 6427 | |
| 6428 | 2007-01-11 Andrew Cagney <cagney@redhat.com> |
| 6429 | Daniel Jacobowitz <dan@codesourcery.com> |
| 6430 | Jan Kratochvil <jan.kratochvil@redhat.com> |
| 6431 | |
| 6432 | * dwarf2-frame.c (execute_cfa_program): New support of |
| 6433 | `DW_CFA_GNU_negative_offset_extended'. |
| 6434 | |
| 6435 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
| 6436 | |
| 6437 | * NEWS: Mention flash support for "load" and new remote packets. |
| 6438 | |
| 6439 | 2007-01-21 Markus Deuling <deuling@de.ibm.com> |
| 6440 | |
| 6441 | * breakpoint.c (delete_command): Skip redundant loop iterations. |
| 6442 | |
| 6443 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
| 6444 | |
| 6445 | * gdbarch.sh (register_type): Update comment. |
| 6446 | * gdbarch.h: Regenerated. |
| 6447 | * arch-utils.c (generic_register_size): Call register_type. |
| 6448 | * ia64-tdep.c (ia64_extract_return_value): Likewise. |
| 6449 | * m32c-tdep.c (check_for_saved): Likewise. |
| 6450 | * mips-tdep.c (mips_print_register, print_gp_register_row) |
| 6451 | (mips_print_registers_info): Likewise. |
| 6452 | * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write): |
| 6453 | Likewise. |
| 6454 | * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write) |
| 6455 | (sh64_do_register, sh64_print_register) |
| 6456 | (sh64_media_print_registers_info): Likewise. |
| 6457 | * tui/tui-regs.c (tui_register_format): Likewise. |
| 6458 | |
| 6459 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
| 6460 | |
| 6461 | * objfiles.h (ALL_PRIMARY_SYMTABS): Define. |
| 6462 | |
| 6463 | * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list) |
| 6464 | (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS. |
| 6465 | * cp-support.c (make_symbol_overload_list_qualified): Likewise. |
| 6466 | * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) |
| 6467 | (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols) |
| 6468 | (make_symbol_completion_list): Likewise. |
| 6469 | |
| 6470 | 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 6471 | Daniel Jacobowitz <dan@codesourcery.com> |
| 6472 | |
| 6473 | * buildsym.c (end_symtab): Use preallocated symtab if available. |
| 6474 | Fill in SYMBOL_SYMTAB. |
| 6475 | * buildsym.h (struct subfile): Add symtab member. |
| 6476 | * dwarf2read.c (struct dwarf2_cu): Add line_header. |
| 6477 | (struct file_entry): Add symtab. |
| 6478 | (free_cu_line_header): New function. |
| 6479 | (read_file_scope): Use it. Save line_header in the cu. Process |
| 6480 | lines before DIEs. |
| 6481 | (add_file_name): Initialize new symtab member. |
| 6482 | (dwarf_decode_lines): Create symtabs for included files. |
| 6483 | (new_symbol): Set SYMBOL_SYMTAB. |
| 6484 | * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB. |
| 6485 | (search_symbols): Likewise. |
| 6486 | * symtab.h (struct symbol): Add symtab member. |
| 6487 | (SYMBOL_SYMTAB): Define. |
| 6488 | |
| 6489 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
| 6490 | |
| 6491 | * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO. |
| 6492 | |
| 6493 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
| 6494 | |
| 6495 | * arch-utils.c (show_endian): Correct reversed condition. |
| 6496 | |
| 6497 | 2007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 6498 | |
| 6499 | * MAINTAINERS (Write After Approval): Add myself. |
| 6500 | |
| 6501 | 2007-01-16 Daniel Jacobowitz <dan@codesourcery.com> |
| 6502 | Vladimir Prus <vladimir@codesourcery.com> |
| 6503 | |
| 6504 | Fix 'selected frame' varobjs. |
| 6505 | * varobj.c (struct varobj): Remove the error field. |
| 6506 | (varobj_set_value): Don't check var->error. |
| 6507 | (install_new_value): Don't set var->error. |
| 6508 | (varobj_update): Always pass the new value |
| 6509 | of the root via install_new_value. |
| 6510 | (create_child): Don't set error field. |
| 6511 | (new_variable): Likewise. |
| 6512 | (c_value_of_root): Always reevaluate the value |
| 6513 | of selected frame varobjs in the selected frame. |
| 6514 | Don't call reinit_frame_cache. |
| 6515 | |
| 6516 | 2007-01-15 Joel Brobecker <brobecker@adacore.com> |
| 6517 | |
| 6518 | * source.c (_initialize_source): Improve the help text of |
| 6519 | the substitute-path commands. |
| 6520 | |
| 6521 | 2007-01-14 Mark Kettenis <kettenis@gnu.org> |
| 6522 | |
| 6523 | * frv-tdep.c (frv_gdbarch_init, frv_register_name) |
| 6524 | (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address) |
| 6525 | (frv_skip_prologue): Remove prototypes. |
| 6526 | (frv_adjust_breakpoint_address): Renamed from |
| 6527 | frv_gdbarch_adjust_breakpoint_address. |
| 6528 | (frv_gdbarch_init): Adjust. |
| 6529 | |
| 6530 | 2007-01-13 Mark Kettenis <kettenis@gnu.org> |
| 6531 | |
| 6532 | * gdbarch.sh (deprecated_extract_return_value) |
| 6533 | (deprecated_store_return_value): Remove. |
| 6534 | (extract_return_value, store_return_value): Remove default values. |
| 6535 | * gdbarch.c, gdbarch.h: Regenerate. |
| 6536 | * arch-utils.c, arch-utils.h (legacy_extract_return_value) |
| 6537 | (legacy_store_return_value): Remove. |
| 6538 | * regcache.c, regcache.h (deprecated_grub_regcache_for_registers): |
| 6539 | Remove. |
| 6540 | |
| 6541 | * mi/mi-main.c: Remove obsolete comment. |
| 6542 | |
| 6543 | * regcache.c, regcache.h (deprecated_register_bytes) |
| 6544 | (deprecated_read_register_bytes) |
| 6545 | (deprecated_write_register_bytes): Remove. |
| 6546 | |
| 6547 | * frame.c (get_frame_register_bytes, put_frame_register_bytes): |
| 6548 | Don't forget to move destination pointer. |
| 6549 | |
| 6550 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
| 6551 | |
| 6552 | * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove. |
| 6553 | |
| 6554 | 2007-01-11 Ulrich Weigand <uweigand@de.ibm.com> |
| 6555 | |
| 6556 | * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace |
| 6557 | past entry function with recent newlib. |
| 6558 | |
| 6559 | 2007-01-11 Vladimir Prus <vladimir@codesourcery.com> |
| 6560 | |
| 6561 | * gdb.texinfo (GDB/MI Variable Objects): Improve the |
| 6562 | introduction. Specify -var-update more exactly. |
| 6563 | |
| 6564 | 2007-01-11 Daniel Jacobowitz <dan@codesourcery.com> |
| 6565 | |
| 6566 | * frame.c (get_prev_frame_1): Check PC_REGNUM before using it. |
| 6567 | |
| 6568 | 2007-01-10 Jim Blandy <jimb@codesourcery.com> |
| 6569 | |
| 6570 | * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted |
| 6571 | the Global Maintainers' invitation to be a global maintainer. |
| 6572 | |
| 6573 | 2007-01-10 Daniel Jacobowitz <dan@codesourcery.com> |
| 6574 | |
| 6575 | * infrun.c (singlestep_pc): New variable. |
| 6576 | (resume): Set singlestep_pc. |
| 6577 | (context_switch): Add a debugging message. Flush the frame cache. |
| 6578 | (handle_inferior_event): Add debugging messages. Handle thread |
| 6579 | hops when a software single step has completed. Let context_switch |
| 6580 | handle flushing the frame cache. |
| 6581 | |
| 6582 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
| 6583 | |
| 6584 | * NEWS: Mention target descriptions, "set tdesc filename", |
| 6585 | "unset tdesc filename", "show tdesc filename", and |
| 6586 | qXfer:features:read. |
| 6587 | * arch-utils.c (choose_architecture_for_target): New function. |
| 6588 | (gdbarch_info_fill): Call it. |
| 6589 | * target-descriptions.c (struct property): Make members non-const. |
| 6590 | (struct target_desc): Add arch member. |
| 6591 | (target_description_filename): New variable. |
| 6592 | (target_find_description): Try via XML first. |
| 6593 | (tdesc_architecture): New. |
| 6594 | (free_target_description, make_cleanup_free_target_description): New. |
| 6595 | (set_tdesc_property): Call xstrdup. |
| 6596 | (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist) |
| 6597 | (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd) |
| 6598 | (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd) |
| 6599 | (show_tdesc_filename_cmd, _initialize_target_descriptions): New. |
| 6600 | * target-descriptions.h (tdesc_architecture) |
| 6601 | (make_cleanup_free_target_description, set_tdesc_architecture): New |
| 6602 | prototypes. |
| 6603 | * Makefile.in (SFILES): Add xml-tdesc.c. |
| 6604 | (COMMON_OBS): Add xml-tdesc.o. |
| 6605 | (target-descriptions.o): Update. |
| 6606 | (xml-tdesc.o): New rule. |
| 6607 | * xml-tdesc.c, xml-tdesc.h: New files. |
| 6608 | * remote.c (PACKET_qXfer_features): New enum. |
| 6609 | (remote_protocol_features): Add qXfer:features:read. |
| 6610 | (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES. |
| 6611 | (_initialize_remote): Register qXfer:features:read. |
| 6612 | * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES. |
| 6613 | * features/gdb-target.dtd: New file. |
| 6614 | |
| 6615 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
| 6616 | |
| 6617 | * copyright.sh: Clarify error. |
| 6618 | |
| 6619 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 6620 | |
| 6621 | * symtab.c (matching_bfd_sections): Fix VMA matching for |
| 6622 | prelinked objects. |
| 6623 | |
| 6624 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 6625 | |
| 6626 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle |
| 6627 | nested symbols. |
| 6628 | |
| 6629 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
| 6630 | |
| 6631 | Updated copyright notices for most files. |
| 6632 | |
| 6633 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
| 6634 | |
| 6635 | * copyright.sh (prunes): Add step-line.inp and step-line.c. |
| 6636 | |
| 6637 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
| 6638 | |
| 6639 | * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside |
| 6640 | exec_prefix. |
| 6641 | (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being |
| 6642 | '${prefix}'. |
| 6643 | * configure, config.in: Regenerate. |
| 6644 | * defs.h (debug_file_directory): Declare. |
| 6645 | * main.c (captured_main): Canonicalize gdb_sysroot. Assume |
| 6646 | TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and |
| 6647 | relocate it if DEBUGDIR_RELOCATABLE. |
| 6648 | * symfile.c (debug_file_directory): Make non-static. |
| 6649 | (find_separate_debug_file): Look for debug info for SYSROOT/PATH |
| 6650 | in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT. |
| 6651 | (_initialize_symfile): Don't initialize debug_file_directory here. |
| 6652 | |
| 6653 | 2007-01-09 Jim Blandy <jimb@codesourcery.com> |
| 6654 | |
| 6655 | * score-tdep.c (score_push_dummy_call): Don't mix declarations and |
| 6656 | statements. |
| 6657 | |
| 6658 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
| 6659 | |
| 6660 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use |
| 6661 | frame_unwind_register to recurse. |
| 6662 | * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise. |
| 6663 | (alpha_heuristic_frame_prev_register): Likewise. |
| 6664 | * h8300-tdep.c (h8300_frame_prev_register): Likewise. |
| 6665 | * m32c-tdep.c (m32c_prev_register): Likewise. |
| 6666 | * frame.c (frame_register_unwind_location): Remove FIXME. |
| 6667 | |
| 6668 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
| 6669 | Eli Zaretskii <eliz@gnu.org> |
| 6670 | |
| 6671 | * copyright.sh: New file. |
| 6672 | |
| 6673 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
| 6674 | |
| 6675 | * configure.ac: Check for XML_StopParser. |
| 6676 | * xml-support.c (gdb_xml_body_text): Check for an error. |
| 6677 | (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser. |
| 6678 | (gdb_xml_end_element_wrapper): Likewise. |
| 6679 | * config.in, configure: Regenerated. |
| 6680 | |
| 6681 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
| 6682 | |
| 6683 | * varobj.c (install_new_value): Always update print_value. |
| 6684 | (value_get_print_value): Immediately return NULL for missing |
| 6685 | values. |
| 6686 | |
| 6687 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
| 6688 | |
| 6689 | * configure.ac: Tighten pattern for extracting value of |
| 6690 | DEPRECATED_TM_FILE from the target makefile fragment. |
| 6691 | * configure: Regenerated. |
| 6692 | |
| 6693 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
| 6694 | |
| 6695 | * linux-nat.c (struct simple_pid_list): Add status. |
| 6696 | (add_to_pid_list): Record the PID's status. |
| 6697 | (linux_record_stopped_pid): Likewise. Make static. |
| 6698 | (pull_pid_from_list): Return the saved status. |
| 6699 | (linux_nat_handle_extended): Deleted. |
| 6700 | (linux_handle_extended_wait): Combine with linux_nat_handle_extended. |
| 6701 | Make static. Handle non-SIGSTOP for a new thread's first signal. |
| 6702 | (flush_callback): Handle unexpected pending signals. |
| 6703 | (linux_nat_wait): Update calls to changed functions. |
| 6704 | * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait): |
| 6705 | Remove prototypes for newly static functions. |
| 6706 | |
| 6707 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
| 6708 | |
| 6709 | * gdbarch.sh (value_from_register): New gdbarch function. |
| 6710 | * gdbarch.c, gdbarch.h: Regenerate. |
| 6711 | * findvar.c (default_value_from_register): New function. |
| 6712 | (value_from_register): Use gdbarch_value_from_register. |
| 6713 | * value.h (default_value_from_register): Declare. |
| 6714 | * spu-tdep.c (spu_convert_register_p, spu_register_to_value, |
| 6715 | spu_value_to_register): Remove. |
| 6716 | (spu_value_from_register): New function. |
| 6717 | (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p, |
| 6718 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. |
| 6719 | Call set_gdbarch_value_from_register. |
| 6720 | * s390-tdep.c (s390_convert_register_p, s390_register_to_value, |
| 6721 | s390_value_to_register): Remove. |
| 6722 | (s390_value_from_register): New function. |
| 6723 | (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p, |
| 6724 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. |
| 6725 | Call set_gdbarch_value_from_register. |
| 6726 | |
| 6727 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
| 6728 | |
| 6729 | * NEWS: Add "set sysroot" and "show sysroot". |
| 6730 | * solib.c (solib_absolute_prefix): Delete. Replace |
| 6731 | all uses with gdb_sysroot. |
| 6732 | (_initialize_solib): Add "set sysroot" and "show sysroot". |
| 6733 | Make "solib-absolute-prefix" an alias to it. |
| 6734 | |
| 6735 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
| 6736 | |
| 6737 | * frame.c (get_frame_register_bytes): New function. |
| 6738 | (put_frame_register_bytes): Likewise. |
| 6739 | * frame.h (get_frame_register_bytes): Declare. |
| 6740 | (put_frame_register_bytes): Likewise. |
| 6741 | * findvar.c (value_from_register): Always construct lval_register |
| 6742 | values. Use get_frame_register_bytes. |
| 6743 | * valops.c (value_assign): Use get_frame_register_bytes and |
| 6744 | put_frame_register_bytes. |
| 6745 | |
| 6746 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
| 6747 | |
| 6748 | * MAINTAINERS: Update Stan Shebs' email address. |
| 6749 | |
| 6750 | 2007-01-07 Joel Brobecker <brobecker@adacore.com> |
| 6751 | |
| 6752 | * ada-lang.c (is_known_support_routine): Improve the implementation. |
| 6753 | |
| 6754 | 2007-01-06 Joel Brobecker <brobecker@adacore.com> |
| 6755 | |
| 6756 | * ada-lang.c: Add include of source.h. |
| 6757 | (is_known_support_routine): Improve the check verifying that the file |
| 6758 | associated to this frame exists. |
| 6759 | * Makefile.in (ada-lang.o): Add dependency on source.h. |
| 6760 | |
| 6761 | 2007-01-07 Jim Blandy <jimb@codesourcery.com> |
| 6762 | |
| 6763 | * ax-general.c (ax_const_l): Select proper opcode for the given |
| 6764 | value. |
| 6765 | |
| 6766 | 2007-01-05 Vladimir Prus <vladimir@codesourcery.com> |
| 6767 | |
| 6768 | * varobj.c (c_value_of_root): Don't select frame if variable |
| 6769 | object is out of scope. |
| 6770 | |
| 6771 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
| 6772 | |
| 6773 | * varobj.c (struct varobj): New member print_value. |
| 6774 | (install_new_value): Compare last printed value with current one |
| 6775 | instead of contents. |
| 6776 | (new_variable): Initialize var->print_value to NULL. |
| 6777 | (free_variable): Free var->print_value. |
| 6778 | (value_get_print_value): New function derived from |
| 6779 | c_value_of_variable. |
| 6780 | (c_value_of_variable): Use value_get_print_value. |
| 6781 | |
| 6782 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
| 6783 | |
| 6784 | * i386-tdep.c (i386_analyze_stack_align): Add comment. |
| 6785 | |
| 6786 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
| 6787 | |
| 6788 | * NEWS: Add entries for new catch commands. |
| 6789 | |
| 6790 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
| 6791 | |
| 6792 | * dwarf2read.c (partial_die_info): Add field has_byte_size. |
| 6793 | (add_partial_symbol): Correct identification of external references. |
| 6794 | (process_structure_scope): Likewise. |
| 6795 | (read_partial_die): Handle DW_AT_byte_size attribute. |
| 6796 | |
| 6797 | 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com> |
| 6798 | |
| 6799 | * xml-support.c (gdb_xml_end_element): Remove wrong backslashes. |
| 6800 | |
| 6801 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
| 6802 | |
| 6803 | * varobj.c (get_type_deref): Fix variable objects for references to |
| 6804 | pointers. |
| 6805 | |
| 6806 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
| 6807 | |
| 6808 | * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs |
| 6809 | with no symbols. |
| 6810 | |
| 6811 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
| 6812 | |
| 6813 | * memory-map.c (struct_memory_map_parsing_data): Remove most |
| 6814 | members. Make property_name an array. |
| 6815 | (free_memory_map_parsing_data, memory_map_start_element) |
| 6816 | (memory_map_end_element, memory_map_character_data): Delete. |
| 6817 | (memory_map_start_memory, memory_map_end_memory) |
| 6818 | (memory_map_start_property, memory_map_end_property): New functions. |
| 6819 | (property_attributes, memory_children, memory_type_enum) |
| 6820 | (memory_attributes, memory_map_children, memory_map_elements): New. |
| 6821 | (parse_memory_map): Rewrite. |
| 6822 | * xml-support.c (debug_xml): New. |
| 6823 | (xml_get_required_attribute, xml_get_integer_attribute) |
| 6824 | (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser): |
| 6825 | Delete. |
| 6826 | (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text) |
| 6827 | (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup) |
| 6828 | (gdb_xml_start_element, gdb_xml_start_element_wrapper) |
| 6829 | (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup) |
| 6830 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse) |
| 6831 | (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest) |
| 6832 | (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support): |
| 6833 | New. |
| 6834 | * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler) |
| 6835 | (enum gdb_xml_attribute_flag, struct gdb_xml_attribute) |
| 6836 | (enum gdb_xml_element_flag, struct gdb_xml_element) |
| 6837 | (gdb_xml_element_start_handler, gdb_xml_element_end_handler) |
| 6838 | (struct gdb_xml_enum): New. |
| 6839 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug) |
| 6840 | (gdb_xml_error, gdb_xml_parse_attr_ulongest) |
| 6841 | (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes. |
| 6842 | (xml_get_required_attribute, xml_get_integer_attribute) |
| 6843 | (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes. |
| 6844 | * Makefile.in (xml_support_h, xml-support.o): Update. |
| 6845 | |
| 6846 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
| 6847 | |
| 6848 | * Makefile.in (eval.o): Update dependencies. |
| 6849 | * eval.c: Include "ui-out.h" and "exceptions.h". |
| 6850 | (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable. |
| 6851 | Use value_zero if an error occurs when avoiding side effects. |
| 6852 | * varobj.c (c_value_of_root): Initialize new_val. |
| 6853 | |
| 6854 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
| 6855 | |
| 6856 | * varobj.c (varobj_list_children): Stop if the number of children is |
| 6857 | unknown. |
| 6858 | (c_number_of_children): |
| 6859 | |
| 6860 | 2007-01-04 Mark Kettenis <kettenis@gnu.org> |
| 6861 | |
| 6862 | * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE. |
| 6863 | (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start) |
| 6864 | (alpha_heuristic_frame_unwind_cache, alpha_next_pc) |
| 6865 | (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and |
| 6866 | sizeof, instead of hardcoded constants. |
| 6867 | |
| 6868 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
| 6869 | |
| 6870 | * CONTRIBUTE: Use sourceware.org. |
| 6871 | |
| 6872 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
| 6873 | |
| 6874 | * buildsym.c (start_subfile): Handle producer. |
| 6875 | (record_producer): New function. |
| 6876 | * buildsym.h (struct subfile): Include producer. |
| 6877 | (record_producer): New prototype. |
| 6878 | * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation. |
| 6879 | (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and |
| 6880 | armcc_cfa_offsets_reversed. |
| 6881 | (execute_cfa_program): Handle armcc_cfa_offsets_sf. |
| 6882 | (dwarf2_frame_find_quirks): New function. |
| 6883 | (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed. |
| 6884 | (decode_frame_entry_1): Record the CIE version. Record the |
| 6885 | augmentation. Skip armcc augmentations. |
| 6886 | * dwarf2read.c (read_file_scope): Save the producer. |
| 6887 | * symtab.h (struct symtab): Rename unused version member to |
| 6888 | producer. |
| 6889 | |
| 6890 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
| 6891 | |
| 6892 | * configure.ac (build_warnings): Use -Wall and |
| 6893 | -Wdeclaration-after-statement. |
| 6894 | * configure: Regenerated. |
| 6895 | |
| 6896 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
| 6897 | |
| 6898 | Simplify access to variours properties of child |
| 6899 | variable objects in C. |
| 6900 | * varobj.c (value_struct_element_index): New function. |
| 6901 | (c_describe_child): New function. |
| 6902 | (c_name_of_child, c_value_of_child) |
| 6903 | (c_type_of_child): Rewrite to use c_describe_child. |
| 6904 | |
| 6905 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
| 6906 | |
| 6907 | gdb/ |
| 6908 | * varobj.c: Include "vec.h". |
| 6909 | (varobj_p): New typedef, declare vector of those. |
| 6910 | (struct varobj): Use vector for the 'children' member. |
| 6911 | (child_exists): Remove. |
| 6912 | (save_child_in_parent): Remove. |
| 6913 | (remove_child_from_parent): Remove. |
| 6914 | (struct varobj_child): Remove. |
| 6915 | (struct vstack): Remove. |
| 6916 | (vpush, vpop): Remove. |
| 6917 | (varobj_list_children): Adjust to work work vector. |
| 6918 | (varobj_update): Likewise. Use vectors for |
| 6919 | working stack and result. |
| 6920 | (delete_variable_1): Likewise. |
| 6921 | * Makefile.in (varobj.o): Update dependencies. |
| 6922 | |
| 6923 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
| 6924 | |
| 6925 | Port from Apple's version. |
| 6926 | gdb/ |
| 6927 | * varobj.c (type_changeable): Rename to... |
| 6928 | (varobj_value_is_changeable_p): ...this. Adjust all callers. |
| 6929 | (is_root_p): New function. Use it everywhere. |
| 6930 | |
| 6931 | 2007-01-04 Jim Blandy <jimb@codesourcery.com> |
| 6932 | |
| 6933 | * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup', |
| 6934 | then plain 'fixup'. |
| 6935 | |
| 6936 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
| 6937 | |
| 6938 | * hpread.c (hpread_start_psymtab): Remove unnecessary extern. |
| 6939 | |
| 6940 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
| 6941 | |
| 6942 | * hpread.c (hpread_type_lookup): Fix compilation failure. |
| 6943 | |
| 6944 | 2007-01-04 Qinwei <qinwei@sunnorth.com.cn> |
| 6945 | |
| 6946 | * NEWS: New port to S+core. |
| 6947 | * MAINTAINERS (Write After Approval, Responsible Maintainers): |
| 6948 | Add myself. |
| 6949 | |
| 6950 | * Makefile.in: Add dependencies for S+core files. |
| 6951 | * configure.tgt (score*, score-*-*): Add S+core target. |
| 6952 | * config/score/embed.mt: New file. |
| 6953 | * score-tdep.c: New file. |
| 6954 | * score-tdep.h: New file. |
| 6955 | |
| 6956 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
| 6957 | |
| 6958 | * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with |
| 6959 | the appropriate type rather than a bogus void type. |
| 6960 | |
| 6961 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
| 6962 | |
| 6963 | * ada-lang.h (ada_find_printable_frame): Remove. |
| 6964 | (ada_exception_catchpoint_p, ada_decode_exception_location) |
| 6965 | (ada_decode_assert_location): Add declaration. |
| 6966 | * ada-lang.c: Add include of annotate.h and valprint.h. |
| 6967 | (exception_catchpoint_kind): New enum. |
| 6968 | (function_name_from_pc, is_known_support_routine) |
| 6969 | (ada_find_printable_frame, ada_unhandled_exception_name_addr) |
| 6970 | (ada_exception_name_addr_1, ada_exception_name_addr) |
| 6971 | (print_it_exception, print_one_exception, print_mention_exception) |
| 6972 | (print_it_catch_exception, print_one_catch_exception) |
| 6973 | (print_mention_catch_exception, catch_exception_breakpoint_ops) |
| 6974 | (print_it_catch_exception_unhandled) |
| 6975 | (print_one_catch_exception_unhandled) |
| 6976 | (print_mention_catch_exception_unhandled, print_it_catch_assert) |
| 6977 | (print_one_catch_assert, print_mention_catch_assert) |
| 6978 | (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found) |
| 6979 | (ada_get_next_arg, catch_ada_exception_command_split) |
| 6980 | (ada_exception_sym_name, ada_exception_sym_name) |
| 6981 | (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string) |
| 6982 | (ada_parse_catchpoint_condition, ada_exception_sal) |
| 6983 | (ada_decode_exception_location) |
| 6984 | (ada_decode_assert_location): New function. |
| 6985 | (catch_exception_unhandled_breakpoint_ops): New global variable. |
| 6986 | (catch_assert_breakpoint_ops): New global variable. |
| 6987 | * breakpoint.c: Add include of ada-lang.h. |
| 6988 | (print_one_breakpoint): Do not print the condition for Ada |
| 6989 | exception catchpoints. |
| 6990 | (create_ada_exception_breakpoint): New function. |
| 6991 | (catch_ada_exception_command, catch_assert_command): New function. |
| 6992 | (catch_command_1): Add support for the new "catch exception" and |
| 6993 | "catch assert" commands. |
| 6994 | (_initialize_breakpoint): Add help description for the new catch |
| 6995 | commands. |
| 6996 | * Makefile.in (ada-lang.o): Add dependency on annotate.h and |
| 6997 | valprint.h. |
| 6998 | (breakpoint.o): Add dependency on ada-lang.h. |
| 6999 | |
| 7000 | 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt> |
| 7001 | |
| 7002 | * coffread.c (cs_to_section): If bfd_section is found, always |
| 7003 | return its section index. |
| 7004 | (coff_symtab_read): Determine the minimal_symbol_type using the |
| 7005 | bfd_section flags. |
| 7006 | |
| 7007 | 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 7008 | Daniel Jacobowitz <dan@codesourcery.com> |
| 7009 | |
| 7010 | * Makefile.in (top.o): Update. |
| 7011 | * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result) |
| 7012 | (saved_after_char_processing_hook, gdb_readline_wrapper_line) |
| 7013 | (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup): |
| 7014 | New. |
| 7015 | (gdb_readline_wrapper): Rewrite to use asynchronous readline. |
| 7016 | |
| 7017 | 2007-01-03 Mark Kettenis <kettenis@gnu.org> |
| 7018 | |
| 7019 | * arm-linux-tdep.c (arm_linux_extract_return_value): Remove. |
| 7020 | (arm_linux_init_abi): Don't set deprecated_extract_return_value. |
| 7021 | |
| 7022 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
| 7023 | |
| 7024 | * ada-lang.c (find_struct_field): Initialize *byte_offset_p. |
| 7025 | * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i. |
| 7026 | * c-typeprint.c (c_type_print_varspec_suffix): Don't test length |
| 7027 | greater than or equal to zero. |
| 7028 | * m2-typeprint.c (m2_array): Likewise. |
| 7029 | * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise. |
| 7030 | * gdbtypes.c (copy_type_recursive): Correct == typo. |
| 7031 | * i386-tdep.c (i386_skip_prologue): Remove stray semicolon. |
| 7032 | * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer |
| 7033 | greater than zero. |
| 7034 | * macroscope.c (sal_macro_scope): Don't name a local variable "main". |
| 7035 | (default_macro_scope): Remove unused variable. |
| 7036 | * prologue-value.h (pv_area_find_reg): Don't name an argument |
| 7037 | "register". |
| 7038 | * remote-fileio.c (remote_fio_func_map): Add missing braces. |
| 7039 | * remote.c (sigint_remote_twice_token, sigint_remote_token): Change |
| 7040 | type. |
| 7041 | (cleanup_sigint_signal_handler): Remove casts. |
| 7042 | * valprint.c (val_print): Use a volatile local for the modified |
| 7043 | argument. |
| 7044 | * varobj.c (languages): Remove extra array dimension. |
| 7045 | (varobj_create): Correct access to languages array. |
| 7046 | * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add |
| 7047 | missing braces. |
| 7048 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise. |
| 7049 | * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise. |
| 7050 | * mi/mi-getopt.c (mi_valid_noargs): Likewise. |
| 7051 | * mi/mi-main.c (mi_cmd_data_read_memory): Likewise. |
| 7052 | (mi_cmd_data_write_memory): Likewise. |
| 7053 | * signals/signals.c (target_signal_to_string): Cast to int before |
| 7054 | comparing. |
| 7055 | * tui/tui-layout.c (init_and_make_win): Take and return a void *. |
| 7056 | Update all callers. |
| 7057 | |
| 7058 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
| 7059 | |
| 7060 | * NEWS: Mention pointer to member improvements. |
| 7061 | * Makefile.in (gnu-v3-abi.o): Delete special rule. |
| 7062 | (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update. |
| 7063 | * ada-valprint.c (ada_print_scalar): Update for new type codes. |
| 7064 | * c-typeprint.c (c_print_type): Update for new type codes. |
| 7065 | (c_type_print_varspec_prefix, c_type_print_varspec_suffix) |
| 7066 | (c_type_print_base): Likewise. |
| 7067 | (c_type_print_args): Rewrite. |
| 7068 | * c-valprint.c (c_val_print): Update for new type codes. Remove |
| 7069 | support for references to members. Treat methods like functions. |
| 7070 | * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size) |
| 7071 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New. |
| 7072 | * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size) |
| 7073 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes. |
| 7074 | (struct cp_abi_ops): Add corresponding members. |
| 7075 | * cp-valprint.c (cp_print_class_method): Delete. |
| 7076 | (cp_find_class_member): New function. |
| 7077 | (cp_print_class_member): Use it. Simplify support for bogus |
| 7078 | member pointers. |
| 7079 | * dwarf2read.c (quirk_gcc_member_function_pointer): Use |
| 7080 | lookup_methodptr_type. |
| 7081 | (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type. |
| 7082 | * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for |
| 7083 | OP_SCOPE. Update call to value_aggregate_elt. Rewrite member |
| 7084 | pointer support. |
| 7085 | (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle |
| 7086 | references returned by user defined operators. |
| 7087 | * f-typeprint.c (f_print_type, f_type_print_varspec_prefix) |
| 7088 | (f_type_print_varspec_suffix): Remove support for member pointers. |
| 7089 | * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type |
| 7090 | and adjusted. |
| 7091 | (smash_to_memberptr_type): Likewise, from smash_to_member_type. |
| 7092 | (lookup_methodptr_type): New. |
| 7093 | (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR. |
| 7094 | (recursive_dump_type): Update for new types. |
| 7095 | * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with |
| 7096 | TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR. |
| 7097 | (lookup_memberptr_type, lookup_methodptr_type) |
| 7098 | (smash_to_memberptr_type): New prototypes. |
| 7099 | (smash_to_method_type): Formatting fix. |
| 7100 | (lookup_member_type, smash_to_member_type): Delete prototypes. |
| 7101 | * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New. |
| 7102 | Do not rely on debug information for the vptr or the method's |
| 7103 | enclosing type. Handle function descriptors for IA64. |
| 7104 | (gnuv3_virtual_fn_field): Rewrite using the new functions. |
| 7105 | (gnuv3_find_method_in, gnuv3_print_method_ptr) |
| 7106 | (gnuv3_method_ptr_size, gnuv3_make_method_ptr) |
| 7107 | (gnuv3_method_ptr_to_value): New. |
| 7108 | (init_gnuv3_ops): Set new members of gnu_v3_abi_ops. |
| 7109 | * hpread.c (hpread_type_lookup): Update for new types. |
| 7110 | * infcall.c (value_arg_coerce): Likewise. |
| 7111 | * m2-typeprint.c (m2_print_type): Remove explicit support |
| 7112 | for member pointers. |
| 7113 | * m2-valprint.c (m2_val_print): Likewise. |
| 7114 | * p-typeprint.c (pascal_type_print_varspec_prefix) |
| 7115 | (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise. |
| 7116 | * p-valprint.c (pascal_val_print): Likewise. |
| 7117 | (pascal_object_print_class_method, pascal_object_print_class_member): |
| 7118 | Delete. |
| 7119 | * p-lang.h (pascal_object_print_class_method) |
| 7120 | (pascal_object_print_class_member): Delete prototypes. |
| 7121 | * stabsread.c (read_type): Update for new types. |
| 7122 | * typeprint.c (print_type_scalar): Likewise. |
| 7123 | * valops.c (value_struct_elt_for_reference, value_namespace_elt) |
| 7124 | (value_maybe_namespace_elt, value_aggregate_elt): Add want_address |
| 7125 | argument. Construct a pointer to member if the address of a |
| 7126 | function or data member is requested. |
| 7127 | (value_cast_pointers): Don't modify the input value. |
| 7128 | (value_cast): Adjust pointer to member handling for new types. |
| 7129 | Allow null pointer to member constants. Don't modify the input |
| 7130 | value. |
| 7131 | (value_ind): Remove pointer to member check. Handle function |
| 7132 | descriptors for function pointers. |
| 7133 | (value_struct_elt, value_find_oload_method_list, check_field): |
| 7134 | Remove pointer to member checks. |
| 7135 | * value.c (unpack_long): Allow pointers to data members. |
| 7136 | (value_from_longest): Allow member pointers. |
| 7137 | * value.h (value_aggregate_elt): Add want_address. |
| 7138 | * varobj.c (c_variable_editable): Remove check for members. |
| 7139 | * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta. |
| 7140 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors |
| 7141 | in virtual tables. |
| 7142 | (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors. |
| 7143 | * c-lang.h (cp_print_class_method): Delete prototype. |
| 7144 | * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta. |
| 7145 | * mips-tdep.c (mips_gdbarch_init): Likewise. |
| 7146 | * gdbarch.c, gdbarch.h: Regenerated. |
| 7147 | |
| 7148 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
| 7149 | |
| 7150 | * rs6000-tdep.c (rs6000_use_struct_convention) |
| 7151 | (rs6000_extract_return_value, rs6000_store_return_value) |
| 7152 | (rs6000_extract_struct_value_address): Remove. |
| 7153 | (rs6000_return_value): New function. |
| 7154 | (rs6000_gdbarch_init): Don't set deprecated_extract_return_value, |
| 7155 | store_return_value, deprecated_extract_struct_value_address and |
| 7156 | deprecated_use_struct_convention. Use rs6000_return_value |
| 7157 | instead. |
| 7158 | |
| 7159 | 2007-01-02 Nick Roberts <nickrob@snap.net.nz> |
| 7160 | |
| 7161 | * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete, |
| 7162 | -display-disable, -display-enable, -display-insert and |
| 7163 | -display-list. |
| 7164 | |
| 7165 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
| 7166 | |
| 7167 | * breakpoint.c (remove_breakpoint): Remove dead code. |
| 7168 | |
| 7169 | 2007-01-01 Nick Roberts <nickrob@snap.net.nz> |
| 7170 | |
| 7171 | * varobj.c: Include block.h. |
| 7172 | (c_value_of_root): Check scope within nested statements. |
| 7173 | |
| 7174 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
| 7175 | |
| 7176 | * mi/mi-main.c (mi_cmd_data_write_register_values): Use |
| 7177 | regcache_cooked_write_signed instead of |
| 7178 | deprecated_write_register_bytes. |
| 7179 | |
| 7180 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
| 7181 | |
| 7182 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006. |
| 7183 | |
| 7184 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
| 7185 | |
| 7186 | Followed the Start of New Year Procedure: |
| 7187 | * ChangeLog-2006: New file, containing all the entries for 2006. |
| 7188 | * ChangeLog: Removed all 2006 entries, and changed the reference |
| 7189 | to the previous ChangeLog to point to ChangeLog 2006. |
| 7190 | * top.c (print_gdb_version): Update copyright year. |
| 7191 | |
| 7192 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
| 7193 | |
| 7194 | * Makefile.in (remote-sds.o): Remove. |
| 7195 | * remote-sds.c: Delete. |
| 7196 | |
| 7197 | For older changes see ChangeLog-2006. |
| 7198 | \f |
| 7199 | Local Variables: |
| 7200 | mode: change-log |
| 7201 | left-margin: 8 |
| 7202 | fill-column: 74 |
| 7203 | version-control: never |
| 7204 | coding: utf-8 |
| 7205 | End: |