binutils-gdb.git
29 years ago * configure.in: Rewrite output of TDEFAULTS to avoid relying on
Ian Lance Taylor [Wed, 1 Mar 1995 16:58:57 +0000 (16:58 +0000)]
* configure.in: Rewrite output of TDEFAULTS to avoid relying on
semantics of single quotes in parameter substitution.

29 years ago * hppa-tdep.c (pa_print_registers), monitor.c: Use
Jim Kingdon [Wed, 1 Mar 1995 07:18:04 +0000 (07:18 +0000)]
* hppa-tdep.c (pa_print_registers), monitor.c: Use
extract_unsigned_integer and friends, not SWAP_TARGET_AND_HOST.
* defs.h, findvar.c: Move SWAP_TARGET_AND_HOST back to findvar.c.
Rename it to SWAP_FLOATING to make it clear it is no longer for
integers.

29 years ago * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
Kung Hsu [Wed, 1 Mar 1995 02:13:06 +0000 (02:13 +0000)]
    * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
        compile time.

29 years ago * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
Kung Hsu [Wed, 1 Mar 1995 01:39:12 +0000 (01:39 +0000)]
    * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
        processor.
        * remote-arc.c (arc_wait): when a processor stops, stop other two
        processors too.
        * remote-arc.c (switch_command): switch tm_print_insn.

29 years ago * config/mips-gdb.exp (gdb_load): In every test case, we need to do
Kung Hsu [Wed, 1 Mar 1995 00:35:09 +0000 (00:35 +0000)]
    * config/mips-gdb.exp (gdb_load): In every test case, we need to do
        'file' command firts, then 'target', then 'load', this is due to gdb
        target set up.
        * config/mips-gdb.exp: Fix a couple regular exp bugs.

29 years ago * vx-share/ptrace.h: merge in WRS new ptrace requests.
Kung Hsu [Wed, 1 Mar 1995 00:27:31 +0000 (00:27 +0000)]
    * vx-share/ptrace.h: merge in WRS new ptrace requests.

29 years ago * defs.h: fix a syntax error.
Kung Hsu [Wed, 1 Mar 1995 00:22:46 +0000 (00:22 +0000)]
    * defs.h: fix a syntax error.

29 years ago * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
Kung Hsu [Wed, 1 Mar 1995 00:01:49 +0000 (00:01 +0000)]
    * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
        * remote-vx.c: move read_register and write_register out to
        target specific files.
        * remote-vx29k.c (get_fp_contnets): add this function, from WRS.

29 years agoread.c, tc-* md_operand changes
Ken Raeburn [Tue, 28 Feb 1995 23:38:47 +0000 (23:38 +0000)]
read.c, tc-* md_operand changes

29 years ago(md_operand): Replaced empty function in .c file with empty macro in .h file.
Ken Raeburn [Tue, 28 Feb 1995 23:37:38 +0000 (23:37 +0000)]
(md_operand): Replaced empty function in .c file with empty macro in .h file.

29 years ago * defs.h: define SWAP_TARGET_AND_HOST macro.
Kung Hsu [Tue, 28 Feb 1995 23:08:06 +0000 (23:08 +0000)]
    * defs.h: define SWAP_TARGET_AND_HOST macro.
        * findvar.c, monitor.c, hppa-tdep.c: remove definition of
        SWAP_TARGET_AND_HOST.

29 years ago * configure: If the --cache-file is used, pass it down to
Ian Lance Taylor [Tue, 28 Feb 1995 22:37:42 +0000 (22:37 +0000)]
* configure: If the --cache-file is used, pass it down to
configure in subdirectories.
PR 6389.

29 years agofix configury
Ian Lance Taylor [Tue, 28 Feb 1995 22:34:21 +0000 (22:34 +0000)]
fix configury

29 years ago * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust PLT or
Ian Lance Taylor [Tue, 28 Feb 1995 20:35:41 +0000 (20:35 +0000)]
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust PLT or
GOT relocs either.

29 years ago * elfcode.h (elf_sort_hdrs): Sort empty sections before non-empty
Ian Lance Taylor [Tue, 28 Feb 1995 19:33:51 +0000 (19:33 +0000)]
* elfcode.h (elf_sort_hdrs): Sort empty sections before non-empty
sections, if they have the same VMA.

