binutils-gdb.git
27 years ago * scripttempl/pe.sc: Add zeroes after .idata$3 to mark the end of
Ian Lance Taylor [Sat, 7 Jun 1997 03:48:00 +0000 (03:48 +0000)]
* scripttempl/pe.sc: Add zeroes after .idata$3 to mark the end of
the import list.

27 years ago Modified Files:
Keith Seitz [Fri, 6 Jun 1997 21:47:12 +0000 (21:47 +0000)]
 Modified Files:
ChangeLog sh-tdep.c config/sh/tm-sh.h
        * config/sh/tm-sh.h: add define for FPSCR_REGNUM
        * sh-tdep.c (sh_show_regs): print out all registers for
        the current processor

27 years ago * ld-elfvers/vers6.ver: Update for recent elflink.h patch to
Ian Lance Taylor [Fri, 6 Jun 1997 21:36:11 +0000 (21:36 +0000)]
* ld-elfvers/vers6.ver: Update for recent elflink.h patch to
version handling.

27 years ago(elf_link_find_version_dependencies): When searching
Ulrich Drepper [Fri, 6 Jun 1997 21:19:41 +0000 (21:19 +0000)]
(elf_link_find_version_dependencies): When searching
for known version symbol skip non-matching verdef records, not
matching records.

27 years ago * config/tc-sh.h (md_cons_align): Define.
Ian Lance Taylor [Fri, 6 Jun 1997 21:17:46 +0000 (21:17 +0000)]
* config/tc-sh.h (md_cons_align): Define.
(sh_cons_align): Declare.
* config/tc-sh.c (md_pseudo_table): Add .uaword and .ualong.
(sh_no_align_cons): New static variable.
(s_uacons): New static function.
(sh_cons_align): New function.
(sh_handle_align): Warn about misaligned data.
* doc/c-sh.texi: Document .uaword and .ualong.
PR 12528.

27 years agosim_kill() isn't used.
Andrew Cagney [Fri, 6 Jun 1997 03:02:51 +0000 (03:02 +0000)]
sim_kill() isn't used.

27 years agoOpen in binary mode when available.
Andrew Cagney [Fri, 6 Jun 1997 02:34:55 +0000 (02:34 +0000)]
Open in binary mode when available.

27 years agoClean up formatting of instruction traces.
Andrew Cagney [Fri, 6 Jun 1997 00:31:08 +0000 (00:31 +0000)]
Clean up formatting of instruction traces.

27 years agoVerify magic number of simulator struct.
Andrew Cagney [Thu, 5 Jun 1997 04:51:34 +0000 (04:51 +0000)]
Verify magic number of simulator struct.

27 years agoInitialize the sim-engine module.
Andrew Cagney [Wed, 4 Jun 1997 02:47:49 +0000 (02:47 +0000)]
Initialize the sim-engine module.

27 years ago Removed global variable "exec_output". remote_load now returns
Bob Manson [Wed, 4 Jun 1997 00:25:16 +0000 (00:25 +0000)]
Removed global variable "exec_output". remote_load now returns
the output as part of its result.

27 years agoAdded the Thumb relocations from the armT-970328-branch.
Nick Clifton [Wed, 4 Jun 1997 00:11:36 +0000 (00:11 +0000)]
Added the Thumb relocations from the armT-970328-branch.

27 years agoMerged in changes made in armT-970328-branch
Nick Clifton [Wed, 4 Jun 1997 00:07:07 +0000 (00:07 +0000)]
Merged in changes made in armT-970328-branch

27 years ago * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
Bob Manson [Wed, 4 Jun 1997 00:04:43 +0000 (00:04 +0000)]
* config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
  here. Call gdb_target_exec before rebooting the target, to make
  sure the connection to the target is closed.
(gdb_load): Pass the name of the executable to gdb_target_monitor.
Don't call gdb_file_cmd here; let gdb_target_monitor do it.

* config/gdbserver.exp: Pass the executable being loaded to
  gdb_target_monitor. Don't call gdb_file_cmd here; let
  gdb_target_monitor do it.

