aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1997-03-14Regenerate simulator configure scripts; Remove d10v traps 1-3, Make 15 the ↵Michael Meissner15-2240/+496
system call trap, keeping 0 temporarily
1997-03-14Add a number of per-simulator options: hostendian, endian, inline, warnings.Andrew Cagney10-196/+2379
Rename *-n.h files to be dos compatible
1997-03-14 * utils.c(pollquit, notice_quit): If _WIN32, limit test for cntl-CDawn Perchik1-0/+8
to wingdb. (initialize_utils): If _WIN32, don't call ScreenRows and ScreenCols except under wingdb. (Contributed by Martin Hunt).
1997-03-14* ld-insn.c (parse_insn_format): Accept '*' as an alternative ofAndrew Cagney2-0/+1190
`/' in bit fields. `/' denotes a wild bit.
1997-03-13 * coff-tic80.c (coff_rtype_to_howto): DefineFred Fish2-5/+87
(coff_tic80_rtype_to_howto): Clone generic coff version and add code to handle the funky TI "internal relocations".
1997-03-13Add some more comments.David Edelsohn1-3/+10
1997-03-13 * interp.c (sim_open): New SIM_DESC result. Argument is nowDavid Edelsohn3-122/+153
in argv form. (other sim_*): New SIM_DESC argument.
1997-03-13 * sim_calls.c (sim_open): New SIM_DESC result. Argument is nowDavid Edelsohn1-0/+45
in argv form. (other sim_*): New SIM_DESC argument.
1997-03-13 * interp.c (sim_open): New SIM_DESC result. Argument is nowDavid Edelsohn3-166/+478
in argv form. (other sim_*): New SIM_DESC argument.
1997-03-13 * compile.c (sim_open): New SIM_DESC result. Argument is now inDavid Edelsohn1-0/+13
argv form. (other sim_*): New SIM_DESC argument.
1997-03-13 * interf.c (sim_open): New SIM_DESC result. Argument is now inDavid Edelsohn1-0/+13
argv form. (other sim_*): New SIM_DESC argument.
1997-03-13 * interp.c: Delete redundant prototypes of sim_foo fns.David Edelsohn1-0/+6
(sim_open): New SIM_DESC result. Argument is now in argv form. (other sim_*): New SIM_DESC argument.
1997-03-13 * wrapper.c (sim_open): Has result now.David Edelsohn1-0/+12
(sim_*): New SIM_DESC argument.
1997-03-13 * configure: Regenerated.Tom Tromey6-121/+140
* configure.in: Run AC_CONFIG_AUX_DIR before AC_CANONICAL_SYSTEM. * config.in: Regenerated. * acconfig.h (START_INFERIOR_TRAPS_EXPECTED, sys_quotactl, HAVE_HPUX_THREAD_SUPPORT): Define. * gdbtk.c (x_event): Use Tcl_DoOneEvent, TCL_DONT_WAIT, TCL_ALL_EVENTS. * configure: Regenerated. * configure.in (ENABLE_GDBTK): Put TCL_LIBS after TK_LIBS in LIBS.
1997-03-13 * run.c: #include "libiberty.h".David Edelsohn1-0/+8
(main): New locals sd,no_args,sim_argv. Run buildargv on -a option. Pass argv to sim_open, argv[0] is program name. Update call to sim_set_callbacks. Record result of sim_open, pass to other sim_foo routines.
1997-03-13Fix problems in setting the carry bitMichael Meissner2-31/+25
1997-03-13 * remote-sim.h (sim_state, SIM_DESC): New types.David Edelsohn3-41/+101
(sim_open): Return a `descriptor' as result. (*): New argument of descriptor result from sim_open. * remote-sim.c (gdbsim_desc): Renamed from gdbsim_open_p. (gdbsim_open): Record result of sim_open in gdbsim_desc. Pass argv list to sim_open, argv[0] = pseudo program name. (*): Pass gdbsim_desc to sim_foo fns.
1997-03-13 * read.c (read_a_source_file): Call LISTING_NEWLINE beforeIan Lance Taylor2-128/+160
HANDLE_CONDITIONAL_ASSEMBLY when handling an MRI line label. PR 11746.
1997-03-13 * elflink.h (elf_link_add_object_symbols): Don't warn about typeIan Lance Taylor2-2/+7
or size changes because of a weak symbol. PR 11827.
1997-03-13 * cisco-core.c (SIGEMT): Define if not defined.Ian Lance Taylor1-0/+4
1997-03-13Add copyright, tweak some comments.David Edelsohn1-2/+24
1997-03-13 * config/obj-elf.c (obj_elf_data): Call md_flush_pending_outputIan Lance Taylor2-1/+71
and md_elf_section_change_hook if they are defined. (obj_elf_text, obj_elf_previous): Likewise.
1997-03-13Fix os_printf_filtered; Flush stdout after calling printf_filteredMichael Meissner3-24/+100
1997-03-13New directory, devo/sim/testsuite - loose (sanitize) it for the moment.Andrew Cagney1-0/+2
1997-03-13Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com>Ian Lance Taylor44-0/+1360
* ld-elfvers/vers.exp, *: New tests for symbol versioning. * config/default.exp: Set ar and strip.
1997-03-13 * elflink.h (elf_link_add_object_symbols): Use extsymoff whenIan Lance Taylor3-38/+274
setting ever. Sanity check the version number. Sort out copying flags and other information when adding an indirect symbol. (NAME(bfd_elf,size_dynamic_sections)): Preserve any dynamic symbols added by the backend. Clear the entire contents of the versym section. (elf_export_symbol): Ignore indirect symbols. (elf_link_output_extsym): Accept a section without an owner in an assert. * elfcode.h (elf_slurp_symbol_table): Add a sanity check on the version count. Correct the allocation of x_versymp.
1997-03-13 * elf32-mips.c (mips_elf_add_symbol_hook): Don't set the owner ofIan Lance Taylor1-21/+49
the magic sections used for SHN_MIPS_TEXT and SHN_MIPS_DATA. Don't return bfd_und_section_ptr when info->shared. (mips_elf_final_link): Set the alignment of .rtproc to 4, not 12. (mips_elf_create_dynamic_sections): Correct type: ^= for &=. (mips_elf_check_relocs): Resolve an indirect symbol in sym_hashes. (mips_elf_finish_dynamic_symbol): Don't change SHN_ABS into SHN_MIPS_TEXT or SHN_MIPS_DATA.
1997-03-13 * ldmain.c (multiple_definition): Only skip the warning if theIan Lance Taylor2-0/+26
output section is absolute when the input section is not absolute. * ldlex.l: Accept whitespace in VERS_START state. Warn about invalid characters in VERS_* states.
1997-03-12 * simops.c: Fix carry bit computation for "add" instructions.Jeff Law2-11/+13
More bugs exposed by new mn10300 compiler optimizations.
1997-03-12 * simops.c: Fix typos in bset insns. Fix arguments to store_memJeff Law2-5/+24
for bset imm8,(d8,an) and bclr imm8,(d8,an). Bugs exposed by new compiler optimizations.
1997-03-12 * doc/as.texinfo (bss): Improve description of .bss section. InIan Lance Taylor1-0/+7
ELF or COFF, you are permitted to switch into the section. (Comm): Rewrite description of common symbols. (Lcomm): Mention that some targets permit a third argument.
1997-03-12Extend callback interface to support vprintf, flush and error printing.Andrew Cagney1-1/+9
Corresponding change for gdb directory can be checked in later.
1997-03-12 * config/tc-ppc.c (ppc_elf_lcomm): Don't call S_CLEAR_EXTERNAL.Ian Lance Taylor1-0/+2
PR 11847.
1997-03-11 * symbols.c (colon): Change type of local to int. From Alan ModraIan Lance Taylor1-0/+3
<alan@spri.levels.unisa.edu.au>.
1997-03-11 * config/tc-m88k.c (m88k_do_align): Don't use a special nopIan Lance Taylor2-2/+6
alignment if a zero fill pattern was explicitly specified. * config/tc-sh.c (sh_do_align): Likewise.
1997-03-11 Removed, no longer used.Bob Manson1-461/+0
1997-03-11 * config/monitor.exp: Make sure we disconnect from the target.Bob Manson1-0/+6
Also, try a reboot/reload cycle instead of failing if the load fails.
1997-03-11 * read.c (equals): Always permit register names to be redefined.Ian Lance Taylor1-0/+2
PR 11787.
1997-03-11 * config/tc-mips.c (mips_fix_adjustable): Permit a reloc against aIan Lance Taylor1-0/+4
mips16 symbol to be adjusted if a symbol is being subtracted from it.
1997-03-11First cut at supporting simulators in gdbserver:Mark Alexander7-246/+277
* configure, configure.in: Allow gdbserver to be configured for cross-target environments. * gdbserver/Makefile.in: Add simulator support. * gdbserver/configure.in: Eliminate assumption that host == target. Simplify using gdb/configure.tgt and gdb/configure.host. Fix other minor configuration errors. * gdbserver/low-sparc.c: Fix compile error. * gdbserver/remote-utils.c: Eliminate assumption that registers and addresses are four bytes. Fix minor compile errors and warnings. * gdbserver/server.c: Rewrite numerous instances of identical code for starting inferior processes to call new function start_inferior. Eliminate assumption that registers and addresses are four bytes. * gdbserver/server.h: Add missing prototypes to eliminate compiler warnings. * gdbserver/low-sim.c: New file to mate gdbserver with simulators. * config/mips/vr5000.mt: Add Vr5000 simulator support to gdbserver. * config/i386/linux.mh: Eliminate gdbserver support as a first step in moving such support from host to target makefile fragments. * config/i386/linux.mt: Move gdbserver support here from linux.mh.
1997-03-11 From Eric Youngdale <eric@andante.jic.com>:Ian Lance Taylor1-46/+197
* elf-bfd.h (ELF_LINK_FORCED_LOCAL): Define. * elf.c (bfd_elf_print_symbol): Correct errors in last change. * elflink.h (elf_link_add_object_symbols): Handle cases in which a versioned symbol appears in both a regular and a shared object. (elf_link_assign_sym_version): Set ELF_LINK_FORCED_LOCAL when appropriate. Improve error message. (struct elf_outext_info): Rename from elf_finfo_failed. Change all uses. Add localsyms field. (elf_bfd_final_link): When generating a shared library, call elf_link_output_extsym to output all local symbols. (elf_link_output_extsym): Handle symbols which were forced to become local.
1997-03-11 From Eric Youngdale <eric@andante.jic.com>:Ian Lance Taylor1-0/+7
* config/obj-elf.c (obj_elf_symver): Check for duplicate or illegal symbol version names. (elf_frob_symbol): Check for external default versions.
1997-03-10 * Makefile.in (CHECK_X11_MODULES): Don't run check-tk.Tom Tromey1-7/+11
1997-03-10Mon Mar 10 12:27:47 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+10
* symtab.h (INIT_SAL): New macro to initialize symtab_and_line, to insure consistant initialization of unused fields to zero. * symtab.c: replace initializations of sals with new macro INIT_SAL. * breakpoint.c: ditto. * infrun.c: ditto. * infcmd.c: ditto. * source.c: add call to INIT_SAL macro.
1997-03-10 From Eric Youngdale <eric@andante.jic.com>:Ian Lance Taylor3-25/+265
* config/obj-elf.h (struct elf_obj_sy): Define. (OBJ_SYMFIELD_TYPE): Define to elf_obj_sy struct. Change all users. * config/obj-elf.c (obj_elf_symver): Just record the name. (obj_symbol_new_hook): Initialized versioned_name field. (elf_frob_symbol): If there is a versioned_name, either rename the symbol, or add an alias with that name.
1997-03-10 From Eric Youngdale <eric@andante.jic.com>:Ian Lance Taylor4-56/+344
* elf-bfd.h (elf_symbol_type): Add version field. * elfcode.h (elf_slurp_symbol_table): Set version field. * elflink.h (elf_link_add_object_symbols): When creating an indirect symbol for a default version symbol, set DEF_DYNAMIC if appropriate. Set up an indirection from the nondefault version of the symbol as well. (NAME(bfd_elf,size_dynamic_sections)): Call elf_link_assign_sym_version before checking whether there are any versions. Always record the version name as a dynamic symbol. Initialize counters. (elf_link_assign_sym_version): After finding a version, see if a symbol should be forced to local scope. Create a new version definition if appropriate. (elf_link_output_extsym): Correct indirect symbol handling. * elf.c (bfd_elf_print_symbol): Print version information. (bfd_section_from_shdr): Turn version sections into BFD sections. (elf_fake_sections): Only copy cverdefs and cverrefs into sh_info if sh_info is not already set. (_bfd_elf_copy_private_section_data): Copy sh_info for version sections. * elflink.c (_bfd_elf_link_record_dynamic_symbol): Tell _bfd_stringtab_add to copy the name into permanent memory if appropriate.
1997-03-10Sun Mar 9 23:06:35 1997 Eric Youngdale <eric@andante.jic.com>Ian Lance Taylor1-0/+4
* ldgram.y (vers_node): Correct typo of '(' for '{'.
1997-03-08 * scripttempl/tic80coff.sc (ENTRY): Entry symbol is __startFred Fish1-0/+7
rather than _start. (__edata): Define this rather than "edata". (__end): Define this rather than "end".
1997-03-08 * sparc-tdep.c (isbranch): Always handle v9 branch instructions,Peter Schauer1-0/+5
they might get used on 32 bit targets as well.
1997-03-07 * gdb.base/default.exp: Don't set match_max.Bob Manson2-1/+30
* gdb.base/help.exp: Ditto. * gdb.base/list.exp: Ditto. * gdb.base/signals.exp: Ditto. * config/monitor.exp(gdb_load): If gdb,use_standard_load is set, use remote_ld to download the testcase instead of the GDB loader.