29 years agoSun Feb 26 15:27:24 1995 Steve Chamberlain <sac@cygnus.com>
Ian Lance Taylor [Tue, 28 Feb 1995 19:16:40 +0000 (19:16 +0000)]
Sun Feb 26 15:27:24 1995  Steve Chamberlain  <sac@cygnus.com>

* configure.in: Use ../../bfd/hosts/std-host.h if specific
host unavailable.

29 years ago * config.bfd (i[345]86-*-linuxelf*): New target. Use i386-lelf.
Ian Lance Taylor [Tue, 28 Feb 1995 17:54:37 +0000 (17:54 +0000)]
* config.bfd (i[345]86-*-linuxelf*): New target.  Use i386-lelf.
(i[345]86-*-gnuelf*): New target.  Use i386-gelf.
* config/i386-lelf.mt: New file.
* config/i386-gelf.mt: New file.

29 years ago * configure.in (i[345]86-*-linuxelf*): New target. Use i386-lelf.
Ian Lance Taylor [Tue, 28 Feb 1995 17:44:35 +0000 (17:44 +0000)]
* configure.in (i[345]86-*-linuxelf*): New target.  Use i386-lelf.
(i[345]86-*-gnuelf*): New target.  Use i386-gelf.
* config/i386-lelf.mt: New file.
* config/i386-gelf.mt: New file.

29 years ago * configure.in: Match on mips-ecoff, and default to the IDT
Rob Savoye [Tue, 28 Feb 1995 17:29:02 +0000 (17:29 +0000)]
* configure.in: Match on mips-ecoff, and default to the IDT
configuration.

29 years ago * alpha-tdep.c (find_proc_desc): Only attempt to set
Jim Kingdon [Tue, 28 Feb 1995 16:38:26 +0000 (16:38 +0000)]
* alpha-tdep.c (find_proc_desc): Only attempt to set
PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.

29 years ago * alpha-tdep.c (find_proc_desc): Only attempt to set PROC_LOCALOFF
Jim Kingdon [Tue, 28 Feb 1995 16:35:11 +0000 (16:35 +0000)]
* alpha-tdep.c (find_proc_desc): Only attempt to set PROC_LOCALOFF
(found_heuristic) if found_heuristic is non-NULL.

29 years ago * configure.in: add a29k-*-vxworks configuration.
Kung Hsu [Mon, 27 Feb 1995 21:05:00 +0000 (21:05 +0000)]
    * configure.in: add a29k-*-vxworks configuration.

29 years ago * config.bfd: add a29k-*-vxworks configuration.
Kung Hsu [Mon, 27 Feb 1995 20:59:54 +0000 (20:59 +0000)]
    * config.bfd: add a29k-*-vxworks configuration.

29 years ago * config.sub: add vxworks29k configuration.
Kung Hsu [Mon, 27 Feb 1995 20:54:49 +0000 (20:54 +0000)]
    * config.sub: add vxworks29k configuration.

29 years ago * monitor.c: General gcc -Wall lint cleanup and reformat.
Stan Shebs [Mon, 27 Feb 1995 20:03:49 +0000 (20:03 +0000)]
* monitor.c: General gcc -Wall lint cleanup and reformat.
(monitor_command): If no args, send an empty command.

29 years agotweak previous patch
Ian Lance Taylor [Fri, 24 Feb 1995 20:25:52 +0000 (20:25 +0000)]
tweak previous patch

29 years ago * config/tc-mips.c (load_register): Correctly handle 32 bit values
Ian Lance Taylor [Fri, 24 Feb 1995 19:42:43 +0000 (19:42 +0000)]
* config/tc-mips.c (load_register): Correctly handle 32 bit values
with the high bit set in 64 bit mode.
PR 6381.

29 years ago * monitor.c (monitor_load_ascii_srec): Add a one second sleep
Stu Grossman [Fri, 24 Feb 1995 05:09:37 +0000 (05:09 +0000)]
* monitor.c (monitor_load_ascii_srec):  Add a one second sleep
after send LOAD_CMD to prevent loss of first S-record.

