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

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

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

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

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

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

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

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

24 years agoApply patch from Peter Targett to fix building arc-elf32 target.
Nick Clifton [Wed, 8 Nov 2000 00:06:34 +0000 (00:06 +0000)]
Apply patch from Peter Targett to fix building arc-elf32 target.

24 years agoFix memory corruption with --gstabs and short length filenames.
Nick Clifton [Tue, 7 Nov 2000 19:36:08 +0000 (19:36 +0000)]
Fix memory corruption with --gstabs and short length filenames.

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

* aix386-core.c: Fix formatting.
* aoutf1.h: Likewise.
* aoutx.h: Likewise.
* archures.c: Likewise.
* armnetbsd.c: Likewise.

24 years agoLast change was actually made by Matthew Green.
Dave Brolley [Tue, 7 Nov 2000 17:25:30 +0000 (17:25 +0000)]
Last change was actually made by Matthew Green.

24 years ago2000-11-07 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 7 Nov 2000 17:20:25 +0000 (17:20 +0000)]
2000-11-07  Dave Brolley  <brolley@redhat.com>

* cgen-dis.in (print_insn): All insns which can fit into insn_value
must be loaded there in their entirety.

24 years agoFix for H8 ld problem.
Alan Modra [Tue, 7 Nov 2000 05:04:04 +0000 (05:04 +0000)]
Fix for H8 ld problem.

24 years agoia64-hpux patches from Steve Ellcey.
Jim Wilson [Tue, 7 Nov 2000 01:21:10 +0000 (01:21 +0000)]
ia64-hpux patches from Steve Ellcey.
* config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage):
Change M to m for -milp32 or -mlp64 to match gcc.
(dot_endp): Use bytes_per_address instead of 8.
(emit_one_bundle): Use number_to_chars_littleendian instead of
md_number_to_chars.
(fix_insn): Likewise.
(ia64_init): New function.
(ia64_target_format): New function.
(md_begin): Set endianness, arch, and machine as appropriate.
* config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars):
Make these macros depend on TE_HPUX macro.
(TARGET_FORMAT): Define.
(HOST_SPECIAL_INIT): Define.
* config/te-hpux.h: New file.
* configure.in: Add "ia64-*-hpux*" target to configure.
* configure: Regenerate.

24 years ago2000-11-06 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 7 Nov 2000 01:18:45 +0000 (01:18 +0000)]
2000-11-06  Kazu Hirata  <kazu@hxi.com>

* as.c: Fix formatting.
* dwarf2dbg.c: Likewise.
* itbl-ops.c: Likewise.
* listing.c: Likewise.
* macro.h: Likewise.
* messages.c: Likewise.
* read.c: Likewise.
* subsegs.c: Likewise.
* subsegs.h: Likewise.
* write.c: Likewise.

24 years agoFix a few minor Changlog formatting problems.
Jim Wilson [Tue, 7 Nov 2000 01:16:25 +0000 (01:16 +0000)]
Fix a few minor Changlog formatting problems.

24 years agoia64-hpux patches from Steve Ellcey.
Jim Wilson [Tue, 7 Nov 2000 00:43:26 +0000 (00:43 +0000)]
ia64-hpux patches from Steve Ellcey.
* archures.c: (bfd_mach_ia64_elf64, bfd_mach_ia64_elf32) Add defines
to differentiate elf32 and elf64 on ia64.
* bfd-in2.h: Regenerate.
* config.bfd: Add target for "ia64*-*-hpux*".
* configure.in: Add bfd_elf32_ia64_big_vec to selvecs switch.
* configure: Regenerate.
* cpu-ia64.c (bfd_ia64_elf32_arch) Add elf32 arch info structure.
* targets.c: Add bfd_target bfd_elf32_ia64_big_vec.
* Makefile.am: Make elf32-ia64.c and elf64-ia64.c derived objects
from elfxx-ia64.c.  Add depenency rules for making elf32-ia64.lo.
* Makefile.in: Regnerate.
* elf64-ia64.c: Deleted
* elfxx-ia64.c: New file, paramaterized version of elf64-ia64.c.

24 years ago2000-11-06 Fernando Nasser <fnasser@totem.toronto.redhat.com>
Fernando Nasser [Mon, 6 Nov 2000 23:12:29 +0000 (23:12 +0000)]
2000-11-06  Fernando Nasser  <fnasser@totem.toronto.redhat.com>

        * wrapper.c (gdb_value_assign): New function.  Longjump-free
        version of value_assign.
        (wrap_value_assign): New function. Wrapper for value_assign.
        * wrapper.h: Add declaration for the above.
        * varobj.c (varobj_set_value): Use gdb_value_assign, not
        value_assign which can longjump.  Do not change varobj value if
        assign fails.

24 years ago2000-11-06 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 6 Nov 2000 22:56:13 +0000 (22:56 +0000)]
2000-11-06  Kazu Hirata  <kazu@hxi.com>

