binutils-gdb.git
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

26 years agoThu Sep 10 22:10:29 1998 Jim Ingham <jingham@cygnus.com>
Jim Ingham [Fri, 11 Sep 1998 05:13:57 +0000 (05:13 +0000)]
Thu Sep 10 22:10:29  1998 Jim Ingham <jingham@cygnus.com>

*gdbtk-cmds.c (gdb_disassemble): Make sure the symtab's linetable is not
null before trying to use it...

26 years agoThu Sep 10 20:51:23 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 11 Sep 1998 03:52:21 +0000 (03:52 +0000)]
Thu Sep 10 20:51:23 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * mn10300-tdep.c (mn10300_analyze_prologue): guard against NULL.

26 years ago * r5900.igen (plzcw): Make `i' signed.
Doug Evans [Thu, 10 Sep 1998 19:00:46 +0000 (19:00 +0000)]
* r5900.igen (plzcw): Make `i' signed.
PR 17191.

26 years agoSanitize out Nortel 750 sprs
Michael Meissner [Thu, 10 Sep 1998 18:28:13 +0000 (18:28 +0000)]
Sanitize out Nortel 750 sprs

26 years agoMore avoidance of writing documentation in the internals manual.
Stan Shebs [Thu, 10 Sep 1998 02:58:19 +0000 (02:58 +0000)]
More avoidance of writing documentation in the internals manual.
* dbxread.c (IGNORE_SYMBOL): Remove definition, is never used.
* os9kread.c: Remove comment mentioning IGNORE_SYMBOL.

26 years agoAdd PowerPC 750 move to/from SPRs
Michael Meissner [Wed, 9 Sep 1998 23:59:09 +0000 (23:59 +0000)]
Add PowerPC 750 move to/from SPRs

