aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-10-19Hitachi SH3e, patch to make FP registers debuggable.Jim Wilson3-2/+87
1995-10-19 * configure.in (i[345]86-*-win32): Always build newlib.Steve Chamberlain1-9/+4
Don't configure cvs, autoconf or texinfo. (really this time)
1995-10-19 * ldlex.l: Treat PROVIDE as a keyword in expression state.Ian Lance Taylor1-0/+4
1995-10-19 * Makefile.in (CC-LD): Rename to CC_LD, so MPW xform works.Stan Shebs6-15/+18
(MMALLOC_SRC): Define. (MMALLOC_CFLAGS): Use. (ser-mac.o): Add rule. * dwarfread.c, somread.c, ultra3-nat.c, xcoffread.c: Replace L_SET with SEEK_SET in all calls to bfd_seek. * scm-tags.h (scm_tags): Remove excess comma.
1995-10-19Comings and goings of Mac-related filesStan Shebs1-2/+2
1995-10-19 * mpw-config.in: Adapt to work with autoconf'ed configury;Stan Shebs7-1815/+316
build config.h, add empty definitions to mk.tmp. (powerpc-apple-macos): Make it work. * mpw-make.sed: New file, sed commands to translate Unix makefile into MPW syntax. * mpw-make.in: Remove. * mac-gdb.r: New file, was macgdb.r, renamed for consistency with other tools, now includes cfrg resource. * macgdb.r: Remove. * config/m68k/xm-mpw.h: Remove most of contents, replace with include of include/mpw/mpw.h.
1995-10-19 * mpw-config.in, mpw-make.sed: Remove ugly workaround forStan Shebs2-59/+1
ugly Metrowerks bug in CW6, is fixed in CW7.
1995-10-19Thu Oct 19 10:40:57 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-2/+2
* configure.in (i[345]86-*-win32): Always build newlib. Don't configure cvs, autoconf or texinfo. * Makefile.in (LD_FOR_TARGET): New. (BASE_FLAGS_TO_PASS, EXTRA_TARGET_FLAGS, CONFIGURE_TARGET_MODULES): Pass down LD_FOR_TARGET.
1995-10-19 * winsup. New directory.Steve Chamberlain1-0/+7
* Makefile.in: Build winsup. * configure.in: Winsup is configured when target is win32. Can only build win32 target GDB when native.
1995-10-19 * scripttempl/pe.sc (.bss): Move to be after .textSteve Chamberlain1-0/+4
1995-10-18Wed Oct 18 15:53:56 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain3-22/+43
* winsup. New directory. * Makefile.in: Build winsup. * configure.in: Winsup is configured when target is win32. Can only build win32 target GDB when native.
1995-10-18Wed Oct 18 16:20:08 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+10
* coff-i386.c (coff_i386_reloc_type_lookup): New. * coffcode.h (coff_write_object_contents): If .bss is before .data us that as data_start. * cofflink.c (_bfd_coff_generic_relocate_section): Get reloc calc correct. * peicode.h (add_data_entry): Use _cooked_size of data directory. (coff_swap_outhdr_out): Hardwire in version number.
1995-10-18* sunos.c (sunos_add_dynamic_symbols): Rename local variables major and minorKen Raeburn1-0/+5
to *_vno, since the former are also macros in SunOS header files. Cast result of bfd_alloc to appropriate type.
1995-10-18obstack-per-frchain changesKen Raeburn1-0/+46
stabs.c caching changes obstack chunksize changes
1995-10-18Use one active frag and one obstack per frag chain:Ken Raeburn1-58/+57
* frags.c (frags): Variable deleted. (frag_alloc): New function. (frag_grow, frag_more, frag_variant, frag_now_fix, frag_append_1_char): Refer to frchain_now->frch_obstack instead of frags variable. (frag_new): Ditto. Verify that frch_last and frag_now match on entry and exit, and that old frag_now has non-zero type. Replace "know" uses with "assert". Use frag_alloc instead of mucking with obstack alignment. * frags.h (frags): Declaration deleted. * subsegs.h (struct frchain): Add new field frch_frag_now. * subsegs.c (frchains, dummy_frag, absolute_frchain): New static variables. (subsegs_begin): Initialize frchains obstack. Under gcc, don't give it any stricter alignment than frchainS structures need. Do not initialize frags obstack. Set frag_now to point to dummy_obstack. Initialize absolute_frchain. (subseg_set_rest): Save and restore frag_now in frch_frag_now field of frchainS. Don't create new frags on section switch, and use frag_alloc when creating a new frag chain. For absolute section, set frchain_now to absolute_frchain. Verify that frch_last and frag_now match on entry and exit. Initialize per-chain obstack, and under gcc, set required alignment to that needed by fragS structure. * write.c (chain_frchains_together_1): Verify fr_type is nonzero. In one test case of Mike's (i386-linux, over 300K lines of .s code with lots of stabs records), run time and memory use are reduced by about 1/3. Might introduce some problems in cases that use the frag obstacks in unusual ways. Test suite does pass for i386-linux and sparc-solaris targets though.
1995-10-18* coffgen.c (coff_find_nearest_line): Cast used_by_bfd value before assigningKen Raeburn1-0/+5
to sec_data.
1995-10-18jaguar support.David Edelsohn3-0/+42
1995-10-18frag/obstack handling in tc-*.c; ignore -g for AlphaKen Raeburn1-0/+11
1995-10-18 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs targetJeff Law3-6/+0
makefile fragment. * config/mt-hpux: Deleted. Because we longer need to statically link nodebug for hpux.
1995-10-18 * ecoff.c (_bfd_ecoff_find_nearest_line): The offset argument isIan Lance Taylor1-0/+9
now relative to the section, not absolute. * ecofflink.c (_bfd_ecoff_locate_line): Use the right symbol to get the file name when there is a N_SO directory name. When handling stabs, remember that section->vma was added to the offset. PR 8223.
1995-10-18keep testsuite when doing "make distclean"Ken Raeburn1-0/+7
1995-10-18* stabs.c (aout_process_stab): Insert debug symbol into symbol chain afterKen Raeburn2-2/+419
parsing value expression, if any, to avoid separating continued .stabs lines.
1995-10-18 * hppa-tdep.c (frame_chain): Fix more obscure problems causedJeff Law2-2/+32
by system calls that core dump processes without saving all the register state.
1995-10-18 * Many files: When warning about suppressed tests due to aJeff Law18-17/+26
nonexistant test binary, avoid incrementing the warning count. Fixes bogus UNRESOLVED test results.
1995-10-17 * emultempl/sunos.em (gld${EMULATION_NAME}_find_exp_assignment):Ian Lance Taylor1-0/+4
Search trinary.cond rather than searching trinary.lhs twice. From linli@ihp.PHys.ethz.CH.
1995-10-17 * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): MoveIan Lance Taylor3-126/+517
directory searching code into gld${EMULATION_NAME}_search_dir. (gld${EMULATION_NAME}_search_dir): New static function, extracted from gld${EMULATION_NAME}_find_so. (global_needed, global_found): New static variables. (gld${EMULATION_NAME}_after_open): New static function. (gld${EMULATION_NAME}_search_needed): New static function. (gld${EMULATION_NAME}_try_needed): New static function. (gld${EMULATION_NAME}_check_needed): New static function. (ld_${EMULATION_NAME}_emulation): Use new after_open function. * ld.texinfo, ld.1: Mention -rpath-link on SunOS.
1995-10-17 * sunos.c (struct sunos_link_hash_table): Add needed field.Ian Lance Taylor2-12/+101
(sunos_link_hash_table_create): Call bfd_release, not free. (sunos_link_hash_table_create): Initialize needed field. (sunos_add_dynamic_symbols): Record needed objects. (bfd_sunos_get_needed_list): New function. * bfd-in.h (bfd_sunos_get_needed_list): Declare. * bfd-in2.h: Rebuild.
1995-10-17 * config/pa/hppahpux.mt (XDEPFILES): Remove bogus definition.Jeff Law2-1/+5
* config/pa/hppapro.mt (XDEPFILES): Likewise.
1995-10-17 * Makefile.in (eelf32ppc.c): Depend upon elf32.em, not generic.em.Ian Lance Taylor2-0/+16
(eelf32lppc.c): Likewise. * emulparams/elf32lppc.sh (TEMPLATE_NAME): Define as elf32. (GENERATE_SHLIB_SCRIPT): Define as yes.
1995-10-17Fix typoFred Fish2-1/+5
1995-10-16 * configure.tgt (powerpc-*-aix*): New target; use aixppc.Ian Lance Taylor7-4/+43
(rs6000-*-aix*): New target; use aixrs6. * emulparams/aixppc.sh, emulparams/aixrs6.sh: New files. * emultempl/aix.em: New file. * scripttempl/aix.sc: New file. * Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o. (eaixppc.c, eaixrs6.c): New targets.
1995-10-16 * bfd-in.h (struct bfd_link_needed_list): Rename fromIan Lance Taylor5-19/+31
bfd_elf_link_needed_list. * bfd-in2.h: Rebuild. * elf.c, elflink.h, libelf.h: Corresponding changes.
1995-10-16 Add start at AIX linker support; no shared libraries yet.Ian Lance Taylor3-19/+167
* xcofflink.c: New file. * configure.in (rs600coff_vec): Use xcofflink.o. * configure: Rebuild. * libcoff-in.h (struct xcoff_tdata): Add csects and debug_indices fields. (struct xcoff_section_tdata): Define. (xcoff_section_data): Define macro. (_bfd_xcoff_bfd_link_hash_table_create): Declare. (_bfd_xcoff_bfd_link_add_symbols): Declare. (_bfd_xcoff_bfd_final_link): Declare. (_bfd_ppc_xcoff_relocate_section): Declare. * libcoff.h: Rebuild. * coff-rs6000.c: Clean up a bit. (xcoff_mkobject): Default modtype to 1L, not RE. Initialize cputype, csects, and debug_indices. (xcoff_copy_private_bfd_data): Copy cputype. (xcoff_howto_table): Rename from rs6000coff_howto_table. (xcoff_rtype2howto): Rename from rs6000coff_rtype2howto. (xcoff_reloc_type_lookup): Rename from rs6000coff_reloc_type_lookup. (coff_relocate_section): Define. (_bfd_xcoff_sizeof_headers): Define. (_bfd_xcoff_bfd_get_relocated_section_contents): Define. (_bfd_xcoff_bfd_relax_section): Define. (_bfd_xcoff_bfd_link_split_section): Define. (rs6000coff_vec): For BFD_JUMP_TABLE_LINK, use _bfd_xcoff, not coff. * coffcode.h (coff_compute_section_file_positions): If AIX, increment sofar by SMALL_AOUTSZ if not executable. (coff_write_object_contents): If AIX, always output an a.out header; if not executable, header size of SMALL_AOUTSZ. * hash.c (struct bfd_strtab_hash): Add xcoff field. (_bfd_stringtab_init): Initialize xcoff field. (_bfd_xcoff_stringtab_init): New function. (_bfd_stringtab_add): In XCOFF mode, leave two bytes for length. (_bfd_stringtab_emit): In XCOFF mode, write out length. * libbfd-in.h (_bfd_xcoff_stringtab_init): Declare. * libbfd.h: Rebuild. * Makefile.in: Rebuild dependencies. (BFD32_BACKENDS): Add xcofflink.o. (CFILES): Add xcofflink.c. ld -r works on hello, world.
1995-10-16 * libcoff-in.h (pe_data_type.in_reloc_p): New.Steve Chamberlain2-0/+15
1995-10-16Move counting of instructions into the semantic routines.Michael Meissner2-2/+12
1995-10-16 * rs6000.h (SMALL_AOUTSZ): Define.Ian Lance Taylor1-0/+2
1995-10-16Speedups from AndrewMichael Meissner2-134/+202
1995-10-16 * remote-mips.c: Add support for speedy (about 10x faster)Stu Grossman2-12/+301
downloads.
1995-10-16 * remote-array.c: Move baud_rate initialization fromStu Grossman3-2/+9
_initialize_array to array_open. It was forcing the baud rate of all targets to be 4800 baud! Seems like I've fixed this before... * config/mips/idt.mt (TDEPFILES): Remove remote-array.o. This has *nothing* to do with IDT!!!
1995-10-16 * gdbtk.c (gdb_disassemble): Use fprintf_unfiltered instead ofStu Grossman2-1/+4
fprintf_filtered.
1995-10-16 * Makefile.in sh3-rom.c config/sh/sh.mt config/sh/tm-sh.h: AddStu Grossman7-7/+219
sh3 monitor support. * monitor.c: Cleanup regexp compilation stuff to make it easier to use several regexps. * monitor.h: Get rid of struct rom_cmd_data. It's no longer used. * config/m68k/tm-monitor.h: Don't redefine NUM_REGS here. It just causes GDB to crash.
1995-10-16 * sparcl-tdep.c: Cleanup serial error handling.Stu Grossman2-17/+28
1995-10-16 * dcache.c: Change default value of remotecache to off. It justStu Grossman3-53/+98
screws up too many targets. * sparcl-stub.c: Add prototypes to many forward decls. * Create private copies of strlen, strcpy, and memcpy to prevent chaos when user steps into them. * (trap_low handle_exception): Clean up DSU support code (hardware breakpoints). Move lots of stuff from asm-land to C-land (make it much easier to #ifdef if necessary). Also, use trap 255 to get into break mode instead of doing a DSU register write, which may trash the register. * (putpacket): Don't check return value of putDebugChar. It returns void...
1995-10-16Add flags for common/any supportMichael Meissner1-0/+9
1995-10-16 * config.guess: Recognize HP model 819 machines has havingJeff Law1-0/+5
a PA 1.1 processor. Already in the official version at the FSF.
1995-10-16 * internal.h (XMC_TD): Define.Ian Lance Taylor1-0/+9
1995-10-16 * config/tc-mips.c (mips_elf_pseudo_table): Remove.Ian Lance Taylor1-0/+5
(mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
1995-10-16 * elf32-mips.c (mips_elf_symbol_processing): Set SEC_ALLOC, notIan Lance Taylor1-0/+6
SEC_NO_FLAGS, for .acommon section. From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>.
1995-10-16 * configure: Fix sed loop which substitutes for CC and CXX toIan Lance Taylor1-0/+10
avoid bug found in various sed implementations.
1995-10-16Fix last fixes #3Michael Meissner1-3/+3