* aout-adobe.c: Fix formatting.
* aout-arm.c: Likewise.
* aout-cris.c: Likewise.
* aout-encap.c: Likewise.
* aout-ns32k.c: Likewise.
* aout-target.h: Likewise.
* aout-tic30.c: Likewise.

24 years ago2000-11-06 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Mon, 6 Nov 2000 22:44:34 +0000 (22:44 +0000)]
2000-11-06  Fernando Nasser  <fnasser@cygnus.com>

        From  Steven Johnson  <sbjohnson@ozemail.com.au>:

        This set of changes add "hookpost-" as an expansion on the original
        hooking of commands to GDB. A Hook may now be run "AFTER" execution of
        a command as well as before.

        * command.h (struct cmd_list_element): Changed elements hook and hookee
        to hook_pre and hookee_pre respectively. Added hook_post and hookee_post
        for the post hook command operation. Added hook_in so that an executing
        hook can be flagged to prevent recursion.
        * command.c (add_cmd): Changed initilization of cmd_list_element to
        reflect above changes.
        (delete_cmd): Remove both pre and post hooks.
        (help_cmd): Notify that the command has pre and/or post hooks.
        * infrun.c (normal_stop): Change references to hook_pre from hook.
        * top.c (execute_command): Run both pre and post hooks.
        (define_command): Allow definition of both pre and post hooks.
        The definition of pre-hooks is done as before, with the "hook-"
        prefix for backward compatibility.

24 years ago2000-11-06 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 6 Nov 2000 21:55:46 +0000 (21:55 +0000)]
2000-11-06  Kazu Hirata  <kazu@hxi.com>

* input-file.c: Fix formatting.
* input-file.h: Likewise.
* input-scrub.c: Likewise.

24 years ago * gdb.base/callfuncs.c (main): Moved to end of file, call
Peter Schauer [Mon, 6 Nov 2000 20:38:02 +0000 (20:38 +0000)]
* gdb.base/callfuncs.c (main):  Moved to end of file, call
t_double_values to initialize the FPU before inferior calls are made.
* gdb.base/callfuncs.exp:  Test for register preservation after calling
inferior functions.  Add tests for continuining, finishing and
returning from a stop in a call dummy.

24 years agoAdd GNU Free Documentation License
Nick Clifton [Mon, 6 Nov 2000 20:27:26 +0000 (20:27 +0000)]
Add GNU Free Documentation License

24 years ago * stack.c (return_command): Pop dummy frame if we just returned from
Peter Schauer [Mon, 6 Nov 2000 20:25:36 +0000 (20:25 +0000)]
* stack.c (return_command):  Pop dummy frame if we just returned from
a stop in a call dummy.

24 years ago2000-11-05 Philip Blundell <philb@gnu.org>
Phil Blundell [Mon, 6 Nov 2000 19:38:10 +0000 (19:38 +0000)]
2000-11-05  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_merge_private_bfd_data): Always permit
BFDs containing no sections to be merged, regardless of their flags.

2000-11-04  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_relocate_section): Suppress error message
if a relocation for an undefined symbol also results in an
overflow.

24 years agoAdd GNU Free Documentation License
Nick Clifton [Mon, 6 Nov 2000 19:24:16 +0000 (19:24 +0000)]
Add GNU Free Documentation License

24 years ago* config.sub: Add support for Sun Chorus
Christopher Faylor [Mon, 6 Nov 2000 19:21:51 +0000 (19:21 +0000)]
* config.sub: Add support for Sun Chorus

24 years ago* config.bfd: Add support for Sun Chorus.
Christopher Faylor [Mon, 6 Nov 2000 18:47:14 +0000 (18:47 +0000)]
* config.bfd: Add support for Sun Chorus.

24 years agoFix compilation warnings as otherwise we fail the test.
Alan Modra [Mon, 6 Nov 2000 10:07:06 +0000 (10:07 +0000)]
Fix compilation warnings as otherwise we fail the test.

24 years agoProtoization.
Kevin Buettner [Mon, 6 Nov 2000 04:53:14 +0000 (04:53 +0000)]
Protoization.

24 years ago2000-11-05 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Sun, 5 Nov 2000 23:31:45 +0000 (23:31 +0000)]
2000-11-05  David O'Brien  <obrien@FreeBSD.org>
* configure.in: Recognize alpha-*-freebsd*.
* configure: Regenerate.

I had this in my local tree for along time and had gotten approval for this
on Mon, 22 May 2000 15:45:01 -0700 but somehow managed to never commit it.

Approved by:  Nick Clifton <nickc@cygnus.com>
              Message-Id: <200005222245.PAA14600@elmo.cygnus.com>

24 years agoAdd include of "dwarf2dbg.h"
Nick Clifton [Sun, 5 Nov 2000 19:28:57 +0000 (19:28 +0000)]
Add include of "dwarf2dbg.h"

24 years agoRemove extraneous whitepaces
Nick Clifton [Sun, 5 Nov 2000 19:18:34 +0000 (19:18 +0000)]
Remove extraneous whitepaces

