binutils-gdb.git
24 years ago* Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros.
Alexandre Oliva [Sat, 18 Nov 2000 20:58:43 +0000 (20:58 +0000)]
* Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros.
(REALLY_SET_LIB_PATH): Use them.

24 years ago * Makefile.in: remove `@true' commands for rules that have
Greg McGary [Sat, 18 Nov 2000 09:08:59 +0000 (09:08 +0000)]
* Makefile.in: remove `@true' commands for rules that have
$(CGEN_MAINT) as a prerequisite.

24 years agoHandle optimizer code motions into the prologue.
Kevin Buettner [Sat, 18 Nov 2000 05:50:11 +0000 (05:50 +0000)]
Handle optimizer code motions into the prologue.

24 years agoProtoization.
Kevin Buettner [Sat, 18 Nov 2000 02:05:46 +0000 (02:05 +0000)]
Protoization.

24 years agoFix DT_INIT ABI violation, it is an offset not a function pointer.
Jim Wilson [Sat, 18 Nov 2000 00:41:35 +0000 (00:41 +0000)]
Fix DT_INIT ABI violation, it is an offset not a function pointer.
* elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Don't create
pltoff entries for DT_INIT and DT_FINI.
(elfNN_ia64_final_link): Don't set DT_INIT/FINI entries.
(elfNN_ia64_finish_dynamic_sections): Don't fill in DT_INIT/FINI
entries.

24 years ago * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
Richard Henderson [Sat, 18 Nov 2000 00:13:28 +0000 (00:13 +0000)]
    * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
        callers.  Don't switch segments.  Expect CIE == -1 in .debug_frame.
        (check_eh_frame): Handle .eh_frame and .debug_frame concurrently.

24 years agoAdd support for .line and .file pseudo ops.
Nick Clifton [Fri, 17 Nov 2000 18:46:43 +0000 (18:46 +0000)]
Add support for .line and .file pseudo ops.

24 years ago * config/tc-i386.c (md_pseudo_table): Add .file and .loc.
Richard Henderson [Fri, 17 Nov 2000 18:15:53 +0000 (18:15 +0000)]
    * config/tc-i386.c (md_pseudo_table): Add .file and .loc.

24 years ago * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
Richard Henderson [Fri, 17 Nov 2000 18:07:33 +0000 (18:07 +0000)]
    * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
        * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
        tri-state definition of alpha_flag_mdebug.
        * config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
        (s_alpha_file): Store first .file directive.
        (s_alpha_stab): New.
        (md_pseudo_table): Add stabs and stabn.

24 years ago * lib/gdb.exp (gdb_test): Override timeout with board info.
Nicholas Duffek [Fri, 17 Nov 2000 17:16:24 +0000 (17:16 +0000)]
* lib/gdb.exp (gdb_test): Override timeout with board info.

24 years ago * gdb.base/display.exp: Don't kill running stub. Add "again" to
Nicholas Duffek [Fri, 17 Nov 2000 17:13:33 +0000 (17:13 +0000)]
* gdb.base/display.exp: Don't kill running stub.  Add "again" to
the second kill and detach messages.

24 years ago * configure.in: Add AC_EXEEXT.
Nicholas Duffek [Fri, 17 Nov 2000 16:37:48 +0000 (16:37 +0000)]
* configure.in: Add AC_EXEEXT.
* configure: Regenerate.
* Makefile.in (just-check): Export EXEEXT.
* lib/gdb.exp ($EXEEXT): Import from environment.
* gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
expect "maint dump-me" on Cygwin.
* gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
$EXEEXT.

24 years ago * gdb.base/break.exp: Test backtrace and finish from called
Nicholas Duffek [Fri, 17 Nov 2000 16:24:48 +0000 (16:24 +0000)]
* gdb.base/break.exp: Test backtrace and finish from called
function on all platforms, not just HP-UX.

24 years ago * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
Richard Henderson [Fri, 17 Nov 2000 09:28:04 +0000 (09:28 +0000)]
    * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.

24 years ago* as.c (main): Call dwarf2_finish.
Richard Henderson [Fri, 17 Nov 2000 08:53:38 +0000 (08:53 +0000)]
* as.c (main): Call dwarf2_finish.