29 years ago * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
Jeff Law [Fri, 24 Feb 1995 00:47:29 +0000 (00:47 +0000)]
* gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
FP load/store variants.
* gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.

29 years ago * hppa.h (fstwx): Fix single-bit error.
Jeff Law [Fri, 24 Feb 1995 00:34:19 +0000 (00:34 +0000)]
* hppa.h (fstwx): Fix single-bit error.

29 years ago * config/tc-hppa.c (md_apply_fix): Don't subtract the value of the
Jeff Law [Thu, 23 Feb 1995 06:16:35 +0000 (06:16 +0000)]
* config/tc-hppa.c (md_apply_fix): Don't subtract the value of the
add symbol if it's a common symbol (the value of a common symbol
is its size, not a value in the traditional sense).

29 years ago * gdb.base/term.exp: Do not give a warning if not native, it is
Jim Kingdon [Thu, 23 Feb 1995 02:30:57 +0000 (02:30 +0000)]
* gdb.base/term.exp: Do not give a warning if not native, it is
not an abnormal condition.

29 years ago * config/tc-mips.c (append_insn): If listing_prev_line is called,
Ian Lance Taylor [Thu, 23 Feb 1995 02:20:57 +0000 (02:20 +0000)]
* config/tc-mips.c (append_insn): If listing_prev_line is called,
call frag_grow to make sure there is still room for a variant.

