OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years agogas:
Jason Eckhardt [Wed, 9 Aug 2000 03:33:42 +0000 (03:33 +0000)]
gas:
2000-08-08  Jason Eckhardt  <jle@cygnus.com>

* config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
(i860_fix_info): New enum.
(MD_APPLY_FIX3): Define.
(WORKING_DOT_WORD): Define.
(TC_HANDLES_FX_DONE): Define.
(DIFF_EXPR_OK): Define.
(LISTING_HEADER): Define.
(TARGET_FORMAT): Select target format based on endian flag.
(TARGET_BYTES_BIG_ENDIAN): Default to little endian.
(target_big_endian): Add external declaration.

* config/tc-i860.c: All existing code reworked completely. Other
new code shown below.
(SYNTAX_SVR4): Define.
(target_warn_expand): New variable.
(md_shortopts): Declare and define (-Qy, -Qn, and -V options).
(md_longopts): Declare and define with new options (-EL, -EB,
and -mwarn-expand).
(md_show_usage): New function.
(md_operand): New function.
(obtain_reloc_for_imm16): New function.
(md_apply_fix3): New function.
(tc_gen_reloc): New function.

include:
2000-08-08  Jason Eckhardt  <jle@cygnus.com>

* opcode/i860.h: Small formatting adjustments.

opcode:
2000-08-08  Jason Eckhardt  <jle@cygnus.com>

* i860-dis.c (print_br_address): Change third argument from int
to long.

bfd:
2000-08-08  Jason Eckhardt  <jle@cygnus.com>
* elf32-i860.c (elf32_i860_howto_table): Updated some fields.

23 years ago2000-08-08 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Tue, 8 Aug 2000 22:24:26 +0000 (22:24 +0000)]
2000-08-08  Fernando Nasser  <fnasser@cygnus.com>

* srctxtwin.itb (FillSource): Add comments.

23 years ago2000-08-08 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Tue, 8 Aug 2000 22:14:16 +0000 (22:14 +0000)]
2000-08-08  Fernando Nasser  <fnasser@cygnus.com>

* srctxtwin.itb (LoadFromCache): Do not cache if cannot stat the file.
This lead to problems trying to access a incomplete cache entry later.

23 years agoremove build_parse entry about buffer overrun.
David Taylor [Tue, 8 Aug 2000 03:23:14 +0000 (03:23 +0000)]
remove build_parse entry about buffer overrun.

23 years agoProtoize.
Kevin Buettner [Tue, 8 Aug 2000 00:17:39 +0000 (00:17 +0000)]
Protoize.

23 years ago * ia64-dis.c (print_insn_ia64): Get byte skip count correct
Richard Henderson [Mon, 7 Aug 2000 21:44:26 +0000 (21:44 +0000)]
    * ia64-dis.c (print_insn_ia64): Get byte skip count correct
        for MLI templates.  Handle IA64_OPND_TGT64.

23 years agoApply Nick Clifton's suggestion.
Kazu Hirata [Mon, 7 Aug 2000 19:46:11 +0000 (19:46 +0000)]
Apply Nick Clifton's suggestion.

23 years ago2000-08-07 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 7 Aug 2000 19:39:55 +0000 (19:39 +0000)]
2000-08-07  Kazu Hirata  <kazu@hxi.com>

* ieee.c: Fix a comment typo.
* elf64-ia64.c: Likewise.

23 years agoRemove spurious CYGNUS LOCAL comments
Nick Clifton [Mon, 7 Aug 2000 18:54:49 +0000 (18:54 +0000)]
Remove spurious CYGNUS LOCAL comments

23 years ago2000-08-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 7 Aug 2000 15:16:15 +0000 (15:16 +0000)]
2000-08-07  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* objfiles.h (SECT_OFF_BSS): Don't detect invalid sect_index_bss
  here, let the users of the macro do it.
* symtab.h (ANOFFSET): Detect here if the section index is not
  initialized.
* xcoffread.c (find_targ_sec): Don't treat .bss as special,
  because some objfiles may not have that section at all.
* coffread.c (cs_to_section): Ditto.
* elfread.c (elf_symtab_read): Detect an uninitialized index
  value.
(elfstab_offset_sections): The macro ANOFFSET cannot be used as an
  lvalue anymore.
* remote.c (get_offsets, remote_cisco_objfile_relocate): Don't use
  ANOFFSET as an lvalue.
* objfiles.c (objfile_relocate, objfile_relocate): Don't use
  ANOFFSET as an lvalue.
* symfile.c (default_symfile_offsets): Don't use ANOFFSET as an
  lvalue.

23 years ago* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
DJ Delorie [Mon, 7 Aug 2000 15:02:09 +0000 (15:02 +0000)]
* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
"if we're also building gcc, and it's a gcc that will run on the
build machine, we want to use its includes instead of the system's
default includes".