* gdb.disasm/hppa.exp: Don't use exec_output.

27 years ago * configure.tgt: add mipsr3900-elf target
Michael Snyder [Tue, 3 Jun 1997 23:28:54 +0000 (23:28 +0000)]
* configure.tgt: add mipsr3900-elf target
* config/mips/r3900*.mt config/mips/tm-r3900*.h: ditto

27 years agoMerged in the changes from the armT-970328-branch.
Nick Clifton [Tue, 3 Jun 1997 23:25:43 +0000 (23:25 +0000)]
Merged in the changes from the armT-970328-branch.

27 years agoAdded support for Thumb architecture from armT-970328-branch.
Nick Clifton [Tue, 3 Jun 1997 23:15:49 +0000 (23:15 +0000)]
Added support for Thumb architecture from armT-970328-branch.

27 years agoo Fixes to repeated watchpoints
Andrew Cagney [Tue, 3 Jun 1997 23:03:50 +0000 (23:03 +0000)]
o Fixes to repeated watchpoints
o Add mips ISA instructions needed to handle interrupts

27 years ago * Makefile.in (LIB_RUNTIME_DIR): New variable.
Tom Tromey [Tue, 3 Jun 1997 22:34:23 +0000 (22:34 +0000)]
* Makefile.in (LIB_RUNTIME_DIR): New variable.

27 years ago Added proelf.
Bob Manson [Tue, 3 Jun 1997 22:05:24 +0000 (22:05 +0000)]
Added proelf.

27 years agoadd c-arm.texi
Ian Lance Taylor [Tue, 3 Jun 1997 15:35:47 +0000 (15:35 +0000)]
add c-arm.texi

27 years agoAdded an enable of the ARM documentation.
Nick Clifton [Mon, 2 Jun 1997 23:43:17 +0000 (23:43 +0000)]
Added an enable of the ARM documentation.

27 years agoAdded ARM documentation from armT-970328-branch
Nick Clifton [Mon, 2 Jun 1997 23:28:16 +0000 (23:28 +0000)]
Added ARM documentation from armT-970328-branch

27 years agoEnd the tests with no-ops.
Gavin Romig-Koch [Mon, 2 Jun 1997 16:04:54 +0000 (16:04 +0000)]
End the tests with no-ops.

27 years agoAdd r3900 support.
Gavin Romig-Koch [Mon, 2 Jun 1997 15:56:00 +0000 (15:56 +0000)]
Add r3900 support.

27 years agoImprove messages from regexp_diff
Gavin Romig-Koch [Mon, 2 Jun 1997 15:49:26 +0000 (15:49 +0000)]
Improve messages from regexp_diff

27 years agoo Fix padd insn
Andrew Cagney [Mon, 2 Jun 1997 15:00:43 +0000 (15:00 +0000)]
o Fix padd insn
o Take an interrupt when an int event occures.

27 years ago * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Set dynindx
Ian Lance Taylor [Sat, 31 May 1997 01:57:27 +0000 (01:57 +0000)]
* elf32-sparc.c (elf32_sparc_size_dynamic_sections): Set dynindx
for a section even if it is not loaded.
Otherwise compiling this
static char bar; char *foo() { return &bar; }
without -fpic and then doing ld -shared OBJECT dumps core.

27 years ago * cofflink.c (coff_link_add_symbols): If PE file, don't subtract
Ian Lance Taylor [Fri, 30 May 1997 16:47:49 +0000 (16:47 +0000)]
* cofflink.c (coff_link_add_symbols): If PE file, don't subtract
section VMA.
(_bfd_coff_link_input_bfd): Separate section VMA handling for
input and output files.
(_bfd_coff_generic_relocate_section): Check whether input file,
not output file, is a PE file.

27 years agoAdd assembler information to igen input files.
Andrew Cagney [Fri, 30 May 1997 07:25:13 +0000 (07:25 +0000)]
Add assembler information to igen input files.

