binutils-gdb.git
26 years ago * elflink.h (elf_link_add_object_symbols): When a versioned symbol
Ian Lance Taylor [Mon, 5 Oct 1998 03:11:55 +0000 (03:11 +0000)]
* elflink.h (elf_link_add_object_symbols): When a versioned symbol
has a base which is already defined, only add the referenced
symbol to the dynamic symbol table if it is defined or referenced
by a regular file.

26 years ago * cpu-hppa.c (bfd_hppa20_arch): Define. Link it into the bfd_hppa_arch
Jeff Law [Mon, 5 Oct 1998 02:42:05 +0000 (02:42 +0000)]
    * cpu-hppa.c (bfd_hppa20_arch): Define.  Link it into the bfd_hppa_arch
        structure.
        * som.c (CPU_PA_RISC2_0): Define.
        (_PA_RISC2_0_ID): Likewise.
        (som_finish_writing): Use CPU_PA_RISC2_0 for the system_id as needed.
PA2.0 infrastructure.

26 years ago * elf32-i386.c (elf_i386_info_to_howto_rel): Handle vtable relocs
Ian Lance Taylor [Mon, 5 Oct 1998 01:19:36 +0000 (01:19 +0000)]
* elf32-i386.c (elf_i386_info_to_howto_rel): Handle vtable relocs
correctly.

26 years ago * i386.h (R_386_max): Change from 252 to 24.
Ian Lance Taylor [Mon, 5 Oct 1998 01:18:32 +0000 (01:18 +0000)]
* i386.h (R_386_max): Change from 252 to 24.

26 years agoSun Oct 4 21:00:00 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Mon, 5 Oct 1998 01:01:27 +0000 (01:01 +0000)]
Sun Oct  4 21:00:00 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

From Robert Andrew Dale <rob@nb.net>
* i386.h (i386_optab): Add AMD 3DNow! instructions.
(AMD_3DNOW_OPCODE): Define.

26 years agoSun Oct 4 20:57:43 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Mon, 5 Oct 1998 00:59:52 +0000 (00:59 +0000)]
Sun Oct  4 20:57:43 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE.
* config/tc-i386.h (template.extension_opcode): Change to
        unsigned int to allow full range of 8-bit opcode suffixes.
(None): Redefine as 0xffff.

From Jeff B Epler <jepler@usgs.gov>
* doc/c-i386.texi (i386-SIMD): New section.

26 years agofix copyrights
Ian Lance Taylor [Mon, 5 Oct 1998 00:41:11 +0000 (00:41 +0000)]
fix copyrights

26 years ago From Nokubi Hirotaka <hnokubi@yyy.or.jp>:
Ian Lance Taylor [Mon, 5 Oct 1998 00:37:21 +0000 (00:37 +0000)]
From Nokubi Hirotaka <hnokubi@yyy.or.jp>:
* objcopy.1: Fix typo in --remove-leading-char docs.
* objdump.1: Fix formatting in --stabs docs.

26 years agoThe GDB engineers ate Steve's hacks; and there was much rejoicing.
Stan Shebs [Fri, 2 Oct 1998 23:35:11 +0000 (23:35 +0000)]
The GDB engineers ate Steve's hacks; and there was much rejoicing.

26 years agoSearch and destroy; kill references to WinGDB bits.
Stan Shebs [Fri, 2 Oct 1998 23:33:15 +0000 (23:33 +0000)]
Search and destroy; kill references to WinGDB bits.

* configure.host (i[3456]86-*-windows): Remove, no longer used.
* mswin: Remove directory, no longer used.

26 years agoFri Oct 2 18:52:20 1998 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Fri, 2 Oct 1998 22:57:12 +0000 (22:57 +0000)]
Fri Oct  2 18:52:20 1998  Fernando Nasser  <fnasser@cygnus.com>

        * sol-thread.c: Fixed prototypes and calls to supply_fpregset and
        fill_fpregset
PR 17053

26 years ago * gdbtk-hooks.c (gdbtk_exec_file_changed): New function which handles
Keith Seitz [Fri, 2 Oct 1998 19:55:41 +0000 (19:55 +0000)]
    * gdbtk-hooks.c (gdbtk_exec_file_changed): New function which handles
        exec_file changes.
        (gdbtk_add_hooks): Define exec_file_display_hook (to gdbtk_exec_file_changed)

        * gdbtk-cmds.c (gdb_stop): target_stop is ALWAYS defined, so
        compare against something a little more meaningful (target_ignore).