24 years ago * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
Richard Henderson [Fri, 17 Nov 2000 08:47:52 +0000 (08:47 +0000)]
* as.c (debug_type): Init to DEBUG_UNSPECIFIED.
* as.h (debug_type): Clarify documentation of the meaning
of this variable.
* dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
(print_stats): Fix parenthesis problem.
(now_subseg_size): New.
(dwarf2_finish): Use it.  If DEBUG_DWARF2, emit bits for .debug_info.
(dwarf2_directive_file): Don't set debug_type.
(dwarf2_where): Honor DEBUG_DWARF2 first.
(dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
do nothing if not emitting dwarf2 debug info, or no work.
* dwarf2dbg.h (dwarf2_emit_insn): Update.
* ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
(ecoff_new_file): Likewise.
* read.c (generate_lineno_debug): Kill ecoff hackery.  Update
commentary wrt dwarf2.

* config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
ATTRIBUTE_UNUSED as needed.
(emit_insn): Call dwarf2_emit_insn.
(s_alpha_file): New.
(s_alpha_loc): New.
(s_alpha_coff_wrapper): Don't handle them.
(md_pseudo_table): Update for .file and .loc.
* config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.

* config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
don't protect with debug_type.
* config/tc-hppa.c (md_assemble): Likewise.
* config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
* config/tc-mn10300.c (md_assemble): Likewise.
* config/tc-sh.c (md_assemble): Likewise.
* config/tc-v850.c (md_assemble): Likewise.

* config/tc-arm.c (arm_end_of_source): Remove.
* config/tc-hppa.c (pa_end_of_source): Remove.
* config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
* config/tc-mn10300.c (mn10300_finalize): Remove.
* config/tc-sh.c (sh_finalize): Remove.
* config/tc-v850.c (sh_finalize): Remove.

* config/tc-arm.h (md_end): Remove.
* config/tc-hppa.h (md_end): Remove.
(DWARF2_LINE_MIN_INSN_LENGTH): New.
* config/tc-m68hc11.h (md_end): Remove.
* config/tc-mn10300.h (md_end): Remove.
* config/tc-sh.h (md_end): Remove.
* config/tc-v850.h (md_end): Remove.

* config/tc-ia64.c (emit_one_bundle): Don't protect
dwarf2 bits with debug_type.
(md_assemble): Likewise.
(ia64_end_of_source): Don't call dwarf2_finish.

24 years ago * readelf.c (display_debug_lines): Fix section length check
Richard Henderson [Fri, 17 Nov 2000 08:28:59 +0000 (08:28 +0000)]
    * readelf.c (display_debug_lines): Fix section length check
        and end_of_sequence computation.

24 years ago* gdb.texinfo: Document new 'set step-mode' command.
Christopher Faylor [Fri, 17 Nov 2000 03:59:40 +0000 (03:59 +0000)]
* gdb.texinfo: Document new 'set step-mode' command.

24 years ago* thread.c (thread_apply_all_command): Save the command before executing it
Christopher Faylor [Fri, 17 Nov 2000 03:49:41 +0000 (03:49 +0000)]
* thread.c (thread_apply_all_command): Save the command before executing it
because it may be modified.  Restore the saved command so that the same command
is executed on next thread.
(thread_apply_command): Same correction.

24 years ago2000-11-16 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 17 Nov 2000 01:30:53 +0000 (01:30 +0000)]
2000-11-16  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * regcache.c (read_register_bytes): Failing to set register_valid
        is not necessarily an error, if the register is a pseudo-register.
        Some pseudo-registers are never marked as valid, so that they will
        be read anew every time.  Determining if a pseudo-register is valid
        (or should be marked invalid) may be difficult, whereas just
        recomputing it may be cheap.

24 years agoFix minor typos in recent errata workaround patch.
Jim Wilson [Thu, 16 Nov 2000 23:52:01 +0000 (23:52 +0000)]
Fix minor typos in recent errata workaround patch.
* config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
>= 128 instead of > 128.  Abort if predicate regno is >= 64 instead of
> 16.

24 years ago Update relocations per August psABI docs.
Richard Henderson [Thu, 16 Nov 2000 22:48:14 +0000 (22:48 +0000)]
    Update relocations per August psABI docs.
        * ia64.h (R_IA64_SEGBASE): Remove.
        (R_IA64_LTV*): Renumber to 0x74 to 0x77.
        (R_IA64_EPLTMSB, R_IA64_EPLTLSB): Remove.
        (R_IA64_TPREL14, R_IA64_TPREL64I): New.
        (R_IA64_DTPMOD*): New.
        (R_IA64_DTPREL*): New.

24 years ago * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
Richard Henderson [Thu, 16 Nov 2000 22:44:07 +0000 (22:44 +0000)]
    * elfxx-ia64.c (elfNN_ia64_check_relocs): Handle IPLT relocs.
        (allocate_dynrel_entries): Likewise.
        (elfNN_ia64_relocate_section): Likewise.  Set REL addends correctly.
        (set_pltoff_entry): Likewise.
        (ia64_howto_table): Remove R_IA64_SEGBASE, and R_IA64_EPLT[ML]SB
        (elfNN_ia64_reloc_type_lookup): Likewise.
        (elfNN_ia64_install_value): Likewise.
        (elfNN_ia64_relocate_section): Likewise.
        * reloc.c (BFD_RELOC_IA64_SEGBASE): Remove.
        (BFD_RELOC_IA64_EPLTMSB, BFD_RELOC_IA64_EPLTLSB): Remove.

24 years agoUse "[ ]+" instead of "[ ]*".
H.J. Lu [Thu, 16 Nov 2000 22:27:45 +0000 (22:27 +0000)]
Use "[  ]+" instead of "[  ]*".