27 years agoThu May 29 12:58:26 1997 Ben Pfaff <pfaffben@pilot.msu.edu>
Ian Lance Taylor [Thu, 29 May 1997 16:59:46 +0000 (16:59 +0000)]
Thu May 29 12:58:26 1997  Ben Pfaff  <pfaffben@pilot.msu.edu>

* as.c: (parse_args) `-t' option requires an argument.

27 years agoFix subu immed - was incorrectly using unsigned.
Andrew Cagney [Thu, 29 May 1997 07:25:20 +0000 (07:25 +0000)]
Fix subu immed - was incorrectly using unsigned.

27 years agoAdd a simple dissasembler to igen
Andrew Cagney [Thu, 29 May 1997 07:06:41 +0000 (07:06 +0000)]
Add a simple dissasembler to igen

27 years ago * Makefile.in: Rebuild dependencies.
Ian Lance Taylor [Wed, 28 May 1997 21:58:27 +0000 (21:58 +0000)]
* Makefile.in: Rebuild dependencies.

27 years ago * config/tc-i386.c (tc_gen_reloc): Don't try to convert the type
Ian Lance Taylor [Wed, 28 May 1997 20:17:55 +0000 (20:17 +0000)]
* config/tc-i386.c (tc_gen_reloc): Don't try to convert the type
  of a BFD_RELOC_RVA reloc.

27 years ago * coff-i386.c (coff_i386_reloc): Don't just exit if we see an
Ian Lance Taylor [Wed, 28 May 1997 20:16:35 +0000 (20:16 +0000)]
* coff-i386.c (coff_i386_reloc): Don't just exit if we see an
R_IMAGEBASE reloc.

27 years agoAdded support for ARM architecture supersets in the compatibility function.
Nick Clifton [Wed, 28 May 1997 16:49:25 +0000 (16:49 +0000)]
Added support for ARM architecture supersets in the compatibility function.

27 years ago * config/tc-hppa.c (tc_fix_adjustable): Reject absolute calls/jumps.
Jeff Law [Wed, 28 May 1997 16:48:32 +0000 (16:48 +0000)]
    * config/tc-hppa.c (tc_fix_adjustable): Reject absolute calls/jumps.
        (hppa_force_relocation): Force a relocation for an absolute
        call/jump.
part of gcc/12343.

27 years ago * cofflink.c (_bfd_coff_final_link): Initialize global_to_static
Bob Manson [Wed, 28 May 1997 02:43:30 +0000 (02:43 +0000)]
* cofflink.c (_bfd_coff_final_link): Initialize global_to_static
  member.

Fixes linker bug on hpux-x-i960-vxworks.

27 years agoMade coff-arm_bfd_set_private_flags global as it is called directly from
Nick Clifton [Tue, 27 May 1997 21:37:16 +0000 (21:37 +0000)]
Made coff-arm_bfd_set_private_flags global as it is called directly from
gas/config/tc-arm.c .

27 years agoTue May 27 15:58:53 1997 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Tue, 27 May 1997 20:01:14 +0000 (20:01 +0000)]
Tue May 27 15:58:53 1997  Richard Henderson  <rth@tamu.edu>

* elf64-alpha.c (PLT_ENTRY_*): Use a new thread-safe format.
(elf64_alpha_finish_dynamic_symbol): Fill it in properly.

27 years agoTue May 27 11:02:08 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 27 May 1997 15:05:40 +0000 (15:05 +0000)]
Tue May 27 11:02:08 1997  Alan Modra  <alan@spri.levels.unisa.edu.au>

* i386-dis.c (dis386[], dis386_twobyte[]): change pushl/popl
to pushS/popS for segment regs and byte constant so that
pushw/popw printed when in 16 bit data mode.

* i386-dis.c (dis386[]): change cwtl, cltd to cWtS, cStd to
print cbtw, cwtd in 16 bit data mode.
* i386-dis.c (putop): extra case W to support above.

* i386-dis.c (print_insn_x86): print addr32 prefix when given
address size prefix in 16 bit address mode.

27 years agoFix watching PC for 64bit (mips) target.
Andrew Cagney [Tue, 27 May 1997 11:25:47 +0000 (11:25 +0000)]
Fix watching PC for 64bit (mips) target.
Stop watchpoints corrupting the event queue.

27 years agoExtend xor-endian and per-cpu support in core module.
Andrew Cagney [Tue, 27 May 1997 06:48:20 +0000 (06:48 +0000)]
Extend xor-endian and per-cpu support in core module.
Allow negated test when watching value within core.

27 years ago * coff-ppc.c (coff_ppc_relocate_section): If PE file, don't add
Ian Lance Taylor [Mon, 26 May 1997 18:09:21 +0000 (18:09 +0000)]
* coff-ppc.c (coff_ppc_relocate_section): If PE file, don't add
section VMA.

27 years ago * peicode.h (coff_bfd_print_private_bfd_data): #undef before #define.
Fred Fish [Mon, 26 May 1997 18:00:54 +0000 (18:00 +0000)]
* peicode.h (coff_bfd_print_private_bfd_data): #undef before #define.
(coff_bfd_copy_private_bfd_data): Ditto.
* coff-arm.c (coff_arm_bfd_merge_private_bfd_data): Make static.
(coff_arm_bfd_print_private_bfd_data): Ditto.
(coff_arm_bfd_set_private_flags): Ditto.
(coff_arm_bfd_copy_private_bfd_data): Ditto.

27 years ago * doc/as.texinfo: Don't use @value in section names or index
Ian Lance Taylor [Mon, 26 May 1997 17:25:22 +0000 (17:25 +0000)]
* doc/as.texinfo: Don't use @value in section names or index
entries; it confuses texinfo.tex.

27 years ago * libcoff-in.h (struct coff_final_link_info): Add boolean
Fred Fish [Sat, 24 May 1997 15:30:55 +0000 (15:30 +0000)]
* libcoff-in.h (struct coff_final_link_info): Add boolean
global_to_static member for support of task linking.
(_bfd_coff_write_task_globals): Add prototype.
* libcoff.h: Regenerate.
* coffcode.h (coff_write_object_contents): Use #ifdef to
check RS6000COFF_C, to be consistent with all other uses
in this file.
* cofflink.c (_bfd_coff_final_link): If doing task linking,
call _bfd_coff_write_task_globals.
(_bfd_coff_link_input_bfd): If doing task linking, convert
global functions to static.
(_bfd_coff_write_global_sym): If doing task linking, convert
global variables to static.
(_bfd_coff_write_task_globals): New function.
* coff-tic80.c (TIC80COFF): Define this instead of just TIC80.
(C_AUTOARG): #undef since it clashes with C_UEXT.
(C_LASTENT): #undef since it clashes with C_STATLAB.
* coffcode.h (coff_write_object_contents): Use TIC80COFF
rather than TIC80.
(coff_slurp_symbol_table): Use C_SYSTEM.  Hide C_AUTOARG use
when TIC80COFF defined (clashes with C_UEXT).  Explicitly
recognize C_UEXT, C_STATLAB, and C_EXTLAB as unsupported.
PR 12236

27 years ago * internal.h (C_UEXT, C_STATLAB, C_EXTLAB, C_SYSTEM):
Fred Fish [Sat, 24 May 1997 15:28:55 +0000 (15:28 +0000)]
  * internal.h (C_UEXT, C_STATLAB, C_EXTLAB, C_SYSTEM):
      New storage classes for TIc80.
PR 12236

27 years ago * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
Bob Manson [Fri, 23 May 1997 22:30:29 +0000 (22:30 +0000)]
* gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
  test_calls after restarting.

* lib/gdb.exp(gdb_run_cmd): Send jump command again after
  reloading.

* gdb.base/watchpoint.exp: Fix typo.

* gdb.base/setshow.exp: Check for use_gdb_stub.

* gdb.base/break.exp: Fix continue until exit test for the gdb
  stub case.
* gdb.base/langs.exp: Ditto.

* config/monitor.exp(gdb_load): Handle gdb_sect_offset and
  gdb_load_offset. If we weren't given a file to load, figure out
  what the current file is and use it.

27 years ago * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
Bob Manson [Fri, 23 May 1997 21:49:12 +0000 (21:49 +0000)]
* config/monitor.exp(gdb_load): Handle gdb_sect_offset and
  gdb_load_offset.

27 years ago * infcmd.c (jump_command): Don't try to dereference sfn if it's
Bob Manson [Fri, 23 May 1997 21:46:34 +0000 (21:46 +0000)]
* infcmd.c (jump_command): Don't try to dereference sfn if it's
  NULL.

27 years ago * sh-dis.c: Reindent. Rename local variable fprintf to
Ian Lance Taylor [Fri, 23 May 1997 20:52:06 +0000 (20:52 +0000)]
* sh-dis.c: Reindent.  Rename local variable fprintf to
fprintf_fn.

27 years ago * config/i386-bozo.exp: New file.
Bob Manson [Fri, 23 May 1997 20:28:54 +0000 (20:28 +0000)]
* config/i386-bozo.exp: New file.

27 years agoadd depend.c
Ian Lance Taylor [Fri, 23 May 1997 20:15:59 +0000 (20:15 +0000)]
add depend.c

27 years ago * doc/as.texinfo: Updated for -MD option.
Tom Tromey [Fri, 23 May 1997 19:30:41 +0000 (19:30 +0000)]
    * doc/as.texinfo: Updated for -MD option.
        * Makefile.in (CFILES): Added depend.c.
        (OBJS): Added depend.o.
        * as.h (start_dependencies, register_dependency,
        print_dependencies): New declarations.
        * depend.c: New file.
        * as.c (parse_args): Added -MD option.
        (main): Call print_dependencies.
        (show_usage): Added help for -MD.
        * read.c (s_app_file): Call register_dependency.
        (s_include): Call register_dependency when file is found.
        (read_a_source_file): Call register_dependency.

27 years ago * coff-tic80.c (tic80_howto_table): Change overflow check for most
Ian Lance Taylor [Fri, 23 May 1997 16:39:10 +0000 (16:39 +0000)]
* coff-tic80.c (tic80_howto_table): Change overflow check for most
PP relocations to complain_overflow_dont.

27 years agoDon't restrict the endian commands to BI-ENDIAN gdb.
Andrew Cagney [Fri, 23 May 1997 09:25:01 +0000 (09:25 +0000)]
Don't restrict the endian commands to BI-ENDIAN gdb.

27 years agoPreliminary suport for xor-endian suport in core module.
Andrew Cagney [Fri, 23 May 1997 09:19:43 +0000 (09:19 +0000)]
Preliminary suport for xor-endian suport in core module.

27 years ago Make sure we keep the old value of timeout set properly.
Bob Manson [Fri, 23 May 1997 06:15:46 +0000 (06:15 +0000)]
Make sure we keep the old value of timeout set properly.

27 years ago Don't look at timeout unless it exists.
Bob Manson [Fri, 23 May 1997 06:10:08 +0000 (06:10 +0000)]
Don't look at timeout unless it exists.

27 years ago * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
Bob Manson [Fri, 23 May 1997 06:05:12 +0000 (06:05 +0000)]
* lib/gdb.exp(gdb_expect): Look for gdb,timeout target
feature.

27 years ago * config/proelf.exp: New entry.
Bob Manson [Fri, 23 May 1997 02:06:18 +0000 (02:06 +0000)]
* config/proelf.exp: New entry.

27 years agoIncorrect test for zero-r0 code gen.
Andrew Cagney [Fri, 23 May 1997 02:01:04 +0000 (02:01 +0000)]
Incorrect test for zero-r0 code gen.

27 years agoEnumerate longjmp's return type.
Andrew Cagney [Fri, 23 May 1997 01:29:16 +0000 (01:29 +0000)]
Enumerate longjmp's return type.

27 years ago * coff-tic80.c (tic80_howto_table): Add PP relocations. Change
Ian Lance Taylor [Fri, 23 May 1997 00:26:58 +0000 (00:26 +0000)]
* coff-tic80.c (tic80_howto_table): Add PP relocations.  Change
name of R_RELLONG to "RELLONG".  Set rightshift and complain for
M_PPCR.
(ppbase_reloc, glob15_reloc): New static functions.
(glob16_reloc, local16_reloc): New static functions.
(rtype2howto): Handle all relocation types.
(coff_tic80_relocate_section): New static function.
(coff_relocate_section): Define to coff_tic80_relocate_section.
* Makefile.in (coff-tic80.o): Depends upon include/coff/tic80.h.

27 years agoTweak ChangeLog entry.
David Edelsohn [Thu, 22 May 1997 21:12:22 +0000 (21:12 +0000)]
Tweak ChangeLog entry.

27 years ago * m32r-opc.c (m32r_cgen_insn_table, cmpui): Undo patch of May 2.
David Edelsohn [Thu, 22 May 1997 21:06:57 +0000 (21:06 +0000)]
* m32r-opc.c (m32r_cgen_insn_table, cmpui): Undo patch of May 2.

27 years agoifdef out uses of simSTOP, simSTEP and simBE when DEBUG is defined.
Gavin Romig-Koch [Thu, 22 May 1997 13:30:01 +0000 (13:30 +0000)]
ifdef out uses of simSTOP, simSTEP and simBE when DEBUG is defined.

27 years agoChange longjmp param/setjmp return value used for simulator restart from 0 to 2.
Gavin Romig-Koch [Thu, 22 May 1997 13:16:03 +0000 (13:16 +0000)]
Change longjmp param/setjmp return value used for simulator restart from 0 to 2.

27 years ago * lib/gdb.exp: Remove spurious .* patterns at the beginning
Bob Manson [Thu, 22 May 1997 06:00:28 +0000 (06:00 +0000)]
* lib/gdb.exp: Remove spurious .* patterns at the beginning
of regexps.

27 years ago * gdb.base/watchpoint.exp: Don't run the test_stepping
Bob Manson [Thu, 22 May 1997 05:56:31 +0000 (05:56 +0000)]
* gdb.base/watchpoint.exp: Don't run the test_stepping
tests if gdb can't call functions on the target.

27 years ago add new file.
Bob Manson [Thu, 22 May 1997 05:55:41 +0000 (05:55 +0000)]
add new file.

27 years ago * interp.c (sim_resume): Add missing case in big switch
Jeff Law [Thu, 22 May 1997 05:28:34 +0000 (05:28 +0000)]
    * interp.c (sim_resume): Add missing case in big switch
        statement (for extb instruction).

27 years agoRestrict simulator commands to an enabled simulator.
Andrew Cagney [Thu, 22 May 1997 04:59:25 +0000 (04:59 +0000)]
Restrict simulator commands to an enabled simulator.

27 years ago * gdb.base/setshow.exp: Don't run the set prompt tests if
Bob Manson [Thu, 22 May 1997 04:24:23 +0000 (04:24 +0000)]
* gdb.base/setshow.exp: Don't run the set prompt tests if
the board has gdb_prompt set.

27 years agoWed May 21 16:03:25 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Wed, 21 May 1997 23:33:33 +0000 (23:33 +0000)]
Wed May 21 16:03:25 1997  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * procfs.c (init_procinfo): new function, abstracts some code
        shared by create_procinfo and do_attach;
        (procfs_set_inferior_syscall_traps): new function, abstracts
        some code needed by procfs_init_inferior, do_attach, and
        procfs_lwp_creation_handler; (procfs_first_available): new
        function, find any LWP that's runnable; (procfs_thread_alive):
        replace stub function with real implementation;
        (procfs_lwp_creation_handler): fix bug starting new child
        threads; (info_proc): bug fixes and enhancements for the
        "INFO PROCESSES" command; (close_procinfo_file): call new
        function "delete_thread" to cleanup GDB's thread database;
        (proc_init_failed): add new argument "kill", to control whether
        process is killed (so this function can be shared by
        create_procinfo and do_attach); (procfs_exit_handler): handle
        exit from an attached process, and cleanup procinfo handles
        when the process exits; (procfs_resume, procfs_wait): cleanup
        after a thread when it exits; (do_attach, do_detach): handle
        attached processes with multiple threads; plus some general
        improvements in the diagnostic output.
        * sol-thread.c (sol_thread_alive): replace stub with real
        implementation; (thread_to_lwp, lwp_to_thread): enhance to
        handle threads that may have exited; (sol_thread_attach): add
        startup setup stuff; (sol_thread_detach): add unpush_target
        call; (sol_thread_mourn_inferior): add unpush_target call;
        (sol_thread_wait, sol_thread_resume): enhance to deal with
        thread exit cleanly; (sol_thread_new_objfile,
        sol_thread_pid_to_str): detect unsuccessful startup and
        don't crash; plus some general cleanup.
        * thread.c (delete_thread): new function, allows targets to
        notify gdb when a thread is no longer valid.
        * infrun.c (wait_for_inferior): don't try to detect a new
        thread on receiving a TARGET_EXITED event.

27 years ago * ldmain.c (main): Correct check of fclose return value when
Ian Lance Taylor [Wed, 21 May 1997 21:44:47 +0000 (21:44 +0000)]
* ldmain.c (main): Correct check of fclose return value when
handling --force-exe-suffix.

27 years ago * coffcode.h (coff_slurp_symbol_table): If COFF_WITH_PE or
Ian Lance Taylor [Wed, 21 May 1997 21:42:38 +0000 (21:42 +0000)]
* coffcode.h (coff_slurp_symbol_table): If COFF_WITH_PE or
COFF_IMAGE_WITH_PE, don't subtract the section VMA from the symbol
value.
* coffgen.c (fixup_symbol_value): Add abfd parameter.  Change all
callers.  If PE file, don't add section VMA.
(coff_write_alien_symbol): If PE file, don't add section VMA.
* cofflink.c (_bfd_coff_link_input_bfd): Likewise.
(_bfd_coff_write_global_sym): Likewise.
(_bfd_coff_generic_relocate_section): Likewise.

27 years ago * config/obj-coff.c (symbol_to_chars): If TE_PE, don't add the
Ian Lance Taylor [Wed, 21 May 1997 21:40:14 +0000 (21:40 +0000)]
* config/obj-coff.c (symbol_to_chars): If TE_PE, don't add the
section address to the symbol value.

27 years ago * configure.in: Use install-sh, not install.sh.
Ian Lance Taylor [Wed, 21 May 1997 21:33:55 +0000 (21:33 +0000)]
* configure.in: Use install-sh, not install.sh.

27 years ago * peicode.h: Add & 0xffffffff when using ImageBase in case bfd_vma
Ian Lance Taylor [Wed, 21 May 1997 21:17:17 +0000 (21:17 +0000)]
* peicode.h: Add & 0xffffffff when using ImageBase in case bfd_vma
is 64 bits.

27 years agoAdded code to cope with 'ld -X -r' stripiung symbols that will later be
Nick Clifton [Wed, 21 May 1997 16:59:02 +0000 (16:59 +0000)]
Added code to cope with 'ld -X -r' stripiung symbols that will later be
used in relocations.

27 years agoWatchpoint interface.
Andrew Cagney [Wed, 21 May 1997 06:54:13 +0000 (06:54 +0000)]
Watchpoint interface.

27 years ago * interp.c: Replace all references to load_mem and store_mem
Jeff Law [Tue, 20 May 1997 23:53:47 +0000 (23:53 +0000)]
    * interp.c: Replace all references to load_mem and store_mem
        with references to load_byte, load_half, load_3_byte, load_word
        and store_byte, store_half, store_3_byte, store_word.
        (INLINE): Delete definition.
        (load_mem_big): Likewise.
        (max_mem): Make it global.
        (dispatch): Make this function inline.
        (load_mem, store_mem): Delete functions.
        * mn10300_sim.h (INLINE): Define.
        (RLW): Delete unused definition.
        (load_mem, store_mem): Delete declarations.
        (load_mem_big): New definition.
        (load_byte, load_half, load_3_byte, load_word): New functions.
        (store_byte, store_half, store_3_byte, store_word): New functions.
        * simops.c:  Replace all references to load_mem and store_mem
        with references to load_byte, load_half, load_3_byte, load_word
        and store_byte, store_half, store_3_byte, store_word.

27 years ago * coff-sh.c (sh_merge_private_data): New static function.
Ian Lance Taylor [Tue, 20 May 1997 22:45:49 +0000 (22:45 +0000)]
* coff-sh.c (sh_merge_private_data): New static function.
(coff_bfd_merge_private_bfd_data): Define.
PR 12351.

27 years agoMove mips INSN_ISA subfield into new membership field.
Gavin Romig-Koch [Tue, 20 May 1997 15:29:25 +0000 (15:29 +0000)]
Move mips INSN_ISA subfield into new membership field.

27 years ago * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
Jeff Law [Tue, 20 May 1997 15:00:01 +0000 (15:00 +0000)]
    * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
        * gdb.base/commands.exp: Likewise.
        * gdb.base/setshow.exp: Likewise.

27 years agoPart II of adding callback argument to sim_open(). Update all the
Andrew Cagney [Tue, 20 May 1997 01:57:43 +0000 (01:57 +0000)]
Part II of adding callback argument to sim_open().  Update all the
other simulators; remove SIM_DESC from depreciated function
sim_set_callbacks().

27 years agoDepreciate sim_set_callbacks() function. Set simulator callbacks
Andrew Cagney [Tue, 20 May 1997 00:05:27 +0000 (00:05 +0000)]
Depreciate sim_set_callbacks() function.  Set simulator callbacks
during sim_open().

27 years agoMake getpid, kill supported system calls
Michael Meissner [Mon, 19 May 1997 23:02:30 +0000 (23:02 +0000)]
Make getpid, kill supported system calls

27 years ago * config/monitor.exp(gdb_start): Look for gdb_prompt target
Bob Manson [Mon, 19 May 1997 22:40:00 +0000 (22:40 +0000)]
* config/monitor.exp(gdb_start): Look for gdb_prompt target
feature.

* config/i960.exp: New file.

27 years ago * coff-tic80.c: Remove unnecessary #ifdefs.
Mark Alexander [Mon, 19 May 1997 21:47:45 +0000 (21:47 +0000)]
* coff-tic80.c: Remove unnecessary #ifdefs.
* config.bfd: Set targ_underscore to yes for tic80.

27 years ago * coff-tic80.c (NAMES_HAVE_UNDERSCORE): Define (fixes problem
Mark Alexander [Mon, 19 May 1997 21:26:34 +0000 (21:26 +0000)]
* coff-tic80.c (NAMES_HAVE_UNDERSCORE): Define (fixes problem
with unresolved external symbols in GDB).

27 years ago * interp.c (dispatch): Make this an inline function.
Jeff Law [Mon, 19 May 1997 19:55:31 +0000 (19:55 +0000)]
    * interp.c (dispatch): Make this an inline function.

        * simops.c (syscall): Use callback->write regardless of
        what file descriptor we're writing too.

27 years agoGraft sim/common event and other code onto the mips simulator.
Andrew Cagney [Mon, 19 May 1997 13:30:30 +0000 (13:30 +0000)]
Graft sim/common event and other code onto the mips simulator.

27 years agoUpdate.
Andrew Cagney [Mon, 19 May 1997 09:35:51 +0000 (09:35 +0000)]
Update.

27 years agoMake simulator event-queue manager a bit more signal safe.
Andrew Cagney [Mon, 19 May 1997 06:55:56 +0000 (06:55 +0000)]
Make simulator event-queue manager a bit more signal safe.

27 years agoo Implement generic halt/restart/abort module.
Andrew Cagney [Mon, 19 May 1997 03:42:33 +0000 (03:42 +0000)]
o Implement generic halt/restart/abort module.
Use in tic80 and d30v simulators.
o Add signal hook to sim-core module

27 years agoPacify gcc.
Andrew Cagney [Mon, 19 May 1997 01:24:31 +0000 (01:24 +0000)]
Pacify gcc.