]> Git Repo - binutils.git/blobdiff - gdb/ChangeLog
2002-06-20 Elena Zannoni <[email protected]>
[binutils.git] / gdb / ChangeLog
index bed5d3faf107d2d20c22ebf1229904be344f26a8..f69031bfaae7fe973f96f557e94c98ead5038eec 100644 (file)
@@ -1,5 +1,340 @@
+2002-06-20  Elena Zannoni  <[email protected]>
+
+       * event-top.c (command_handler): Don't use space_at_cmd_start
+       unless there is sbrk() on the host. Assign time and space data
+       to union fields of the appropriate length.
+
+2002-06-20  Michal Ludvig  <[email protected]>
+
+       * x86-64-tdep.c (x86_64_register_nr2name): Rename to 
+       x86_64_register_name. Return type changed to 'const char *'.
+       (x86_64_register_name2nr): Rename to x86_64_register_number.
+       (x86_64_gdbarch_init): Update to reflect the change.
+       * x86-64-tdep.h: Ditto.
+       * x86-64-linux-nat.c (x86_64_fxsave_offset)
+       (supply_fpregset): Ditto.
+
+2002-06-19  Andrew Cagney  <[email protected]>
+
+       * regcache.h: Update copyright.
+       (struct regcache, struct gdbarch): Add opaque declarations.
+       (current_regcache): Declare global variable.
+       (regcache_read, regcache_write): Add gdbarch parameter.
+       (regcache_save, regcache_save_no_passthrough)
+       (regcache_restore, regcache_restore_no_passthrough)
+       (regcache_dup, regcache_dup_no_passthrough)
+       (regcache_cpy, regcache_cpy_no_passthrough)
+       (deprecated_grub_regcache_for_registers)
+       (deprecated_grub_regcache_for_register_valid)
+       (regcache_valid_p): Add function declarations.
+       
+       * regcache.c: Update copyright.
+       (regcache_descr_handle): New global variable.
+       (struct regcache_descr): Define.
+       (init_legacy_regcache_descr, init_regcache_descr): New functions.
+       (regcache_descr, xfree_regcache_descr): New functions.
+       (struct regcache): Define.
+       (regcache_xmalloc, regcache_xfree): New functions.
+       (regcache_cpy, regcache_cpy_no_passthrough): New functions.
+       (regcache_dup, regcache_dup_no_passthrough): New functions.
+       (regcache_valid_p, regcache_read_as_address): New functions.
+       (deprecated_grub_regcache_for_registers): New function.
+       (deprecated_grub_regcache_for_register_valid): New function.
+       (current_regcache): New global variable.
+       (register_buffer): Add regcache parameter.  Update calls.
+       (regcache_read, regcache_write): Add regcache parameter.  Rewrite.
+       (read_register_gen, write_register_gen): Update register_buffer
+       call.  Test for legacy_p instead of gdbarch_register_read_p or
+       gdbarch_register_write_p.
+       (regcache_collect): Update register_buffer call.
+       (build_regcache): Rewrite.  Use deprecated grub functions.
+       (regcache_save, regcache_save_no_passthrough): New functions.
+       (regcache_restore, regcache_restore_no_passthrough): New
+       functions.
+       (_initialize_regcache): Create the regcache_data_handle. Swap
+       current_regcache global variable.
+       
+       * sh-tdep.c (sh_pseudo_register_read): Add current_regcache
+       parameter to regcache_read and regcache_write calls.
+       (sh4_register_read): Ditto.
+       (sh64_pseudo_register_read): Ditto.
+       (sh64_register_read): Ditto.
+       (sh_pseudo_register_write): Ditto.
+       (sh4_register_write): Ditto.
+       (sh64_pseudo_register_write): Ditto.
+       (sh64_register_write): Ditto.
+
+       * defs.h (XCALLOC): Define.
+
+2002-06-19  Grace Sainsbury  <[email protected]>
+
+       * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Added (set to 0).
+       * m68k-tdep.c (m68k_gdbarch_init): Added.
+       (m68k_dump_tdep): Added.
+
+2002-06-19  Daniel Jacobowitz  <[email protected]>
+
+       * ada-lang.c (fill_in_ada_prototype): Update comment.
+
+2002-06-19  Daniel Jacobowitz  <[email protected]>
+
+       * mips-tdep.c (enum mips_abi): Explicitly start at 0.  Add
+       MIPS_ABI_LAST.
+       (mips_abi_string, mips_abi_strings): New.
+       (struct gdbarch_tdep): Remove mips_abi_string, add found_abi.
+       (mips_gdbarch_init): Set tdep->found_abi.  Don't set
+       tdep->mips_abi_string.  Honor mips_abi_string.  Default to
+       O32 if no ABI is found.
+       (mips_dump_tdep): Use mips_abi_strings.
+       (mips_abi_update): New function.
+       (_initialize_mips_tdep): Initialize mips_abi_string.  Add  
+       ``set mips abi'' and ``show mips abi''.  Check the size of
+       mips_abi_strings.
+
+2002-06-19  Andrew Cagney  <[email protected]>
+
+       * i386-linux-tdep.c (i386_linux_register_name): Make return type
+       constant.
+
+2002-06-18  Joel Brobecker  <[email protected]>
+
+       * alpha-tdep.c (heuristic_proc_desc): Compute the size of the  
+       current frame using only the first stack size adjustment. All
+       subsequent size adjustments are not considered to be part of
+       the "static" part of the current frame.
+       Compute the address of the saved registers relative to the
+       Frame Pointer ($fp) instead of the Stack Pointer if $fp is
+       in use in this frame.
+
+2002-06-18  Don Howard  <[email protected]>
+        * valops.c (value_ind): Use value_at_lazy() when dereferencing
+        type int expressions.  Thanks to Jim Blandy <[email protected]> for
+        suggesting this solution.
+
+2002-06-18  Andrew Cagney  <[email protected]>
+
+       * config/romp/xm-rtbsd.h: Delete file.
+       * config/romp/rtbsd.mh: Delete file.
+
+2002-06-18  Keith Seitz  <[email protected]>
+
+       * breakpoint.c (condition_command): Post breakpoint_modify
+       when a condition is added to an existing breakpoint.
+       (commands_command): Likewise for commands.
+       (set_ignore_count): Likewise for ignore counts.
+       If no tty, do not simply return, still need to send event
+       notification.
+       (ignore_command): Only print a newline if the command came
+       from a tty.
+       Don't call breakpoints_changed, since this is now properly
+       handled by set_ignore_count.
+
+2002-06-18  Andrew Cagney  <[email protected]>
+
+       * MAINTAINERS: Note that cris-elf target can be compiled with
+       -Werror.
+       * cris-tdep.c (cris_register_name): Make return type constant.
+       (cris_breakpoint_from_pc): Ditto.
+
+2002-06-18  Michal Ludvig  <[email protected]>
+
+       * frame.h (struct frame_info): Change type of context to 
+       'struct context'.
+
+2002-06-17  Andrew Cagney  <[email protected]>
+
+       * gdbarch.sh (REGISTER_NAME): Change return type a constant string
+       pointer.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       * config/mips/tm-mips.h (mips_register_name): Update.
+       * i386-tdep.h (i386_register_name): Update.
+       * mips-tdep.c (mips_register_name): Update
+       * alpha-tdep.c (alpha_register_name): Update.
+       * arch-utils.c (legacy_register_name): Update.
+       * arch-utils.h (legacy_register_name): Update.
+       * avr-tdep.c (avr_register_name): Update.
+       * ia64-tdep.c (ia64_register_name): Update.
+       * i386-tdep.c (i386_register_name): Update.
+       * sparc-tdep.c (sparc32_register_name): Update.
+       (sparc64_register_name): Update.
+       (sparclite_register_name): Update.
+       (sparclet_register_name): Update.
+       * sh-tdep.c (sh_generic_register_name): Update.
+       (sh_sh_register_name): Update.
+       (sh_sh3_register_name): Update.
+       (sh_sh3e_register_name): Update.
+       (sh_sh_dsp_register_name): Update.
+       (sh_sh3_dsp_register_name): Update.
+       (sh_sh4_register_name): Update.
+       (sh_sh64_register_name): Update.
+       * s390-tdep.c (s390_register_name): Update.
+       * rs6000-tdep.c (rs6000_register_name): Update.
+       * ns32k-tdep.c (ns32k_register_name_32082): Update.
+       (ns32k_register_name_32382): Update.
+       * d10v-tdep.c (d10v_ts2_register_name): Update.
+       (d10v_ts3_register_name): Update.
+       * xstormy16-tdep.c (xstormy16_register_name): Update.
+       * vax-tdep.c (vax_register_name): Update.
+       * v850-tdep.c (v850_register_name): Update.
+       * m68hc11-tdep.c (m68hc11_register_name): Update.
+       * mn10300-tdep.c (mn10300_generic_register_name): Update.
+       (am33_register_name): Update.
+
+2002-06-17  Grace Sainsbury  <[email protected]>
+
+       * m68k-tdep.c: Reindented.
+
+2002-06-17  Andrew Cagney  <[email protected]>
+
+       * gdb_indent.sh: Add prgregset_t, fpregset_t, and gregset_t to the
+       list of predefined types.
+
+2002-06-16  Mark Kettenis  <[email protected]>
+
+       * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE,
+       REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
+       REGISTER_CONVERT_TO_RAW): Remove defines.
+       (i386_register_virtual_type, i386_register_convertible,
+       i386_register_convert_to_virtual, i386_register_convert_to_raw):
+       Remove prototypes.
+       * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the
+       macros mentioned above.
+
+       * config/i386/tm-i386lynx.h (SAVED_PC_AFTER_CALL): Remove define.
+       (i386lynx_saved_pc_after_call): Remove prototype.
+       * i386ly-tdep.c: Include "i386-tdep.h".
+       (i386lynx_saved_pc_after_call): Make static.  Use
+       read_memory_nobpt instead of read_memory.  Use
+       read_memory_unsigned_integer instead of read_memory_integer.
+       (i386lynx_init_abi): New function.
+       (i386lynx_coff_osabi_sniffer): New function.
+       (_initialize_i386bsd_tdep): New function.
+
+       * config/i386/tm-i386.h (PARM_BOUNDARY, CALL_DUMMY,
+       CALL_DUMMY_LENGTH, CALL_DUMMY_START_OFFSET,
+       CALL_DUMMY_BREAKPOINT_OFFSET, FIX_CALL_DUMMY): Remove defines.
+       (i386_fix_call_dummy): Remove prototype.
+       * i386-tdep.c (i386_call_dummy_words): New variable.
+       (i386_gdbarch_init): Adjust for removal of the
+       macros mentioned above.
+
+2002-06-15  Andrew Cagney  <[email protected]>
+
+       * command.h (add_setshow_auto_boolean_cmd): Replace
+       add_set_auto_boolean_cmd.
+       * cli/cli-decode.c (add_setshow_auto_boolean_cmd): Replace
+       add_set_auto_boolean_cmd.
+       * cli/cli-decode.h (add_set_auto_boolean_cmd): Delete declaration.
+       * mips-tdep.c (_initialize_mips_tdep): Update ``set mips
+       mask-address'' command.
+       (show_mask_address): Add cmd parameter.
+       * remote.c (add_packet_config_cmd): Update.  Change type of
+       set_func and show_func to cmd_sfunc_ftype.
+       (_initialize_remote): Update `set remote Z-packet'
+       (show_remote_protocol_qSymbol_packet_cmd): Add cmd parameter.
+       (show_remote_protocol_e_packet_cmd): Ditto.
+       (show_remote_protocol_E_packet_cmd): Ditto.
+       (show_remote_protocol_P_packet_cmd): Ditto.
+       (show_remote_protocol_Z_software_bp_packet_cmd): Ditto.
+       (show_remote_protocol_Z_hardware_bp_packet_cmd): Ditto.
+       (show_remote_protocol_Z_write_wp_packet_cmd): Ditto.
+       (show_remote_protocol_Z_read_wp_packet_cmd): Ditto.
+       (show_remote_protocol_Z_access_wp_packet_cmd): Ditto.
+       (show_remote_protocol_Z_packet_cmd): Ditto.
+       (show_remote_protocol_binary_download_cmd): Ditto.
+       (show_remote_cmd): Pass NULL to all of above.
+
 2002-06-15  Mark Kettenis  <[email protected]>
 
+       * config/i386/tm-i386.h (PUSH_ARGUMENTS, STORE_STRUCT_RETURN,
+       DEPRECATED_EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE,
+       DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS, PUSH_DUMMY_FRAME,
+       POP_FRAME): Remove defines.
+       (i386_push_arguments, i386_store_struct_return,
+       i386_extract_return_value, i386_store_return_value,
+       i386_extract_struct_value_address, i386_push_dummy_frame,
+       i386_pop_frame): Renove prototypes.
+       * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the
+       macros mentioned above.
+
+2002-06-15  Andrew Cagney  <[email protected]>
+
+       * cli/cli-decode.c (add_setshow_boolean_cmd): Replace
+       add_set_boolean_cmd.
+       (add_setshow_cmd): New function.
+       * command.h (add_setshow_boolean_cmd): Replace
+       add_set_boolean_cmd.
+       * remote-rdi.c (_initialize_remote_rdi): Update ``set rdiheartbeat''
+       and ``set rdiromatzero''.
+       * maint.c (_initialize_maint_cmds): Update commented out code.
+       * cli/cli-decode.h (add_set_boolean_cmd): Delete declaration.
+       * target.c (initialize_targets): Update `set
+       trust-readonly-sections'.
+       * remote.c (_initialize_remote): Update `set remotebreak'.
+
+2002-06-15  Mark Kettenis  <[email protected]>
+
+       * config/i386/tm-i386.h (FUNCTION_START_OFFSET, INNER_THAN,
+       BREAKPOINT, DECR_PC_AFTER_BREAK): Removed.
+       * i386-tdep.c (i386_skip_prologue): Adjust function signature to
+       fit into multi-arch framework.
+       (i386_breakpoint_from_pc): New function.
+       (i386_gdbarch_init): Adjust for removal of the macros mentioned
+       above.
+
+       * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION,
+       FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS,
+       FRAME_ARGS_SKIP, FRAME_INIT_SAVED_REGS): Remove defines.
+       (i386_frameless_function_invocation, i386_frame_num_args,
+       i386_frame_init_saved_regs): Remove prototypes.
+       * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the
+       macros mentioned above.
+
+2002-06-15  Andrew Cagney  <[email protected]>
+
+       * cli/cli-decode.c (set_cmd_cfunc): Update.
+       (set_cmd_sfunc): Update.
+       * command.h (cmd_cfunc_ftype, cmd_sfunc_ftype): Declare.
+       (set_cmd_sfunc, set_cmd_cfunc): Update.
+       * cli/cli-decode.h: Update.
+
+2002-06-15  Mark Kettenis  <[email protected]>
+
+       * i386-sol2-tdep.c (i386_sol2_osabi_sniffer): New function.
+       (_initialize_i386_sol2_tdep): Register i386_sol2_osabi_sniffer.
+
+2002-06-15  Andrew Cagney  <[email protected]>
+
+       * defs.h (auto_boolean): Declare enum.
+       * command.h (cmd_auto_boolean): Delete enum.
+       * mips-tdep.c (mask_address_var): Update.
+       (mips_mask_address_p): Update.
+       (show_mask_address): Update.
+       * remote.c (struct packet_config): Update.
+       (update_packet_config): Update.
+       (show_packet_config_cmd): Update.
+       (packet_ok): Update.
+       (add_packet_config_cmd): Update.
+       (_initialize_remote): 
+       * command.h: Update.
+       * cli/cli-setshow.c (parse_auto_binary_operation): Update.
+       (do_setshow_command): Update.
+       * cli/cli-decode.c (add_set_auto_boolean_cmd): Update.
+       * cli/cli-decode.h: Update.
+
+2002-06-15  Mark Kettenis  <[email protected]>
+
+       * config/i386/tm-cygwin.h, config/i386/tm-fbsd.h,
+       config/i386/tm-go32.h, config/i386/tm-i386gnu.h,
+       config/i386/tm-i386sol2.h, config/i386/tm-i386v4.h,
+       config/i386/tm-linux.h, config/i386/tm-nbsd.h,
+       config/i386/tm-obsd.h (HAVE_I387_REGS): Remove define.
+       * config/i386/tm-i386.h: Unconditionally define FLOAT_INFO.
+
+       * i386-tdep.c (i386_coff_osabi_sniffer): Add "coff-go32" to the
+       list of DJGPP COFF targets.
+
        * config/i386/tm-i386.h (REGISTER_SIZE): Remove define.
        (NUM_GREGS, NUM_FREGS, NUM_SSE_REGS): Remove defines.
        (FP_REGNUM, SP_REGNUM, PC_REGNUM, PS_REGNUM): Remove defines.
This page took 0.037398 seconds and 4 git commands to generate.