29 years ago * ch-exp.y (expression_conversion): Recognize 'ARRAY () TYPE (EXPR)'
Per Bothner [Wed, 22 Feb 1995 07:43:01 +0000 (07:43 +0000)]
    * ch-exp.y (expression_conversion):  Recognize 'ARRAY () TYPE (EXPR)'
        (same as C's '(TYPE[])EXPR')

29 years agoadded regs.exp to Things-to-keep
Angela Marie Thomas [Wed, 22 Feb 1995 04:56:32 +0000 (04:56 +0000)]
added regs.exp to Things-to-keep

29 years ago * bout.c (b_out_slurp_reloc_table): Don't return an error if asked
Ian Lance Taylor [Wed, 22 Feb 1995 02:20:51 +0000 (02:20 +0000)]
* bout.c (b_out_slurp_reloc_table): Don't return an error if asked
for relocations for the .bss section.
PR 6377.

29 years agoAdded arc to Things-to-lose
Angela Marie Thomas [Wed, 22 Feb 1995 01:36:16 +0000 (01:36 +0000)]
Added arc to Things-to-lose

29 years agoAdded remote-mon.c and ser-go32-para.c to Things-to-lose
Angela Marie Thomas [Wed, 22 Feb 1995 01:34:47 +0000 (01:34 +0000)]
Added remote-mon.c and ser-go32-para.c to Things-to-lose

29 years ago * som.c (som_bfd_ar_write_symbol_stuff): Handle objects with odd
Jeff Law [Tue, 21 Feb 1995 22:15:19 +0000 (22:15 +0000)]
* som.c (som_bfd_ar_write_symbol_stuff): Handle objects with odd
lengths.

29 years ago * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
Jim Kingdon [Tue, 21 Feb 1995 21:09:48 +0000 (21:09 +0000)]
* gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
t_char_array".

29 years ago * top.c (print_gdb_version): Update the year.
Stan Shebs [Tue, 21 Feb 1995 20:27:41 +0000 (20:27 +0000)]
* top.c (print_gdb_version): Update the year.

29 years agoRecognize arm-*-pe* (psion project).
David Edelsohn [Tue, 21 Feb 1995 17:55:04 +0000 (17:55 +0000)]
Recognize arm-*-pe* (psion project).

29 years agoRemove CYG-LOC from lynx.
David Edelsohn [Tue, 21 Feb 1995 17:39:52 +0000 (17:39 +0000)]
Remove CYG-LOC from lynx.

29 years ago * Makefile.in (ALL_MACHINES): Add w65-dis.o.
Peter Schauer [Tue, 21 Feb 1995 07:56:45 +0000 (07:56 +0000)]
* Makefile.in (ALL_MACHINES):  Add w65-dis.o.

29 years agoAdd missing ChangeLog entry.
Jeff Law [Tue, 21 Feb 1995 05:14:22 +0000 (05:14 +0000)]
Add missing ChangeLog entry.

29 years agoAdd missed log entry for som.c.
Jeff Law [Tue, 21 Feb 1995 05:12:58 +0000 (05:12 +0000)]
Add missed log entry for som.c.

29 years ago * pr-5016.exp: Allow builtin types as either case. E.g. (BOOL|bool).
Per Bothner [Tue, 21 Feb 1995 00:29:08 +0000 (00:29 +0000)]
* pr-5016.exp:  Allow builtin types as either case. E.g. (BOOL|bool).

29 years ago * chillvars.ch: Add missing INIT's.
Per Bothner [Tue, 21 Feb 1995 00:20:48 +0000 (00:20 +0000)]
* chillvars.ch:  Add missing INIT's.
* chillvars.exp:  Allow builtin types as either case. E.g. (BOOL|bool).

29 years ago * Makefile.in (CC_FOR_TARGET,CXX_FOR_TARGET): Look for newlib in
Jim Kingdon [Sun, 19 Feb 1995 22:36:18 +0000 (22:36 +0000)]
* Makefile.in (CC_FOR_TARGET,CXX_FOR_TARGET): Look for newlib in
`..' not in `../..'.

29 years ago * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
Jim Kingdon [Sun, 19 Feb 1995 21:47:32 +0000 (21:47 +0000)]
* lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
are getting the version number.

29 years ago * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
Jim Kingdon [Sun, 19 Feb 1995 21:12:56 +0000 (21:12 +0000)]
* gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
if not native, it is not an abnormal condition.

29 years agoSun Feb 19 11:05:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Peter Schauer [Sun, 19 Feb 1995 19:08:34 +0000 (19:08 +0000)]
Sun Feb 19 11:05:28 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

* procfs.c (unconditionally_kill_inferior):  Don't issue a PIOCKILL
in addition to a PIOCSSIG to kill the inferior.

29 years ago * gdb.texinfo (Artificial arrays): Note use of coerce-to-array-type.
Per Bothner [Fri, 17 Feb 1995 23:24:22 +0000 (23:24 +0000)]
* gdb.texinfo (Artificial arrays):  Note use of coerce-to-array-type.

29 years ago * parse.c (follow_types): Given (TYPE[]) (i.e. with no length),
Per Bothner [Fri, 17 Feb 1995 23:20:29 +0000 (23:20 +0000)]
* parse.c (follow_types):  Given (TYPE[]) (i.e. with no length),
create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
* valops.c (value_cast):  If a cast like (TYPE[])VALUE (i.e. array
of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
* c-typeprint.c (c_type_print_varspec_suffix):  If array length
is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.

29 years ago* arc-dis.c (arc_get_disassembler): Change argument to int,
David Edelsohn [Fri, 17 Feb 1995 20:44:32 +0000 (20:44 +0000)]
* arc-dis.c (arc_get_disassembler): Change argument to int,
one of bfd_mach_arc_xxx.  All callers updated.

29 years ago--set-section-flags patch from dje.
Ian Lance Taylor [Fri, 17 Feb 1995 20:42:22 +0000 (20:42 +0000)]
--set-section-flags patch from dje.

29 years ago * dis-asm.h (arc_get_disassembler): Change argument to int.
David Edelsohn [Fri, 17 Feb 1995 20:41:34 +0000 (20:41 +0000)]
* dis-asm.h (arc_get_disassembler): Change argument to int.
All callers updated.

29 years ago * config/tc-mips.c (md_pseudo_table): Add 2byte, 4byte and 8byte
Ian Lance Taylor [Fri, 17 Feb 1995 20:13:41 +0000 (20:13 +0000)]
* config/tc-mips.c (md_pseudo_table): Add 2byte, 4byte and 8byte
if OBJ_ELF.  From gary@Intrepid.COM (Gary Funck).

29 years ago * config/obj-elf.c (elf_frob_symbol): Warn if a symbol is both
Ian Lance Taylor [Fri, 17 Feb 1995 19:54:47 +0000 (19:54 +0000)]
* config/obj-elf.c (elf_frob_symbol): Warn if a symbol is both
weak and common.
* config/obj-aout.c (obj_aout_frob_symbol): Likewise.

29 years ago * objcopy.c (struct section_list): Add fields remove, set_flags,
Ian Lance Taylor [Fri, 17 Feb 1995 19:21:24 +0000 (19:21 +0000)]
* objcopy.c (struct section_list): Add fields remove, set_flags,
and flags.  Change adjust from boolean to enum.
(remove_sections): Remove static variable.
(sections_removed): New static variable.
(copy_options): Add --set-section-flags.
(copy_usage): Mention --set-section-flags.
(parse_flags): New static function.
(find_section_list): New static function.
(is_strip_symbol): Change return type from int to boolean.
(is_strip_section): New static function.
(filter_symbols): Call is_strip_section.
(copy_object): When adding sections, check for specified flags or
VMA.  Call filter_symbols if any sections are being removed.
(setup_section): Use find_section_list function rather than
looking through remove_sections and adjust_sections.  Handle
--set-section-flags.
(copy_section): Use find_section_list rather than looking through
remove_sections.
(strip_main): Use find_section_list instead of adding items to
sections_removed.
(copy_main): Use find_section_list instead of adding items to
sections_removed and adjust_sections.  Handle --set-section-flags.
* binutils.texi, objcopy.1: Document --set-section-flags.

29 years ago * hosts/sysv4.h: Include <unistd.h>, <stdlib.h>, and <time.h>.
Ian Lance Taylor [Fri, 17 Feb 1995 18:35:40 +0000 (18:35 +0000)]
* hosts/sysv4.h: Include <unistd.h>, <stdlib.h>, and <time.h>.
Only define SEEK_SET and SEEK_CUR if they are not already defined.
Remove all external function declarations.

29 years agoAdd support for .got1 and .got2 sections; Offset _GLOBAL_OFFSET_TABLE_ by 32768 from...
Michael Meissner [Fri, 17 Feb 1995 18:09:23 +0000 (18:09 +0000)]
Add support for .got1 and .got2 sections; Offset _GLOBAL_OFFSET_TABLE_ by 32768 from GOT start.

29 years agoAdd PC relative support to PowerPC ELF assembler.
Michael Meissner [Fri, 17 Feb 1995 17:51:00 +0000 (17:51 +0000)]
Add PC relative support to PowerPC ELF assembler.

29 years agoMake GOT relocs offset by 32768, which allows the table to double in size.
Michael Meissner [Fri, 17 Feb 1995 17:41:08 +0000 (17:41 +0000)]
Make GOT relocs offset by 32768, which allows the table to double in size.

29 years ago * syms.c (bfd_decode_symclass): Return 'W' for a weak symbol.
Ian Lance Taylor [Fri, 17 Feb 1995 17:26:48 +0000 (17:26 +0000)]
* syms.c (bfd_decode_symclass): Return 'W' for a weak symbol.

29 years ago * coffgen.c (coff_real_object_p): Set start address and flags
Ian Lance Taylor [Fri, 17 Feb 1995 16:57:18 +0000 (16:57 +0000)]
* coffgen.c (coff_real_object_p): Set start address and flags
before calling coff_mkobject_hook.  Restore them on failure.
* ecoff.c (_bfd_ecoff_mkobject_hook): If not ECOFF_AOUT_ZMAGIC,
clear D_PAGED.
PR 6341.

29 years ago * coffgen.c: Reindented.
Ian Lance Taylor [Fri, 17 Feb 1995 16:46:52 +0000 (16:46 +0000)]
* coffgen.c: Reindented.

29 years ago* config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
J.T. Conklin [Fri, 17 Feb 1995 00:54:00 +0000 (00:54 +0000)]
* config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
  (LDFLAGS): Set to -Xlinker -Ur.

29 years ago * lib/gdb.exp: Just use "file exists", rather than undocumented
Jim Kingdon [Fri, 17 Feb 1995 00:00:53 +0000 (00:00 +0000)]
* lib/gdb.exp: Just use "file exists", rather than undocumented
dejagnu procedure "findfile".

29 years ago* reloc.c (bfd_perform_relocation): Don't use bitpos in overflow calculations.
David Edelsohn [Thu, 16 Feb 1995 22:40:19 +0000 (22:40 +0000)]
* reloc.c (bfd_perform_relocation): Don't use bitpos in overflow calculations.
(bfd_install_relocation): Likewise.

29 years ago * expr.c (operand): Move md_operand handling to default case
David Edelsohn [Thu, 16 Feb 1995 22:35:50 +0000 (22:35 +0000)]
* expr.c (operand): Move md_operand handling to default case
(so it works).

29 years ago * mips-opc.c: Add r4650 mul instruction.
Ian Lance Taylor [Thu, 16 Feb 1995 22:35:36 +0000 (22:35 +0000)]
* mips-opc.c: Add r4650 mul instruction.

29 years agoRewrite insque/remque support to cast all pointers to PTR.
Michael Meissner [Thu, 16 Feb 1995 21:31:22 +0000 (21:31 +0000)]
Rewrite insque/remque support to cast all pointers to PTR.

29 years agoRewrite Linux insque/remque support again.
Michael Meissner [Thu, 16 Feb 1995 21:09:22 +0000 (21:09 +0000)]
Rewrite Linux insque/remque support again.

29 years agoadd 1995 to copyright
J.T. Conklin [Thu, 16 Feb 1995 18:42:42 +0000 (18:42 +0000)]
add 1995 to copyright

29 years ago* Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
J.T. Conklin [Thu, 16 Feb 1995 18:41:54 +0000 (18:41 +0000)]
* Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
  Removed, these values are set by lib/gdb.exp.
* lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.

29 years ago * hosts/std-host.h: Remove all function declarations which return
Ian Lance Taylor [Thu, 16 Feb 1995 18:23:57 +0000 (18:23 +0000)]
* hosts/std-host.h: Remove all function declarations which return
int or void, except the one for free.

29 years ago* config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
J.T. Conklin [Thu, 16 Feb 1995 01:10:04 +0000 (01:10 +0000)]
* config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
  of replicating gdb startup code.

29 years ago* config/mt-vxworks (LDFLAGS): Set to -r.
J.T. Conklin [Thu, 16 Feb 1995 00:44:43 +0000 (00:44 +0000)]
* config/mt-vxworks (LDFLAGS): Set to -r.
  (CFLAGS_FOR_TARGET): Removed.
* config/vx-gdb.exp: always set prompt; gdb.exp sets it to
  (gdb) and gdb for vxworks uses (vxgdb).

29 years ago* Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
J.T. Conklin [Thu, 16 Feb 1995 00:35:53 +0000 (00:35 +0000)]
* Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
  executable is not in the tree and host != target, use sed and
  program_transform_name to determine the gdb name used by the
  target.

29 years agokeep Windows GDB, believe it or not
Stan Shebs [Wed, 15 Feb 1995 23:19:55 +0000 (23:19 +0000)]
keep Windows GDB, believe it or not

29 years agoDeclare insque/remque as int funcs if not Linux.
Michael Meissner [Wed, 15 Feb 1995 22:59:36 +0000 (22:59 +0000)]
Declare insque/remque as int funcs if not Linux.

29 years agoOnly protect insque/remque on Linux.
Michael Meissner [Wed, 15 Feb 1995 22:57:53 +0000 (22:57 +0000)]
Only protect insque/remque on Linux.

29 years ago* configure.in, gdb.{base,c++,chill}/configure.in: changed so
J.T. Conklin [Wed, 15 Feb 1995 22:28:51 +0000 (22:28 +0000)]
* configure.in, gdb.{base,c++,chill}/configure.in: changed so
  *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.

29 years ago* all-cfg.texi: New flag, GDBSERVE, for NetWare's gdbserve.nlm.
J.T. Conklin [Wed, 15 Feb 1995 22:01:50 +0000 (22:01 +0000)]
* all-cfg.texi: New flag, GDBSERVE, for NetWare's gdbserve.nlm.
* remote.texi (NetWare): New node, how to use gdbserve.nlm on
  NetWare targets.  Mostly stolen from the Server node.

29 years agoWed Feb 15 16:08:47 1995 Jason Molenda <crash@cygnus.com>
Ian Lance Taylor [Wed, 15 Feb 1995 21:11:10 +0000 (21:11 +0000)]
Wed Feb 15 16:08:47 1995  Jason Molenda  <crash@cygnus.com>

* config/tc-h8500.c (tc_coff_symbol_emit_hook): Add ignored
parameter, to match prototype.

29 years ago * config/tc-mips.c (md_apply_fix): Accept BFD_RELOC_16, for
Ian Lance Taylor [Wed, 15 Feb 1995 21:08:05 +0000 (21:08 +0000)]
* config/tc-mips.c (md_apply_fix): Accept BFD_RELOC_16, for
DWARF.  From gary@Intrepid.COM (Gary Funck).

29 years ago * mips-opc.c: Add uld and usd macros for unaligned double load and
Ian Lance Taylor [Wed, 15 Feb 1995 20:47:31 +0000 (20:47 +0000)]
* mips-opc.c: Add uld and usd macros for unaligned double load and
        store.

29 years ago * gas/mips/uld.d: New file.
Ian Lance Taylor [Wed, 15 Feb 1995 20:45:35 +0000 (20:45 +0000)]
* gas/mips/uld.d: New file.
* gas/mips/uld.s: New file.
* gas/mips/usd.d: New file.
* gas/mips/usd.s: New file.
* gas/mips/mips.exp: Run new tests.

29 years ago * config/tc-mips.c (macro): Handle M_U{L,S}D[_A] (unaligned double
Ian Lance Taylor [Wed, 15 Feb 1995 20:43:57 +0000 (20:43 +0000)]
* config/tc-mips.c (macro): Handle M_U{L,S}D[_A] (unaligned double
loads and stores).

29 years agoGas reloc handling reeks.
Ian Lance Taylor [Wed, 15 Feb 1995 20:34:32 +0000 (20:34 +0000)]
Gas reloc handling reeks.
PR 6343.

29 years agoAll ELF relocs.
Michael Meissner [Wed, 15 Feb 1995 20:15:07 +0000 (20:15 +0000)]
All ELF relocs.

29 years agoFix powerpc PC relative reloc & add some 16 bit relocs.
Michael Meissner [Wed, 15 Feb 1995 19:57:56 +0000 (19:57 +0000)]
Fix powerpc PC relative reloc & add some 16 bit relocs.

29 years agoDefine TEXT_SEGMENT_BASE as 1 for ppc-eabi; Make dcache.c compilable on Linux.
Michael Meissner [Wed, 15 Feb 1995 18:51:31 +0000 (18:51 +0000)]
Define TEXT_SEGMENT_BASE as 1 for ppc-eabi; Make dcache.c compilable on Linux.

29 years ago * mips.h (M_ULD, M_ULD_A, M_USD, M_USD_A): Define.
Ian Lance Taylor [Wed, 15 Feb 1995 17:20:35 +0000 (17:20 +0000)]
* mips.h (M_ULD, M_ULD_A, M_USD, M_USD_A): Define.

29 years ago * config/tc-mips.c (macro): Don't use the target register as a
Ian Lance Taylor [Wed, 15 Feb 1995 16:48:18 +0000 (16:48 +0000)]
* config/tc-mips.c (macro): Don't use the target register as a
base register when building the address for M_L{W,D}{L,R}_AB.

29 years agox
Ian Lance Taylor [Wed, 15 Feb 1995 05:19:44 +0000 (05:19 +0000)]
x

29 years ago * annotate.c, breakpoint.c, defs.h, gdbtk.c, top.c: Replace
Stu Grossman [Wed, 15 Feb 1995 01:45:39 +0000 (01:45 +0000)]
* annotate.c, breakpoint.c, defs.h, gdbtk.c, top.c:  Replace
enable/disable_breakpoint_hook with modify_breakpoint_hook.
* gdbtk.c:  General cleanups, get rid of unused variables.  Redo
handling of stdout/stderr to just return output as the result of
the tcl command that caused the output.  Cleanup -Wall stuff.
* (breakpoint_notify):  Now returns just action and breakpoint
number.
* (gdb_get_breakpoint_list):  New routine.  Does the obvious.
* (gdb_get_breakpoint_info):  Mostly derived from the old
breakpoint_notify, but returns lots more info.
* (dsprintf_append_element):  Helper routine, works like printf,
but appends a tcl element onto the specified DString.  Good for
building up lists as return values.
* (gdbtk_enable/disable_breakpoint):  Go away.  Replaced with
gdbtk_modify_breakpoint.
* (*many routines*):  Use new result protocol.
* (call_wrapper):  Make sure that recursive calls don't trash results.
* gdbtk.tcl:  New windows, autocmd, and breakpoints.
* (gdbtk_tcl_fputs):  Don't use $current_output_win redirection
anymore.  It's not needed (in fact, this routine may not be needed
anymore).
* (gdbtk_tcl_breakpoint):  Change to reflect new breakpoint
notification protocol.
* (gdbtk_tcl_busy gdbtk_tcl_idle):  Straighten out buttons, remove
catches.
* (interactive_cmd):  Use this wrapper around button invocations
of many commands.  This will catch errors and put the results into
the command window.  It also updates all the other windows.
* Also, change reliefs of most things to sunken.  This actually
looks better.
* (create_file_win):  Fix margin binding to allow breakpoints to
work again.
* (create_asm_win):  Use return value of gdb_disassemble instead
of implicit I/O to the command window.
* (create_command_window):  Use new result protocol to get output
from commands.

29 years ago * objdump.c (with_source_code): New global variable.
Ian Lance Taylor [Tue, 14 Feb 1995 23:07:21 +0000 (23:07 +0000)]
* objdump.c (with_source_code): New global variable.
(usage): Mention -S/--source.
(long_options): Add --source.
(prev_functionname, prev_line): New static variables.
(struct print_file_list): Define.
(print_files): New static variable.
(skip_to_line, show_line): New static functions.
(disassemble_data): Call show_line to handle -l and -S.
(main): Handle -S.
* binutils.texi, objdump.1: Document -S/--source.

29 years ago * elf32-mips.c (struct mips_elf_find_line): Define.
Ian Lance Taylor [Tue, 14 Feb 1995 23:03:45 +0000 (23:03 +0000)]
* elf32-mips.c (struct mips_elf_find_line): Define.
(mips_elf_find_nearest_line): New static function.
(bfd_elf32_find_nearest_line): Define.
* libelf.h (struct elf_obj_tdata): Add find_line_info field.

* ecoff.c (_bfd_ecoff_swap_tir_in): Move to ecofflink.c.
(_bfd_ecoff_swap_tir_out): Likewise.
(_bfd_ecoff_swap_rndx_in): Likewise.
(_bfd_ecoff_swap_rndx_out): Likewise.
(cmp_fdrtab_entry): Likewise.
(mk_fdrtab): Likewise.
(lookup): Likewise.
(_bfd_ecoff_find_nearest_line): Just call _bfd_ecoff_locate_line
to do most of the work.  Allocate find_line_info if necessary.
* ecofflink.c: Include "aout/stab_gnu.h".
(_bfd_ecoff_swap_tir_in): Move in from ecoff.c.
(_bfd_ecoff_swap_tir_out): Likewise.
(_bfd_ecoff_swap_rndx_in): Likewise.
(_bfd_ecoff_swap_rndx_out): Likewise.
(cmp_fdrtab_entry): Likewise.  Use PTR instead of void *.
(mk_fdrtab): Move in from ecoff.c.  Add debug_info, debug_swap,
and line_info arguments, and use them instead of ecoff_data.
(fdrtab_lookup): Move in from lookup in ecoff.c.  Remove abfd
argument, add line_info argument.  Use it instead of ecoff_data.
(_bfd_ecoff_locate_line): New function, mostly from the old
_bfd_ecoff_find_nearest_line in ecoff.c.
* libecoff.h (ecoff_data_type): Remove find_buffer, fdrtab_len and
fdrtab fields, replacing them find_line_info field.
(_bfd_ecoff_swap_tir_in): Declare.
(_bfd_ecoff_swap_tir_out): Declare.
(_bfd_ecoff_swap_rndx_in): Declare.
(_bfd_ecoff_swap_rndx_out): Declare.
* libbfd-in.h (_bfd_ecoff_locate_line): Declare.
* libbfd.h: Rebuild.
* configure.in: Don't use ecoff.o for bfd_elf32_bigmips_vec or
bfd_elf32_littlemips_vec.
* Makefile.in: Rebuild dependencies.