binutils-gdb.git
22 years ago2002-02-06 H.J. Lu (hjl@gnu.org)
H.J. Lu [Wed, 6 Feb 2002 21:34:17 +0000 (21:34 +0000)]
2002-02-06  H.J. Lu  (hjl@gnu.org)

* elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Update
the mach and ISA fields if necessary.

22 years agoOnly provide a typedef for bool if it is not defined.
Nick Clifton [Wed, 6 Feb 2002 20:09:18 +0000 (20:09 +0000)]
Only provide a typedef for bool if it is not defined.

22 years ago2002-02-04 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 6 Feb 2002 18:31:07 +0000 (18:31 +0000)]
2002-02-04  Michael Snyder  <msnyder@redhat.com>

* 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.
(create_thread_event_breakpoint): Ditto.
(create_solib_event_breakpoint): Ditto.
(create_overlay_event_breakpoint): New function.
(enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
(update_breakpoints_after_exec): Delete and re-initialize
overlay event breakpoints after an exec.  Add FIXME comment
about longjmp breakpoint.
(print_it_typical): Ignore overlay event breakpoints.
(print_one_breakpoint): Ditto.
(mention): Ditto.
(bpstat_what): Do not stop for overlay event breakpoints.
(delete_breakpoint): Don't delete overlay event breakpoints.
(breakpoint_re_set_one): Delete the overlay event breakpoint.
(breakpoint_re_set): Re-create overlay event breakpoint.

* symfile.c (overlay_auto_command): Enable overlay breakpoints.
(overlay_manual_command): Disable overlay breakpoints.
(overlay_off_command): Disable overlay breakpoints.

22 years ago2002-02-06 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 6 Feb 2002 18:29:38 +0000 (18:29 +0000)]
2002-02-06  Michael Snyder  <msnyder@redhat.com>

* gdb.texinfo (overlays): Mention new magic symbol
'_ovly_debug_event', which allows GDB to keep better track
of overlays.

22 years ago* MAINTAINERS: Added self as SH co-maintainer.
Alexandre Oliva [Wed, 6 Feb 2002 18:23:16 +0000 (18:23 +0000)]
* MAINTAINERS: Added self as SH co-maintainer.

22 years agoSelect the highest known ARM architecture when an F_ARM_5 flag is detected,
Nick Clifton [Wed, 6 Feb 2002 16:29:28 +0000 (16:29 +0000)]
Select the highest known ARM architecture when an F_ARM_5 flag is detected,
since we cannot be sure exactly which architecture this represents.