24 years ago*** empty log message ***
Nick Clifton [Sun, 5 Nov 2000 17:14:08 +0000 (17:14 +0000)]
*** empty log message ***

24 years ago* ldlex.l (yy_create_string_buffer): Init all structure fields.
Alan Modra [Sun, 5 Nov 2000 06:27:15 +0000 (06:27 +0000)]
* ldlex.l (yy_create_string_buffer): Init all structure fields.

* Makefile.am (DISTCLEANFILES): Add stringify.sed.
Move 2000-11-02 Makefile.in changes to this file.

24 years ago * hashtab.c (htab_expand): Change to return int. Use calloc or
Hans-Peter Nilsson [Sat, 4 Nov 2000 07:54:27 +0000 (07:54 +0000)]
* hashtab.c (htab_expand): Change to return int.  Use calloc or
  xcalloc depending on htab->return_allocation_failure.  Return zero
  if calloc fails.
(htab_create): Update comment to cover memory allocation.
(htab_try_create): New.
(htab_find_slot_with_hash): Return NULL if htab_expand fails.
   Update comment to cover this.

24 years ago * hashtab.h (struct htab): Add member return_allocation_failure.
Hans-Peter Nilsson [Sat, 4 Nov 2000 07:48:51 +0000 (07:48 +0000)]
* hashtab.h (struct htab): Add member return_allocation_failure.
(htab_try_create): New prototype.  Mention which functions may
return NULL when this is used.

24 years agoProtoization.
Kevin Buettner [Sat, 4 Nov 2000 00:46:46 +0000 (00:46 +0000)]
Protoization.

24 years agoIn new_symbol(), relocate symbol address by base address of the section
Kevin Buettner [Fri, 3 Nov 2000 22:38:38 +0000 (22:38 +0000)]
In new_symbol(), relocate symbol address by base address of the section
it is in instead of using the base address of the .text section.

24 years ago* TODO: Note abstraction layer violation where "ocd reset" command
J.T. Conklin [Fri, 3 Nov 2000 22:00:56 +0000 (22:00 +0000)]
* TODO: Note abstraction layer violation where "ocd reset" command
must invalidate the dcache, and how this might be fixed.