26 years ago * remote.c (remote_interrupt): Rewrite to use remote_stop.
Keith Seitz [Fri, 2 Oct 1998 19:54:42 +0000 (19:54 +0000)]
    * remote.c (remote_interrupt): Rewrite to use remote_stop.
        (remote_interrupt_twice): Remove. remote_stop now handles it.
        (remote_stop): New function which handles interrupting the
        remote target so that CLUI and GUI use the same core functions
        to achieve the same goal.
        (remote_wait): Change to handle remote_stop properly.
        [interrupted_already]: New static global to help remote_stop.
        [remote_ops, extended_remote_ops]: Add remote_stop for to_stop member.

        * target.c: Rename static function "ignore" to "target_ignore" and
        export it so that gdb can determin if some target vector member is
        actually not defined. Replace all occurances of ignore.

        * target.h: Export target_ignore.

26 years ago * target.c (target_xfer_memory): Handle requests with zero
Peter Schauer [Fri, 2 Oct 1998 11:02:00 +0000 (11:02 +0000)]
* target.c (target_xfer_memory):  Handle requests with zero
transfer length right away.

* values.c (unpack_double):  Set up code, length and signedness of
type _after_ checking for typedef.

26 years ago * read.c (discard_rest_of_line): New function.
Richard Henderson [Thu, 1 Oct 1998 22:39:35 +0000 (22:39 +0000)]
    * read.c (discard_rest_of_line): New function.
        * read.h: Declare it.
        * config/tc-alpha.c (s_alpha_mask, s_alpha_frame): Use it.

26 years agoEnhanced fix for PR 14826 - cope with the case where a symbol name matches
Nick Clifton [Thu, 1 Oct 1998 17:35:17 +0000 (17:35 +0000)]
Enhanced fix for PR 14826 - cope with the case where a symbol name matches
a register name

26 years ago* Fix for PR 16567, brought over from d30v branch.
Frank Ch. Eigler [Thu, 1 Oct 1998 11:48:25 +0000 (11:48 +0000)]
* Fix for PR 16567, brought over from d30v branch.
Thu Oct  1 15:39:27 EDT 1998 Frank Ch. Eigler <fche@cygnus.com>
* breakpoint.c (bpstat_stop_status): Do not consider an
untripped watchpoint as a "hit".

26 years agoMore replacing "exec" with "executable".
Andrew Cagney [Thu, 1 Oct 1998 11:41:41 +0000 (11:41 +0000)]
More replacing "exec" with "executable".

26 years agoReplace "exec" with "executable" in messages.
Andrew Cagney [Thu, 1 Oct 1998 11:19:11 +0000 (11:19 +0000)]
Replace "exec" with "executable" in messages.

26 years agoWed Sep 30 19:23:48 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 1 Oct 1998 02:28:03 +0000 (02:28 +0000)]
Wed Sep 30 19:23:48 1998  Geoffrey Noer  <noer@cygnus.com>

        * Makefile.in: add bzip2 package building bits for user
        tools module
        * configure.in: ditto

26 years ago * gdbint.texinfo: Complete overhaul. Group descriptions more
Stan Shebs [Thu, 1 Oct 1998 01:46:28 +0000 (01:46 +0000)]
* gdbint.texinfo: Complete overhaul.  Group descriptions more
logically, add more info on generic algorithms, remove much
obsolete and/or wrong material.

26 years agoFix for PR 17063 - do not create a section called .call_table, instead create
Nick Clifton [Wed, 30 Sep 1998 18:37:55 +0000 (18:37 +0000)]
Fix for PR 17063 - do not create a section called .call_table, instead create
sections called .call_table_data and .call_table_text.

26 years agoFix PR 17042 - Do not attempt to resolve offsets to symbols in other sections
Nick Clifton [Wed, 30 Sep 1998 18:12:57 +0000 (18:12 +0000)]
Fix PR 17042 - Do not attempt to resolve offsets to symbols in other sections
at assembly time.

26 years agoFix PR 17469 - treat TRAP as another in the set of branch type instructions.
Nick Clifton [Wed, 30 Sep 1998 17:18:36 +0000 (17:18 +0000)]
Fix PR 17469 - treat TRAP as another in the set of branch type instructions.

26 years agoFix PR 17387: ignore auto increment for loads where the destination register
Nick Clifton [Wed, 30 Sep 1998 17:15:14 +0000 (17:15 +0000)]
Fix PR 17387: ignore auto increment for loads where the destination register
and the address register are the same.

