2002-11-08 Andrew Cagney <ac131313@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e28370eb3820cd0b1a475c81a28f34eb3f636a2d..1104a5abd3d50f37a8887643d0321449a1a81d68 100644 (file)
@@ -1,3 +1,261 @@
+2002-11-08  Andrew Cagney  <ac131313@redhat.com>
+
+       * i386-linux-tdep.c: Include "reggroups.h".
+       (i386_linux_register_reggroup_p): New function.
+       (i386_linux_init_abi): Set register_reggroup_p to
+       i386_linux_register_reggroup_p.
+       * i386-tdep.h (i386_register_reggroup_p): Declare.
+       * i386-tdep.c: Include "reggroups.h".
+       (i386_init_reggroups): New function.
+       (i386_add_reggroups): New function.
+       (i386_register_reggroup_p): New function.
+       (i386_sse_reggroup, i386_mmx_reggroup): New variables.
+       (_initialize_i386_tdep): Call i386_init_reggroups.
+       (i386_gdbarch_init): Set register_reggroup_p and add in the i386
+       specific reggroups.
+
+2002-11-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * infptrace.c (child_xfer_memory): Make use of the new PT_IO
+       request that's available in *BSD.
+
+       * i386-tdep.h (IS_FPU_CTRL_REGNUM): Remove.
+
+       * i387-tdep.c (i387_fill_fxsave): Use FOOFF_REGNUM instead of
+       FDOFF_REGNUM.
+
+2002-11-08  Andrew Cagney  <ac131313@redhat.com>
+
+       * frame.c (set_unwind_by_pc): Use dummy_frame_register_unwind.
+       * dummy-frame.c (find_dummy_frame): Rename
+       generic_find_dummy_frame, make static.  Return the dummy frame
+       instead of the regcache.
+       (generic_find_dummy_frame): Re-implement using find_dummy_frame,
+       (cached_find_dummy_frame): New function.  Use find_dummy_frame.
+       (dummy_frame_register_unwind): Rename
+       generic_call_dummy_register_unwind.  Use cached_find_dummy_frame.
+       * dummy-frame.h (dummy_frame_register_unwind): Rename
+       generic_call_dummy_register_unwind.
+
+2002-11-08  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/i386/tm-i386v42mp.h: Remove file.  Move its contents,
+       except the inclusion of "i386/tm-i386.h", to...
+       * config/i386/nm-i386v42mp.h: ...here.
+       * config/i386/i386v42mp.mt (TM_FILE): Set to tm-i386.h.
+
+2002-11-08  Andrew Cagney  <ac131313@redhat.com>
+
+       * Makefile.in (frame.o): Update dependencies.
+       * blockframe.c (current_frame, frame_obstack_alloc)
+       (frame_saved_regs_zalloc, get_current_frame)
+       (set_current_frame, create_new_frame)
+       (set_unwind_by_pc, get_next_frame)
+       (flush_cached_frames, reinit_frame_cache)
+       (frame_saved_regs_register_unwind)
+       (deprecated_generic_get_saved_register)
+       (get_prev_frame, get_frame_pc, get_frame_saved_regs)
+       (_initialize_blockframe): Move frame code from here...
+       * frame.c: ...to here.  Include "gdb_obstack.h", "gdbcore.h",
+       "annotate.h" and "dummy-frame.h".
+       (_initialize_frame): New function.
+
+2002-11-08  Jim Blandy  <jimb@redhat.com>
+
+       * dwarf2read.c (read_func_scope): Restore list_in_scope properly
+       when we finish a function a context.
+       * buildsym.h (outermost_context_p): New macro.
+       (Bug analyzed by David Edelsohn.)
+
+2002-11-08  Andrew Cagney  <ac131313@redhat.com>
+
+       * blockframe.c: Include "dummy-frame.h".
+       (struct dummy_frame, dummy_frame_stack)
+       (generic_find_dummy_frame, deprecated_generic_find_dummy_frame)
+       (generic_pc_in_call_dummy, deprecated_read_register_dummy)
+       (generic_push_dummy_frame, generic_save_dummy_frame_tos)
+       (generic_save_call_dummy_addr, generic_pop_current_frame)
+       (generic_pop_dummy_frame, generic_fix_call_dummy)
+       (generic_fix_call_dummy, generic_call_dummy_register_unwind): Move
+       dummy frame code from here...
+       * dummy-frame.c: ...to here.  New file.
+       * dummy-frame.h: New file.
+       (generic_call_dummy_register_unwind): Declare.
+       (generic_find_dummy_frame): Declare.
+       * Makefile.in (SFILES): Add dummy-frame.c.
+       (dummy-frame.o): Specify dependencies.
+       (dummy_frame_h): Define.
+       (COMMON_OBS): Add dummy-frame.o.
+       (blockframe.o): Update dependencies.
+
+2002-11-08  Jim Blandy  <jimb@redhat.com>
+
+       * dwarf2read.c (read_func_scope): Restore local_symbols and
+       param_symbols after we finish the function context.  (Based on a
+       patch from David Edelsohn.)
+
+2002-11-08  David Carlton  <carlton@math.stanford.edu>
+
+       * linespec.c (symbol_found): New function.
+       (minsym_found): New function.
+       (decode_line_1): Separate out some code into separate functions.
+
+2002-11-08  Joel Brobecker  <brobecker@gnat.com>
+
+       * i386-tdep.c (i386_frameless_signal_p): Make non static for
+       the benefit of the interix target.
+       * i386-tdep.h (i386_frameless_signal_p): Declare.
+
+2002-11-08  Andrew Cagney  <ac131313@redhat.com>
+
+       * i386-tdep.h (i386_linux_orig_eax_regnum_p): Delete stray
+       declaration that snuck in from change below.
+
+2002-11-06  Andrew Cagney  <cagney@redhat.com>
+
+       * i386-tdep.c (i386_mmx_regnum_p): Rename mmx_regnum_p.  Update
+       all callers.
+       (i386_fp_regnum_p): New function.  Use instead of FP_REGNUM_P.
+       (i386_fpc_regnum_p): New function.  Use instead of FPC_REGNUM_P.
+       (i386_sse_regnum_p): New function.  Use instead of SSE_REGNUM_P.
+       (i386_mxcsr_regnum_p): new function.  Use instead of
+       MXCSR_REGNUM_P.
+       * i386-tdep.h (SSE_REGNUM_P): Delete macro.
+       (i386_sse_regnum_p): Declare.
+       (i386_mxcsr_regnum_p): Declare.
+       (FP_REGNUM_P, FPC_REGNUM_P): Delete macros.
+       (i386_fp_regnum_p, i386_fpc_regnum_p): Declare.
+       (IS_FP_REGNUM): Update definition.
+       (IS_FPU_CTRL_REGNUM): Update definition..
+       (IS_SSE_REGNUM): Update definition..
+       * i386v-nat.c (register_u_addr): Update.
+       * go32-nat.c (fetch_register): Update.
+       (store_register): Update.
+
+2002-11-07  Joel Brobecker  <brobecker@gnat.com>
+
+       Preparation work to convert the hppa targets to multiarch partial.
+
+       * hppa-tdep.c: Add new functions replacing macro bodies from
+       config/pa/tm-hppa.h. These function will be used to initialize
+       the gdbarch structure. Import some comments from tm-hppa.h,
+       and place them where appropriate, to avoid loosing them when
+       we cleanup this file.
+       (hppa_reg_struct_has_addr): New function.
+       (hppa_inner_than): New function.
+       (hppa_stack_align): New function.
+       (hppa_pc_requires_run_before_use): New function.
+       (hppa_instruction_nullified): New function.
+       (hppa_register_byte): New function.
+       (hppa_register_virtual_type): New function.
+       (hppa_store_struct_return): New function.
+       (hppa_cannot_store_register): New function.
+       (hppa_frame_args_address): New function.
+       (hppa_frame_locals_address): New function.
+       (hppa_smash_text_address): New function.
+       (hppa_coerce_float_to_double): New function. Requires the inclusion
+       of "language.h".
+
+       * Makefile.in (hppa-tdep.o): Add dependency on language.h.
+
+       * tm-hppa.h (REG_STRUCT_HAS_ADDR): Change the definition of this
+       gdbarch-eligible macro to a call to the new associated function
+       created in hppa-tdep.c.
+       (INNER_THAN): Likewise.
+       (STACK_ALIGN): Likewise.
+       (PC_REQUIRES_RUN_BEFORE_USE): Likewise.
+       (INSTRUCTION_NULLIFIED): Likewise.
+       (REGISTER_BYTE): Likewise.
+       (REGISTER_VIRTUAL_TYPE): Likewise.
+       (STORE_STRUCT_RETURN): Likewise.
+       (CANNOT_STORE_REGISTER): Likewise.
+       (FRAME_ARGS_ADDRESS): Likewise.
+       (FRAME_LOCALS_ADDRESS): Likewise.
+       (SMASH_TEXT_ADDRESS): Likewise.
+       (COERCE_FLOAT_TO_DOUBLE): Likewise.
+       (ABOUT_TO_RETURN): Delete, as no longer used.
+
+2002-11-07  Fernando Nasser  <fnasser@redhat.com>
+
+       * printcmd.c (disassemble_command): Remove obsolete function.
+       (_initialize_printcmd): Do not create disassemble command here.
+       * cli/cli-cmds.c (disassemble_command): New function.  Implements
+       disassemble command.
+       (init_cli_cmds): Create disassemble command here instead.
+
+2002-11-07  Andrew Cagney  <ac131313@redhat.com>
+
+       * MAINTAINERS: Add Daniel Jacobowitz to global maintainers list.
+
+2002-11-07  Andrew Cagney  <ac131313@redhat.com>
+
+       * regcache.h (regcache_cooked_read_using_offset_hack)
+       (regcache_cooked_write_using_offset_hack): Delete declarations.
+       (register_changed): Delete declaration.
+       * regcache.c (regcache_cooked_read_using_offset_hack)
+       (regcache_cooked_write_using_offset_hack): Delete functions.
+       (cooked_xfer_using_offset_hack): Delete function.
+       (register_changed): Delete function.
+
+2002-11-07  Jim Blandy  <jimb@redhat.com>
+
+       * macroscope.c: #include "complaints.h".
+       (sal_macro_scope): Cope with filenames that appear in the symtabs,
+       but not in the macro table.
+       * Makefile.in (macroscope.o): Record dependency.
+
+2002-11-07  Joel Brobecker  <brobecker@gnat.com>
+
+       * PROBLEMS: Document gdb/816 (unable to read core file on alpha-osf).
+
+2002-11-07  Andrew Cagney  <ac131313@redhat.com>
+
+       * regcache.c (deprecated_registers_fetched): Update.
+       * regcache.h (deprecated_registers_fetched): Rename
+       registers_fetched.
+       * remote-vxsparc.c (vx_read_register): Update.
+       * remote-vxmips.c (vx_read_register): Update.
+       * remote-vx68.c (vx_read_register): Update.
+       * irix5-nat.c (fetch_core_registers): Update.
+       * mipsm3-nat.c (fetch_inferior_registers): Update.
+       * sun3-nat.c (fetch_inferior_registers): Update.
+       * symm-nat.c (fetch_inferior_registers): Update.
+       * ns32knbsd-nat.c (fetch_inferior_registers): Update.
+       (fetch_core_registers): Update.
+       (fetch_kcore_registers): Update.
+       * mips-nat.c (fetch_inferior_registers): Update.
+       * corelow.c (get_core_registers): Update.
+       * a68v-nat.c (fetch_inferior_registers): Update.
+
+2002-11-06  Joel Brobecker  <brobecker@gnat.com>
+
+       Put in place the framework necessary for multiarching the hppa targets.
+       * hppa-tdep.c (hppa_gdbarch_init): New function.
+       (hppa_dump_tdep): New function.
+       (_initialize_hppa_tdep): Register the hppa gdbarch init function and
+       tdep structure dumper.
+       * config/pa/tm-hppa.h (GDB_MULTI_ARCH): New macro, defined to 0
+       until the multi-arching conversion has partially been completed.
+
+2002-11-06  Andrew Cagney  <ac131313@redhat.com>
+
+       * valops.c (value_assign): Merge lval_register case into
+       lval_reg_frame_relative.  Use frame_register and
+       regcache_cooked_write instead of get_saved_register and
+       write_register_bytes.  After flushing the register cache, try to
+       re-select the selected frame.
+
+2002-11-06  Andrew Cagney  <ac131313@redhat.com>
+
+       * regcache.h (deprecated_register_valid): Rename register_valid.
+       * regcache.c: Update.
+       * ia64-aix-nat.c: Update.
+       * i386gnu-nat.c: Update.
+       * alpha-nat.c: Update.
+       * sparc-nat.c: Update.
+       * lynx-nat.c: Update.
+       * remote-mips.c: Update.
+
 2002-11-06  Joel Brobecker  <brobecker@gnat.com>
 
        * hppa-tdep.c (_initialize_hppa_tdep): Move function body
This page took 0.027304 seconds and 4 git commands to generate.