* monitor.c (#include "dcache.h"): Removed.
(remote_dcache): Removed.
(monitor_open): Removed code that created local dcache.
(flush_monitor_dcache): Removed (unused function).
(monitor_resume): Removed call to dcache_invd().
(monitor_load): Likewise.
(monitor_xfer_memory): Changed to call monitor_write_memory(),
monitor_write_memory_block(), and monitor_read_memory() instead
of dcache_xfer_memory().
* monitor.h (flush_monitor_dcache): Removed (unused function).
* ocd.c (#include "dcache.h"): Removed.
(ocd_dcache): Removed.
(ocd_open): Removed code that created local dcache.
(ocd_resume): Removed call to dcache_invd().
(ocd_xfer_memory): Changed to call ocd_write_bytes() and
ocd_read_bytes() instead of dcache_xfer_memory().
(bdm_reset_command): Invalidate target dcache.
* remote-bug.c (bug_load): Remove call to dcache_invd().
(bug_resume): Likewise.
(bug_settings): Remove dcache, readfunc, and writefunc fields
from initializer.
(bug_xfer_memory): Changed to call bug_read_memory() and
bug_write_memory() instead of dcache_xfer_memory().
* remote-nindy.c (#include "dcache.h"): Removed.
(nindy_dcache): Removed.
(nindy_open): Removed code that created local dcache.
(nindy_resume): Removed call to dcache_invd().
(nindy_load): Likewise.
(nindy_xfer_inferior_memory): Changed to call ninMemPut() and
ninMemGet() instead of dcache_xfer_memory().
* remote-sds.c (#include "dcache.h"): Removed.
(sds_dcache): Removed.
(sds_open): Removed code that created local dcache.
(sds_resume): Removed call to dcache_invd().
(sds_xfer_memory): Changed to call sds_write_bytes() and
sds_read_bytes() instead of dcache_xfer_memory().
* remote-utils.c (gr_open): Removed code that created local dcache.
* remote-utils.h (#include "dcache.h"): Removed.
(struct gr_settings): Removed dcache, readfunc, and writefunc fields.
(gr_get_dcache, gr_set_dcache): Removed macro definitions.
* remote.c (#include "dcache.h"): Removed.
(remote_dcache): Removed.
(remote_open_1): Removed code that created local dcache.
(remote_async_open_1): Likewise.
(remote_resume): Removed call to dcache_invd().
(remote_async_resume): Likewise.
(remote_xfer_memory): Changed to call remote_write_bytes() and
remote_read_bytes() instead of dcache_xfer_memory().
* wince.c (#include "dcache.h"): Removed.
(remote_dcache): Removed.
(child_create_inferior): Removed code that created local dcache.
(child_xfer_memory): Changed to call remote_write_bytes() and
remote_read_bytes() instead of dcache_xfer_memory().
(child_resume): Removed call to dcache_invd().

* target.c (target_dcache): Added.
(target_load): Invalidate target_dcache.
(do_xfer_memory): New function.
(target_xfer_memory): Reimplement in terms of dcache_xfer_memory().
(target_xfer_memory_partial): Likewise.
(initialize_targets): Create target_dcache.
* target.h (#include "dcache.h"): Added.
(target_open): Invalidate target_dcache.
(target_resume): Likewise.
(do_xfer_memory): New declaration.

* dcache.c (dcache_init): Removed reading and writing arguments.
(dcache_struct): Removed read_memory and write_memory fields.
(dcache_write_line): Call do_xfer_memory.
(dcache_read_line): Likewise.
(dcache_xfer_memory): Likewise.
(dcache_invalidate): Renamed from dcache_invd.
(dcache_init): Updated.
(dcache_xfer_memory): Updated.
* dcache.h (memxferfunc): Removed definition.

24 years ago * hashtab.c: Change void * to PTR where necessary.
Hans-Peter Nilsson [Fri, 3 Nov 2000 20:55:25 +0000 (20:55 +0000)]
* hashtab.c: Change void * to PTR where necessary.
(htab_create, htab_expand): Correct formatting of comment before
function.

24 years ago * hashtab.h: Change void * to PTR where necessary.
Hans-Peter Nilsson [Fri, 3 Nov 2000 20:53:04 +0000 (20:53 +0000)]
* hashtab.h: Change void * to PTR where necessary.

24 years agoUse ${CONSTRUCTING...} to enclose constructors and destructors.
Nick Clifton [Fri, 3 Nov 2000 19:49:05 +0000 (19:49 +0000)]
Use ${CONSTRUCTING...} to enclose constructors and destructors.

24 years ago * objfiles.c (objfile_relocate): Relocate ei.entry_point with
Peter Schauer [Fri, 3 Nov 2000 19:00:06 +0000 (19:00 +0000)]
* objfiles.c (objfile_relocate):  Relocate ei.entry_point with
its section offset, use SECT_OFF_TEXT only as a fallback.

24 years agoFix readelf -S and readelf -s tests for MIPS and v850
Nick Clifton [Fri, 3 Nov 2000 01:59:12 +0000 (01:59 +0000)]
Fix readelf -S and readelf -s tests for MIPS and v850

24 years agoAdd --srec-len and --srec-forceS3 switches to objcopy
Nick Clifton [Fri, 3 Nov 2000 01:47:13 +0000 (01:47 +0000)]
Add --srec-len and --srec-forceS3 switches to objcopy

24 years agoAdd support for -storm-chaos
Nick Clifton [Thu, 2 Nov 2000 23:07:28 +0000 (23:07 +0000)]
Add support for -storm-chaos

24 years agoAdd support for *-storm-chaos target
Nick Clifton [Thu, 2 Nov 2000 23:03:24 +0000 (23:03 +0000)]
Add support for *-storm-chaos target

24 years agoPreserve copy of case clobber opcodes so that .req pseudo op works
Nick Clifton [Thu, 2 Nov 2000 19:32:47 +0000 (19:32 +0000)]
Preserve copy of case clobber opcodes so that .req pseudo op works

24 years agoSWitch over to using dwarf2_generate_asm_lineno
Nick Clifton [Thu, 2 Nov 2000 19:17:04 +0000 (19:17 +0000)]
SWitch over to using dwarf2_generate_asm_lineno

24 years ago2000-11-02 Theo Honohan <th@futuretv.com>
Phil Blundell [Thu, 2 Nov 2000 15:10:57 +0000 (15:10 +0000)]
2000-11-02  Theo Honohan  <th@futuretv.com>

* config/tc-arm.c (do_msr): Improve error message.

24 years agoProtoization.
Kevin Buettner [Thu, 2 Nov 2000 03:18:49 +0000 (03:18 +0000)]
Protoization.

24 years ago2000-11-01 Dave Brolley <brolley@cygnus.com>
Dave Brolley [Wed, 1 Nov 2000 15:40:35 +0000 (15:40 +0000)]
2000-11-01  Dave Brolley  <brolley@cygnus.com>

* lib/sim-defs.exp (run_sm_test): Correct comment. "output" and
"xerror" options do not use a list of machines. Clear options from
previous test case. Use "$cpu_option"  to identify the machine to the
assembler, if specified.

24 years ago2000-10-31 Philip Blundell <philb@gnu.org>
Phil Blundell [Wed, 1 Nov 2000 07:20:04 +0000 (07:20 +0000)]
2000-10-31  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
EF_SOFT_FLOAT if it is defined.

24 years ago2000-10-31 Eric Christopher <echristo@cygnus.com>
Eric Christopher [Wed, 1 Nov 2000 00:54:00 +0000 (00:54 +0000)]
2000-10-31  Eric Christopher  <echristo@cygnus.com>

* config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
or pc-relative, else use fx_offset.

24 years agoAdd Eric Christopher as maintainer for MN10300
Nick Clifton [Wed, 1 Nov 2000 00:37:12 +0000 (00:37 +0000)]
Add Eric Christopher as maintainer for MN10300

24 years agoAdd tag support. Error for dangling qualifying predicates.
Jim Wilson [Wed, 1 Nov 2000 00:00:34 +0000 (00:00 +0000)]
Add tag support.  Error for dangling qualifying predicates.
* config/tc-ia64.c (struct md): New field tag_fixups.
(ia64_flush_insns): Handle tag_fixups.  Error if dangling
qualifying predicate.
(emit_one_bundle): Delete spurious multiplication by one.  Handle
tag_fixups.
(ia64_start_line): Error if dangling qualifying predicate.
(defining_tag): New static variable.
(ia64_unrecognized_line, case '['): Parse tags.
(ia64_frob_label): Create tag_fixups.
(md_assemble): Reset md.qp.X_op after using it.

24 years agoAdd Jim Wilson as Maintainer for IA64 code.
Nick Clifton [Tue, 31 Oct 2000 20:37:25 +0000 (20:37 +0000)]
Add Jim Wilson as Maintainer for IA64 code.

24 years ago2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 31 Oct 2000 19:35:04 +0000 (19:35 +0000)]
2000-10-30  Michael Snyder  <msnyder@cleaver.cygnus.com>

* config/sh/tm-linux.h: New file.  Include generic tm-linux.h,
plus tm-sh.h, then define SVR4_FETCH_LINK_MAP_OFFSETS to use
the sh target function instead of the default link map offsets.
* config/sh/sh.mt: Add solib.o and solib-svr4.o to TDEPFILES.
Use sh/tm-linux.h instead of sh/tm-sh.h.
* sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets):
New function.  Construct target-specific link map offsets.
* i386-linux-tdep.c (i386_linux_svr4_fetch_link_map_offsets:
New function.  Construct target-specific link map offsets.
* config/i386/tm-linux.h: Use above function instead of default.

2000-10-30  Michael Snyder  <msnyder@cleaver.cygnus.com>

* config/i386/tm-linux.h: Remove definition of SVR4_SHARED_LIBS,
and inclusion of solib.h.  Move up into ../tm-linux.h.
config/tm-linux.h: Define SVR4_SHARED_LIBS, include solib.h.

24 years agoKaz Kojima's BFD_RELOC_SH_PCDISP12BY2 fix.
Alan Modra [Tue, 31 Oct 2000 12:33:13 +0000 (12:33 +0000)]
Kaz Kojima's BFD_RELOC_SH_PCDISP12BY2 fix.

24 years agoBetter bundle template selection
Bernd Schmidt [Tue, 31 Oct 2000 10:30:11 +0000 (10:30 +0000)]
Better bundle template selection

24 years agoProtoization.
Kevin Buettner [Tue, 31 Oct 2000 05:49:55 +0000 (05:49 +0000)]
Protoization.

24 years agosolib.c relocation improvements
Kevin Buettner [Mon, 30 Oct 2000 23:31:17 +0000 (23:31 +0000)]
solib.c relocation improvements

24 years ago[left out in the previous check-in]
Michael Snyder [Mon, 30 Oct 2000 22:35:46 +0000 (22:35 +0000)]
[left out in the previous check-in]

2000-10-30  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * config/m68k/linux.mh: Remove solib.c, solib-svr4.c from NATDEPFILES.
        * config/powerpc/linux.mh: ditto.
        * config/ia64/linux.mh: ditto.
        * config/i386/linux.mh: ditto.
        * config/alpha/alpha-linux.mh: ditto.
        * config/arm/linux.mh: ditto.
        * config/m68k/linux.mt: Add solib.c, solib-svr4.c to TDEPFILES.
        * config/powerpc/linux.mt: ditto.
        * config/ia64/linux.mt: ditto.
        * config/i386/linux.mt: ditto.
        * config/alpha/alpha-linux.mt: ditto.
        * config/arm/linux.mt: ditto.

24 years ago2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Mon, 30 Oct 2000 22:33:32 +0000 (22:33 +0000)]
2000-10-30  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * config/m68k/linux.mh: Remove solib.c, solib-svr4.c from NATDEPFILES.
        * config/powerpc/linux.mh: ditto.
        * config/ia64/linux.mh: ditto.
        * config/i386/linux.mh: ditto.
        * config/alpha/alpha-linux.mh: ditto.
        * config/arm/linux.mh: ditto.
        * config/m68k/linux.mt: Add solib.c, solib-svr4.c to TDEPFILES.
        * config/powerpc/linux.mt: ditto.
        * config/ia64/linux.mt: ditto.
        * config/i386/linux.mt: ditto.
        * config/alpha/alpha-linux.mt: ditto.
        * config/arm/linux.mt: ditto.

24 years ago2000-10-30 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 30 Oct 2000 21:59:01 +0000 (21:59 +0000)]
2000-10-30  Kazu Hirata  <kazu@hxi.com>

* expr.c: Fix formatting.
* flonum-copy.c: Likewise.
* flonum.h: Likewise.
* gasp.c: Likewise.
* hash.c: Likewise.

24 years ago* gdbarch.sh, hp-psymtab-read.c, hpread.c, m3-nat.c, mcore-tdep.c,
J.T. Conklin [Mon, 30 Oct 2000 21:50:58 +0000 (21:50 +0000)]
* gdbarch.sh, hp-psymtab-read.c, hpread.c, m3-nat.c, mcore-tdep.c,
mips-tdep.c, monitor.c, regcache.c, remote-es.c, ser-unix.c,
somread.c, tracepoint.c: Fix spelling errors in comments.
* gdbarch.c: Regenerate.

* gnu-nat.c (S_exception_raise_request): Fix typos and spelling
errors in strings.
* m3-nat.c (intercept_exec_calls, mach_thread_parse_id): Likewise.
* mcore-tdep.c (mcore_analyze_prologue): Likewise.
* mips-tdep.c (mips16_next_pc, _initialize_mips_tdep): Likewise.
* remote-e7000.c (e7000_start_remote): Likewise.
* remote-rdp.c (handle_swi): Likewise.
* remote-vx.c (vx_load_command): Likewise.
* sh-tdep.c (sh_do_pseudo_register): Likewise.
* sol-thread.c (td_err_string): Likewise.
* symtab.c (decode_line_2): Likewise.
-------------------------------------------------------------------

24 years ago2000-10-19 Josef Ezra <jezra@emc.com>
Michael Snyder [Mon, 30 Oct 2000 21:15:56 +0000 (21:15 +0000)]
2000-10-19  Josef Ezra <jezra@emc.com>

      * ax-gdb.c (gen_struct_ref): while generating data code, cases of
      "collect p1->p2->data" where not covered if p2 is a 'typedefed'
      type. this simple fix should forward the type pointer to the real
      type.

24 years agoAdd noconfigure dirs for m68[hc]{11|12} targets.
Nick Clifton [Mon, 30 Oct 2000 21:12:29 +0000 (21:12 +0000)]
Add noconfigure dirs for m68[hc]{11|12} targets.

24 years ago * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
Hans-Peter Nilsson [Mon, 30 Oct 2000 20:26:42 +0000 (20:26 +0000)]
* config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
for weak symbols.

24 years ago * as.h (OPTION_MD_BASE): Bump to 190.
Hans-Peter Nilsson [Mon, 30 Oct 2000 20:15:02 +0000 (20:15 +0000)]
* as.h (OPTION_MD_BASE): Bump to 190.
* as.c (parse_args) <std_longopts>: Add comment about the need to
check OPTION_MD_BASE in as.h.

24 years ago * eval.c (parse_and_eval_long): New function.
David Taylor [Mon, 30 Oct 2000 15:32:51 +0000 (15:32 +0000)]
* eval.c (parse_and_eval_long): New function.
* value.h: Declare it.

* breakpoint.c (breakpoints_info, maintenance_info_breakpoints):
Call parse_and_eval_long, not parse_and_eval_address.
* command.c (do_setshow_command): Ditto.
* infcmd.c (step_1, signal_command, continue_command): Ditto.
* infrun.c (signals_info): Ditto.
* stack.c (set_backtrace_limit_command, backtrace_command_1,
up_silently_base, down_silently_base): Ditto.
* tracepoints.c (tracepoints_info, trace_find_command,
  trace_find_tracepoint_command): Ditto.
* valprint.c (set_radix): Ditto.
* values.c (show_values): Ditto.

24 years ago * ld-selective/selective.exp <no CXX>: Fix typo for argument to
Hans-Peter Nilsson [Sun, 29 Oct 2000 17:21:03 +0000 (17:21 +0000)]
* ld-selective/selective.exp <no CXX>: Fix typo for argument to
"untested".

24 years agoProtoization.
Kevin Buettner [Sat, 28 Oct 2000 22:15:09 +0000 (22:15 +0000)]
Protoization.

24 years ago2000-10-27 Philip Blundell <philb@gnu.org>
Phil Blundell [Fri, 27 Oct 2000 22:24:52 +0000 (22:24 +0000)]
2000-10-27  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
attempts to mix PIC code with non-PIC, just mark the output as
being position dependent.
(elf32_arm_merge_private_bfd_data): Likewise.  Print an error
message for EF_SOFT_FLOAT mismatches.  Display diagnostics for
all mismatches, not just the first one.

24 years ago* arch-utils.c (set_architecture, set_architecture_from_arch_mach,
J.T. Conklin [Fri, 27 Oct 2000 19:17:57 +0000 (19:17 +0000)]
* arch-utils.c (set_architecture, set_architecture_from_arch_mach,
set_gdbarch_from_file): Fix spelling error.
* v850-tdep.c (v850_target_architecture_hook): Likewise.
* gdbarch.sh: Fix spelling errors in comment.
* gdbarch.c, gdbarch.h: Regenerate.

* ppcnbsd-nat.c (fetch_core_registers, fetch_inferior_registers,
store_inferior_registers): Support older NetBSD/powerpc systems
from before fp reg support was added.  Adapt to register number
changes caused when powerpc target was multi-arched.

24 years agoAdd m68hc12 to list of supported configurations
Nick Clifton [Fri, 27 Oct 2000 18:57:33 +0000 (18:57 +0000)]
Add m68hc12 to list of supported configurations

24 years agoCorrected spelling errors in comments.
David Anderson [Fri, 27 Oct 2000 15:02:42 +0000 (15:02 +0000)]
Corrected spelling errors in comments.
gdbarch.{c,sh} removed a word from a comment.

24 years agohandle lower cased cpsr and spsr
Aldy Hernandez [Fri, 27 Oct 2000 13:55:49 +0000 (13:55 +0000)]
handle lower cased cpsr and spsr

24 years agoProtoization.
Kevin Buettner [Fri, 27 Oct 2000 01:25:10 +0000 (01:25 +0000)]
Protoization.

24 years ago2000-10-26 Ben Elliston <bje@redhat.com>
Elena Zannoni [Thu, 26 Oct 2000 16:21:34 +0000 (16:21 +0000)]
2000-10-26  Ben Elliston  <bje@redhat.com>

        * cgen.sh: Handle an isa argument between cpu and mach. Default to
        `all'. Pass `-i' options to cgen applications.
        * Make-common.in (cgen-arch, cgen-cpu, cgen-decode, cgen-cpu-decode,
        cgen-desc): Pass $(isa) to cgen.sh.

24 years ago2000-10-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 26 Oct 2000 16:08:20 +0000 (16:08 +0000)]
2000-10-26  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* stabsread.c (define_symbol): Update comment.

2000-10-26 Pierre Muller <muller@ics.u-strasbg.fr>

      * stabsread.c (define_symbol): Set the type_name of the type
of the new symbol to the symbol name for type symbol, if the
language is Pascal.

24 years ago * arch-utils.c, arch-utils.h (default_convert_from_func_ptr_addr):
Peter Schauer [Thu, 26 Oct 2000 07:41:25 +0000 (07:41 +0000)]
* arch-utils.c, arch-utils.h (default_convert_from_func_ptr_addr):
New function.
* gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR):  Add.
* gdbarch.c, gdbarch.h:  Regenerate.
* valops.c (find_function_addr):  Use CONVERT_FROM_FUNC_PTR_ADDR
unconditionally.

* config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR):  Delete
definition.
* config/powerpc/tm-linux.h (CONVERT_FROM_FUNC_PTR_ADDR):  Remove
undef.
* rs6000-tdep.c (rs6000_convert_from_func_ptr_addr):  Fix comment.
(rs6000_gdbarch_init):  Register rs6000_convert_from_func_ptr_addr
if not ELFOSABI_LINUX.

24 years ago * binutils-all/readelf.exp (-wi test): Add cris-*-* to xfails.
Hans-Peter Nilsson [Wed, 25 Oct 2000 23:23:39 +0000 (23:23 +0000)]
* binutils-all/readelf.exp (-wi test): Add cris-*-* to xfails.

24 years agoPlug one of many possible memory leaks in error handling.
Nick Clifton [Wed, 25 Oct 2000 21:53:44 +0000 (21:53 +0000)]
Plug one of many possible memory leaks in error handling.

24 years agoRevert change of 2000-10-24 in which solib-svr4.o was added to TDEPFILES.
Kevin Buettner [Wed, 25 Oct 2000 20:48:59 +0000 (20:48 +0000)]
Revert change of 2000-10-24 in which solib-svr4.o was added to TDEPFILES.

24 years ago Approved by Andrew Cagney <ac131313@cygnus.com>
Fred Fish [Wed, 25 Oct 2000 20:06:30 +0000 (20:06 +0000)]
Approved by Andrew Cagney <ac131313@cygnus.com>
* mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Define using either
the current arch or use zero.

24 years agoAdd --gdwarf2 support to ARM toolchain
Nick Clifton [Wed, 25 Oct 2000 19:15:34 +0000 (19:15 +0000)]
Add --gdwarf2 support to ARM toolchain

24 years ago * MAINTAINERS: Added self and Andrew for the ppc sim.
Geoffrey Keating [Wed, 25 Oct 2000 18:18:41 +0000 (18:18 +0000)]
* MAINTAINERS: Added self and Andrew for the ppc sim.

24 years ago2000-10-25 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Wed, 25 Oct 2000 14:19:38 +0000 (14:19 +0000)]
2000-10-25  Fernando Nasser  <fnasser@cygnus.com>

        * ser-unix.c (do_unix_readchar): Coding style improvement only.

24 years ago2000-10-25 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Wed, 25 Oct 2000 14:16:25 +0000 (14:16 +0000)]
2000-10-25  Fernando Nasser  <fnasser@cygnus.com>

        * target.c (generic_mourn_inferior): Notify GUI that inferior is gone
        by calling detach_hook, if defined.

24 years ago2000-10-25 Diego Novillo <dnovillo@cygnus.com>
Diego Novillo [Wed, 25 Oct 2000 11:42:51 +0000 (11:42 +0000)]
2000-10-25  Diego Novillo  <dnovillo@cygnus.com>

* tc-i386.c: Fix prototype declarations for functions taking no
arguments.

24 years ago2000-10-24 Diego Novillo <dnovillo@cygnus.com>
Diego Novillo [Wed, 25 Oct 2000 01:39:11 +0000 (01:39 +0000)]
2000-10-24  Diego Novillo  <dnovillo@cygnus.com>

* tc-i386.c (i386_operand_modifier): Remove.
(build_displacement_string): Remove.
(i386_parse_seg): Remove.
(i386_intel_memory_operand): Remove.
(i386_intel_operand): Re-write using recursive descent parser based
on MASM documentation.
(struct intel_parser_s): New structure.
(intel_parser): New static variable.
(struct intel_token): New structure.
(cur_token, prev_token): New static variables.
(T_NIL): Define.
(T_CONST): Define.
(T_REG): Define.
(T_BYTE): Define.
(T_WORD): Define.
(T_DWORD): Define.
(T_QWORD): Define.
(T_XWORD): Define.
(T_SHORT): Define.
(T_OFFSET): Define.
(T_PTR): Define.
(T_ID): Define.
(intel_match_token): New function.
(intel_get_token): New function.
(intel_putback_token): New function.
(intel_expr): New function.
(intel_e05): New function.
(intel_e05_1): New function.
(intel_e06): New function.
(intel_e06_1): New function.
(intel_e09): New function.
(intel_e09_1): New function.
(intel_e10): New function.
(intel_e10_1): New function.
(intel_e11): New function.

2000-10-24  Diego Novillo  <dnovillo@cygnus.com>

* intel.s, intel.d: Add new tests for intel syntax.

24 years agoCall end_symtab() with SECT_OFF_TEXT (objfile).
Kevin Buettner [Tue, 24 Oct 2000 21:13:08 +0000 (21:13 +0000)]
Call end_symtab() with SECT_OFF_TEXT (objfile).

24 years agoRemoved extraneous blank line from one of my entries.
Kevin Buettner [Tue, 24 Oct 2000 20:35:04 +0000 (20:35 +0000)]
Removed extraneous blank line from one of my entries.

24 years agoRestructure my 2000-10-24 solib reorg entry.
Kevin Buettner [Tue, 24 Oct 2000 20:32:38 +0000 (20:32 +0000)]
Restructure my 2000-10-24 solib reorg entry.

24 years agoReorganize solib.c.
Kevin Buettner [Tue, 24 Oct 2000 20:05:36 +0000 (20:05 +0000)]
Reorganize solib.c.

24 years ago2000-10-24 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 24 Oct 2000 18:36:32 +0000 (18:36 +0000)]
2000-10-24  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * gdb.base/commands.exp: Break up long lines, and re-indent.