22 years ago* arm-tdep.c: Include elf-bfd.h and coff/internal.h.
Richard Earnshaw [Wed, 6 Feb 2002 15:21:17 +0000 (15:21 +0000)]
* arm-tdep.c: Include elf-bfd.h and coff/internal.h.
(MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
to here from config/tm-arm.h.
(coff_sym_is_thumb): Make static.
(arm_elf_make_msymbol_special): New function.
(arm_coff_make_msymbol_special): New function.
* config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
(MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
(coff_sym_is_thumb): Delete declaration.
(arm_elf_make_msymbol_special): Declare.
(arm_coff_make_msymbol_special): Declare.
(ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
(COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.

22 years ago* arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
Richard Earnshaw [Wed, 6 Feb 2002 13:12:14 +0000 (13:12 +0000)]
* arm-tdep.c (arm_software_single_step): ANSIfy function declaration.

22 years ago* gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
Richard Earnshaw [Wed, 6 Feb 2002 13:00:49 +0000 (13:00 +0000)]
* gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
* gdbarch.c gdbarch.h: Regenerate.
* arch-utils.c (default_print_float_info): New function.
* arch-utils.h (default_print_float_info): Prototype it.
* infcmd.c (float_info): Call PRINT_FLOAT_INFO.
* doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
(PRINT_FLOAT_INFO): Document it.

* arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
* config/arm/tm-arm.h (FLOAT_INFO): Delete.
(PRINT_FLOAT_INFO): Define.

22 years agoRemove some extraneous conflict markers.
Richard Earnshaw [Wed, 6 Feb 2002 10:31:07 +0000 (10:31 +0000)]
Remove some extraneous conflict markers.

22 years ago2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Wed, 6 Feb 2002 09:27:29 +0000 (09:27 +0000)]
2002-02-06  Pierre Muller  <muller@ics.u-strasbg.fr>

* win32-nat.c (_initialize_check_for_gdb_ini):
Add typecast to sprintf argument to suppress a warning.

22 years ago2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Wed, 6 Feb 2002 09:14:50 +0000 (09:14 +0000)]
2002-02-05  Pierre Muller  <muller@ics.u-strasbg.fr>

win32-nat.c (last_sig): Changed type of variable to target_signal,
to allow easier handling of pass state.
(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
exceptions added.
(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
the exception should be passed to debuggee or not.

22 years ago* config/tc-sh.c (parse_at): Install the correct version of
Alexandre Oliva [Wed, 6 Feb 2002 06:26:14 +0000 (06:26 +0000)]
* config/tc-sh.c (parse_at): Install the correct version of
2002-02-04's patch.

22 years ago* gas/sh/pic.d, gas/sh/pic.s: New test.
Alexandre Oliva [Wed, 6 Feb 2002 06:18:28 +0000 (06:18 +0000)]
* gas/sh/pic.d, gas/sh/pic.s: New test.
* gas/sh/basic.exp: Run it.

22 years ago* config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
Alexandre Oliva [Wed, 6 Feb 2002 05:34:34 +0000 (05:34 +0000)]
* config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
assume fixP->fx_subsy is non-NULL.

22 years ago2002-02-05 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 6 Feb 2002 03:16:38 +0000 (03:16 +0000)]
2002-02-05  Michael Snyder  <msnyder@redhat.com>

* regcache.c (fetch_register): Call target_fetch_register
only if we don't call FETCH_PSEUDO_REGISTER.
(store_register): Call target_store_register only if we
don't call STORE_PSEUDO_REGISTER.

22 years ago2002-02-04 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 6 Feb 2002 01:20:23 +0000 (01:20 +0000)]
2002-02-04  Elena Zannoni  <ezannoni@redhat.com>

* gdbarch.sh: Add definitions for COFF_MAKE_MSYMBOL_SPECIAL and
ELF_MAKE_MSYMBOL_SPECIAL.
* gdbarch.c, gdbarch.h: Regenerate.
* arch-utils.c (default_elf_make_msymbol_special,
        default_coff_make_msymbol_special): New functions.
* arch-utils.h (default_elf_make_msymbol_special,
        default_coff_make_msymbol_special): Export.
* elfread.c (elf_symtab_read): Compile use of
ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
multiarched.
* coffread.c (coff_symtab_read): Ditto, for
COFF_MAKE_MSYMBOL_SPECIAL.

22 years ago*** empty log message ***
gdbadmin [Wed, 6 Feb 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* mi-regs.exp: Various cleanups for SPARC-only tests.
Jim Blandy [Tue, 5 Feb 2002 23:58:45 +0000 (23:58 +0000)]
* mi-regs.exp: Various cleanups for SPARC-only tests.
(test_breakpoints_creation_and_listing): Format of breakpoint
table has changed.
(sparc_register_tests): Expand floating-point number regexp to
recognize NaN values, too.  Replace ineffectual single backslash
before a hyphen with a double backslash.  Don't check the exact
numbers of the registers which have changed, since there's no way
to know which registers changed, exactly; just check that the
result is well-formed.
* mi0-regs.exp: (sparc_register_tests): Same as for
sparc_register_tests in mi-regs.exp.

22 years ago* mi-var-child.exp ("get children of struct_declarations", "get
Jim Blandy [Tue, 5 Feb 2002 23:56:45 +0000 (23:56 +0000)]
* mi-var-child.exp ("get children of struct_declarations", "get
children of struct_declarations.s2.u2.u1s2", "get children of
weird"): Tolerate argument types when they appear in function
types.  (Dwarf 2 includes prototype info; STABS does not.)
* mi0-var-child.exp: Same.

22 years ago* solib-svr4.c (svr4_truncate_ptr): New function.
Jim Blandy [Tue, 5 Feb 2002 23:28:13 +0000 (23:28 +0000)]
* solib-svr4.c (svr4_truncate_ptr): New function.
(svr4_relocate_section_addresses): Do the address arithmetic with
the appropriate truncation for target addresses, even when
CORE_ADDR is larger than a target address.

22 years agodaily update
Alan Modra [Tue, 5 Feb 2002 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-05 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 5 Feb 2002 22:14:09 +0000 (22:14 +0000)]
2002-02-05  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
        to (int *).

22 years ago2002-02-05 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 5 Feb 2002 22:01:49 +0000 (22:01 +0000)]
2002-02-05  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-low.c (kill_inferior): Remove commented out
        code.

22 years ago2002-02-05 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 5 Feb 2002 21:41:29 +0000 (21:41 +0000)]
2002-02-05  Daniel Jacobowitz  <drow@mvista.com>

        * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.

22 years ago* opcodes disassembler extension
Frank Ch. Eigler [Tue, 5 Feb 2002 19:40:45 +0000 (19:40 +0000)]
* opcodes disassembler extension

[includes]
2002-02-04  Frank Ch. Eigler  <fche@redhat.com>

* dis-asm.h (disassemble_info): New field `insn_sets'.
(INIT_DISASSEMBLE_INFO): Clear it.

[opcodes]
2002-02-04  Frank Ch. Eigler  <fche@redhat.com>

* cgen-dis.in (print_insn_@arch@): Support disassemble_info.insn_sets.

22 years ago* mi-cmd-stack.c (list_args_or_locals): Move declaration of
Jim Blandy [Tue, 5 Feb 2002 19:28:36 +0000 (19:28 +0000)]
* mi-cmd-stack.c (list_args_or_locals): Move declaration of
print_me inside the loop body, so it gets re-initialized every
iteration.  The cases for the different symbol kinds leave
print_me unchanged if they don't want the symbol printed.

22 years ago2002-02-05 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 5 Feb 2002 19:09:34 +0000 (19:09 +0000)]
2002-02-05  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-low.c: Remove unused include files.

22 years ago2002-02-05 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 5 Feb 2002 19:06:26 +0000 (19:06 +0000)]
2002-02-05  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
        (read_inferior_memory): Use it.
        (write_inferior_memory): Likewise.

22 years ago2002-02-05 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 5 Feb 2002 18:49:55 +0000 (18:49 +0000)]
2002-02-05  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-low.c (create_inferior): Call strerror instead of
        grubbing through sys_errlist.

22 years ago2002-02-05 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Tue, 5 Feb 2002 18:44:18 +0000 (18:44 +0000)]
2002-02-05  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.

22 years agomerge from gcc
DJ Delorie [Tue, 5 Feb 2002 17:53:17 +0000 (17:53 +0000)]
merge from gcc

22 years agoModify previous patch so that it is only triggered for COFF format executables.
Nick Clifton [Tue, 5 Feb 2002 11:22:26 +0000 (11:22 +0000)]
Modify previous patch so that it is only triggered for COFF format executables.

22 years agoUpdated Turkish translations
Nick Clifton [Tue, 5 Feb 2002 10:25:59 +0000 (10:25 +0000)]
Updated Turkish translations

22 years ago2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Tue, 5 Feb 2002 08:04:22 +0000 (08:04 +0000)]
2002-02-04  Pierre Muller  <muller@ics.u-strasbg.fr>
          win32-nat.c (handle_exception): Handle Ctrl-Break exception.

22 years agoForgot to ci ChangeLog
Hans-Peter Nilsson [Tue, 5 Feb 2002 07:14:26 +0000 (07:14 +0000)]
Forgot to ci ChangeLog

22 years agoUpdate copyright
Hans-Peter Nilsson [Tue, 5 Feb 2002 07:12:38 +0000 (07:12 +0000)]
Update copyright

22 years ago * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
Hans-Peter Nilsson [Tue, 5 Feb 2002 07:07:21 +0000 (07:07 +0000)]
* emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.

22 years ago * ldlang.c (lang_reset_memory_regions): Rename from
Hans-Peter Nilsson [Tue, 5 Feb 2002 06:52:17 +0000 (06:52 +0000)]
* ldlang.c (lang_reset_memory_regions): Rename from
reset_memory_regions.  Change all callers.  Make public.
* ldlang.h (lang_reset_memory_regions): Prototype.
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
lang_reset_memory_regions before lang_size_sections.

22 years ago * ld-selective/keepdot.d, ld-selective/keepdot.ld,
Hans-Peter Nilsson [Tue, 5 Feb 2002 06:45:16 +0000 (06:45 +0000)]
* ld-selective/keepdot.d, ld-selective/keepdot.ld,
ld-selective/keepdot.s, ld-selective/keepdot0.d: New tests.
* ld-selective/sel-dump.exp: New, driver for run_dump_test:s.

22 years ago * config.guess: Import from master sources, rev 1.229.
Ben Elliston [Tue, 5 Feb 2002 04:40:53 +0000 (04:40 +0000)]
* config.guess: Import from master sources, rev 1.229.
* config.sub: Import from master sources, rev 1.240.

22 years ago* cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
Andrew Cagney [Tue, 5 Feb 2002 04:37:23 +0000 (04:37 +0000)]
* cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
(do_sfunc, set_cmd_sfunc): New functions.

* command.h (struct cmd_list_element): Add field func.
* cli/cli-decode.h (struct cmd_list_element): Ditto.
* command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
* cli/cli-decode.h: Ditto.

* cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
(help_all, help_cmd_list): Ditto.
(find_cmd, complete_on_cmdlist): Ditto.
* top.c (execute_command): Ditto.

* cli/cli-setshow.c (do_setshow_command): Call func instead of
function.sfunc.

* infcmd.c (notice_args_read): Fix function signature.

* cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
* cli/cli-decode.c (add_set_cmd): Ditto.
* utils.c (initialize_utils): Ditto.
* maint.c (_initialize_maint_cmds): Ditto.
* infrun.c (_initialize_infrun): Ditto.
* demangle.c (_initialize_demangler): Ditto.
* remote.c (add_packet_config_cmd): Ditto.
* mips-tdep.c (_initialize_mips_tdep): Ditto.
* cris-tdep.c (_initialize_cris_tdep): Ditto.
* proc-api.c (_initialize_proc_api): Ditto.
* kod.c (_initialize_kod): Ditto.
* valprint.c (_initialize_valprint): Ditto.
* top.c (init_main): Ditto.
* infcmd.c (_initialize_infcmd): Ditto.
* corefile.c (_initialize_core): Ditto.
* arm-tdep.c (_initialize_arm_tdep): Ditto.
* arch-utils.c (initialize_current_architecture): Ditto.
(_initialize_gdbarch_utils): Ditto.
* alpha-tdep.c (_initialize_alpha_tdep): Ditto.

* cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
* wince.c (_initialize_inftarg): Ditto.
* symfile.c (_initialize_symfile): Ditto.
* mips-tdep.c (_initialize_mips_tdep): Ditto.
* language.c (_initialize_language): Ditto.
* arc-tdep.c (_initialize_arc_tdep): Ditto.

22 years ago2002-02-04 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 5 Feb 2002 03:44:25 +0000 (03:44 +0000)]
2002-02-04  Michael Snyder  <msnyder@redhat.com>

* gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
          other than d10v and m32r.

22 years ago * archures (bfd_mach_ppc64): Define.
Alan Modra [Tue, 5 Feb 2002 03:35:19 +0000 (03:35 +0000)]
* archures (bfd_mach_ppc64): Define.
(bfd_powerpc_arch): Rename to bfd_powerpc_archs.
(bfd_powerpc_arch): Define.
* bfd-in2.h: Regenerate.
* cpu-powerpc.c (arch_info_struct): Rename to bfd_powerpc_archs.
(bfd_powerpc_arch): Move to tail of bfd_powerpc_archs.
(bfd_powerpc_archs): Add default powerpc64 arch.

* gas/ppc/test1elf64.d: Tweak arch name.

22 years ago2002-01-14 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 5 Feb 2002 01:15:51 +0000 (01:15 +0000)]
2002-01-14  Michael Snyder  <msnyder@redhat.com>

* gdb.base/gcore.exp: Remove extra debugging output.

22 years ago2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 5 Feb 2002 00:29:31 +0000 (00:29 +0000)]
2002-02-04  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Remove advertising clause from
        Berkeley and Red Hat licenses.

22 years ago * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Check for relocs
Alan Modra [Tue, 5 Feb 2002 00:00:23 +0000 (00:00 +0000)]
* elf64-ppc.c (ppc64_elf_size_dynamic_sections): Check for relocs
against section syms in readonly sections.  Don't do the global
sym check if we find one.
* elf64-s390.c (elf_s390_size_dynamic_sections): Likewise.
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise.
* elf32-s390.c (elf_s390_size_dynamic_sections): Likewise.
(elf_s390_grok_prstatus): Add missing prototype.

22 years ago*** empty log message ***
gdbadmin [Tue, 5 Feb 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-02-04 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 4 Feb 2002 23:19:31 +0000 (23:19 +0000)]
2002-02-04  Michael Snyder  <msnyder@redhat.com>

* memattr.c (_initialize_mem): Elaborate the help for 'mem' command.

22 years agodaily update
Alan Modra [Mon, 4 Feb 2002 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-04 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 4 Feb 2002 22:49:18 +0000 (22:49 +0000)]
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.

22 years ago2002-02-04 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 4 Feb 2002 22:45:49 +0000 (22:45 +0000)]
2002-02-04  Daniel Jacobowitz  <drow@mvista.com>

        * regformats/regdat.sh: Add braces to the definition of
        expedite_regs_${arch}.

22 years ago2002-02-04 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 4 Feb 2002 22:41:36 +0000 (22:41 +0000)]
2002-02-04  Daniel Jacobowitz  <drow@mvista.com>

        * regformats/regdef.h (struct reg): Add comment describing the
        requirements for offset and size fields.

22 years ago * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
Andreas Schwab [Mon, 4 Feb 2002 19:11:17 +0000 (19:11 +0000)]
* config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
* config/ia64/linux.mt: Don't set GDBSERVER_LIBS.

22 years ago*** empty log message ***
gdbadmin [Mon, 4 Feb 2002 19:10:41 +0000 (19:10 +0000)]
*** empty log message ***

22 years ago* gdb.base/default.exp: Rewrite test patterns to reduce time
Richard Earnshaw [Mon, 4 Feb 2002 18:02:25 +0000 (18:02 +0000)]
* gdb.base/default.exp: Rewrite test patterns to reduce time
taken to match them.

22 years agoIf a v5 architecture is detected, assume it might be an XScale binary, since
Nick Clifton [Mon, 4 Feb 2002 16:27:22 +0000 (16:27 +0000)]
If a v5 architecture is detected, assume it might be an XScale binary, since
there is no way to distinguish between    the two in the COFF file format.

22 years agoOk, now the corrected ChangeLog entry
Alexandre Oliva [Mon, 4 Feb 2002 12:32:46 +0000 (12:32 +0000)]
Ok, now the corrected ChangeLog entry

22 years ago* gas/testsuite/gas/sh/pcrel.d: New test.
Alexandre Oliva [Mon, 4 Feb 2002 12:29:32 +0000 (12:29 +0000)]
* gas/testsuite/gas/sh/pcrel.d: New test.
* gas/testsuite/gas/sh/pcrel.s: Sources for new test.
* gas/testsuite/gas/sh/basic.exp: Run it.

22 years ago* config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
Alexandre Oliva [Mon, 4 Feb 2002 12:29:15 +0000 (12:29 +0000)]
* config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
A_DISP_PC only if it's an integral constant, and to
A_DISP_PC_ABS otherwise.
(get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is
expected.
(build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if
the operand type is not A_DISP_PC_ABS.

22 years ago* sh-opc.h (sh_arg_type): Added A_DISP_PC_ABS.
Alexandre Oliva [Mon, 4 Feb 2002 12:29:01 +0000 (12:29 +0000)]
* sh-opc.h (sh_arg_type): Added A_DISP_PC_ABS.

22 years ago* gdbarch.sh (copyright): Update years in generated header.
Richard Earnshaw [Mon, 4 Feb 2002 11:55:36 +0000 (11:55 +0000)]
* 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.

22 years ago2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Mon, 4 Feb 2002 11:00:10 +0000 (11:00 +0000)]
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.

22 years ago * elf64-mmix.c (mmix_dump_bpo_gregs): New function.
Hans-Peter Nilsson [Mon, 4 Feb 2002 04:45:08 +0000 (04:45 +0000)]
* elf64-mmix.c (mmix_dump_bpo_gregs): New function.
(mmix_elf_check_common_relocs) <case R_MMIX_BASE_PLUS_OFFSET>:
Call bfd_get_section_by_name only once.  Initialize
bpodata->n_bpo_relocs_this_section.
(_bfd_mmix_prepare_linker_allocated_gregs): Remove comment
referring to DSOs.
(bpo_reloc_request_sort_fn): Don't use difference of values as
return-value.

22 years ago * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
Hans-Peter Nilsson [Mon, 4 Feb 2002 04:42:29 +0000 (04:42 +0000)]
* emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
arithmetic when checking for too many global registers.

22 years ago * ld-mmix/bpo-18.d, ld-mmix/bpo64addr.ld, ld-mmix/bpo-18m.d,
Hans-Peter Nilsson [Mon, 4 Feb 2002 04:38:53 +0000 (04:38 +0000)]
* ld-mmix/bpo-18.d, ld-mmix/bpo64addr.ld, ld-mmix/bpo-18m.d,
ld-mmix/bpo-9.s, ld-mmix/bpo-19.d, ld-mmix/bpo-19m.d,
ld-mmix/bpo-10.s, ld-mmix/bpo-20.d, ld-mmix/bpo-20m.d: New tests
for on-demand global register allocation.

22 years ago * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
Hans-Peter Nilsson [Mon, 4 Feb 2002 04:03:15 +0000 (04:03 +0000)]
* config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
common and weak symbols.  Handle common and weak symbols as
undefined symbols with regards to GREG handling and merging.
(mmix_frob_file): Ditto.

22 years ago * gas/mmix/basep-8.d, gas/mmix/basep-9.s, gas/mmix/basep-9.d,
Hans-Peter Nilsson [Mon, 4 Feb 2002 04:01:32 +0000 (04:01 +0000)]
* gas/mmix/basep-8.d, gas/mmix/basep-9.s, gas/mmix/basep-9.d,
gas/mmix/err-bpo6.s, gas/mmix/basep-8.s, gas/mmix/basep-10.d,
gas/mmix/basep-10.s, gas/mmix/basep-11.s, gas/mmix/basep-11.d: New
tests for base-plus-offset relocations and global register
allocations for weak and common symbols.

22 years ago* valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
Andrew Cagney [Mon, 4 Feb 2002 02:22:41 +0000 (02:22 +0000)]
* 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.

22 years ago2002-02-03 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 4 Feb 2002 02:14:46 +0000 (02:14 +0000)]
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.

22 years ago2002-02-03 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 3 Feb 2002 23:18:11 +0000 (23:18 +0000)]
2002-02-03  Daniel Jacobowitz  <drow@mvista.com>

        * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
        accessing tag_name directly.

22 years ago2002-02-03 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 3 Feb 2002 23:11:33 +0000 (23:11 +0000)]
2002-02-03  Daniel Jacobowitz  <drow@mvista.com>

        * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
        of accessing tag_name directly.

22 years agodaily update
Alan Modra [Sun, 3 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-01 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sun, 3 Feb 2002 22:57:56 +0000 (22:57 +0000)]
2002-02-01  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.

22 years ago* Makefile.in (memattr.o): Add missing dependencies rule.
Richard Earnshaw [Sun, 3 Feb 2002 16:20:22 +0000 (16:20 +0000)]
* Makefile.in (memattr.o): Add missing dependencies rule.

22 years agoRemove redundant entry.
DJ Delorie [Sun, 3 Feb 2002 13:16:18 +0000 (13:16 +0000)]
Remove redundant entry.

22 years agomerge from gcc
DJ Delorie [Sun, 3 Feb 2002 13:12:45 +0000 (13:12 +0000)]
merge from gcc

22 years ago * gdb.texinfo (Memory Region Attributes): Fix the wording.
Eli Zaretskii [Sun, 3 Feb 2002 12:06:05 +0000 (12:06 +0000)]
* gdb.texinfo (Memory Region Attributes): Fix the wording.
Suggested by Dmitry Sivachenko.

* (<many nodes>): Fix the spelling and punctuation of "i.e.".

22 years ago * breakpoint.c (break_at_finish_command): Really export.
Peter Schauer [Sun, 3 Feb 2002 11:43:19 +0000 (11:43 +0000)]
* 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.

22 years ago*** empty log message ***
gdbadmin [Sun, 3 Feb 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sat, 2 Feb 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-02 David O'Brien <obrien@FreeBSD>
David O'Brien [Sat, 2 Feb 2002 20:43:38 +0000 (20:43 +0000)]
2002-02-02  David O'Brien  <obrien@FreeBSD>
* configure.in: Tweak the FreeBSD 4.x recognition more.  Only treat
version 4.5 and later the same as 5-CURRENT.
* configure: Re-generate.

22 years agobfd:
Jason Thorpe [Sat, 2 Feb 2002 18:36:04 +0000 (18:36 +0000)]
bfd:
* config.bfd (hppa*-*-netbsd*): New target.

gas:
* configure.in (hppa-*-netbsd*): New target.
* configure: Regenerate.
* config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.

ld:
* Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
(ehppanbsd.c): New rule.
* Makefile.in: Regenerate.
* configure.tgt (hppa*-*-netbsd*): New target.
* emulparams/hppalinux.sh: Add comment to check other files
that source this file it is modified, and list which
files that do.
* emulparams/hppanbsd.sh: New file.

22 years ago* utils.c (do_write): New function.
Andrew Cagney [Sat, 2 Feb 2002 15:39:33 +0000 (15:39 +0000)]
* 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.

22 years agoRevert sh64 changes. Accidently committed.
Andrew Cagney [Sat, 2 Feb 2002 04:48:32 +0000 (04:48 +0000)]
Revert sh64 changes.  Accidently committed.

22 years ago* utils.c (error_begin): Make static.
Andrew Cagney [Sat, 2 Feb 2002 03:42:59 +0000 (03:42 +0000)]
* 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.

22 years ago2002-02-01 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 2 Feb 2002 02:49:07 +0000 (02:49 +0000)]
2002-02-01  Michael Snyder  <msnyder@redhat.com>

* breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.

22 years ago* language.h (type_error, range_error): Make string parameter
Andrew Cagney [Sat, 2 Feb 2002 02:28:40 +0000 (02:28 +0000)]
* 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.

22 years ago* ld-sh/shared-1.d: Fix incorrect offsets.
Alexandre Oliva [Sat, 2 Feb 2002 02:21:33 +0000 (02:21 +0000)]
* ld-sh/shared-1.d: Fix incorrect offsets.

22 years ago * Makefile.in: Add all-tix to deps for all-snavigator
Mo DeJong [Sat, 2 Feb 2002 01:42:53 +0000 (01:42 +0000)]
* Makefile.in: Add all-tix to deps for all-snavigator
so that tix is built when building snavigator.

22 years ago2002-02-01 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 2 Feb 2002 01:25:28 +0000 (01:25 +0000)]
2002-02-01  Michael Snyder  <msnyder@redhat.com>

* breakpoint.c (set_ignore_count): Move misplaced comment
back where it belongs.

22 years agos/NO_FUNCTION/NULL/
Andrew Cagney [Sat, 2 Feb 2002 00:56:37 +0000 (00:56 +0000)]
s/NO_FUNCTION/NULL/

22 years ago2002-02-01 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sat, 2 Feb 2002 00:04:46 +0000 (00:04 +0000)]
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.

22 years ago*** empty log message ***
gdbadmin [Sat, 2 Feb 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-02-01 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 1 Feb 2002 23:44:39 +0000 (23:44 +0000)]
2002-02-01  Michael Snyder  <msnyder@redhat.com>

* breakpoint.c (create_temp_exception_breakpoint): Delete.

22 years agodaily update
Alan Modra [Fri, 1 Feb 2002 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-01 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 1 Feb 2002 22:45:32 +0000 (22:45 +0000)]
2002-02-01  Michael Snyder  <msnyder@redhat.com>

* hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.

22 years ago2002-02-01 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 1 Feb 2002 22:05:28 +0000 (22:05 +0000)]
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.

22 years agomerge from gcc
DJ Delorie [Fri, 1 Feb 2002 21:20:30 +0000 (21:20 +0000)]
merge from gcc

22 years ago2002-02-01 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 1 Feb 2002 18:41:51 +0000 (18:41 +0000)]
2002-02-01  Michael Snyder  <msnyder@redhat.com>

        * gdb.texinfo (set trust-readonly): Change value{gdbn} to value{GDBN}.