23 years agoparse.c (build_parse): don't write off the end of the std_regs array.
David Taylor [Mon, 7 Aug 2000 14:27:36 +0000 (14:27 +0000)]
parse.c (build_parse): don't write off the end of the std_regs array.

23 years ago* solib.c (bfd_lookup_symbol): Fall back on the dynamic symbol
Mark Kettenis [Mon, 7 Aug 2000 10:56:22 +0000 (10:56 +0000)]
* solib.c (bfd_lookup_symbol): Fall back on the dynamic symbol
table if the symbol couldn't be found in the normal symbol table
(i.e. if the shared object in question was stripped).

23 years agoProtoize ch-exp.c, core-regset.c.
Kevin Buettner [Mon, 7 Aug 2000 03:07:59 +0000 (03:07 +0000)]
Protoize ch-exp.c, core-regset.c.

23 years agoMinor reformat.
Christopher Faylor [Sun, 6 Aug 2000 23:26:40 +0000 (23:26 +0000)]
Minor reformat.

23 years ago* win32-nat.c: Perform various gcc warning cleanups.
Christopher Faylor [Sun, 6 Aug 2000 23:25:32 +0000 (23:25 +0000)]
* win32-nat.c: Perform various gcc warning cleanups.
(safe_symbol_file_add_cleanup): Reset stdout to saved stdout, not stderr.
(dll_symbol_command): Pass OBJF_USERLOADED to safe_symbol_file_add.
(get_child_debug_event): Always reset last_sig.  Always reset inferior pid
appropriately.
(do_initial_child_stuff): New function.  Called when attaching or starting a
new inferior process.
(child_attach): Use do_initial_child_stuff.
(child_create_inferior): Ditto.
* config/i386/cygwin.mh (NAT_FILE): Set to modern location.
* config/i386/tm-cygwin.h: Define ATTACH_NO_WAIT.

23 years ago * avr-dis.c (avr_operand): Use PARAMS macro in declaration.
Denis Chertykov [Sun, 6 Aug 2000 14:12:36 +0000 (14:12 +0000)]
* avr-dis.c (avr_operand): Use PARAMS macro in declaration.
Change return type from void to int.  Check the combination
of operands, return 1 if valid.  Fix to avoid BUF overflow.
Report undefined combinations of operands in COMMENT.
Report internal errors to stderr.  Output the adiw/sbiw
constant operand in both decimal and hex.
(print_insn_avr): Disassemble ldd/std with displacement of 0
as ld/st.  Check avr_operand () return value, handle invalid
combinations of operands like unknown opcodes.

23 years ago * avr.h (AVR_UNDEF_P, AVR_SKIP_P, AVR_DISP0_P): New macros.
Denis Chertykov [Sun, 6 Aug 2000 14:09:14 +0000 (14:09 +0000)]
* avr.h (AVR_UNDEF_P, AVR_SKIP_P, AVR_DISP0_P): New macros.
Move related opcodes closer to each other.
Minor changes in comments, list undefined opcodes.

23 years ago * go32-nat.c: (go32_wait): If child_cwd[] is empty, initialize
Eli Zaretskii [Sun, 6 Aug 2000 07:19:38 +0000 (07:19 +0000)]
* go32-nat.c: (go32_wait): If child_cwd[] is empty, initialize
it to GDB's current directory.
(go32_create_inferior, init_go32_ops): Initialize child_cwd[] to
an empty string, to signal an uninitialized value.
From Robert Hoehne <robert.hoehne@gmx.net>.

23 years ago2000-08-05 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Sat, 5 Aug 2000 16:48:52 +0000 (16:48 +0000)]
2000-08-05  Jason Eckhardt  <jle@cygnus.com>

        * elf32-i860 (elf32_i860_howto_table): New structure.
        (lookup_howto): New function.
        (elf32_i860_reloc_type_lookup): New function.
        (elf32_i860_info_to_howto_rela): New function.
        (elf_code_to_howto_index): New structure.
        (elf_info_to_howto): Re-define as elf32_i860_info_to_howto_rela.
        (bfd_elf32_bfd_reloc_type_lookup): Re-define as
        elf32_i860_reloc_type_lookup.

23 years agoFixup SYMBOL_SECTION for objfiles_relocate().
Kevin Buettner [Fri, 4 Aug 2000 23:13:50 +0000 (23:13 +0000)]
Fixup SYMBOL_SECTION for objfiles_relocate().

23 years agoAdd code for (re)building the minimal symbol hash tables.
Kevin Buettner [Fri, 4 Aug 2000 18:41:05 +0000 (18:41 +0000)]
Add code for (re)building the minimal symbol hash tables.

23 years agoFix date in comment.
Kevin Buettner [Fri, 4 Aug 2000 16:51:47 +0000 (16:51 +0000)]
Fix date in comment.

23 years agoDWARF2.1 64-bit support.
Kevin Buettner [Fri, 4 Aug 2000 16:25:30 +0000 (16:25 +0000)]
DWARF2.1 64-bit support.