24 years ago2000-11-16 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 16 Nov 2000 22:25:13 +0000 (22:25 +0000)]
2000-11-16  H.J. Lu  <hjl@gnu.org>

* gas/symver/symver0.d: Add 64bit support.
* gas/symver/symver1.d: Likewise.

24 years ago2000-11-16 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 16 Nov 2000 20:48:09 +0000 (20:48 +0000)]
2000-11-16  Kazu Hirata  <kazu@hxi.com>

* cpu-a29k.c: Fix formatting.
* cpu-alpha.c: Likewise.
* cpu-arm.c: Likewise.
* cpu-avr.c: Likewise.
* cpu-d10v.c: Likewise.
* cpu-h8500.c: Likewise.
* cpu-hppa.c: Likewise.
* cpu-i370.c: Likewise.
* cpu-i386.c: Likewise.
* cpu-i960.c: Likewise.
* cpu-ia64-opc.c: Likewise.
* cpu-ia64.c: Likewise.
* cpu-m32r.c: Likewise.
* cpu-m68hc11.c: Likewise.
* cpu-m68hc12.c: Likewise.
* cpu-m68k.c: Likewise.
* cpu-m88k.c: Likewise.
* cpu-mips.c: Likewise.
* cpu-ns32k.c: Likewise.
* cpu-pj.c: Likewise.
* cpu-powerpc.c: Likewise.
* cpu-sh.c: Likewise.
* cpu-sparc.c: Likewise.
* cpu-tic54x.c: Likewise.
* cpu-v850.c: Likewise.
* cpu-vax.c: Likewise.
* cpu-w65.c: Likewise.
* cpu-we32k.c: Likewise.
* cpu-z8k.c: Likewise.

24 years ago2000-11-16 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 16 Nov 2000 19:29:48 +0000 (19:29 +0000)]
2000-11-16  Kazu Hirata  <kazu@hxi.com>

* dwarf1.c: Fix formatting.
* dwarf2.c: Likewise.

24 years ago2000-11-16 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 16 Nov 2000 19:29:12 +0000 (19:29 +0000)]
2000-11-16  H.J. Lu  <hjl@gnu.org>

* config/obj-elf.c (obj_elf_symver): Don't check the missing
version name.

24 years ago2000-11-16 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 16 Nov 2000 19:28:10 +0000 (19:28 +0000)]
2000-11-16  H.J. Lu  <hjl@gnu.org>

* gas/symver/symver.exp: Don't run symver4 nor symver5.

24 years ago * tracepoint.c (trace_find_tracepoint_command): Replace call to
David Taylor [Thu, 16 Nov 2000 14:51:50 +0000 (14:51 +0000)]
* tracepoint.c (trace_find_tracepoint_command): Replace call to
parse_and_eval_address with a call to parse_and_eval_long as
we are evaluating an integer, not an address.
* top.c (show_commands): Ditto.

