aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-08-07Allow simulator to build on other machines than x86Michael Meissner1-0/+9
1996-08-07Wed Aug 7 14:43:51 1996 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor2-1/+6
* core.c (read_function_mappings): Cast xmalloc return.
1996-08-07Wed Aug 7 14:40:48 1996 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor2-0/+18
* configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. * acconfig.h (NEED_DECLARATION_STRSTR): New macro. (NEED_DECLARATION_SBRK): New macro. * configure, config.in: Rebuild. * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR. * ldmain.c (sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK.
1996-08-07Wed Aug 7 14:27:33 1996 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor2-0/+18
* configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. * acconfig.h (NEED_DECLARATION_STRSTR): New macro. (NEED_DECLARATION_SBRK): New macro. * configure, config.in: Rebuild. * bucomm.h (strstr): Declare if NEED_DECLARATION_STRSTR. (sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK.
1996-08-07Wed Aug 7 14:19:03 1996 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor6-11/+117
* configure.in: Make GAS_CHECK_DECL_NEEDED include <string.h> or <strings.h> if they exist. Call GAS_CHECK_DECL_NEEDED on strstr and sbrk. * acconfig.h (NEED_DECLARATION_STRSTR): New macro. (NEED_DECLARATION_SBRK): New macro. * configure, conf.in: Rebuild. * as.h: Only include <strings.h> if HAVE_STRINGS_H. (strstr): Declare if NEED_DECLARATION_STRSTR. * as.c: If HAVE_SBRK and NEED_DECLARATION_SBRK, declare sbrk.
1996-08-07Wed Aug 7 14:11:44 1996 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor3-3/+31
* configure.in: Call BFD_NEEDED_DECLARATION on strstr and realloc. * acconfig.h (NEED_DECLARATION_STRSTR): New macro. (NEED_DECLARATION_REALLOC): New macro. * configure, config.in: Rebuild. * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR. (realloc): Declare if NEED_DECLARATION_REALLOC.
1996-08-07 * configure.in (configdirs): Add gdb.threads.Fred Fish7-29/+1311
* configure: Regenerated with autoconf. * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New. * gdb.threads/{Makefile.in, configure.in}: Complete rewrites. * gdb.threads/configure: New, generated with autoconf.
1996-08-07 * config/tc-mips.c (md_section_align): Do align if OBJ_ELF, butIan Lance Taylor2-4/+11
not to more than a 16 byte boundary.
1996-08-07 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak forJeff Law2-1/+4
structures > 4 bytes in size. Fixing more structure return problems.
1996-08-07 Based on patches from Eric Valette <valette@crf.canon.fr>:Ian Lance Taylor1-0/+11
* elf32-i386.c (enum reloc_type): Add FIRST_INVALID_RELOC, LAST_INVALID_RELOC, R_386_16, R_386_PC16, R_386_8, R_386_PC8. (elf_howto_table): Add entries for new relocs. (elf_i386_reloc_type_lookup): Handle new relocs. (elf_i386_info_to_howto): Just call abort. (elf_i386_info_to_howto_rel): Check that the reloc type is valid. (elf_i386_relocate_section): Likewise.
1996-08-07 * valops.c (call_function_by_hand): Handle aligning stacks thatJeff Law3-1/+14
grow up correctly. * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define. (STACK_ALIGN): Define. * hppa-tdep.c (hppa_alignof): Don't demand a minumim two byte alignment on structs/unions. Fixing assorted structure passing/return problems reported by the net.
1996-08-07 * i386-dis.c (print_insn_i386): Actually return the correct value.Ian Lance Taylor1-0/+5
(ONE, OP_ONE): #ifdef out; not used.
1996-08-07 * config/tc-i386.c (tc_gen_reloc): Accept all relocs; removeIan Lance Taylor2-35/+38
#ifndef OBJ_ELF lines. From Eric Valette <valette@crf.canon.fr>. (tc_gen_reloc): If out of memory call as_fatal rather than assert. If no howto found, call as_bad_where rather than as_fatal. Change the error message slightly. Set howto to a non-NULL value in order to keep going.
1996-08-06Tue Aug 6 12:58:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-16/+23
* tc-d10v.c: Added code to support 32-bit fixups for stabs.
1996-08-06Tue Aug 6 12:58:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+6
* config/tc-d10v.c: Added code to support 32-bit fixups for stabs.
1996-08-06Tue Aug 6 12:54:56 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+6
* elf32-d10v.c (elf_d10v_howto_table): Added R_D10V_32.
1996-08-06 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.Fred Fish2-0/+11
1996-08-06 * gas/h8300/misch.s: Reenable "eepmov.w" test.Jeff Law1-0/+7
* gas/h8300/miscs.s: Likewise. * gas/h8300/h8300.exp: Check for correct assembly of "eepmov.w" on the H8/300H and H8/S. Don't expect it to fail.
1996-08-06 * config/tc-h8300.c (get_specific): New operand "size" derivedJeff Law1-0/+7
from ".b", ".w" and ".l" extensions. All callers changed. If the base instruction has no operands, then use the size to determine which specific instruction to use. Fixing eepmov instructions.
1996-08-067/30 release from AndrewMichael Meissner9-152/+719
1996-08-06 * gdb.base/signals.exp (test_handle_all_print): Test separately forFred Fish4-8/+273
each signal's status in the output of "handle all print". * lib/gdb.exp (gdb_test): Document that the pattern must NOT include the \r\n sequence that immediately precedes the gdb prompt. * gdb.base/a1-selftest.exp: Save original timeout and restore after test.
1996-08-05 * elf.c (_bfd_elf_make_section_from_shdr): For a loadable section,Ian Lance Taylor2-1/+9
only get the LMA from the phdr if they are in the same part of the file.
1996-08-05 * ldlex.l: Recognize OVERLAY.Ian Lance Taylor2-20/+223
* ldgram.y: Add section_phdr field to %union. (section): Handle phdr_opt result. Add OVERLAY case. (opt_exp_without_type): New nonterminal. (phdr_opt): Return list of phdrs. (overlay_section): New nonterminal. * ldlang.c: Include <ctype.h>. (lang_leave_output_section_statement): Add phdrs parameter. Change all callers. (lang_section_in_phdr): Remove. (overlay_vma, overlay_lmn, overlay_max): New static variables. (struct overlay_list): Define. (overlay_list): New static variable. (lang_enter_overlay, lang_enter_overlay_section): New functions. (lang_leave_overlay_section, lang_leave_overlay): New functions. * ldlang.h (lang_leave_output_section_statement): Update declaration for new parameter. (lang_section_in_phdr): Don't declare. (lang_enter_overlay, lang_enter_overlay_section): Declare. (lang_leave_overlay_section, lang_leave_overlay): Declare. * ld.texinfo (Overlays): New node under SECTIONS, documenting overlays. * ldlex.l: Recognize MAX and MIN. * ldgram.y (MAX, MIN): New terminals. (exp): Recognize MAX and MIN. * ldexp.c (fold_binary): Handle MAX and MIN. * ld.texinfo (Arithmetic Functions): Document MAX and MIN. * ld.texinfo (PHDRS): Use @cindex, not @kindex, for program header index entries. * ldgram.y (SIZEOF, ADDR): Do not specify type.
1996-08-05 * ldcref.c (check_nocrossref): Skip symbols with no outputIan Lance Taylor1-0/+2
sections.
1996-08-05 * config/tc-i960.c (mem_fmt): Call parse_expr before emit.Ian Lance Taylor1-0/+4
PR 10274.
1996-08-05 * elf.c (map_sections_to_segments): Rewrite tests for starting aIan Lance Taylor2-22/+69
new segment to make them more comprehensible. If the relationship between the LMA and the VMA changed, start a new segment. Don't check dynsec when deciding whether to start a new segment for a writeable section; -N will now handle this.
1996-08-05 * ld-scripts/crossref.exp: On a29k targets, use --defsym to defineIan Lance Taylor1-0/+5
V_SPILL and V_FILL.
1996-08-04 * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Define to "int *",Fred Fish1-0/+5
which is the documented type under at least AIX 3 and AIX 4.
1996-08-04 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODEJeff Law1-0/+5
symbol.
1996-08-03 * config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Define NO_MMCHECK toFred Fish1-0/+2
not install consistency checks.
1996-08-03 * config/alpha/alpha-osf3.mh (XM_FILE): Change from xm-alpha.h toFred Fish2-1/+6
xm-alphaosf.h.
1996-08-03Fri Aug 2 17:47:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt2-2/+11
* d10v-opc.c (d10v_operands): Added 2 accumulator sub instructions. Changed subi operand type to treat 0 as 16.
1996-08-03Fri Aug 2 17:44:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt3-72/+365
* d10v_sim.h, simops.c: Snapshot
1996-08-03 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.Brendan Kehoe2-1/+5
1996-08-02 * ldgram.y (LOADADDR): New terminal.Ian Lance Taylor7-164/+212
(exp): Handle LOADADDR. * ldlex.l: Recognize LOADADDR. * ldexp.c (exp_print_token): Add LOADADDR. (fold_name): Implement LOADADDR. * ldlang.c (exp_init_os): Treat LOADADDR like ADDR. * ld.texinfo (Arithmetic Functions): Document LOADADDR.
1996-08-02 * config/tc-mips.c (md_section_align): Don't change addr ifIan Lance Taylor2-0/+9
OBJ_ELF. PR 10181.
1996-08-02 * config/tc-hppa.c: Revert yesterday's changes.Jeff Law1-0/+4
Trying another approach to the EH problem.
1996-08-02 * libhppa.h: Remove "esel" changes. Not the right approach.Jeff Law2-19/+23
* som.c: Corresponding changes. (som_bfd_derive_misc_symbol_info): Use ST_DATA for symbols which don't have a SOM symbol type associated with them. Reverses a 1994 change. More PA EH tweakage (to get exception handling tables properly relocated in shared libraries).
1996-08-02changes for new tcl/tk:Tom Tromey7-1512/+564
* gdbtk.c (mainWindow): Deleted. (cleanup_init): Don't destroy main window. (gdbtk_init): Main window now created by Tk_Init. * configure.in: Most X checks now handled automatically by Tk. Use new macros to find Tcl/Tk. * aclocal.m4: New version for new Tcl/Tk; from Don Libes. * config.in, configure: Regenerated. * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS, X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk.
1996-08-02Thu Aug 1 17:05:24 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt6-0/+2360
* ChangeLog, Makefile.in, configure, configure.in, d10v_sim.h, gencode.c, interp.c, simops.c: Created.
1996-08-02Thu Aug 1 17:08:41 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt2-0/+43
* configure.in (d10v-*-*): Added D10V simulator.
1996-08-01rework crossref testIan Lance Taylor6-17/+56
1996-08-01 * ld-scripts/crossref.exp: New test.Ian Lance Taylor6-0/+69
* ld-scripts/cross1.c, ld-scripts/cross2.c: New files. * ld-scripts/crossref.t: New file.
1996-08-01 * ld.h (check_nocrossrefs): Declare.Ian Lance Taylor9-10/+359
* ldlang.h (struct lang_nocrossref): Define. (struct lang_nocrossrefs): Define. (nocrossref_list): Declare. (lang_add_nocrossref): Declare. * ldlex.l: Recognize NOCROSSREFS keyword. * ldgram.y (%union): Add nocrossref field. (NOCROSSREFS): New terminal. (ifile_p1): Recognize NOCROSSREFS. (nocrossref_list): New nonterminal. * ldlang.c (nocrossref_list): Define. (lang_add_nocrossref): New function. * ldmain.c (main): If nocrossref_list is not NULL, call check_nocrossrefs. (warning_callback): Free symbols if there is no place to store them. (notice): Call add_cref if nocrossref_list is not NULL. * ldcref.c: Include "ldexp.h" and "ldlang.h". (check_nocrossrefs): New function. (check_nocrossref): New static function. (struct check_refs_info): Define. (check_refs, check_reloc_refs): New static functions. * Makefile.in: Rebuild dependencies. * ld.texinfo (Option Commands): Document NOCROSSREFS.
1996-08-01 * config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents inFred Fish4-5/+23
this, define when contents are included. (mips_read_processor_type): Add prototype. * config/mips/xm-mips.h: Remove strdup decl, now in gdb_string.h * mdebugread.c (ecoff_relocate_efi): Add prototype. (fixup_sigtramp): Only needed when TM_MIPS_H is defined.
1996-08-01 * ld.texinfo (Section Placement): Improve the wording of theIan Lance Taylor1-8/+15
wildcard documentation. Mention that wildcards are only searched for on the command line, not in the file system.
1996-08-01 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): MoveIan Lance Taylor1-0/+5
definition of lib_path inside condition where it is used.
1996-08-01 * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir).Jason Molenda2-3/+9
1996-08-01 * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value.Fred Fish2-2/+31
(vmap_ldinfo): Ensure got_exec_file is not used uninitialized. (fetch_core_registers): Add prototype. (vmap_symtab): Ditto. (objfile_symbol_add): Ditto. (add_vmap): Ditto. (vmap_ldinfo): Ditto. (vmap_exec): Ditto.
1996-07-31Wed Jul 31 14:46:11 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-9/+5
* tc-d10v.c: Disable range checking on 16-bit values.