24 years agoProtoization.
Kevin Buettner [Tue, 24 Oct 2000 17:45:35 +0000 (17:45 +0000)]
Protoization.

24 years ago * ppc-instructions (lfsux): Correct XO field of lfsux instruction.
Geoffrey Keating [Tue, 24 Oct 2000 16:16:43 +0000 (16:16 +0000)]
* ppc-instructions (lfsux): Correct XO field of lfsux instruction.

24 years ago* solib.c (open_symbol_file_object): Update function signature to
Andrew Cagney [Tue, 24 Oct 2000 14:42:21 +0000 (14:42 +0000)]
* solib.c (open_symbol_file_object): Update function signature to
match catch_errors function argument.

24 years agoFrom 2000-09-06 Angela Marie Thomas <angela@cygnus.com>:
Andrew Cagney [Tue, 24 Oct 2000 13:10:18 +0000 (13:10 +0000)]
From 2000-09-06 Angela Marie Thomas <angela@cygnus.com>:
* infttrace.c (get_dictionary_entry_of_page): Function
require_memory_page_dictionary takes no args.

24 years agoDelete gdba.el. More recent gud.el part of standard EMACS distro.
Andrew Cagney [Tue, 24 Oct 2000 05:22:11 +0000 (05:22 +0000)]
Delete gdba.el.  More recent gud.el part of standard EMACS distro.

24 years agoCleanup merge botch.
Andrew Cagney [Tue, 24 Oct 2000 04:11:02 +0000 (04:11 +0000)]
Cleanup merge botch.

24 years agoAdd mail submission addresses for autoconf and config.{guess,sub}.
Ben Elliston [Tue, 24 Oct 2000 01:08:11 +0000 (01:08 +0000)]
Add mail submission addresses for autoconf and config.{guess,sub}.