24 years ago* cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
Hans-Peter Nilsson [Thu, 16 Nov 2000 09:07:59 +0000 (09:07 +0000)]
* cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
parameter `option'.
Do s/cplus_dem.c/cplus-dem.c/g on ChangeLog.

24 years ago2000-11-16 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 16 Nov 2000 03:21:48 +0000 (03:21 +0000)]
2000-11-16  Ben Elliston  <bje@redhat.com>

* cgen-types.h (VOID): New type.

24 years agoFix ChangeLog entry: cplus-dem.c instead of cplus_dem.c
DJ Delorie [Thu, 16 Nov 2000 01:10:16 +0000 (01:10 +0000)]
Fix ChangeLog entry: cplus-dem.c instead of cplus_dem.c

24 years ago2000-11-15 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 16 Nov 2000 00:59:49 +0000 (00:59 +0000)]
2000-11-15  Kazu Hirata  <kazu@hxi.com>

* config/tc-tic30.c: Fix formatting.
* config/tc-tic80.c: Likewise.
* config/tc-v850.c: Likewise.
* config/tc-vax.c: Likewise.
* config/tc-w65.c: Likewise.
* config/tc-z8k.c: Likewise.

24 years ago2000-11-15 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 16 Nov 2000 00:54:12 +0000 (00:54 +0000)]
2000-11-15  Kazu Hirata  <kazu@hxi.com>

* coff-rs6000.c: Fix formatting.
* coff-sh.c: Likewise.
* coff-sparc.c: Likewise.
* coff-tic30.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-tic80.c: Likewise.
* coff-w65.c: Likewise.
* coff-we32k.c: Likewise.
* coff-z8k.c: Likewise.

24 years ago * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
Richard Henderson [Wed, 15 Nov 2000 23:16:30 +0000 (23:16 +0000)]
    * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.

24 years ago2000-11-15 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 15 Nov 2000 20:20:52 +0000 (20:20 +0000)]
2000-11-15  Kazu Hirata  <kazu@hxi.com>

* coff-arm.c: Fix formatting.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.

24 years agoProtoization.
Kevin Buettner [Wed, 15 Nov 2000 19:58:14 +0000 (19:58 +0000)]
Protoization.

24 years ago * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
Richard Henderson [Wed, 15 Nov 2000 19:22:28 +0000 (19:22 +0000)]
    * elf64-alpha.c (elf64_alpha_check_relocs): Create the reloc
        section with the same ALLOC|LOAD flags as the source section.

24 years ago* config/tc-v850.c: Support dwarf2.
DJ Delorie [Wed, 15 Nov 2000 19:22:22 +0000 (19:22 +0000)]
* config/tc-v850.c: Support dwarf2.
* config/tc-v850.h: Ditto.

* config/tc-v850.c (cons_fix_new_v850): Don't rely on
parse_cons_expression_v850 to initialize hold_cons_reloc.

24 years ago[merge]
DJ Delorie [Wed, 15 Nov 2000 19:10:20 +0000 (19:10 +0000)]
[merge]
* cplus_dem.c: Eliminate use of DEFUN, it is obsolete and cannot
be used in GCC.

24 years agoops - omited from previous delta
Nick Clifton [Wed, 15 Nov 2000 18:24:49 +0000 (18:24 +0000)]
ops - omited from previous delta
Add GFPL to bfd.texinfo

24 years agoWorkaround for Itanium A/B step errata
Bernd Schmidt [Wed, 15 Nov 2000 17:34:00 +0000 (17:34 +0000)]
Workaround for Itanium A/B step errata

24 years ago * utils.c (strlen_paddr, paddr, paddr_nz): Use TARGET_ADDR_BIT,
David Taylor [Wed, 15 Nov 2000 14:33:50 +0000 (14:33 +0000)]
* utils.c (strlen_paddr, paddr, paddr_nz): Use TARGET_ADDR_BIT,
not TARGET_PTR_BIT, since we are dealing with addresses, not
pointers.

24 years agoCorrect date and style of last entry
Hans-Peter Nilsson [Wed, 15 Nov 2000 12:01:15 +0000 (12:01 +0000)]
Correct date and style of last entry

24 years ago * cplus_dem.c: Add gnat demangler. Add java to demangle style
Hans-Peter Nilsson [Wed, 15 Nov 2000 11:50:21 +0000 (11:50 +0000)]
* cplus_dem.c: Add gnat demangler.  Add java to demangle style
list.

24 years ago * demangle.h: Add gnat and java demangle styles.
Hans-Peter Nilsson [Wed, 15 Nov 2000 11:47:51 +0000 (11:47 +0000)]
* demangle.h: Add gnat and java demangle styles.

24 years agoExtend earlier ia64-hpux patches to work correctly for ia64-linux.
Jim Wilson [Tue, 14 Nov 2000 23:56:38 +0000 (23:56 +0000)]
Extend earlier ia64-hpux patches to work correctly for ia64-linux.
* config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
return little endian bfd formats.

24 years ago2000-11-03 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 14 Nov 2000 22:19:02 +0000 (22:19 +0000)]
2000-11-03  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * config/monitor.exp (gdb_target_cmd): Abstracts some of the
        code from gdb_target_monitor, so it can be used independantly
        for gdbserver.  Also comment out an unnecessary PUTS.

24 years ago2000-11-03 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 14 Nov 2000 22:12:26 +0000 (22:12 +0000)]
2000-11-03  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
        * gdb.base/corefile.exp: Expect the message "Program is being
        debugged already" when we send the "corefile" command, since
        the preceeding gdb_load may have connected gdb to a remote target.
        * gdb.base/display.exp: Disable hardware watchpoints if new
        board info variable "no_hardware_watchpoints" is true.
        Replace single-letter commands with more readable ones.
        * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
        if new board info variable "no_hardware_watchpoints" is true.
        * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
        to see if stdio (printf) testing is possible.
        * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
        board info variable "no_hardware_watchpoints" is true.  Use new
        proc "gdb_skip_stdio_tests" to see if printf tests are possible.

24 years ago2000-11-14 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 14 Nov 2000 20:57:30 +0000 (20:57 +0000)]
2000-11-14  Kazu Hirata  <kazu@hxi.com>

* config/aout_gnu.h: Fix formatting.
* config/atof-vax.c: Likewise.
* config/m68k-parse.h: Likewise.
* config/m88k-opcode.h: Likewise.
* config/obj-elf.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-cris.c: Likewise.
* config/tc-i386.c: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-mn10300.c: Likewise.
* config/te-386bsd.h: Likewise.
* config/te-hppa.h: Likewise.
* config/te-nbsd.h: Likewise.
* config/te-ppcnw.h: Likewise.
* config/te-sparcaout.h: Likewise.
* config/te-tmips.h: Likewise.
* config/vax-inst.h: Likewise.
* config/vms-conf.h: Likewise.

24 years ago * elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
Jakub Jelinek [Tue, 14 Nov 2000 20:46:25 +0000 (20:46 +0000)]
* elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
by STO_ALPHA constants.

* config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.

24 years ago * cris-dis.c (cris_get_disassembler): If abfd is NULL, return
Hans-Peter Nilsson [Tue, 14 Nov 2000 20:08:55 +0000 (20:08 +0000)]
* cris-dis.c (cris_get_disassembler): If abfd is NULL, return
print_insn_cris_with_register_prefix.

24 years ago2000-11-14 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 14 Nov 2000 19:23:49 +0000 (19:23 +0000)]
2000-11-14  Kazu Hirata  <kazu@hxi.com>

* coff-pmac.c: Fix formatting.
* coff-ppc.c: Likewise.

24 years ago2000-11-14 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 14 Nov 2000 19:17:53 +0000 (19:17 +0000)]
2000-11-14  Kazu Hirata  <kazu@hxi.com>

* scripttempl/h8300.sc: Fix formatting.
* scripttempl/h8300h.sc: Likewise.
* scripttempl/h8300s.sc: Likewise.

24 years agoFrom Kenneth Block <kenneth.block@compaq.com>
Daniel Berlin [Tue, 14 Nov 2000 16:46:24 +0000 (16:46 +0000)]
From Kenneth Block <kenneth.block@compaq.com>

* demangle.c: Use libibery list of demanglers instead of out of
date local copy.

24 years agoFix ``show remotewritesize'' was doing a set.
Andrew Cagney [Tue, 14 Nov 2000 13:45:38 +0000 (13:45 +0000)]
Fix ``show remotewritesize'' was doing a set.

24 years ago2000-11-13 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Tue, 14 Nov 2000 02:36:22 +0000 (02:36 +0000)]
2000-11-13  Fernando Nasser  <fnasser@redhat.com>

        From Orjan Friberg  <orjanf@axis.com>:
        * gdb.base/printcmds.exp: Escape curly braces followed by a number
        in array print pattern match.

24 years ago2000-11-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 13 Nov 2000 22:49:54 +0000 (22:49 +0000)]
2000-11-08  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_link_add_object_symbols): Also add indirect
symbols for common symbols with the default version.

24 years ago * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
Denis Chertykov [Mon, 13 Nov 2000 22:26:38 +0000 (22:26 +0000)]
* scripttempl/elf32avr.sc: Fix bug in .eeprom segment.

24 years ago2000-11-13 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 13 Nov 2000 21:36:14 +0000 (21:36 +0000)]
2000-11-13  H.J. Lu  <hjl@gnu.org>

* gas/symver/symver.exp: New for symver test.
* gas/symver/symver0.d: Likewise.
* gas/symver/symver0.s: Likewise.
* gas/symver/symver1.d: Likewise.
* gas/symver/symver1.s: Likewise.
* gas/symver/symver2.l: Likewise.
* gas/symver/symver2.s: Likewise.
* gas/symver/symver3.l: Likewise.
* gas/symver/symver3.s: Likewise.
* gas/symver/symver4.l: Likewise.
* gas/symver/symver4.s: Likewise.
* gas/symver/symver5.l: Likewise.
* gas/symver/symver5.s: Likewise.
* gas/symver/symver6.l: Likewise.
* gas/symver/symver6.s: Likewise.

24 years ago2000-11-13 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 13 Nov 2000 21:23:34 +0000 (21:23 +0000)]
2000-11-13  H.J. Lu  <hjl@gnu.org>

* config/obj-elf.c (elf_frob_symbol): Support
".symver name,name2@@@nodename".
(elf_frob_file_before_adjust): Likewise.

* doc/as.texinfo: Updated for ".symver name,name2@@@nodename"
and ".symver name,name2@@@nodename".
Fix a typo.

24 years ago * config/djgpp/config.sed: Fix tweaking "VPATH=.:foo", and handle
Eli Zaretskii [Mon, 13 Nov 2000 14:24:46 +0000 (14:24 +0000)]
* config/djgpp/config.sed: Fix tweaking "VPATH=.:foo", and handle
        the gettext's posrcprefix correctly with drive letters.

24 years ago2000-11-09 Philip Blundell <pb@futuretv.com>
Phil Blundell [Mon, 13 Nov 2000 10:15:23 +0000 (10:15 +0000)]
2000-11-09  Philip Blundell  <pb@futuretv.com>

* emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
around orphan sections whose names can be represented in C.

24 years ago2000-11-09 Philip Blundell <pb@futuretv.com>
Phil Blundell [Mon, 13 Nov 2000 10:01:13 +0000 (10:01 +0000)]
2000-11-09  Philip Blundell  <pb@futuretv.com>

* section.c (STD_SECTION): Set gc_mark flag.

24 years ago2000-11-12 H.J. Lu (hjl@gnu.org)
H.J. Lu [Mon, 13 Nov 2000 01:12:31 +0000 (01:12 +0000)]
2000-11-12  H.J. Lu  (hjl@gnu.org)

* config/obj-elf.c (obj_elf_symver): Check missing version
name.

24 years ago2000-11-12 H.J. Lu (hjl@gnu.org)
H.J. Lu [Mon, 13 Nov 2000 01:10:05 +0000 (01:10 +0000)]
2000-11-12  H.J. Lu  (hjl@gnu.org)

* dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT
instead of bfd_vma for non-bfd assemblers.

24 years ago2000-11-11 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Sat, 11 Nov 2000 19:03:23 +0000 (19:03 +0000)]
2000-11-11  Kazu Hirata  <kazu@hxi.com>

* coff-i960.c: Likewise.
* coff-m68k.c: Likewise.
* coff-m88k.c: Likewise.
* coff-mcore.c: Likewise.
* coff-mips.c: Likewise.

24 years ago * gas/macros/macros.exp: Mark strings test xfail for sh.
Hans-Peter Nilsson [Sat, 11 Nov 2000 16:02:33 +0000 (16:02 +0000)]
* gas/macros/macros.exp: Mark strings test xfail for sh.

24 years ago* elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
Alexandre Oliva [Sat, 11 Nov 2000 06:43:42 +0000 (06:43 +0000)]
* elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.

24 years ago* sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0.
Alexandre Oliva [Sat, 11 Nov 2000 05:42:01 +0000 (05:42 +0000)]
* sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0.

24 years ago* stabsread.c (read_range_type): Properly construct complex
Jim Blandy [Fri, 10 Nov 2000 23:18:16 +0000 (23:18 +0000)]
* stabsread.c (read_range_type): Properly construct complex
type nodes.

24 years ago2000-11-10 Fernando Nasser <fnasser@totem.toronto.redhat.com>
Fernando Nasser [Fri, 10 Nov 2000 23:02:56 +0000 (23:02 +0000)]
2000-11-10  Fernando Nasser  <fnasser@totem.toronto.redhat.com>

* symtab.c (decode_line_1, total_number_of_methods, find_methods,
build_command_line_spec, find_toplevel_char, decode_line_2):
Move to linespec.c.
* linespec.c: New file. Routines that handle linespecs, formerly
in symtab.c.
* symtab.h: Export find_line_symtab and find_function_start_sal,
* Makefile.in: Add linespec.c.

24 years ago2000-11-10 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Fri, 10 Nov 2000 20:55:44 +0000 (20:55 +0000)]
2000-11-10  Kazu Hirata  <kazu@hxi.com>

* coff-h8300.c: Fix formatting.
* coff-h8500.c: Likewise.
* coff-i386.c: Likewise.
* coff-i860.c: Likewise.
* coff-i960.c: Likewise.
* coff-ia64.c: Likewise.

24 years ago* inferior.h (step_over_calls_kind): New enum to clarify values in
Christopher Faylor [Fri, 10 Nov 2000 19:27:45 +0000 (19:27 +0000)]
* inferior.h (step_over_calls_kind): New enum to clarify values in
step_over_calls.
* infcmd.c (step_over_calls): Change definition.
(step_1): Use new enum values in relation to step_over_calls.
(step_once): Ditto.
(until_next_command): Ditto.
* infrun.c (clear_proceed_status): Ditto.
(handle_inferior_event): Ditto.
* inferior.h (step_stop_if_no_debug): New variable.
* infrun.c (step_stop_if_no_debug): Declare.
(handle_inferior_event): Stop the step command if we entered a function without
line info.
(_initialize_infrun): New command 'set step-mode' to control the step command.
* infcmd.c (step_once): Switch to stepi mode if there is no line info
(and switching is enabled).

24 years ago2000-11-10 J.T. Conklin <jtc@redback.com>
J.T. Conklin [Fri, 10 Nov 2000 18:34:21 +0000 (18:34 +0000)]
2000-11-10  J.T. Conklin  <jtc@redback.com>

        * target.c (do_xfer_memory): Only perform a single memory transfer
        instead of iterating to tranfer the entire region.  Higher layers
        are expected to call this function multiple times for partial
        transfers.
        (target_xfer_memory_partial): Remove unused local variables.

2000-11-10  Nick Duffek  <nsd@redhat.com>

        * target.c (target_xfer_memory_partial): Return bytes transferred
        instead of 0.

24 years ago2000-11-09 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Fri, 10 Nov 2000 04:28:20 +0000 (04:28 +0000)]
2000-11-09  Kazu Hirata  <kazu@hxi.com>

* archive.c: Fix formatting.
* archures.c: Likewise.

24 years agoProtoization.
Kevin Buettner [Fri, 10 Nov 2000 01:19:47 +0000 (01:19 +0000)]
Protoization.

24 years agoAdd code for relocating dynamic executables.
Kevin Buettner [Fri, 10 Nov 2000 01:07:59 +0000 (01:07 +0000)]
Add code for relocating dynamic executables.

24 years ago2000-11-09 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Fri, 10 Nov 2000 00:46:17 +0000 (00:46 +0000)]
2000-11-09  Kazu Hirata  <kazu@hxi.com>

* itbl-ops.c: Fix comment typos.

24 years ago2000-11-09 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 9 Nov 2000 23:29:20 +0000 (23:29 +0000)]
2000-11-09  Fernando Nasser  <fnasser@redhat.com>

        * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
        spelling "cancelled" to U.S. spelling "canceled" to match changes
        made to gdb.
        * gdb.c++/ovldbreak.exp: Ditto.

24 years ago* config/i386/nbsd.mh: Remove solib.o, solib-svr4.o from NATDEPFILES.
J.T. Conklin [Thu, 9 Nov 2000 22:57:03 +0000 (22:57 +0000)]
* config/i386/nbsd.mh: Remove solib.o, solib-svr4.o from NATDEPFILES.
* config/i386/nbsdelf.mh: Likewise.
* config/m68k/nbsd.mh: Likewise.
* config/ns32k/nbsd.mh: Likewise.
* config/powerpc/nbsd.mh: Likewise.
* config/sparc/nbsd.mh: Likewise.
* config/sparc/nbsdelf.mh: Likewise.
* config/i386/nbsd.mt: Add solib.o, solib-svr4.o to TDEPFILES.
* config/i386/nbsdelf.mt: Likewise.
* config/m68k/nbsd.mt: Likewise.
* config/ns32k/nbsd.mt: Likewise.
* config/powerpc/nbsd.mt: Likewise.
* config/sparc/nbsd.mt: Likewise.

24 years ago Add auto-solib-add support for AIX, remove obsolete and unused
Peter Schauer [Thu, 9 Nov 2000 09:49:00 +0000 (09:49 +0000)]
Add auto-solib-add support for AIX, remove obsolete and unused
SOLIB_SYMBOLS_MANUAL code, cleanup of AIX shared library handling code.
* rs6000-nat.c (vmap_symtab):  Do not try to modify offsets
if symbols are not yet loaded.
(vmap_add_symbols):  New function to add symbols for a vmap entry.
(add_vmap):  Turn errors into warnings, return NULL vmap upon
failure. Add symbols via vmap_add_symbols only if requested.
(xcoff_relocate_core):  Allow debugging of core files without an
executable file. Handle NULL returns from add_vmap gracefully.
* xcoffsolib.c (solib_add):  Remove, no longer needed.
(solib_info):  Do not check for new shared libraries if there is no
inferior process.
(sharedlibrary_command):  Made static.
Do not check for new shared libraries if there is no inferior process.
Add symbols for requested shared libraries via vmap_add_symbols.
(_initialize_solib):  Add `set auto-solib-add' command.
* xcoffsolib.h (vmap_add_symbols):  Add prototype declaration.