23 years ago * som.c (struct fixup_format): Constify `format'.
Jeff Law [Fri, 4 Aug 2000 15:17:37 +0000 (15:17 +0000)]
    * som.c (struct fixup_format): Constify `format'.
        (som_hppa_howto_table): Use SOM_HOWTO macro.
        (try_prev_fixup, hppa_som_reloc): Decorate unused parameter.
        (som_bfd_reloc_type_lookup): Likewise.
        (compare_subspaces): Remove unused `count1', `count2'.
        (som_begin_writing): Remove unused `total_reloc_size'.
        (som_bfd_derive_misc_symbol_info): Decorate unused parameter.
        (som_print_symbol, som_bfd_is_local_label_name): Likewise.
        (som_set_reloc_info): Constify `cp'. Remove unused `addend'.
        (som_find_nearest_line): Decorate unused parameter(s).
        (som_sizeof_headers, som_get_symbol_info, som_write_armap): Likewise.
        (som_bfd_link_split_section): Likewise.

23 years agoRe-implement ``set/show remote Z-packet ...'' commands so that each Z
Andrew Cagney [Fri, 4 Aug 2000 09:32:19 +0000 (09:32 +0000)]
Re-implement ``set/show remote Z-packet ...'' commands so that each Z
packet sub-type can be explicitly controled.

23 years agoRevert SER_HARDWIRE regression.
Andrew Cagney [Fri, 4 Aug 2000 09:27:18 +0000 (09:27 +0000)]
Revert SER_HARDWIRE regression.

23 years agoMissing GDBARCH updates for EXTRA_STACK_ALIGNMENT needed.
Andrew Cagney [Fri, 4 Aug 2000 04:00:44 +0000 (04:00 +0000)]
Missing GDBARCH updates for EXTRA_STACK_ALIGNMENT needed.

23 years agoMulti-arch EXTRA_STACK_ALIGNMENT_NEEDED (nee NO_EXTRA_ALIGNMENT_NEEDED).
Andrew Cagney [Fri, 4 Aug 2000 03:17:57 +0000 (03:17 +0000)]
Multi-arch EXTRA_STACK_ALIGNMENT_NEEDED (nee NO_EXTRA_ALIGNMENT_NEEDED).

23 years ago2000-08-04 Ben Elliston <bje@redhat.com>
Ben Elliston [Fri, 4 Aug 2000 02:21:43 +0000 (02:21 +0000)]
2000-08-04  Ben Elliston  <bje@redhat.com>

* cgen-dis.in, cgen-asm.in, cgen-ibld.in: New files.
* cgen.sh: Likewise.

23 years agoIf the destination of a BLX instruction is aligned on a half word boundary,
Nick Clifton [Fri, 4 Aug 2000 00:07:42 +0000 (00:07 +0000)]
If the destination of a BLX instruction is aligned on a half word boundary,
set the H bit.

23 years ago* configure.in (libstdcxx_flags): Don't use `"'.
Alexandre Oliva [Thu, 3 Aug 2000 23:54:09 +0000 (23:54 +0000)]
* configure.in (libstdcxx_flags): Don't use `"'.

23 years agoRestore reverted code. Fix bug in reverted code which was eliminating too
Nick Clifton [Thu, 3 Aug 2000 19:40:29 +0000 (19:40 +0000)]
Restore reverted code.  Fix bug in reverted code which was eliminating too
many segments.

23 years ago* config-ml.in: Adjust multilib search paths to the
Alexandre Oliva [Thu, 3 Aug 2000 19:20:16 +0000 (19:20 +0000)]
* config-ml.in: Adjust multilib search paths to the
appropriate multilib tree.

23 years agoStephane Carrez maintainer of 68hc11 target
Stephane Carrez [Thu, 3 Aug 2000 19:17:27 +0000 (19:17 +0000)]
Stephane Carrez maintainer of 68hc11 target

23 years agoProtoization.
Kevin Buettner [Thu, 3 Aug 2000 18:17:58 +0000 (18:17 +0000)]
Protoization.

23 years ago2000-08-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 3 Aug 2000 13:50:35 +0000 (13:50 +0000)]
2000-08-03  H.J. Lu  <hjl@gnu.org>

* section.c: Back out the change made by Nick Clifton
<nickc@cygnus.com> on 2000-07-31. It breaks stripping dynamic
binaries.
* bfd-in2.h: Likewise.
* elf.c: Likewise.

23 years ago* elf32-sh.c (sh_elf_reloc_loop): Warning removal.
Alexandre Oliva [Thu, 3 Aug 2000 09:30:50 +0000 (09:30 +0000)]
* elf32-sh.c (sh_elf_reloc_loop): Warning removal.

23 years agoThu Aug 3 15:02:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
Andrew Cagney [Thu, 3 Aug 2000 08:41:23 +0000 (08:41 +0000)]
Thu Aug  3 15:02:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>

* remote-mips.c (mips_expect, mips_expect_timeout, common_open,
  fputs_readable): Make string pointer arguments constant.