26 years ago * Makefile.in (all-automake): fix dependencies.
Felix Lee [Wed, 30 Sep 1998 05:47:18 +0000 (05:47 +0000)]
    * Makefile.in (all-automake): fix dependencies.

26 years agoadd sanitization for special sky config args
Angela Marie Thomas [Wed, 30 Sep 1998 00:12:30 +0000 (00:12 +0000)]
add sanitization for special sky config args

26 years ago * gdb.gdbtk/browser.test: Fix tests which incorrectly assume
Keith Seitz [Tue, 29 Sep 1998 21:04:13 +0000 (21:04 +0000)]
    * gdb.gdbtk/browser.test: Fix tests which incorrectly assume
        that gdb knows _exactly_ which files belong to the user
        and which come from libraries.

26 years agochange armelf sanitization to CYGNUS LOCAL markers
Catherine Moore [Tue, 29 Sep 1998 18:59:02 +0000 (18:59 +0000)]
change armelf sanitization to CYGNUS LOCAL markers

26 years agoMon Sep 28 21:31:12 1998 Richard Henderson <rth@cygnus.com>
Richard Henderson [Tue, 29 Sep 1998 04:34:32 +0000 (04:34 +0000)]
Mon Sep 28 21:31:12 1998  Richard Henderson  <rth@cygnus.com>

        * ld-elfvers/vers.exp: Run tests on alpha-linux.
        * ld-elfvers/*.sym, ld-elfvers/*.dsym: Adjust patters to match
        Alpha's use of st_other.

1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

        * ld-elfvers/vers.exp (vers16, vers16a): New tests.
        * ld-elfvers/{vers16.*, vers16a.*}: New files.

26 years ago1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Richard Henderson [Tue, 29 Sep 1998 03:53:21 +0000 (03:53 +0000)]
1998-09-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

        * elflink.h (elf_link_add_object_symbols): Undo last change.

26 years agoAdd brace missing from previous delta.
Nick Clifton [Mon, 28 Sep 1998 20:22:25 +0000 (20:22 +0000)]
Add brace missing from previous delta.

26 years agoRemove reference to depragmaize program.
Nick Clifton [Mon, 28 Sep 1998 20:09:25 +0000 (20:09 +0000)]
Remove reference to depragmaize program.

26 years agoApply fix from PR 14826 - generate an error if a register is supplied for a
Nick Clifton [Mon, 28 Sep 1998 18:02:50 +0000 (18:02 +0000)]
Apply fix from PR 14826 - generate an error if a register is supplied for a
operand that should not be a register.

26 years agoForgot to add specific files to sanitize section for dsp.
Jeff Johnston [Mon, 28 Sep 1998 15:58:14 +0000 (15:58 +0000)]
Forgot to add specific files to sanitize section for dsp.

26 years agoFri Sep 25 18:07:32 1998 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston [Fri, 25 Sep 1998 22:11:31 +0000 (22:11 +0000)]
Fri Sep 25 18:07:32 1998  Jeff Johnston  <jjohnstn@cygnus.com>

* configure.in (target_libs): Added target-libdsp.
* Makefile.in (TARGET_CONFIGDIRS): Added libdsp as target.

New libdsp component added.

26 years agoMerge with armelf980813:
Keith Seitz [Fri, 25 Sep 1998 19:04:46 +0000 (19:04 +0000)]
Merge with armelf980813:

        * rdi-share/unixcomm.c: If using cygwin32, also use the SERPORT and
        PARPORT defines for win32.
        (Unix_MatchValidSerialDevice): For cygwin32, valid serial port names
        start with "com", not "/dev/tty".
        (Unix_OpenSerial): Do not use O_NONBLOCK on cygwin32.

        * rdi-share/devsw.c (DevSW_Close): Free the device's state (SwitcherState)
        so that the device may be reopened.

        * remote-rdi.c (mywritec): Send all output through gdb's *_unfiltered
        functions, ignoring non-ASCII chars, so that non-tty UI's can snarf
        the output from fputs_hook.
        (mywrite): Ditto.
        (arm_rdi_open): Set inferior_pid.
        (arm_rdi_detach): Pop the target off the target stack so that
        users can attach and detach multiple times.
        (arm_rdi_close): Close the opened device and reset inferior_pid, too.

26 years agoAddtional fix for PR17045 - allowed delayed branches to have insns in the
Nick Clifton [Fri, 25 Sep 1998 17:06:05 +0000 (17:06 +0000)]
Addtional fix for PR17045 - allowed delayed branches to have insns in the
R container

26 years ago * gdbtk.c (gdbtk_wait): Don't run the timer for ice targets.
Keith Seitz [Fri, 25 Sep 1998 15:22:23 +0000 (15:22 +0000)]
    * gdbtk.c (gdbtk_wait): Don't run the timer for ice targets.

        * v850ice.c (WM_ADDR_TO_SYM): New message.
        (v850ice_wndproc): Add handler for WM_SOURCE.
        (v850ice_wait): Call the ui_loop_hook occasionally.
        (ice_cont): Acknowledge message before doing anything.
        (ice_stepi): Ack message and let gdbtk do stepping.
        (ice_nexti): Ack message and let gdbtk do stepping.
        (view_source): New function ICE calls to display source code.

26 years ago1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Fri, 25 Sep 1998 03:04:03 +0000 (03:04 +0000)]
1998-09-24  Jason Molenda  (jsm@bugshack.cygnus.com)

        * configure.in: Change --enable-warnings to --enable-build-warnings.
        * configure: Updated.

26 years agoAck, accidentally checked in a configure generated with an obsolete
Jason Molenda [Fri, 25 Sep 1998 01:54:25 +0000 (01:54 +0000)]
Ack, accidentally checked in a configure generated with an obsolete
version of autoconf.

26 years ago1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Fri, 25 Sep 1998 01:30:46 +0000 (01:30 +0000)]
1998-09-24  Jason Molenda  (jsm@bugshack.cygnus.com)

        * configure.in (WARN_CFLAGS): Add -Wmissing-prototypes.
        * configure: Regenerated.

26 years ago1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Fri, 25 Sep 1998 01:27:47 +0000 (01:27 +0000)]
1998-09-24  Jason Molenda  (jsm@bugshack.cygnus.com)

        * configure.in: Add --enable-warnings.
        Adjust whitespace of other --with and --enable options so that
        configure --help lines up correctly.
        * aclocal.m4: Ditto.
        * Makefile.in (WARN_CFLAGS): Add.  Set by configure.
        * configure: Regenerated.

26 years ago * remote-rdi.c: Fix formatting, remove some commented-out code.
Stan Shebs [Thu, 24 Sep 1998 22:48:48 +0000 (22:48 +0000)]
* remote-rdi.c: Fix formatting, remove some commented-out code.
(init_rdi_ops): Omit needless initializations.

26 years agoFic PR 17045: Do not allow insns in R bin if L bin contains a branch.
Nick Clifton [Thu, 24 Sep 1998 16:31:20 +0000 (16:31 +0000)]
Fic PR 17045: Do not allow insns in R bin if L bin contains a branch.

26 years agoFic PR 17045: Add FLAG_JSR attribute to DBT, REIT, RTD and TRAP insns.
Nick Clifton [Thu, 24 Sep 1998 16:26:44 +0000 (16:26 +0000)]
Fic PR 17045: Add FLAG_JSR attribute to DBT, REIT, RTD and TRAP insns.

26 years ago * elflink.h (elf_link_add_object_symbols): Don't record a dynamic
Richard Henderson [Wed, 23 Sep 1998 23:09:54 +0000 (23:09 +0000)]
    * elflink.h (elf_link_add_object_symbols): Don't record a dynamic
        symbol for the indirect alias to a versioned symbol.

26 years agoPR 17438 - fix parsing of MVTSYS and MVFSYS insns.
Nick Clifton [Wed, 23 Sep 1998 17:56:40 +0000 (17:56 +0000)]
PR 17438 - fix parsing of MVTSYS and MVFSYS insns.

26 years agoAllow full 64 bits of an address to be specified in an `M' or `n' packet.
Andrew Cagney [Wed, 23 Sep 1998 08:31:50 +0000 (08:31 +0000)]
Allow full 64 bits of an address to be specified in an `M' or `n' packet.
Add backward compatibility variable `set remoteaddresssize' to handle
regressions.

26 years ago* remote.c (_initialize_remote, packet_command, print_packet): Pretty
Andrew Cagney [Wed, 23 Sep 1998 08:12:14 +0000 (08:12 +0000)]
* remote.c (_initialize_remote, packet_command, print_packet): Pretty
* print code.
Delete reference to EMC!

26 years ago* remote.c (packet_command): Test REMOTE_DESC to determine if remote
Andrew Cagney [Wed, 23 Sep 1998 08:06:50 +0000 (08:06 +0000)]
* remote.c (packet_command): Test REMOTE_DESC to determine if remote
connection is open.

26 years ago Patch from Dawn Perchik <dawn@cygnus.com>:
Mark Alexander [Wed, 23 Sep 1998 05:41:38 +0000 (05:41 +0000)]
Patch from Dawn Perchik <dawn@cygnus.com>:
* rs6000-tdep.c (pop_frame): Handle generic dummy frames.
(push_arguments): Likewise.
(frame_saved_pc): Likewise.
(rs6000_frame_chain): Likewise.
(ppc_push_return_address): New function.
(get_saved_register): New function.
* config/powerpc/tm-ppc-eabi.h: Add generic dummy frame macros.

26 years agoFix PR 16898 - Implement EITHER_BUT_PREFER_MU execution class
Nick Clifton [Wed, 23 Sep 1998 01:11:23 +0000 (01:11 +0000)]
Fix PR 16898 - Implement EITHER_BUT_PREFER_MU execution class
Fix PR 17135 - Prefer register names over symbol names, except when registers
are unacceptable.

26 years agoPR 16898: Add uses of EITHER_BUT_PREFER_ME execution unit class.
Nick Clifton [Wed, 23 Sep 1998 00:57:07 +0000 (00:57 +0000)]
PR 16898: Add uses of EITHER_BUT_PREFER_ME execution unit class.

26 years agoFix non-ISO C code found by SGI C compiler.
Jim Wilson [Wed, 23 Sep 1998 00:00:45 +0000 (00:00 +0000)]
Fix non-ISO C code found by SGI C compiler.
* config/obj-elf.h (ECOFF_DEBUGGING): Add missing parens.

26 years agoFix PR 17135 (whilst keeping PR14827 fixed) by prefering register names over
Nick Clifton [Tue, 22 Sep 1998 22:48:42 +0000 (22:48 +0000)]
Fix PR 17135 (whilst keeping PR14827 fixed) by prefering register names over
symbolic names, except where the register name is unacceptable.

26 years ago * defs.h utils.c (fputc_filtered): New function. Does the obvious...
Stu Grossman [Tue, 22 Sep 1998 02:34:38 +0000 (02:34 +0000)]
* defs.h utils.c (fputc_filtered):  New function.  Does the obvious...
* jv-lang.c (java_printchar):  Fix output of chars > 0xff.  Fold
java_emit_char into java_printchar.
* language.h (PRINT_LITERAL_FORM):  Reformat for readability.

26 years agoFix info float test for arm-elf toolchains
Nick Clifton [Mon, 21 Sep 1998 21:41:36 +0000 (21:41 +0000)]
Fix info float test for arm-elf toolchains

26 years agoSupport big endian as well as little endian breakpoints.
Nick Clifton [Mon, 21 Sep 1998 21:39:41 +0000 (21:39 +0000)]
Support big endian as well as little endian breakpoints.

26 years agoupdate tc-dvp.c with sky-980617-branch
Doug Evans [Mon, 21 Sep 1998 20:27:28 +0000 (20:27 +0000)]
update tc-dvp.c with sky-980617-branch

26 years agoAdded sanitize-ide markers
Drew Moseley [Mon, 21 Sep 1998 18:37:32 +0000 (18:37 +0000)]
Added sanitize-ide markers

26 years agoFix PR 17105 - reset previous insn to empty after emitting NOPs.
Nick Clifton [Mon, 21 Sep 1998 17:44:48 +0000 (17:44 +0000)]
Fix PR 17105 - reset previous insn to empty after emitting NOPs.

26 years ago * elf32-i386.c (elf32_i386_vtinherit_howto): New.
Catherine Moore [Mon, 21 Sep 1998 17:29:28 +0000 (17:29 +0000)]
    * elf32-i386.c (elf32_i386_vtinherit_howto): New.
        (elf32_i386_vtentry_howto): New.
        (elf_i386_reloc_type_lookup):  Return elf32_i386_vtentry_howto
        or elf32_i386_vtinherit_howto  on lookup.

26 years ago * incorporate SKY-B changes (makes dual maintenance easier).
Ron Unrau [Mon, 21 Sep 1998 05:11:13 +0000 (05:11 +0000)]
    * incorporate SKY-B changes (makes dual maintenance easier).
        * txvu-tdep.c (check_overlap): new function to guarantee that
          overlays are either mapped or unmapped in their entirety.
        * txvu-tdep.c (compress_blockvector): compress blockvectors correctly

26 years agoDo not require an ANSI compiler
Michael Meissner [Sun, 20 Sep 1998 22:21:23 +0000 (22:21 +0000)]
Do not require an ANSI compiler

26 years agoSun Sep 20 01:00:01 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Sun, 20 Sep 1998 05:00:45 +0000 (05:00 +0000)]
Sun Sep 20 01:00:01 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* gas/vtable/inherit1.l: Require only the word GAS somewere in the
first line of the listing.

26 years agoSun Sep 20 00:58:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Sun, 20 Sep 1998 04:59:11 +0000 (04:59 +0000)]
Sun Sep 20 00:58:12 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* config/tc-m68k.h (TC_FORCE_RELOCATION): New macro.  Force vtable
relocs.
* config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs.

26 years agoSun Sep 20 00:48:07 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Sun, 20 Sep 1998 04:57:41 +0000 (04:57 +0000)]
Sun Sep 20 00:48:07 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf32-m68k.c: Include "elf/m68k.h".  Remove definition of enum
reloc_type.  Rename R_68K__max to R_68K_max.
(howto_table): Use _bfd_elf_rel_vtable_reloc_fn for a VTENTRY
reloc.

26 years agoSun Sep 20 00:54:22 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Sun, 20 Sep 1998 04:55:51 +0000 (04:55 +0000)]
Sun Sep 20 00:54:22 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* m68k.h: Add vtable relocs and R_68K_max.

26 years agoSun Sep 20 00:09:25 1998 Chris Torek <torek@bsdi.com>
Ian Lance Taylor [Sun, 20 Sep 1998 04:17:27 +0000 (04:17 +0000)]
Sun Sep 20 00:09:25 1998  Chris Torek  <torek@bsdi.com>

* libbfd.c (bfd_getb32): Rewrite expression to get better code.
(bfd_getl32, bfd_getb_signed_32, bfd_getl_signed_32): Likewise.

26 years ago * libbfd.c (bfd_log2): Cast to bfd_vma before shifting, not
Ian Lance Taylor [Sun, 20 Sep 1998 03:53:05 +0000 (03:53 +0000)]
* libbfd.c (bfd_log2): Cast to bfd_vma before shifting, not
after.  From Chris Torek <torek@bsdi.com>.

26 years agoSat Sep 19 22:42:23 1998 Doug Rabson <dfr@nlsystems.com>
Ian Lance Taylor [Sun, 20 Sep 1998 02:45:04 +0000 (02:45 +0000)]
Sat Sep 19 22:42:23 1998  Doug Rabson  <dfr@nlsystems.com>

* elflink.h (elf_link_add_object_symbols): Ensure that the warning
message has a null byte terminator.

26 years ago * gdbtk-cmds.c (get_frame_name): Demangle function names, too.
Keith Seitz [Fri, 18 Sep 1998 23:45:45 +0000 (23:45 +0000)]
    * gdbtk-cmds.c (get_frame_name): Demangle function names, too.

26 years ago * dvp-opc.c (gif_opcodes): Support EOP on gifimage.
Doug Evans [Fri, 18 Sep 1998 23:30:40 +0000 (23:30 +0000)]
* dvp-opc.c (gif_opcodes): Support EOP on gifimage.
PR 17293.

26 years agoFic PR17107 - ignore contents of word subject to R_V850_32 relocation.
Nick Clifton [Fri, 18 Sep 1998 21:37:41 +0000 (21:37 +0000)]
Fic PR17107 - ignore contents of word subject to R_V850_32 relocation.

26 years agoFri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 18 Sep 1998 21:10:23 +0000 (21:10 +0000)]
Fri Sep 18 14:07:44 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * gdb.trace/*.exp: remove "remote_download" command.

26 years agoAlways treat section symbols as special, even if they are attached to a
Nick Clifton [Fri, 18 Sep 1998 16:23:48 +0000 (16:23 +0000)]
Always treat section symbols as special, even if they are attached to a
common section.

26 years ago * sol-thread.c (sol_thread_notice_signals): Use PIDGET when
Peter Schauer [Fri, 18 Sep 1998 14:57:16 +0000 (14:57 +0000)]
* sol-thread.c (sol_thread_notice_signals):  Use PIDGET when
passing pid down to procfs_notice_signals.

26 years agoAdd comment about problem computing nearets line numbers for undefined
Nick Clifton [Fri, 18 Sep 1998 00:22:23 +0000 (00:22 +0000)]
Add comment about problem computing nearets line numbers for undefined
symbols at link time.

26 years ago * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't
Richard Henderson [Thu, 17 Sep 1998 23:17:10 +0000 (23:17 +0000)]
    * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't
        transform a defweak into a plt entry.
        (elf64_alpha_calc_dynrel_sizes): Allow room for secondary
        plt entry references to receive a RELATIVE reloc.
        (elf64_alpha_finish_dynamic_symbol): Fill them in.
        (elf64_alpha_relocate_section): Assert we don't overrun
        the allocated relocation space.

26 years agoupdate
Geoffrey Noer [Thu, 17 Sep 1998 00:06:01 +0000 (00:06 +0000)]
update

26 years ago * stabsread.c (resolve_symbol_reference): Return 1 on success, 0 on
Stu Grossman [Wed, 16 Sep 1998 21:59:01 +0000 (21:59 +0000)]
* stabsread.c (resolve_symbol_reference):  Return 1 on success, 0 on
failure.
* (define_symbol):  Check return value from resolve_symbol_reference,
and drop symbol if it fails.

26 years agoget rid of print statement in elf32_arm_gc_mark_hook.
Catherine Moore [Wed, 16 Sep 1998 16:31:18 +0000 (16:31 +0000)]
get rid of print statement in elf32_arm_gc_mark_hook.

26 years ago * gdb.trace/configure.in(AC_INIT): typo
Felix Lee [Wed, 16 Sep 1998 08:25:59 +0000 (08:25 +0000)]
    * gdb.trace/configure.in(AC_INIT): typo
        * gdb.trace/configure: regenerated

26 years ago * stabsread.c: Make all complaints static.
Stu Grossman [Tue, 15 Sep 1998 22:38:40 +0000 (22:38 +0000)]
* stabsread.c:  Make all complaints static.
* Fix formatting of live range splitting code.
* (resolve_symbol_reference define_symbol resolve_live_range):  Change
errors to complaints so that bad live range symbols won't abort the
entire symbol table.  Handle errors by aborting just the current
symbol.
* (ref_init):  Goes away.  Folded into ref_add().
* (REF_MAP_SIZE):  Put parens around parameter so that args like
`1 + 2' get handled correctly (yes, this was a real bug).
* (ref_add):  Remove check for allocation failures.  Not necessary
when using xrealloc().  Fix pointer arithmetic problem when clearing
memory.  This and the previous patch prevent random SEGV's when there
are lots of live range symbols.

26 years agoMon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 15 Sep 1998 22:25:01 +0000 (22:25 +0000)]
Mon Sep 14 20:00:04 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * lib/<emc-support.exp trace-support.exp}: New files.
        * configure.in: add new test directory gdb.trace.
        * gdb.trace/{configure configure.in Makefile.in}: New files.
        * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
        * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
        * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
        * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
        * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
        * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
        * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.

26 years ago * m32r-sim.h (GET_H_SM): New macro.
Doug Evans [Tue, 15 Sep 1998 22:16:08 +0000 (22:16 +0000)]
* m32r-sim.h (GET_H_SM): New macro.
(UART params): Update to msa2000.
* devices.c (device_io_read_buffer): Update to msa2000.
* m32r.c (m32rb_h_cr_get,m32rb_h_cr_set): Handle bbpc,bbpsw.
(m32rb_h_psw_get,m32rb_h_psw_set): New functions.
* arch.c,arch.h,cpu.c,cpu.h,sem-switch.c,sem.c: Regenerate.
* m32rx.c (m32rx_h_cr_get,m32rx_h_cr_set): Handle bbpc,bbpsw.
(m32rx_h_psw_get,m32rx_h_psw_set): New functions.
* cpux.c,cpux.h,readx.c,semx.c: Regenerate.
PR 15938.

26 years ago1998-09-15 Geoff Keating <geoffk@ozemail.com.au>
Vladimir Makarov [Tue, 15 Sep 1998 21:36:41 +0000 (21:36 +0000)]
1998-09-15  Geoff Keating  <geoffk@ozemail.com.au>

* elf32-ppc.c (ppc_elf_relocate_section): Reverse output_offset
part of Vladimir's change of 1998-08-19.  Make a R_PPC_SDAREL16
reloc to the wrong section a warning, not an error.  .dynsbss
is not an output section, so there is no need to check for it.

26 years agoprevent multiple attempts at closing remote connection.
Nick Clifton [Tue, 15 Sep 1998 21:03:26 +0000 (21:03 +0000)]
prevent multiple attempts at closing remote connection.

26 years agoFix changeLOg entry. Add argument to elf_backend_get_symbol_type.
Catherine Moore [Tue, 15 Sep 1998 17:42:09 +0000 (17:42 +0000)]
Fix changeLOg entry.  Add argument to elf_backend_get_symbol_type.

26 years ago* config/obj-elf.c (obj_elf_vtable_inherit): Handle arm
Catherine Moore [Tue, 15 Sep 1998 14:47:51 +0000 (14:47 +0000)]
* config/obj-elf.c (obj_elf_vtable_inherit):  Handle arm
assembler syntax.
(obj_elf_vtable_entry):  Likewise.
* config/tc-arm.h:  Define TC_FORCE_RELOCATION for OBJ_ELF.
* config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations.
(tc_gen_reloc): Likewise.
(arm_fix_adjustable): Likewise.
(elf32_arm_force_relocation): New.
(armelf_frob_symbol):  Remove coff-style symbol support.
Remove armelf sanitization.

26 years ago * bfd-in.h: Add argument to elf_backend_get_symbol_type.
Catherine Moore [Tue, 15 Sep 1998 13:52:55 +0000 (13:52 +0000)]
   * bfd-in.h: Add argument to elf_backend_get_symbol_type.
       * bfd-in2.h: Rebuild.
       * elf.c (swap_out_syms):  Pass type to elf_backend_get_symbol_type.
       * elf32-arm.c:  Add HOWTO entries for R_ARM_GNU_VTINHERIT and
       R_ARM_GNU_VTENTRY.
       (elf32_arm_gc_mark_hook): New.
       (elf32_arm_gc_sweep_hook): New.
       (elf32_arm_check_relocs): New.
       (elf32_arm_final_link_relocate):  Handle VTINHERIT and VTENTRY
       relocations.
       (elf32_arm_relocate_section): Handle VTINHERIT and VTENTRY
       relocations.

26 years agoUse value_at_lazy() to examine memory values. For x/i this is very
Andrew Cagney [Tue, 15 Sep 1998 07:50:31 +0000 (07:50 +0000)]
Use value_at_lazy() to examine memory values.  For x/i this is very
important as it stops the specified address being fetched twice -
once by value_at() and once somewhere in the disassembler.

26 years agoMon Sep 14 20:00:57 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 15 Sep 1998 03:06:26 +0000 (03:06 +0000)]
Mon Sep 14 20:00:57 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

* dejagnu/baseboards/m68k-emc.exp: New file.
* dejagnu/config/m68k-emc.exp: New file.
* gdb/testsuite/config/m68k-emc.exp: New file.

26 years agodefine SIM_HAVE_BIENDIAN
Nick Clifton [Mon, 14 Sep 1998 16:58:00 +0000 (16:58 +0000)]
define SIM_HAVE_BIENDIAN

26 years agoSun Sep 13 01:34:59 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Sun, 13 Sep 1998 08:37:08 +0000 (08:37 +0000)]
Sun Sep 13 01:34:59 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

  * blockframe.c (find_pc_sect_partial_function): use bfd section
  of msymbol for end of section comparison.

26 years agoFri Sep 11 14:02:49 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 11 Sep 1998 21:03:29 +0000 (21:03 +0000)]
Fri Sep 11 14:02:49 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * tracepoint.c: clean up several unused variables and such.

26 years agoFri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 11 Sep 1998 21:00:26 +0000 (21:00 +0000)]
Fri Sep 11 13:58:02 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * gdb.c++/classes.exp: Change all regular expressions to match
        arbitrary combinations of newline/carriage-return, so that they
        will work equally well on Unix and Windows.
        * gdb.c++/inherit.exp: ditto.
        * gdb.c++/virtfunc.exp: ditto.

26 years ago1998-09-10 Geoff Keating <geoffk@ozemail.com.au>
Richard Henderson [Fri, 11 Sep 1998 20:15:54 +0000 (20:15 +0000)]
1998-09-10  Geoff Keating  <geoffk@ozemail.com.au>

        * elf32-ppc.c (ppc_elf_relocate_section): If dynobj is NULL,
        assume there is no PLT or GOT.

26 years agoFri Sep 11 12:38:34 EDT 1998 Zdenek Radouch (radouch@cygnus.com)
Zdenek Radouch [Fri, 11 Sep 1998 16:40:04 +0000 (16:40 +0000)]
Fri Sep 11 12:38:34 EDT 1998  Zdenek Radouch   (radouch@cygnus.com)

        * arm-tdep.c (arm_push_arguments): fixed frame construction