OSDN Git Service

* parse.c (target_map_name_to_register): Include pseudo-regs.
[pf3gnuchains/pf3gnuchains3x.git] / gdb / ChangeLog
index e751c3e..60d0003 100644 (file)
@@ -1,3 +1,254 @@
+2000-07-12  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * regcache.c (registers_changed, registers_fetched): Use 
+       ARCH_NUM_REGS directly, eliminating an unnecessary variable.
+
+       This change adds pseudo-register capability to GDB.
+       Pseudo-registers are handled like registers, but they
+       don't come from or live on the target.  They may be 
+       aliases for an existing register, or they may be computed.
+       * defs.h (NUM_PSEUDO_REGISTERS): Define default of zero.
+       (ARCH_FETCH_PSEUDO_REGISTERS): Define default of no-op.
+       (ARCH_STORE_PSEUDO_REGISTERS): Define default of no-op.
+       # regcache.c (registers_changed): Mark pseudo-registers 
+       invalid, as well as real registers.
+       (registers_fetched): Do not mark pseudo-registers as fetched
+       at the same time as other (real) registers.
+       (read_register_bytes): Fetch pseudo-registers (if any) from
+       the target architecture module instead of from the target.
+       (read_register_gen): Ditto.
+       (read_register): Ditto.
+       (write_register_bytes): Store pseudo-registers (if any) to
+       the target architecture module instead of to the target.
+       (write_register_gen): Ditto.
+       (write_register): Ditto.
+       (build_regcache): Allocate enough register_valid space for
+       pseudo-registers as well as normal (real) ones.
+       * parse.c (target_map_name_to_register): Include pseudo-regs.
+       
+Tue Jul 11 19:45:42 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * valops.c (value_cast): Allow cast from INT, ENUM or RANGE to
+       POINTER.
+
+2000-07-11  Scott Bambrough <scottb@netwinder.org>
+
+       * command.c (do_setshow_command): Fix typo in var_auto_boolean
+       case.
+
+Tue Jul 11 20:38:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips-tdep.c: General cleanup.  Delete all #if 0 code.  Convert
+       all old style K&R function definitions to ISO-C.
+       (struct gdbarch_tdep): Add mips_abi_string.
+       (mips_gdbarch_init): Initialize.
+       (mips_dump_tdep): Print mips_abi_string and other values.
+       (mips_push_arguments): Add more detailed tracing.
+
+Tue Jul 11 20:16:09 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips-tdep.c (mips32_next_pc, mips16_next_pc,
+       read_next_frame_reg, mips_push_dummy_frame, mips_skip_stub,
+       mips_saved_pc_after_call): Use read_signed_register when
+       extracting register value.  Ensures all addresses are sign
+       extended.
+       (mips_read_pc): New function.  Return sign extended address.
+       (mips_gdbarch_init): Set gdbarch_read_pc.
+
+Tue Jul 11 19:06:29 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * remote-mips.c (mips_request): Change all arguments to ULONGEST.
+       (mips_exit_debug, mips_resume, mips_initialize, mips_wait,
+       mips_fetch_registers, mips_store_registers, mips_fetch_word):
+       Update.
+       (mips_xfer_memory): When mask_address_p, mask MEMADDR down to just
+       32 bits.
+       (_initialize_remote_mips): Add ``set mask-address'' command.
+
+       * mips-tdep.c (_initialize_mips_tdep): Replace "set mask-address"
+       with "set mips mask-address".  Implement using
+       add_set_auto_boolean_cmd.
+       (struct gdbarch_tdep): Add default_mask_address_p.
+       (mips_mask_address_p, show_mask_address): New functions.
+       (mips_addr_bits_remove): Use mips_mask_address_p() to determine if
+       masking is needed.
+       (mips_gdbarch_init): Set default_mask_address_p to zero.
+       (mips_dump_tdep): Print value of mask_address_p.
+
+Tue Jul 11 18:32:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * printcmd.c (print_scalar_formatted): Move masking of 'a' address
+       from here.
+       (print_address_numeric): To here.
+       * TODO: Update.
+
+Tue Jul 11 17:50:31 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * symtab.c: Use paddr_nz() to print addresses.
+
+Tue Jul 11 12:52:31 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * value.h (read_register, read_signed_register): Change return
+       type to ULONGEST.
+       (read_signed_register, read_signed_register_pid): Declare.
+
+       * regcache.c (read_register, read_register_pid): Update.
+       (read_signed_register_pid, read_signed_register): New functions.
+       
+Mon Jul 10 18:06:18 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips-tdep.c (mips_push_arguments): Always align struct_addr on a
+       16 byte boundary. Align allocated argument space using
+       MIPS_STACK_ARGSIZE.  Reserve space on stack for the struct return
+       and floating-point registers.  Use fp_register_arg_p to determine
+       if float_argreg should be aligned.
+
+2000-07-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * config/sh/tm-sh.h (STORE_RETURN_VALUE): Redefine as
+       sh_store_return_value().
+       * sh-tdep.c (sh_store_return_value): New function. Store the
+       value returned by a function into the appropriate register.
+
+2000-07-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+        * sh-tdep.c (sh_skip_prologue): Before looking at the actual
+       instructions, try to see if the symbol table can be of help, by
+       calling after_prologue(). If this doesn't work, call
+       skip_prologue_hard_way().
+       (skip_prologue_hard_way): Renamed from sh_skip_prologue. Add some
+       more instruction pattern matching for pushing of arguments, and
+       manipulation of r14.
+       (after_prologue): New function. Use symbol table info to determine
+       the end of the prologue, if possible.
+
+2000-07-07  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * findvar.c (_initialize_findvar, build_findvar, write_fp, read_fp,
+       generic_target_write_fp, generic_target_read_fp, write_sp, read_sp,
+       generic_target_write_sp, generic_target_read_sp, write_pc, read_pc,
+       generic_target_write_pc, generic_target_read_pc, write_pc_pid, 
+       read_pc_pid, supply_register, write_register_pid, write_register,
+       read_register_pid, read_register, write_register_bytes, 
+       read_register_bytes, write_register_gen, read_register_gen, 
+       registers_fetched, registers_changed, find_saved_register, 
+       read_relative_register_raw_bytes, default_get_saved_register, 
+       read_relative_register_raw_bytes_for_frame, get_saved_register):
+       Move from this file into new file regcache.c.
+       (register_valid, registers_pid, registers): Ditto.
+       * regcache.c: New file to hold the register cache.
+       (register_cached): New function to read register_valid array.
+       * value.h (register_cached): Declare.
+       * defs.h (default_get_saved_register): Delete decl of static function.
+       * Makefile.in: Add regcache module.
+       
+Mon Jul 10 15:02:35 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From 2000-07-05 Pierre Muller <muller@ics.u-strasbg.fr>:
+       * p-typeprint.c (pascal_type_print_method_args): Add braces around
+       isdigit after while keyword.
+
+2000-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+        * TODO: Remove readline 4.1 import item.
+
+2000-07-09  Nick Duffek  <nsd@redhat.com>
+
+       * gdbtypes.c (is_ancestor): Infer type equivalence from name
+       equivalence.
+       (rank_one_type): Use strcmp instead of == to compare type names.
+       Don't swap parm with arg when checking TYPE_CODE_REF types.
+       * valops.c (find_overload_match): Fix indentation.  Compare
+       parameter rankings to 0..9, 10..99, and 100+ instead of 0, 10,
+       and 100.
+
+2000-07-07  David Edelsohn  <edelsohn@gnu.org>
+
+       * xcoffread.c (read_symbol_nvalue): Return CORE_ADDR.
+       * rs6000-tdep.c (rs6000_pop_frame): Make addr CORE_ADDR type.
+
+Fri Jul  7 18:29:51 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * config/mips/tm-mips.h (IEEE_FLOAT, SKIP_PROLOGUE,
+       SAVED_PC_AFTER_CALL, DECR_PC_AFTER_BREAK, BREAKPOINT_FROM_PC,
+       INNER_THAN): Macros.
+
+       * mips-tdep.c (mips_in_lenient_prologue): Delete function.
+       (mips32_skip_prologue, mips16_skip_prologue, mips_skip_prologue):
+       Remove ``lenient'' argument.
+       (mips_saved_pc_after_call): New function.
+       (mips_gdbarch_init): Initialize gdbarch members inner_than,
+       breakpoint_from_pc, decr_pc_after_break, ieee_float,
+       skip_prologue, saved_pc_after_call.
+
+2000-07-07  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/i386/tm-linux.h: Add longjmp support.
+       (JB_ELEMENT_SIZE, JB_PC): New defines.
+       (GET_LONGJMP_TARGET): Define.
+       (get_longjmp_target): Add prototype.
+
+       * breakpoint.c (bpstat_what): Keep returning
+       BPSTAT_WHAT_SET_LONGJMP_RESUME when hitting multiple longjmp()
+       breakpoints instead of signalling an error by returning
+       BPSTAT_WHAT_STOP_NOISY.
+
+2000-07-06  Michael Snyder  <msnyder@cleaver.cygnus.com>
+
+       * mips-tdep.c: Replace '16' with bfd_mach_mips16 where appropriate.
+
+2000-07-06  Christopher Faylor  <cgf@cygnus.com>
+
+       * infcmd.c (attach_command): Move "stop_soon_quietly" setting
+       inside ATTACH_NO_WAIT conditional since we are not about to
+       stop soon if we're not calling wait_for_inferior.
+
+Wed Jul  5 21:06:39 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * config/i386/fbsd.mh (NATDEPFILES): Keep NATDEPFILES to a single
+       line.  configure.in assumes this.
+
+Wed Jul  5 20:48:22 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (SER_HARDWIRE): When go32 or DJGPP, set to
+       ser-go32.c.
+       * configure: Re-generate.
+       
+Wed Jul  5 20:28:32 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * top.h (command_loop_marker), top.c (command_loop_marker):
+       Delete.
+       * event-top.c (command_handler), top.c (simplified_command_loop,
+       command_loop): Use null_cleanup instead of command_loop_marker.
+
+Wed Jul  5 20:09:41 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * event-loop.c: Include either <poll.h> or <sys/poll.h>.
+
+       * configure.in (targ_archs): Check for <poll.h> and <sys/poll.h>.
+       * configure, config.in: Re-generate.
+       
+Wed Jul  5 18:10:44 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From 2000-06-12 Bill Nottingham <notting@redhat.com>:
+       * Makefile.in: add $(infodir) to FLAGS_TO_PASS
+       
+Wed Jul  5 18:03:55 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * TODO: Updates.
+
+2000-07-05  Mark Kettenis  <kettenis@gnu.org>
+
+       * TODO: Update.
+
+2000-07-03  Chris Faylor  <cfg@cygnus.com>
+
+        Committed by Elena Zannoni <ezannoni@cygnus.com>
+       * sh-tdep.c (sh_skip_prologue): Change prologue matching for modern
+       compilers.
+       (sh_frame_find_saved_regs): Ditto.
+       (sh_find_callers_reg): Stop if pc is zero.
+
 Sat Jul  1 17:47:08 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * ser-unix.c (do_unix_readchar): Revert Tue Mar 28 18:19:50 2000