23 years agoMinor tweeks.
Andrew Cagney [Thu, 3 Aug 2000 08:39:21 +0000 (08:39 +0000)]
Minor tweeks.

23 years agoList things for 5.1.
Andrew Cagney [Thu, 3 Aug 2000 05:49:02 +0000 (05:49 +0000)]
List things for 5.1.

23 years agoProtoization.
Kevin Buettner [Thu, 3 Aug 2000 02:48:09 +0000 (02:48 +0000)]
Protoization.

23 years ago* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
Alexandre Oliva [Thu, 3 Aug 2000 02:22:11 +0000 (02:22 +0000)]
* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
commas in $LANGUAGES.

23 years ago* gdb.hp/gdb.aCC/namespace.exp: Remove. Moved to gdb.c++.
Jimmy Guo [Thu, 3 Aug 2000 00:47:59 +0000 (00:47 +0000)]
* gdb.hp/gdb.aCC/namespace.exp: Remove.  Moved to gdb.c++.
* gdb.hp/gdb.aCC/namespace.cc: Remove. Moved to gdb.c++.

23 years ago* gdbarch.sh: Add print_p field for CALL_DUMMY_BREAKPINT_OFFSET
Jimmy Guo [Wed, 2 Aug 2000 22:18:42 +0000 (22:18 +0000)]
* gdbarch.sh: Add print_p field for CALL_DUMMY_BREAKPINT_OFFSET
to be printed only if CALL_DUMMY_BREAKPOINT_OFFSET_P.

* gdbarch.c: Regenerated.

23 years ago* gdb.base/sizeof.c: include <stdio.h>.
Jimmy Guo [Wed, 2 Aug 2000 22:13:01 +0000 (22:13 +0000)]
* gdb.base/sizeof.c: include <stdio.h>.

23 years ago* gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
Jimmy Guo [Wed, 2 Aug 2000 22:10:10 +0000 (22:10 +0000)]
* gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
'finish', otherwise uncaptured gdb_prompt would potentially
throw remaining test points out of sync.

23 years agoFix memory leaks for IA-64 opcode idescs.
Jim Wilson [Wed, 2 Aug 2000 21:24:54 +0000 (21:24 +0000)]
Fix memory leaks for IA-64 opcode idescs.
gas/
* config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
before ia64_find_opcode.
(md_assemble): Likewise.
opcodes/
* ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end.

24 years ago2000-08-01 Alexandre Oliva <aoliva@redhat.com>
DJ Delorie [Wed, 2 Aug 2000 18:56:20 +0000 (18:56 +0000)]
2000-08-01  Alexandre Oliva  <aoliva@redhat.com>

* configure.in (qCXX_FOR_TARGET): Use echo instead of expr.

2000-07-31  Alexandre Oliva  <aoliva@redhat.com>

