2002-02-04 Daniel Jacobowitz <drow@mvista.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index fbb7139180cac818627c9a52691625c4a75b24a8..7706ca8c5b0c22f8cdb413f11c734ab59fddd37d 100644 (file)
@@ -1,3 +1,379 @@
+2002-02-04  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
+       Add rules for building the register data files.
+
+2002-02-04  Daniel Jacobowitz  <drow@mvista.com>
+
+       * regformats/regdat.sh: Add braces to the definition of
+       expedite_regs_${arch}.
+
+2002-02-04  Daniel Jacobowitz  <drow@mvista.com>
+
+       * regformats/regdef.h (struct reg): Add comment describing the
+       requirements for offset and size fields.
+
+2002-02-04  Andreas Schwab  <schwab@suse.de>
+
+       * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
+       * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
+
+2002-02-04  Richard Earnshaw  <rearnsha@arm.com>
+
+       * gdbarch.sh (copyright): Update years in generated header.
+       (SMASH_TEXT_ADDRESS): Add rule.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
+       * dbxread.c: Likewise.
+       * dwarfread.c: Likewise.
+       * elfread.c: Likewise.
+       * somread.c: Likewise.
+
+       * arm-tdep.c (arm_smash_text_address): New function.
+       * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
+
+2002-02-04  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       Add support for hardware watchpoints on win32 native.
+       * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of 
+       CONTEXT_DEBUG_REGISTERS.
+       (dr variable): New variable. Static array containing a local copy 
+       of debug registers.
+       (debug_registers_changed): New variable.  Reflects when debug registers
+       are changed and need to be written to inferior.
+       (debug_registers_used): New variable. Reflects when any debug register 
+       was set, used when new threads are created.
+       (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
+       i386-nat code.
+       (thread_rec): Set dr array if id is the thread of current_event .
+       (child_continue, child_resume): Change the debug registers for all
+       threads if debug_registers_changed.
+       (child_add_thread): Change the debug registers if debug_registers_used.
+       * config/i386/cygwin.mh: Add use of i386-nat.o file.
+       Link nm.h to new nm-cygwin.h file.
+       + config/i386/nm-cygwin.h: New file. Contains the macros used for use
+       of hardware registers.
+
+2002-02-03  Andrew Cagney  <ac131313@redhat.com>
+
+       * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
+       Restore behavour broken by 2002-01-20 Andrew Cagney
+       <ac131313@redhat.com> IEEE_FLOAT removal.
+
+2002-02-03  Daniel Jacobowitz  <drow@mvista.com>
+
+       * c-valprint.c (c_val_print): Pass a proper valaddr to
+       cp_print_class_method.
+       * valops.c (search_struct_method): If there is only one method
+       and args is NULL, return that method.
+
+2002-02-03  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
+       accessing tag_name directly.
+
+2002-02-03  Daniel Jacobowitz  <drow@mvista.com>
+
+       * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
+       of accessing tag_name directly.
+
+2002-02-03  Daniel Jacobowitz  <drow@mvista.com>
+
+       PR gdb/280
+       * gdbtypes.c (replace_type): New function.
+       * gdbtypes.h (replace_type): Add prototype.
+       * stabsread.c (read_type): Use replace_type.
+
+2002-02-03  Richard Earnshaw  <rearnsha@arm.com>
+
+       * Makefile.in (memattr.o): Add missing dependencies rule.
+
+2002-02-03  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * breakpoint.c (break_at_finish_command): Really export.
+       (break_at_finish_at_depth_command): Ditto.
+       (tbreak_at_finish_command): Ditto.
+       * hppa-tdep.c: Include completer.h.
+       * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
+       (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
+
+2002-02-01  Andrew Cagney  <ac131313@redhat.com>
+
+       * utils.c (do_write): New function.
+       (error_stream): Rewrite combining the code from error_begin and
+       verror.
+       (verror): Rewrite using error_stream.
+       (error_begin): Delete function.
+
+2002-02-01  Andrew Cagney  <ac131313@redhat.com>
+
+       * utils.c (error_begin): Make static.
+       * defs.h (error_begin): Delete declaration.
+
+       * linespec.c (cplusplus_error): Replace cplusplus_hint.
+       (decode_line_1): Use cplusplus_error instead of error_begin,
+       cplusplus_hint and return_to_top_level.
+       * coffread.c (coff_symfile_read): Use error instead of error_begin
+       and return_to_top_level.
+       * infrun.c (default_skip_permanent_breakpoint): Ditto.
+
+2002-02-01  Andrew Cagney  <ac131313@redhat.com>
+
+       * language.h (type_error, range_error): Make string parameter
+       constant.
+       * language.c (warning_pre_print): Delete extern declaration.
+       * dwarfread.c (warning_pre_print): Ditto.
+       * language.c (type_error, range_error): Rewrite to use verror and
+       vwarning instead of warning_begin.
+
+2002-02-01  Michael Snyder  <msnyder@redhat.com>
+
+       * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
+       (set_ignore_count): Move misplaced comment back where it belongs.
+
+2002-02-01  Andrew Cagney  <ac131313@redhat.com>
+
+       * command.h (NO_FUNCTION): Delete macro.
+       * cli/cli-decode.h (NO_FUNCTION): Ditto.
+       * top.c (execute_command): Replace NO_FUNCTION with NULL.
+       * tracepoint.c (_initialize_tracepoint): Ditto.
+       * cli/cli-decode.c (add_set_cmd): Ditto.
+       * cli/cli-cmds.c (init_cli_cmds): Ditto.
+       
+2002-02-01  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
+       Update ``this'' pointer when calling virtual functions.
+
+2002-02-01  Michael Snyder  <msnyder@redhat.com>
+
+       * breakpoint.c (create_temp_exception_breakpoint): Delete.
+       * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
+
+2002-02-01  Daniel Jacobowitz  <drow@mvista.com>
+
+       * regformats/reg-arm.dat: New file.
+       * regformats/reg-i386.dat: New file.
+       * regformats/reg-ia64.dat: New file.
+       * regformats/reg-m68k.dat: New file.
+       * regformats/reg-mips.dat: New file.
+       * regformats/reg-ppc.dat: New file.
+       * regformats/reg-sh.dat: New file.
+       * regformats/regdef.h: New file.
+       * regformats/regdat.sh: New file.
+
+2002-02-01  Richard Earnshaw  <reanrsha@arm.com>
+
+       * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
+       (arm_frame_args_address, arm_frame_locals_address): New functions.
+       (arm_frame_num_args): New function.
+       * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
+       (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
+       (FRMA_NUM_ARGS): Call arm_frame_num_args.
+
+2002-01-31  Michael Snyder  <msnyder@redhat.com>
+
+       * breakpoint.c (break_at_finish_command): Export.
+       (break_at_finish_at_depth_command): Export.
+       (tbreak_at_finish_command): Export.
+       (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
+       * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
+       "tbreak" commands, which are HPPA specific.
+
+       * printcmd.c (disassemble_command): Remove an ancient
+       artifact of an old merge.
+
+       * symfile.h (enum overlay_debugging_state): 
+       Define enum constant values for overlay mode.
+       * symfile.c (overlay_debugging): Use enums instead of literals.
+       (overlay_is_mapped, overlay_auto_command, 
+       overlay_manual_command): Ditto. 
+
+       * breakpoint.c (insert_breakpoints, remove_breakpoint, 
+       breakpoint_here_p, breakpoint_inserted_here_p, 
+       breakpoint_thread_match, bpstat_stop_status, 
+       describe_other_breakpoints, check_duplicates, clear_command):
+       Coding standard fixes.
+
+       * target.c (target_xfer_memory): Add spaces, coding standard.
+       (do_xfer_memory): Add missing line to trust-readonly
+       code: check bfd SEC_READONLY flag for section.
+
+2002-01-31  Andrew Cagney  <ac131313@redhat.com>
+
+       * PROBLEMS: Fix typo, 5.1->5.1.1.
+
+2002-01-30  Daniel Jacobowitz  <drow@mvista.com>
+
+       * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
+       data symbols, since we search based on textlow and texthigh.
+       (find_pc_sect_symtab): Likewise.
+
+2002-01-30  Andrew Cagney  <ac131313@redhat.com>
+
+       * defs.h (vwarning): Declare.
+       (warning_begin): Delete declaration.
+       * utils.c (vwarning): New function.
+       (warning): Call vwarning.
+       (warning_begin): Delete function.
+
+       * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
+       the warning message.
+       * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
+       warning_begin.
+
+2002-01-30  Michael Snyder  <msnyder@redhat.com>
+
+       * NEWS: Mention "set trust-readonly-sections" command.
+       Mention generate-core-file command.
+
+2002-01-15  Michael Snyder  <msnyder@redhat.com>
+
+       * target.c: New command, "set trust-readonly-sections on".
+       (do_xfer_memory): Honor the suggestion to trust readonly sections
+       by reading them from the object file instead of from the target.
+       (initialize_targets): Register command "set trust-readonly-sections".
+
+2002-01-29  Andrew Cagney  <ac131313@redhat.com>
+
+       * parse.c (target_map_name_to_register): Simplify, search regs and
+       pseudo-regs using a single loop.
+
+2002-01-30  Andrew Cagney  <ac131313@redhat.com>
+
+       * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
+
+2002-01-15  Rodney Brown  <rbrown64@csc.com.au>
+
+       * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
+       * config/i386/i386v42mp.mh: Add i387-nat.o .
+       * i386v4-nat.c: Include i387-nat.h.
+       (supply_fpregset): Use i387_supply_fsave.
+       (fill_fpregset): Use i387_fill_fsave.
+
+2002-01-30  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm-tdep.c (arm_call_dummy_words): Define.
+       * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
+       * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
+       (CALL_DUMMY_WORDS): Define.
+       (arm_call_dummy_words): Declare.
+       * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
+       (arm_linux_call_dummy_words): Declare.
+
+2002-01-30  Andreas Schwab  <schwab@suse.de>
+
+       * m68klinux-nat.c: Fix last change to use regcache_collect
+       instead of referencing registers[] directly.
+
+2002-01-29  Andrew Cagney  <ac131313@redhat.com>
+
+       * parse.c (target_map_name_to_register): Delete code wrapped in
+       #ifdef REGISTER_NAME_ALIAS_HOOK.
+
+2002-01-28  Michael Snyder  <msnyder@redhat.com>
+
+       * regcache.c (legacy_read_register_gen): Need to be able to
+       read pseudo-register as well as real register.
+       (legacy_write_register_gen): Ditto.
+
+2002-01-28  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
+       * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
+       * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
+       * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
+       * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
+       * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
+       * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
+       * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
+       * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
+       * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
+       * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
+       * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
+       * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
+       * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
+       * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
+       * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
+       * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
+       * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
+       * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
+       * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
+
+2002-01-28  Andrew Cagney  <ac131313@redhat.com>
+
+       * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
+       (target_byte_order): Initialize to BFD_ENDIAN_BIG.
+       (initialize_current_architecture): Update target_byte_order using
+       information from BFD.
+       * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
+       * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): 
+       * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
+
+2002-01-28  Andrew Cagney  <ac131313@redhat.com>
+
+       * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
+       * vax-tdep.c (INVALID_FLOAT): To here.  Document why it is broken.
+
+       * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
+       #ifdef INVALID_FLOAT.
+       * infcmd.c (do_registers_info): Ditto.
+       * values.c (unpack_double): Ditto.  Add comment.
+
+       * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
+       already commented out.
+
+2002-01-26  Andreas Schwab  <schwab@suse.de>
+
+       * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
+       * m68klinux-nat.c: Update ptrace interface for fetching/storing
+       registers and add support for PTRACE_GETREGS.
+
+2002-01-24  Andrew Cagney  <ac131313@redhat.com>
+
+       GDB 5.1.1 released from 5.1 branch.
+       * NEWS: Add 5.1.1 news.
+       * README: Sync with 5.1 branch.
+
+2002-01-23  Fred Fish  <fnf@redhat.com>
+
+       * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
+       stabstring on initial malloc.  Reallocing will copy it for us,
+       if necessary.
+
+2002-01-23  Elena Zannoni  <ezannoni@redhat.com>
+
+        * Makefile.in (hpread_h): Delete. 
+        (HFILES_NO_SRCDIR): Remove hpread.h.
+        (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
+        (hpread.o): Update dependencies.
+        (hp-psymtab-read.o, hp-symtab-read.o): Remove.
+
+        * hp-psymtab-read.c: Remove file.
+        * hp-symtab-read.c: Remove file.
+        * hpread.h: Remove file.
+
+        * hpread.c: Merge all contents of hp-psymtab-read.c,
+        hp-symtab-read.c and hpread.h into this file, as it was prior to
+        January 1999.
+
+        * config/pa/hpux11w.mh, config/pa/hpux11.mh,
+        config/pa/hpux1020.mh, config/pa/hppaosf.mh, 
+        config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
+        Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
+
+2002-01-23  Elena Zannoni  <ezannoni@redhat.com>
+
+       * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
+       fill_gregset): Call gdbarch_tdep() just once, assign result to
+       variable and use that, instead of calling the function several
+       times.
+
+2002-01-24  Alexandre Oliva  <aoliva@redhat.com>
+
+       * configure.host: Accept sparcv9 as alias for sparc64.
+       * configure.tgt: Likewise.
+
 2002-01-22  Kevin Buettner  <kevinb@redhat.com>
 
        * solib-aix5.c (build_so_list_from_mapfile)
This page took 0.02661 seconds and 4 git commands to generate.