* config/rs6000/tm-rs6000.h (PC_LOAD_SEGMENT):  Move from here ...
* config/rs6000/nm-rs6000.h:  ... to here, this is an AIX native
feature.
* config/powerpc/tm-macos.h, config/powerpc/tm-ppc-eabi.h,
config/powerpc/tm-ppc-nw.h, config/rs6000/tm-rs6000ly.h:
Remove #undef PC_LOAD_SEGMENT.
* config/powerpc/aix.mt, config/rs6000/aix4.mt, config/rs6000/rs6000.mt
(TDEPFILES):  Move xcoffsolib.o from here ...
* config/powerpc/aix.mh, config/rs6000/aix4.mh, config/rs6000/rs6000.mh
(NATDEPFILES):  ... to here, xcoffsolib.o contains AIX native code
only.
* rs6000-tdep.c:  Remove #include xcoffsolib.h, no longer needed.
* xcoffsolib.h (xcoff_relocate_symtab_hook):  Remove declaration.
* rs6000-nat.c (_initialize_core_rs6000):  Remove setting of
xcoff_relocate_symtab_hook, no longer needed.
* xcoffsolib.c (solib_info, sharedlibrary_command):  Remove
xcoff_relocate_symtab_hook indirection, call xcoff_relocate_symtab
directly, as xcoffsolib.c is now compiled in native AIX configurations
only.
* Makefile.in:  Update dependencies for rs6000-tdep.o, rs6000-nat.o
and xcoffsolib.o.