26 years ago * m32r-sim.h (m32r_trap): Update prototype.
Doug Evans [Wed, 9 Sep 1998 22:34:09 +0000 (22:34 +0000)]
* m32r-sim.h (m32r_trap): Update prototype.
* traps.c (m32r_trap): New arg `pc'.
* sem.c,sem-switch.c: Regenerated.
* cpux.h,readx.c,semx.c: Regenerated.

26 years ago * sim/sky/pr17191.s: New file.
Doug Evans [Wed, 9 Sep 1998 21:50:10 +0000 (21:50 +0000)]
* sim/sky/pr17191.s: New file.
* sim/sky/pr17191.brn: New file.
* sim/sky/t-macros.inc: New file.

26 years agofix linker testsuite failure
Nick Clifton [Wed, 9 Sep 1998 21:25:37 +0000 (21:25 +0000)]
fix linker testsuite failure

26 years ago* config/tc-i386.c (i386_operand): Fix typo in last patch.
Richard Henderson [Wed, 9 Sep 1998 18:27:52 +0000 (18:27 +0000)]
* config/tc-i386.c (i386_operand): Fix typo in last patch.

26 years agoMerges from SKY branch:
Ron Unrau [Wed, 9 Sep 1998 17:41:59 +0000 (17:41 +0000)]
Merges from SKY branch:

        * blockframe.c(find_pc_sect_partial_function): look for min syms in
          the same section when trying to guess the end of a function.
        * symfile.c(list_overlays_command): use print_address_numeric
        * remote-sim.c: export simulator_command
        * tm-r5900.h: add COP0 registers
        * txvu-tdep.c: printvector and printvector-order commands
        * tm-txvu.h: add COP0 registers
        * mips-tdep.c: use NUM_CORE_REGS

26 years agoBranch merge for GDB:
Ron Unrau [Wed, 9 Sep 1998 17:30:31 +0000 (17:30 +0000)]
Branch merge for GDB:

        * sim-main.h: track COP0 registers
        * interp.c (sim_{fetch,store}_register): read/write COP0 registers
        * sky-gdb.[ch]: add sim pipeorder command

26 years ago1998-09-08 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Wed, 9 Sep 1998 04:16:53 +0000 (04:16 +0000)]
1998-09-08  Jason Molenda  (jsm@bugshack.cygnus.com)

        * breakpoint.c (bpstat_stop_status):  Declare a bp match if the
        current fp matches the bp->fp OR if the current fp is less than
        the bp->fp if we're looking at a bp_step_resume breakpoint.

PR 15992.

With a bp_step_resume type breakpoint, the frame pointer check exists in
case we recurse and execute the same text section--we want to not stop
there because it would confuse the user.  So gdb checks to see that the
frame pointer matches the one recorded in the breakpoint.

If the current frame pointer is less than the frame pointer recorded in
the breakpoint, then something odd is happened and we should declare that
we're at the breakpoint so that we clear it out.

This happens in Purify instrumented executables on PA systems, at least.
They insert some calls out to Purify code in the function epilogue and
it confuses GDB (which assumes that the frame pointer does not move
around through the entire execution of a function).

26 years agoCleanup opportunity discovered while updating internals manual.
Stan Shebs [Wed, 9 Sep 1998 02:48:11 +0000 (02:48 +0000)]
Cleanup opportunity discovered while updating internals manual.
* symtab.h (struct symtab): Remove EXTRA_SYMTAB_INFO hook,
not currently used.
* symfile.c (allocate_symtab): Deprecate use of
INIT_EXTRA_SYMTAB_INFO here.

26 years agoTue Sep 8 18:10:01 1998 Catherine Moore <clm@cygnus.com>
Catherine Moore [Tue, 8 Sep 1998 23:20:30 +0000 (23:20 +0000)]
Tue Sep  8 18:10:01 1998  Catherine Moore  <clm@cygnus.com>

        * config/tc-arm.c (arm_adjust_symtab):  Move #ifdef
        OBJ_COFF so that routine is defined for a.out format.

26 years ago * config/tc-i386.c (i386_operand): Detect non-segment registers
Richard Henderson [Tue, 8 Sep 1998 22:57:36 +0000 (22:57 +0000)]
    * config/tc-i386.c (i386_operand): Detect non-segment registers
        used as segment prefixes.

26 years ago* Patch for PR 17142, brought over from sky branch.
Frank Ch. Eigler [Tue, 8 Sep 1998 11:09:45 +0000 (11:09 +0000)]
* Patch for PR 17142, brought over from sky branch.
Fri Sep  4 10:37:57 1998  Frank Ch. Eigler  <fche@cygnus.com>
* r5900.igen (mtsab): Correct typo in input register.
* sim-main.h (TMP_*): New macros for accessing local 128-bit
temporary for multimedia instructions.
* r5900.igen (*): Convert most instructions to use new TMP
macros to store output result during computation.

26 years ago * rs6000-core.c (_LONG_LONG): Define for AIX 4.x only.
Peter Schauer [Mon, 7 Sep 1998 20:26:43 +0000 (20:26 +0000)]
* rs6000-core.c (_LONG_LONG):  Define for AIX 4.x only.

26 years agodo not try to dump empty sections
Nick Clifton [Sun, 6 Sep 1998 23:17:06 +0000 (23:17 +0000)]
do not try to dump empty sections

26 years ago * libbfd-in.h (_bfd_nolink_bfd_gc_sections): Correct definition to
Ian Lance Taylor [Sun, 6 Sep 1998 00:41:41 +0000 (00:41 +0000)]
* libbfd-in.h (_bfd_nolink_bfd_gc_sections): Correct definition to
match definition of _bfd_gc_sections field.
* libbfd.h: Rebuild.

26 years ago * ehopt.c (check_eh_frame): Check the size of the FDE, and don't
Ian Lance Taylor [Sun, 6 Sep 1998 00:39:46 +0000 (00:39 +0000)]
* ehopt.c (check_eh_frame): Check the size of the FDE, and don't
optimize across FDE boundaries.

26 years agoSat Sep 5 19:17:10 1998 Mumit Khan <khan@xraylith.wisc.edu>
Ian Lance Taylor [Sat, 5 Sep 1998 23:18:05 +0000 (23:18 +0000)]
Sat Sep  5 19:17:10 1998  Mumit Khan  <khan@xraylith.wisc.edu>

* dlltool.c (scan_all_symbols): Don't re-export symbols exported
by other DLLs.

26 years ago * config/obj-coff.c (obj_coff_section): Preserve any link once
Ian Lance Taylor [Sat, 5 Sep 1998 23:01:35 +0000 (23:01 +0000)]
* config/obj-coff.c (obj_coff_section): Preserve any link once
flags when setting the section flags.

26 years agoFixed generation of thumb function symbols.
Nick Clifton [Sat, 5 Sep 1998 02:58:46 +0000 (02:58 +0000)]
Fixed generation of thumb function symbols.

26 years agoFix detection of thumb-elf function symbols
Nick Clifton [Sat, 5 Sep 1998 02:47:40 +0000 (02:47 +0000)]
Fix detection of thumb-elf function symbols

26 years ago * README: Update remote debugging and testsuite info.
Stan Shebs [Fri, 4 Sep 1998 22:54:30 +0000 (22:54 +0000)]
* README: Update remote debugging and testsuite info.

26 years agoFri Sep 4 13:57:43 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
Richard Henderson [Fri, 4 Sep 1998 20:59:53 +0000 (20:59 +0000)]
Fri Sep  4 13:57:43 1998  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>

        * config/tc-sparc.c (in_signed_range): Sign extend 32-bit words
        to the host width.

26 years agoFri Sep 4 13:54:23 1998 David Miller <davem@dm.cobaltmicro.com>
Richard Henderson [Fri, 4 Sep 1998 20:57:07 +0000 (20:57 +0000)]
Fri Sep  4 13:54:23 1998  David Miller  <davem@dm.cobaltmicro.com>

        * elf32-sparc.c (elf32_sparc_relocate_section): Properly adjust
        the addend of a dynamic relocation referencing a section.
        * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
        (sparc64_elf_finish_dynamic_symbol): Fix the PLT relocation offset.

26 years agofix date
Catherine Moore [Fri, 4 Sep 1998 15:06:32 +0000 (15:06 +0000)]
fix date

26 years agoremove garbage
Catherine Moore [Fri, 4 Sep 1998 14:22:03 +0000 (14:22 +0000)]
remove garbage

26 years ago * emulparams/d10velf.sh (TEMPLATE_NAME): Use elf32.
Richard Henderson [Fri, 4 Sep 1998 00:31:41 +0000 (00:31 +0000)]
    * emulparams/d10velf.sh (TEMPLATE_NAME): Use elf32.

26 years ago * elflink.h (bfd_elfNN_size_dynamic_sections): Verify that the
Richard Henderson [Fri, 4 Sep 1998 00:30:35 +0000 (00:30 +0000)]
    * elflink.h (bfd_elfNN_size_dynamic_sections): Verify that the
        bed has a size_dynamic_sections routine before trying to use it.

26 years ago * config/mn10300/tm-mn10300.h (FP_REGNUM): Redefine to be a
Mark Alexander [Thu, 3 Sep 1998 22:59:13 +0000 (22:59 +0000)]
* config/mn10300/tm-mn10300.h (FP_REGNUM): Redefine to be a
pseudo-register, not the same as a3.
(D2_REGNUM, D3_REGNUM, A2_REGNUM, A3_REGNUM): Define.
* mn10300-tdep.c (fix_frame_pointer): New function.
(set_movm_offsets): Use register number macros instead of
hard-coded constants.
(mn10300_analyze_prologue): Fix to handle redefinition of FP_REGNUM.
(mn10300_frame_chain):  Fix to handle redefinition of FP_REGNUM;
use register number macros instead of hard-coded constants;
add missing parameter to call of mn10300_analyze_prologue.
(mn10300_frame_saved_pc): Use register number macros instead of
hard-coded constants.

26 years agoKilled the clone
Stan Shebs [Thu, 3 Sep 1998 21:54:38 +0000 (21:54 +0000)]
Killed the clone

26 years agoFix typo.
Ulrich Drepper [Wed, 2 Sep 1998 21:56:26 +0000 (21:56 +0000)]
Fix typo.