* configure.in (qCXX_FOR_TARGET): Quote `&' characters in
CXX_FOR_TARGET for sed.

2000-07-30  Alexandre Oliva  <aoliva@redhat.com>

* configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET, CXX_FOR_TARGET):
Do not override if already set in the environment or in configure.
Don't duplicate $(FLAGS_FOR_TARGET) if it already appears in them.
(FLAGS_FOR_TARGET): Don't use host directories on Canadian crosses.

24 years ago2000-08-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Wed, 2 Aug 2000 14:52:10 +0000 (14:52 +0000)]
2000-08-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* remote-vx.c (vx_add_symbols): Fix typos.

24 years agoThu Jul 27 17:38:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
Andrew Cagney [Wed, 2 Aug 2000 11:11:47 +0000 (11:11 +0000)]
Thu Jul 27 17:38:35 2000  Andrew Cagney  <cagney@b1.cygnus.com>

        * configure.in (targetfile): Ignore TM_FILE, don't just issue
        warning.
        (tm_h, xm_h, nm_h, GDB_TM_FILE, GDB_XM_FILE, GDB_NM_FILE): Define.
        * acconfig.h (GDB_XM_FILE, GDB_TM_FILE, GDB_NM_FILE): Add.
        * config/nm-empty.h: Delete.
        * defs.h (xm.h, nm.h, tm.h): Only include when GDB_XM_FILE,
        GDB_NM_FILE or GDB_TM_FILE defined.
        * Makefile.in (defs_h): Replace tm.h, xm.h and nm.h with tm_h,
        xm_h and nm_h macro that are defined by configure.
        (tm_h, xm_h, tm_h): New.
        * configure, config.in: Regenerate
        * TODO: Update.

24 years agoMulti-arch REGISTER_SIM_REGNO. Update d10v.
Andrew Cagney [Wed, 2 Aug 2000 11:05:50 +0000 (11:05 +0000)]
Multi-arch REGISTER_SIM_REGNO. Update d10v.

24 years agoUse add_set_auto_boolean_cmd() to implement ``set remote ?-packet''
Andrew Cagney [Wed, 2 Aug 2000 05:40:25 +0000 (05:40 +0000)]
Use add_set_auto_boolean_cmd() to implement ``set remote ?-packet''
command.

24 years agoUpdate function signatures to match target vector.
Andrew Cagney [Wed, 2 Aug 2000 05:17:27 +0000 (05:17 +0000)]
Update function signatures to match target vector.

24 years agoUpdates.
Andrew Cagney [Wed, 2 Aug 2000 01:07:38 +0000 (01:07 +0000)]
Updates.

24 years ago2000-08-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Tue, 1 Aug 2000 14:48:01 +0000 (14:48 +0000)]
2000-08-01  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * gdbarch.sh: Multiarch DO_REGISTERS_INFO macro.
        * gdbarch.h, gdbarch.c: Regenerate.
        * infcmd.c (do_registers_info): Make not static and
        unconditionalize.
        * inferior.h (do_registers_info): Export.

24 years ago2000-08-01 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 1 Aug 2000 13:48:55 +0000 (13:48 +0000)]
2000-08-01  Kazu Hirata  <kazu@hxi.com>

* MAINTAINERS: Add myself to "Write After Approval" list.

24 years agoUpdate list of target maintainers.
Andrew Cagney [Tue, 1 Aug 2000 11:06:34 +0000 (11:06 +0000)]
Update list of target maintainers.
Elena gets SH
Nick gets to share PPC.

24 years agoCopy comments from gdbarch.sh to gdbarch.h. Fix a number of K&R params.
Andrew Cagney [Tue, 1 Aug 2000 10:31:19 +0000 (10:31 +0000)]
Copy comments from gdbarch.sh to gdbarch.h.  Fix a number of K&R params.

24 years ago* top.c (get_prompt_1), tracepoint.c (replace_comma): Update
Andrew Cagney [Tue, 1 Aug 2000 05:06:03 +0000 (05:06 +0000)]
* top.c (get_prompt_1), tracepoint.c (replace_comma): Update
function signatures so that they match catch_errors and
make_cleanup callbacks.
* tracepoint.c (encode_actions): Fix arguments passed to
stringify_collection_list.

24 years ago2000-07-31 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Tue, 1 Aug 2000 01:45:29 +0000 (01:45 +0000)]
2000-07-31  Jason Eckhardt  <jle@cygnus.com>

        * reloc.c (BFD_RELOC_860_*): New bfd relocs for i860.
        * bfd-in2.h, libbfd.h: Regenerate.

24 years agoMake GNU/Linux/PPC work again.
Kevin Buettner [Mon, 31 Jul 2000 20:56:44 +0000 (20:56 +0000)]
Make GNU/Linux/PPC work again.

24 years agoMinor formatting fixes
Nick Clifton [Mon, 31 Jul 2000 18:50:56 +0000 (18:50 +0000)]
Minor formatting fixes

24 years agoMinor formatting fixes.
Nick Clifton [Mon, 31 Jul 2000 18:49:56 +0000 (18:49 +0000)]
Minor formatting fixes.

24 years agoImprove section to segment mapping code.
Nick Clifton [Mon, 31 Jul 2000 18:45:26 +0000 (18:45 +0000)]
Improve section to segment mapping code.

24 years ago2000-07-31 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 31 Jul 2000 16:25:36 +0000 (16:25 +0000)]
2000-07-31  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* sh-tdep.c (sh_push_arguments): Make header match prototype.

* remote-e7000.c (e7000_start_remote): Use void *, not char * as
  parameter to avoid compiler warning.
(fetch_regs_from_dump): Call get_hex() with the correct number of
  parameters.

24 years ago * config/djgpp/fnchange.lst: Add file mappings as per last weekly
Eli Zaretskii [Mon, 31 Jul 2000 06:11:19 +0000 (06:11 +0000)]
* config/djgpp/fnchange.lst: Add file mappings as per last weekly
snapshot.

24 years agoProtoization. gdb-post-protoization-2000-07-29
Kevin Buettner [Sun, 30 Jul 2000 01:48:28 +0000 (01:48 +0000)]
Protoization.

24 years agoFix formatting
Nick Clifton [Sat, 29 Jul 2000 19:37:30 +0000 (19:37 +0000)]
Fix formatting
Add copyright notice

24 years ago2000-07-28 Ben Elliston <bje@redhat.com>
Ben Elliston [Sat, 29 Jul 2000 00:33:34 +0000 (00:33 +0000)]
2000-07-28  Ben Elliston  <bje@redhat.com>

* Makefile.am (CGEN, CGENDEPS, CGENDIR, CGENFLAGS): New.
(run-cgen, stamp-m32r, stamp-fr30): New targets.
* Makefile.in: Regenerate.
* configure.in: Add --enable-cgen-maint option.
* configure: Regenerate.

24 years ago2000-07-22 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Fri, 28 Jul 2000 23:49:35 +0000 (23:49 +0000)]
2000-07-22  Jason Eckhardt  <jle@cygnus.com>

        * Makefile.am (CFILES): Added i860-dis.c.
        (ALL_MACHINES): Added i860-dis.lo.
        (i860-dis.lo): New dependences.

24 years ago2000-07-22 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Fri, 28 Jul 2000 21:17:40 +0000 (21:17 +0000)]
2000-07-22  Jason Eckhardt  <jle@cygnus.com>

* i860-dis.c: New file.
(print_insn_i860): New function.
(print_br_address): New function.
(sign_extend): New function.
(BITWISE_OP): New macro.
(I860_REG_PREFIX): New macro.
(grnames, frnames, crnames): New structures.

* disassemble.c (ARCH_i860): Define.
(disassembler): Add check for bfd_arch_i860 to set disassemble
function to print_insn_i860.

* Makefile.in (CFILES): Added i860-dis.c.
(ALL_MACHINES): Added i860-dis.lo.
(i860-dis.lo): New dependences.

* configure.in: New bits for bfd_i860_arch.

* configure: Regenerated.

24 years ago2000-07-22 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Fri, 28 Jul 2000 21:16:11 +0000 (21:16 +0000)]
2000-07-22  Jason Eckhardt  <jle@cygnus.com>

* opcode/i860.h (btne, bte, bla): Changed these opcodes
to use sbroff ('r') instead of split16 ('s').
(J, K, L, M): New operand types for 16-bit aligned fields.
(ld.x, {p}fld.x, fst.x, pst.d): Changed these opcodes to
use I, J, K, L, M instead of just I.
(T, U): New operand types for split 16-bit aligned fields.
(st.x): Changed these opcodes to use S, T, U instead of just S.
(andh, andnoth, orh, xorh): Deleted 3-register forms as they do not
exist on the i860.
(pfgt.sd, pfle.sd): Deleted these as they do not exist on the i860.
(pfeq.ss, pfeq.dd): New opcodes.
(st.s): Fixed incorrect mask bits.
(fmlow): Fixed incorrect mask bits.
(fzchkl, pfzchkl): Fixed incorrect mask bits.
(faddz, pfaddz): Fixed incorrect mask bits.
(form, pform): Fixed incorrect mask bits.
(pfld.l): Fixed incorrect mask bits.
(fst.q): Fixed incorrect mask bits.
(all floating point opcodes): Fixed incorrect mask bits for
handling of dual bit.

* elf/i860.h: New file.
(elf_i860_reloc_type): Defined ELF32 i860 relocations.

* dis-asm.h (print_insn_i860): Add prototype.

24 years ago200007-22 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Fri, 28 Jul 2000 21:15:04 +0000 (21:15 +0000)]
200007-22  Jason Eckhardt  <jle@cygnus.com>

* cpu-i860.c: Added comments.

* elf32-i860.c (TARGET_LITTLE_SYM): Defined to
bfd_elf32_i860_little_vec.
(TARGET_LITTLE_NAME): Defined to "elf32-i860-little".
(ELF_MAXPAGESIZE): Changed to 4096.

* targets.c (bfd_elf32_i860_little_vec): Declaration of
new target.
(bfd_target_vector): Added bfd_elf32_i860_little_vec.

* config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added
config for little endian elf32 i860.
(targ_defvec): Define for the new config above
as "bfd_elf32_i860_little_vec".
(targ_selvecs): Define for the new config above
as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec"

* configure.in (bfd_elf32_i860_little_vec): Added recognition
of new target vec.

* configure: Regenerated.

24 years ago2000-07-22 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Fri, 28 Jul 2000 21:10:20 +0000 (21:10 +0000)]
2000-07-22  Jason Eckhardt  <jle@cygnus.com>

* include/opcode/i860.h (btne, bte, bla): Changed these opcodes
to use sbroff ('r') instead of split16 ('s').
(J, K, L, M): New operand types for 16-bit aligned fields.
(ld.x, {p}fld.x, fst.x, pst.d): Changed these opcodes to
use I, J, K, L, M instead of just I.
(T, U): New operand types for split 16-bit aligned fields.
(st.x): Changed these opcodes to use S, T, U instead of just S.
(andh, andnoth, orh, xorh): Deleted 3-register forms as they do not
exist on the i860.
(pfgt.sd, pfle.sd): Deleted these as they do not exist on the i860.
(pfeq.ss, pfeq.dd): New opcodes.
(st.s): Fixed incorrect mask bits.
(fmlow): Fixed incorrect mask bits.
(fzchkl, pfzchkl): Fixed incorrect mask bits.
(faddz, pfaddz): Fixed incorrect mask bits.
(form, pform): Fixed incorrect mask bits.
(pfld.l): Fixed incorrect mask bits.
(fst.q): Fixed incorrect mask bits.
(all floating point opcodes): Fixed incorrect mask bits for
handling of dual bit.

* include/elf/i860.h: New file.
(elf_i860_reloc_type): Defined ELF32 i860 relocations.

* bfd/cpu-i860.c: Added comments.

* bfd/elf32-i860.c (TARGET_LITTLE_SYM): Defined to
bfd_elf32_i860_little_vec.
(TARGET_LITTLE_NAME): Defined to "elf32-i860-little".
(ELF_MAXPAGESIZE): Changed to 4096.

* bfd/targets.c (bfd_elf32_i860_little_vec): Declaration of
new target.
(bfd_target_vector): Added bfd_elf32_i860_little_vec.

* bfd/config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added
config for little endian elf32 i860.
(targ_defvec): Define for the new config above
as "bfd_elf32_i860_little_vec".
(targ_selvecs): Define for the new config above
as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec"

* bfd/configure.in (bfd_elf32_i860_little_vec): Added recognition
of new target vec.

* bfd/configure: Regenerated.

* opcodes/i860-dis.c: New file.
(print_insn_i860): New function.
(print_br_address): New function.
(sign_extend): New function.
(BITWISE_OP): New macro.
(I860_REG_PREFIX): New macro.
(grnames, frnames, crnames): New structures.

* opcodes/disassemble.c (ARCH_i860): Define.
(disassembler): Add check for bfd_arch_i860 to set disassemble
function to print_insn_i860.

* include/dis-asm.h (print_insn_i860): Add prototype.

* opcodes/Makefile.in (CFILES): Added i860-dis.c.
(ALL_MACHINES): Added i860-dis.lo.
(i860-dis.lo): New dependences.

* opcodes/configure.in: New bits for bfd_i860_arch.

* opcodes/configure: Regenerated.

24 years ago2000-07-26 Scott Bambrough <scottb@netwinder.org> gdb-pre-protoization-2000-07-29
Scott Bambrough [Fri, 28 Jul 2000 20:17:28 +0000 (20:17 +0000)]
2000-07-26  Scott Bambrough <scottb@netwinder.org>

* gdb.base/recurse.exp: Run tests for all targets.
* gdb.base/so-impl-ld.exp: Added wildcard to handle the
gnu-oldld case on ARM.
* gdb.base/watchpoint.exp (test_stepping): Clear xfail
for ARM targets.

24 years ago2000-07-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 28 Jul 2000 15:16:16 +0000 (15:16 +0000)]
2000-07-28  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* sh-tdep.c (sh_gdbarch_init): For sh4 initialize
  register_convert_to_raw, register_convert_to_virtual,
  register_convertible.
(sh_sh4_register_convertible): New function.
(sh_sh4_register_convert_to_virtual): New function.
(sh_sh4_register_convert_to_raw): New function.
Include floatformat.h.

24 years ago* s/sourceware.cygnus.com/sources.redhat.com/ throughout
Frank Ch. Eigler [Fri, 28 Jul 2000 10:09:30 +0000 (10:09 +0000)]
* s/sourceware.cygnus.com/sources.redhat.com/ throughout
* added cgen/

24 years ago* Makefile.in (FLAGS_FOR_TARGET): New macro.
Alexandre Oliva [Fri, 28 Jul 2000 02:10:36 +0000 (02:10 +0000)]
* Makefile.in (FLAGS_FOR_TARGET): New macro.
(GCC_FOR_TARGET): Use it.
(CC_FOR_TARGET, CXX_FOR_TARGET, CHILL_FOR_TARGET): Now defined...
* configure.in: ... here.
(FLAGS_FOR_TARGET): Define.  Add ld build dir to -L path.
(libstdcxx_flags): Define and append to CXX_FOR_TARGET.

24 years ago2000-07-27 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 28 Jul 2000 00:49:07 +0000 (00:49 +0000)]
2000-07-27  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_merge_symbol): Take one more argument,
dt_needed, to indicate if the symbol comes from a DT_NEEDED
entry. Don't overide the existing weak definition if dt_needed
is true.
(elf_link_add_object_symbols): Pass dt_needed to
elf_merge_symbol ().

24 years agoZero the allocated contents of reloc sections.
Nick Clifton [Thu, 27 Jul 2000 22:35:08 +0000 (22:35 +0000)]
Zero the allocated contents of reloc sections.

24 years agoFix typo.
Jeff Law [Thu, 27 Jul 2000 18:50:48 +0000 (18:50 +0000)]
Fix typo.

24 years ago* Usability improvement
Frank Ch. Eigler [Thu, 27 Jul 2000 15:45:20 +0000 (15:45 +0000)]
* Usability improvement

2000-07-27  Frank Ch. Eigler  <fche@redhat.com>

From Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* Makefile.in (install): Install run.1 man page.

24 years agoDon't clean *.igen.
Andrew Cagney [Thu, 27 Jul 2000 12:03:19 +0000 (12:03 +0000)]
Don't clean *.igen.

24 years ago2000-06-23 Doug Evans <dje@casey.transmeta.com>
Andrew Cagney [Thu, 27 Jul 2000 11:56:34 +0000 (11:56 +0000)]
2000-06-23  Doug Evans  <dje@casey.transmeta.com>
* Makefile.in (headers,nltvals.def): Merge.

24 years ago2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
Andrew Cagney [Thu, 27 Jul 2000 11:49:07 +0000 (11:49 +0000)]
2000-06-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

        * nrun.c (main): Print the simulator statistics only in
        verbose mode.
        * hw-properties.h (hw_find_integer_array_property): Fix
        prototype (use signed_cell).

24 years ago2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
Andrew Cagney [Thu, 27 Jul 2000 11:37:34 +0000 (11:37 +0000)]
2000-06-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

        * sim-events.c (sim_events_remain_time): New function returning
        the time that remains before the event is raised.
        * hw-events.c (hw_event_remain_time): Likewise.
        * sim-events.h (sim_events_remain_time): Declare.
        * hw-events.h (hw_event_remain_time): Declare.

24 years ago2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>
Andrew Cagney [Thu, 27 Jul 2000 11:34:30 +0000 (11:34 +0000)]
2000-06-25  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

        * sim-hw.c: Use <errno.h> instead of <sys/errno.h>
        (OPTION_HW_LIST): New option --hw-list to list the devices.
        (hw_option_handler): List the device tree with 'sim_hw_print'.

24 years agoAdd m68hc11 configry.
Andrew Cagney [Thu, 27 Jul 2000 11:29:14 +0000 (11:29 +0000)]
Add m68hc11 configry.

24 years agoNew simulator.
Andrew Cagney [Thu, 27 Jul 2000 11:23:39 +0000 (11:23 +0000)]
New simulator.

24 years agoFrom 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
Andrew Cagney [Thu, 27 Jul 2000 11:07:01 +0000 (11:07 +0000)]
From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
* sim-bits.h (_MSB_16, _LSB_16): Define for 16-bit targets.
(MASK, LSBIT, MSBIT): Likewise and use _MSB_16 and _LSB_16.
(EXTENDED): Define for 16-bit word size.
* sim-bits.c (LSEXTRACTED, MSEXTRACTED, LSINSERTED,
MSINSERTED, LSSEXT, MSSEXT): Implement for 16-bit word size.
* sim-types.h: Added support for 16-bit targets.

24 years ago* compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
Andrew Cagney [Thu, 27 Jul 2000 09:39:50 +0000 (09:39 +0000)]
* compile.c (decode): Distinguish inc/dec.[wl] and adds/subs
correctly.

24 years agoFrom 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
Andrew Cagney [Thu, 27 Jul 2000 07:18:32 +0000 (07:18 +0000)]
From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
* configure.tgt: Recognize the 68hc11.
* m68hc11-tdep.c: New file for 68hc11 target.
* config/m68hc11/m68hc11.mt: New file for 68hc11 port.

* configure.tgt: When 68hc11, set gdb_multi_arch.

24 years agoClarify texinfo/
Andrew Cagney [Thu, 27 Jul 2000 07:12:00 +0000 (07:12 +0000)]
Clarify texinfo/

24 years agoMove GDB_MULTI_ARCH selection to configure*. Makes tm.h optional.
Andrew Cagney [Thu, 27 Jul 2000 04:01:24 +0000 (04:01 +0000)]
Move GDB_MULTI_ARCH selection to configure*.  Makes tm.h optional.

24 years ago * config/mh-openedition.h: Added -DLE370 definition.
Jeff Law [Thu, 27 Jul 2000 02:01:17 +0000 (02:01 +0000)]
    * config/mh-openedition.h: Added -DLE370 definition.

24 years ago * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
Jeff Law [Thu, 27 Jul 2000 01:49:21 +0000 (01:49 +0000)]
    * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
        __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
        Cast program to 'char *' in errmsg_arg assignment.
        (PWAIT_ERROR): Define.
(pwait): Use PWAIT_ERROR.  Adjust DJGPP's status code to conform
        to DJGPP's WIF* macros.

24 years ago2000-07-26 Jimmy Guo <guo@cup.hp.com>
Michael Snyder [Thu, 27 Jul 2000 00:54:12 +0000 (00:54 +0000)]
2000-07-26  Jimmy Guo       <guo@cup.hp.com>

        * config/convex/tm-convex.h: Remove stray control characters.
        * config/m68k/tm-altos.h: Ditto.
        * config/tahoe/tm-tahoe.h: Ditto.

24 years ago * getcwd.c: Include string.h, stdlib.h for prototypes
Jeff Law [Wed, 26 Jul 2000 23:30:27 +0000 (23:30 +0000)]
    * getcwd.c: Include string.h, stdlib.h for prototypes

24 years ago * Makefile.in (rename.o, waitpid.o): Depend on config.h
Jeff Law [Wed, 26 Jul 2000 23:24:05 +0000 (23:24 +0000)]
    * Makefile.in (rename.o, waitpid.o): Depend on config.h
        * rename.c: include config.h, unistd.h
        * waitpid.c: include config.h, sys/wait.h