24 years ago * MAINTAINERS: Specify the vax-dec-vms5.5 target tupple.
Andrew Cagney [Thu, 9 Nov 2000 06:48:48 +0000 (06:48 +0000)]
* MAINTAINERS: Specify the vax-dec-vms5.5 target tupple.
* vax-tdep.c: Include "gdbcore.h", "frame.h" and "value.h".
(vax_print_insn): Change ``d'' to a const char pointer.

24 years ago2000-11-08 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 9 Nov 2000 01:37:44 +0000 (01:37 +0000)]
2000-11-08  Kazu Hirata  <kazu@hxi.com>

* coff-a29k.c: Fix formatting.
* coff-alpha.c: Likewise.
* coff-apollo.c: Likewise.
* coff-aux.c: Likewise.

24 years ago2000-11-08 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Wed, 8 Nov 2000 23:58:46 +0000 (23:58 +0000)]
2000-11-08  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * gdbarch.sh: Spelling correction: registrary -> registry.
        * gdbarch.c: Ditto.

24 years ago2000-11-08 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 8 Nov 2000 23:57:04 +0000 (23:57 +0000)]
2000-11-08  Kazu Hirata  <kazu@hxi.com>

* bfd-in.h: Fix formatting.
* bfd-in2.h: Likewise.

