* lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux''
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 551ccbdfd4fdcb1a1f42954fe56a6aa332390ee5..0c85032b4a440177bf44aee2d0f83d8054fba383 100644 (file)
@@ -1,3 +1,179 @@
+2002-02-24  Andrew Cagney  <ac131313@redhat.com>
+
+       * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux''
+       with either ``GNU/Linux'' or ``Linux kernel''.
+       Fix PR gdb/378.
+       
+2002-02-23  Andrew Cagney  <ac131313@redhat.com>
+
+       * lin-thread.c: Delete file.
+       * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer
+       to gdb_proc_service.h.
+       * configure: Re-generate.
+
+       * ocd.c (ocd_open): Do not try to open the "ocd" device.
+       * serial.c (serial_open): Delete check for "ocd".
+       Fix PR gdb/349.
+
+       * Makefile.in (linux-thread.o): Delete target.
+       * linux-thread.c: Delete file.
+
+       * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c.  Tweak other
+       renamed SH files to be consistent.
+
+       * symtab.c (sort_search_symbols): Use xfree.
+
+2002-02-23  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm-linux-tdep.c (arm_linux_init_abi): Register
+       IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE
+       * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old
+       definition with undef, since we don't want the sysvr4 definition.
+       (SKIP_TRAMPOLINE_CODE): Likewise.
+
+2002-02-23  Andrew Cagney  <ac131313@redhat.com>
+
+       From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>:
+
+       * configure.in: (AC_CHECK_FUNCS) Added test for
+       canonicalize_file_name Regenerated.
+        * config.in, configure: Regenerated.
+        * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
+       defined use canonicalize_file_name.
+        
+2002-02-23  Michael Chastain  <mec@shout.net>
+
+       * MAINTAINERS: Remove Michael Chastain from "paper trail" list.
+
+2002-02-23  Andrew Cagney  <ac131313@redhat.com>
+
+       * README: Remove references to cygnus.com.
+       * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar
+       dot com'' form.  Remove references to cygnus.com and sourceware.
+
+2002-02-23  Andrew Cagney  <ac131313@redhat.com>
+
+       From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
+       * Makefile.in (VER): Change "head -1" to "sed q", since POSIX
+       1003.1-2001 no longer allows "head -1".
+       * gdb/Makefile.in (version.c): Likewise.
+       * gdb/doc/Makefile.in (GDBvn.texi): Likewise.
+       * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
+       equivalent.  POSIX 1003.1-2001 no longer allows "diff -c3".
+
+2002-02-23  Andrew Cagney  <ac131313@redhat.com>
+
+       * cli/cli-decode.c (cmd_cfunc_eq): New function.
+       * command.h (cmd_cfunc_eq): Declare.
+       * cli/cli-decode.h (cmd_cfunc_eq): Ditto.
+
+       * cli/cli-cmds.h (is_complete_command): Change parameter to a
+       ``struct cmd_list_element *''.
+       * cli/cli-cmds.c (is_complete_command): Update.  Use
+       cmd_cfunc_eq.
+       * top.c (execute_command): Pass the command to
+       is_complete_command.
+       * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
+
+2002-02-23  Andrew Cagney  <ac131313@redhat.com>
+
+       From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:
+       * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed
+       architecture defines.
+       * s390-tdep.c (s390_gdbarch_init): Likewise.
+
+2002-02-23  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm-linux-tdep.c (arm_linux_extract_return_value): Make static.
+       (arm_linux_push_arguments): Likewise.
+       (arm_linux_init_abi): Register them.  Also register linux-specific
+       call_dummy_words.
+       (find_minsym_and_objfile): Use strcmp, not STREQ.
+       * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete.
+       (arm_linux_call_dummy_words): Delete declaration.
+       (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete.
+       (arm_linux_extract_return_value, arm_linux_push_arguments): Delete
+       declarations.
+       (LOWEST_PC): Delete.
+
+2002-02-23  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>
+
+       * maint.c (print_section_info): Do not prepend `0x' to filepos
+       output, it will be handled by local_hex_string_custom.
+
+2002-02-23  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm-linux-nat.c (store_newfpe_single): Use regcache_collect.
+       (store_newfpe_double, store_newfpe_extended, store_fpregister)
+       (store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
+
+2002-02-22  Jim Blandy  <jimb@redhat.com>
+
+       Indicate that the bcache functions don't change the strings
+       they're passed.
+       * bcache.h (bcache, hash): Add `const' keywords to declarations.
+       * bcache.c (bcache, hash): Add `const' keywords to definitions.
+
+2002-02-22  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * win32-nat.c (child_create_inferior): Fix create flags setting bug.
+
+2002-02-21  Christopher Faylor  <cgf@redhat.com>
+
+       * win32-nat.c (register_loaded_dll): Just use raw name when we can't
+       find the complete path to a loaded DLL.
+
+2002-02-21  Fred Fish  <fnf@redhat.com>
+
+       * dbxread.c (process_one_symbol): When finding an N_FUN symbol
+       that marks the end of the range of a function, enter a line number
+       entry that has a line number of zero and a PC offset that matches
+       the end of the function.  This starts a range of PC's for which no
+       line number information is known.
+       * symtab.c (find_pc_sect_line): If our best fit is in a range of
+       PC's for which no line number info is found (line number is zero)
+       then we didn't find any valid line information.
+       * symtab.h: Document use of zero line number entry.
+
+2002-02-21  Elena Zannoni  <ezannoni@redhat.com>
+
+       * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define.
+       (have_ptrace_getvrregs): Define for run time checks.
+       (gdb_vrregset_t): New type for Altivec register handling.
+       (fetch_register, store_register): Fetch/store altivec register
+       when needed.
+       (fetch_altivec_register, store_altivec_register): New functions.
+       (supply_vrregset, fill_vrregset): New functions.
+       (fetch_altivec_registers, store_altivec_registers): New functions.
+       (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec
+       registers as well.
+
+2002-02-21  Jiri Smid  <smid@suse.cz>
+
+       * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.
+
+2002-02-21  Richard Earnshaw  <rearnsha@arm.com>
+
+       * Makefile.in (armnbsd-nat.o): Update dependencies.
+       * armnbsd-nat.c (supply_gregset): New function.  Common code to
+       supply the integer register set.
+       (supply_fparegset): New function.  Similar for FPA registers.
+       (fetch_regs, fetch_fp_regs): Use them.
+       (fetch_core_registers): Likewise.
+       (fetch_elfcore_registers): New function.
+       (arm_netbsd_elfcore_fns): New core-file type specification.
+       (_initialize_arm_netbsd_nat): Register it.
+
+2002-02-21  Richard Earnshaw  <rearnsha@arm.com>
+
+       * armnbsd-nat.c: Include gdbcore.h.
+       (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
+       (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
+       'void' to declaration, to shut up ARI.
+       (fetch_core_registers): Make static.  Rewrite using supply_register.
+       (arm_netbsd_core_fns): New core-file type specification.
+       (_initialize_arm_netbsd_nat): New function.
+
 2002-02-21  Christopher Faylor  <cgf@redhat.com>
 
        * win32-nat.c (register_loaded_dll): Correctly check for invalid handle
        determine the ABI of the inferior when we don't have one.
        (arm_extract_return_value): Support different floating-point models.
        (arm_store_return_value): Likewise.
-       * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to 
+       * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
        ARM_FLOAT_SOFT.
        (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
 
 
 2002-02-19  Richard Earnshaw  <rearnsha@arm.com>
 
-       * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the 
+       * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
        kernel.
        * arm-linux-tdep.c: Likewise.
        * config/arm/tm-linux.h: Likewise.
        * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
        function.
        (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
-       * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only 
+       * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
        defines one thing and that is incorrect for this port.
        (IN_SOLIB_CALL_TRAMPOLINE): Delete.
 
 
 2002-02-14  Pierre Muller  <muller@ics.u-strasbg.fr>
 
-       * dwarf2read.c: Replace fprintf (stderr, ...) by 
+       * dwarf2read.c: Replace fprintf (stderr, ...) by
        fprintf_unfiltered (gdb_stderr, ...).
 
 2002-02-15  Daniel Jacobowitz  <drow@mvista.com>
 
 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
 
-       Fix part of PR gdb/267.  
+       Fix part of PR gdb/267.
        * linespec.c (find_methods): Handle constructors specially for now.
 
 2002-02-14  Corinna Vinschen  <vinschen@redhat.com>
 
 2002-02-13  Martin M. Hunt  <hunt@redhat.com>
 
-       * stack.c (print_frame_info_base): When calling 
+       * stack.c (print_frame_info_base): When calling
        print_frame_info_listing_hook, set current_source_symtab.
 
 2002-02-14  Daniel Jacobowitz  <drow@mvista.com>
        (make_mem_sec): Use a cast, avoid a warning.
 
        * procfs.c (find_memory_regions_callback): Use a cast instead of
-       calling host_pointer_to_address (which complains if 
+       calling host_pointer_to_address (which complains if
        sizeof (host pointer) != sizeof (target pointer)).
        (procfs_make_note_section): Avoid overflow in psargs string.
 
-       * procfs.c (procfs_make_note_section): Make the default 
+       * procfs.c (procfs_make_note_section): Make the default
        implementation return an error.
 
 2002-02-13  Rodney Brown  <rbrown64@csc.com.au>
 2002-02-13  Andrew Cagney  <ac131313@redhat.com>
 
        From 2002-01-18 Greg McGary <greg@mcgary.org>:
-       * memattr.c (create_mem_region): Disallow useless empty region.  
-       Regions are half-open intervals, so allow [A..B) [B..C) as 
+       * memattr.c (create_mem_region): Disallow useless empty region.
+       Regions are half-open intervals, so allow [A..B) [B..C) as
        non-overlapping.
 
 2002-02-13  Michael Chastain <mec@shout.net>
        call_dummy_start_offset, sizeof_call_dummy_words,
        function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
        sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
-       max_register_virtual_size, register_size.  Set up 
+       max_register_virtual_size, register_size.  Set up
        prologue_cache.saved_regs here, rather than ...
        (_initialize_arm_tdep): ... here.
        * config/arm/tm-arm.h (struct type, struct value): Delete forward
 
        * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
        multi-arch partial.
-       
+
 2002-02-10  Andrew Cagney  <ac131313@redhat.com>
 
        * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL.  Exit on bad
        * monitor.c (monitor_interrupt_query): Ditto.
        * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
        * target.h: Update comment.
-       
+
        * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
-       
+
 2002-02-09  Andrew Cagney  <ac131313@redhat.com>
 
        * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
 
        * MAINTAINERS (write-after-approval): Add myself.
        (paper-trail): I've escaped!
-       
+
 2002-02-08  Christopher Faylor  <cgf@redhat.com>
 
        * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
 
 2002-02-07  Michael Snyder  <msnyder@redhat.com>
 
-       * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): 
+       * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
        Logic bug, remove misplaced else.
 
 2002-02-07  Klee Dienes  <klee@apple.com>
        characters that need to be quoted when building a string for the
        shell.  Quote '!' specifically with a backslash, since CSH chokes
        when trying to evaluate "str!str".
-       
+
 2002-02-06  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * rdi-share/host.h: Only provide a typedef for bool if it is not
 
        * breakpoint.h (enum bptype): Add new overlay event bp type.
        (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
-       
+
        * breakpoint.c (create_internal_breakpoint): New function.
        (internal_breakpoint_number): Moved into create_internal_breakpoint.
        (create_longjmp_breakpoint): Use create_internal_breakpoint.
 
 2002-02-06  Pierre Muller  <muller@ics.u-strasbg.fr>
 
-       * win32-nat.c (_initialize_check_for_gdb_ini): 
+       * win32-nat.c (_initialize_check_for_gdb_ini):
        Add typecast to sprintf argument to suppress a warning.
 
 2002-02-05  Pierre Muller  <muller@ics.u-strasbg.fr>
        (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
        that gives exception name and address.
        (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
-       and set last_sig value to ourstatus->value.sig. Some missing 
+       and set last_sig value to ourstatus->value.sig. Some missing
        exceptions added.
-       (child_continue): Correctly report continue_status.     
-       (get_child_debug_event,do_initial_child_stuff): Set last_sig to 
+       (child_continue): Correctly report continue_status.
+       (get_child_debug_event,do_initial_child_stuff): Set last_sig to
        TARGET_SIGNAL_0 (new default value).
-       (child_resume): consider sig argument passed to decide if 
+       (child_resume): consider sig argument passed to decide if
        the exception should be passed to debuggee or not.
 
 2002-02-05  Michael Snyder  <msnyder@redhat.com>
        ELF_MAKE_MSYMBOL_SPECIAL.
        * gdbarch.c, gdbarch.h: Regenerate.
        * arch-utils.c (default_make_msymbol_special): New function.
-       * arch-utils.h (default_make_msymbol_special): Export. 
+       * arch-utils.h (default_make_msymbol_special): Export.
        * elfread.c (elf_symtab_read): Compile use of
        ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
        multiarched.
 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 
+       * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
        CONTEXT_DEBUG_REGISTERS.
-       (dr variable): New variable. Static array containing a local copy 
+       (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 
+       (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.
        * 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.
        * printcmd.c (disassemble_command): Remove an ancient
        artifact of an old merge.
 
-       * symfile.h (enum overlay_debugging_state): 
+       * 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. 
+       (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, 
+       * 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_byte_order): Initialize to BFD_ENDIAN_BIG.
        (initialize_current_architecture): Update target_byte_order using
        information from BFD.
-       * config/mcore/tm-mcore.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>
 
 2002-01-23  Elena Zannoni  <ezannoni@redhat.com>
 
-        * Makefile.in (hpread_h): Delete. 
+        * 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.
         January 1999.
 
         * config/pa/hpux11w.mh, config/pa/hpux11.mh,
-        config/pa/hpux1020.mh, config/pa/hppaosf.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.
 
        arguments is not reversed.
        * solib-sunos.c (sunos_relocate_main_executable): Likewise.
        * solib-svr4.c (svr4_relocate_main_executable): Likewise.
-       
+
 2002-01-22  Elena Zannoni  <ezannoni@redhat.com>
 
        * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
        * gdbserver/low-sim.c (create_inferior): Ditto.
        * gdbarch.sh: Ditto.
        * gdbarch.h: Re-generate.
-       * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): 
-       * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): 
-       * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): 
-       * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): 
-       * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): 
-       * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): 
-       * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): 
+       * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
+       * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
+       * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
+       * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
+       * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
+       * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
+       * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
        * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
        macro definition.
        * config/mips/tm-wince.h: Remove #undef of macro
This page took 0.054129 seconds and 4 git commands to generate.