24 years ago2000-11-09 Ben Elliston <bje@redhat.com>
Ben Elliston [Wed, 8 Nov 2000 23:19:45 +0000 (23:19 +0000)]
2000-11-09  Ben Elliston  <bje@redhat.com>

* sim-fpu.c (sim_fpu_one): Set exponent to 0.
(sim_fpu_two): Set exponent to 1.

24 years ago* Spelling corrections.
Ben Elliston [Wed, 8 Nov 2000 23:12:43 +0000 (23:12 +0000)]
* Spelling corrections.

24 years agoCorrect unwind region length calculations.
Jim Wilson [Wed, 8 Nov 2000 20:55:21 +0000 (20:55 +0000)]
Correct unwind region length calculations.
* config/tc-ia64.c (struct unw_rec_list): Add slot_frag field.
(struct unwind): Add next_slot_frag field.
(slot_index): New parameters slot_frag and first_frag.  Add code
to add in frag sizes when different.  Add comments.
(fixup_unw_records): New locals first_frag and last_frag.  Pass new
arguments to slot_index.
(emit_one_bundle): Set slot_frag field.  Set next_slot_number after
loop end.  Set next_slot_frag field.

24 years agoWork around targets that don't yet define JB_PC or JB_ELEMENT_SIZE.
Andrew Cagney [Wed, 8 Nov 2000 12:26:15 +0000 (12:26 +0000)]
Work around targets that don't yet define JB_PC or JB_ELEMENT_SIZE.

24 years agoRename get_longjmp_target to m68k_get_longjmp_target. Update all m68k
Andrew Cagney [Wed, 8 Nov 2000 11:55:34 +0000 (11:55 +0000)]
Rename get_longjmp_target to m68k_get_longjmp_target.  Update all m68k
targets.

24 years ago* gdbserver/configure.in (files): Don't link nm-empty.h when a
Andrew Cagney [Wed, 8 Nov 2000 11:39:20 +0000 (11:39 +0000)]
* gdbserver/configure.in (files): Don't link nm-empty.h when a
non-native target.
* configure: Regenerate.

24 years ago * elf64-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
Richard Henderson [Wed, 8 Nov 2000 07:54:31 +0000 (07:54 +0000)]
    * elf64-ia64.c (elf64_ia64_final_link): New local unwind_output_sec.
        Set it before bfd_elf64_bfd_final_link call.  Use it after the call.
        * section.c (bfd_set_section_contents): Call memcpy if
        section->contents set and location not equal to contents plus offset.

24 years ago2000-11-08 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 8 Nov 2000 06:38:10 +0000 (06:38 +0000)]
2000-11-08  Kazu Hirata  <kazu@hxi.com>

* bfd.c: Fix formatting.
* binary.c: Likewise.
* bout.c: Likewise.

24 years agoProtoization.
Kevin Buettner [Wed, 8 Nov 2000 05:10:18 +0000 (05:10 +0000)]
Protoization.

24 years agoAIX5 changes.
Kevin Buettner [Wed, 8 Nov 2000 04:12:40 +0000 (04:12 +0000)]
AIX5 changes.

24 years ago2000-11-07 Daniel Berlin <dberlin@redhat.com>
Daniel Berlin [Wed, 8 Nov 2000 02:50:51 +0000 (02:50 +0000)]
2000-11-07  Daniel Berlin  <dberlin@redhat.com>

        * dwarf2read.c: Revert June 5th change for caching of types,
        as per Jim Blandy's request.

24 years agoHandle srdata sections emitted by Intel compiler.
Jim Wilson [Wed, 8 Nov 2000 00:39:32 +0000 (00:39 +0000)]
Handle srdata sections emitted by Intel compiler.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
hold_sdata.  If SEC_SMALL_DATA set, set place to hold_sdata.

24 years ago2000-11-07 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 8 Nov 2000 00:24:23 +0000 (00:24 +0000)]
2000-11-07  H.J. Lu  <hjl@gnu.org>

* doc/as.texinfo (.symver): Updated for versioned symbol
reference.

* obj.h (format_ops): Add the frob_file_before_adjust field.

* config/obj-aout.c (aout_format_ops): Set the
frob_file_before_adjust field to 0.
* config/obj-coff.c (coff_format_ops): Likewise.
* config/obj-ecoff.c (ecoff_format_ops): Likewise.

* config/obj-elf.c (obj_elf_symver): Allow duplicated version
name.
(elf_frob_file_before_adjust): New function to remove unneeded
versioned symbols from the symbol table.
(elf_format_ops): Set the frob_file_before_adjust field to
elf_frob_file_before_adjust.

* config/obj-elf.h (obj_frob_file_before_adjust): Defined if
not defined.

* config/obj-multi.h (obj_frob_file_before_adjust): Defined.