Commit Graph

8686 Commits

Author SHA1 Message Date
Jim Kingdon 44d2505679 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
xfails; I'm not sure why they are failing, but not because of PR 1806.
1994-01-11 20:24:02 +00:00
Jim Kingdon 4d69cf576b * infrun.c, config/mips/tm-irix5.h: Remove #if 0'd AT_FUNCTION_START. 1994-01-11 20:15:55 +00:00
Ken Raeburn 6f1c6a6796 log for netbsd changes checked in a couple of days ago 1994-01-11 19:53:28 +00:00
Ian Lance Taylor fed872d325 * elfcode.h (swap_out_syms): A common symbol is STT_OBJECT, not
STT_NOTYPE.
1994-01-11 19:39:28 +00:00
Ian Lance Taylor 6a69975fbb * remote-udi.c (udi_resume): Correct prototype. 1994-01-11 19:28:31 +00:00
Ian Lance Taylor 8197b58995 * config/tc-mips.c (macro): Corrected $at warnings in a couple of
spots.
1994-01-11 19:18:45 +00:00
Jeff Law c598654a5b * config/pa/tm-hppa.h (FRAME_FIND_SAVED_REGS): Call
hppa_frame_find_saved_regs.
        * hppa-tdep.c (dig_fp_from_stack): Delete function.
        (prologue_inst_adjust_sp): New function.
        (is_branch, inst_saves_gr, inst_saves_fr): New functions.
        (skip_prologue): Completely rewrite to use unwind information.
        (hppa_frame_find_saved_regs): Likewise.
1994-01-11 19:14:11 +00:00
Jim Kingdon f3fe8934c2 * remote-mips.c (mips_wait): Use new function mips_signal_from_protocol
to convert a signal number with appropriate bounds checking.
1994-01-11 18:45:05 +00:00
Ian Lance Taylor 901f3538ee * scripttempl/elf.sc: Correct typo. 1994-01-11 18:22:51 +00:00
Ian Lance Taylor af255ca0bb * listing.c (listing_prev_line): New function.
* listing.c: Include subsegs.h.
	(listing_prev_line): New function.
	(calc_hex): Reset byte_in_frag to zero for each new frag.
	* config/tc-mips.c (append_insn): Call listing_prev_line after
	emitting nop instructions.
	* Makefile.in (listing.o): Depends upon subsegs.h.
1994-01-11 18:06:01 +00:00
Ian Lance Taylor cf286547ef * ecofflink.c: Extensive changes to compress and merge debugging
information, and to write some of out directly rather than saving
	it in memory.  Several new functions and structures, and new
	arguments to existing functions.
	* ecoff.c (ecoff_compute_reloc_file_positions): Compute
	sym_filepos as well.
	(ecoff_get_extr): Use ifdmap instead of ifdbase.
	(ecoff_write_object_contents): Don't compute sym_filepos here.
	Only output symbols if outsymbols is not NULL.
	(ecoff_bfd_final_link): Adjust for changes in ecoff_debug_info and
	bfd_ecoff_debug functions.  Write out debugging information here.
	(ecoff_final_link_debug_accumulate): Adjust for changes in
	bfd_ecoff_debug functions.
	(ecoff_link_write_external): Use ifdmap rather than ifdbase.
	* elf32-mips.c (mips_elf_read_ecoff_info): Read external symbols
	first, to put them in the first memory buffer.  Clear fdr field.
	(mips_elf_get_extr): Use pointer to unswapped external symbol.
	(mips_elf_final_link): Adjust for changes in bfd_ecoff functions.
	Preserve .text, .data and .bss even if they are empty.  Save
	pointer to unswapped external symbol rather than copying it.
	Don't free up the external symbols.
	* libelf.h (elf_symbol_type): Change mips_extr to PTR.
	* bfd-in.h (bfd_ecoff_debug_init, bfd_ecoff_debug_free): Declare.
	(bfd_ecoff_debug_accumulate): Update declaration.
	(bfd_ecoff_debug_accumulate_other): Rename declaration from
	bfd_ecoff_debug_link_other and update.
	(bfd_ecoff_write_accumulated_debug): Declare.
	* bfd-in2.h: Rebuilt.
	* Makefile.in: Rebuilt dependencies.
1994-01-11 16:23:41 +00:00
Jim Kingdon 6397809b7f * remote-mips.c (mips_wait): Fix typos (0x177 -> 0177, 0x377 -> 0377). 1994-01-11 15:04:02 +00:00
Jim Kingdon b36b8a6e94 * config.bfd: Use ELF, not COFF for m88*-*-dgux*.
Combine m88k-*-* and m88110-*-* cases into m88*-*-*.
1994-01-11 14:13:55 +00:00
John Gilmore a31f4b90e5 * stack.c (frame_info): If FRAME_FIND_SAVED_REGS isn't defined,
print a newline to end the display anyway.
1994-01-11 09:20:37 +00:00
John Gilmore c6d8db406c [Revise prev change -- this is how it's been running at Adobe, and it works
there.]

* sparc-tdep.c (sparc_pop_frame):  Pop the fsr and csr (float and
coprocessor status regs) when popping a frame.  This fixes
float exceptions that occur after calling inferior functions.

* sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
Read and write the fsr (float status register) to/from the child
process along with the float regs.  Remove Peter Schauer's change
of May 24 '93, which has higher overhead and doesn't solve the
real problem (which was that FSR wasn't being set).
1994-01-11 09:13:25 +00:00
John Gilmore c369b6a32f * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
Read and write the fsr (float status register) to/from the child
process.  This avoids random float exceptions when running under
GDB, and probably obsoletes Peter Schauer's change of May 24 '93
(which remains for safety).
1994-01-11 08:59:41 +00:00
John Gilmore 7b2bcbf59d * a29k-tdep.c (examine_prologue): Don't worry if the ASGEQ
stack overflow check isn't right after the register stack
adjustment instruction.  Metaware R2.3u compiler moves other
things in front of it.  This fix isn't perfect but is what's
running.
1994-01-11 07:45:48 +00:00
Rob Savoye c36a1486c6 * config/unix-gdb.exp: Remove gdb_unload cause it's already
defined in lib/gdb.exp
1994-01-11 05:16:50 +00:00
Rob Savoye 7ae5557239 Tweaked to work with either version of expect. removed gdb_unload proc
cause it's already in lib/gdb.exp.
1994-01-11 05:14:08 +00:00
Rob Savoye 9bcc6c3f67 Tweaked to work with either version of expect. 1994-01-11 05:09:44 +00:00
Jim Kingdon 85b8aa88ef * c-valprint.c (c_val_print): Treat TYPE_CODE_RANGE like TYPE_CODE_INT. 1994-01-11 04:54:53 +00:00
Jim Kingdon 166b44e41e Add alpha-nw.mt to things to keep 1994-01-11 04:14:32 +00:00
Jim Kingdon 43275cc9bc Add udi2go32.c to things to keep 1994-01-11 04:14:15 +00:00
Jim Kingdon 67d99cad3a Add TODO to things to keep 1994-01-11 04:13:54 +00:00
Jim Kingdon 6aaa61dec9 * config/alpha/alpha-netware.mt: Rename to alpha-nw.mt for 14
character filenames.
	* configure.in: Change accordingly.
1994-01-11 04:12:20 +00:00
David MacKenzie c344d88420 * ldgram.y, ldlex.l: Make the space between -e, -u, and -y and
their arguments optional, for compatibility with the old GNU ld.
1994-01-11 03:59:49 +00:00
Stan Shebs 2a79b2028e Set lose_these_too correctly 1994-01-11 02:55:30 +00:00
Jim Kingdon 2c96ba79c4 * Makefile.in (install): Remove "@" which follows a backslash. In
this position it just causes errors, not suppresses echoes.
1994-01-11 01:54:37 +00:00
Stan Shebs e4c7516baa Set lose_these_too correctly 1994-01-11 01:15:02 +00:00
Thomas Lord ef11827815 * m68k-stub.c, sparc-stub.c: removed spurious introduction of
_filtered io routines from these two files.
1994-01-10 23:56:49 +00:00
Jeff Law b8b9372df1 Remove mt-hppa since it's no longer used/needed. 1994-01-10 21:58:43 +00:00
Jeff Law 378cbfe1c9 * gas/hppa/more.parse/parse.exp: procbug.s is no longer expected
to fail.
        * gas/hppa/more.parse/procbug.s: Add missing .procend.
1994-01-10 17:55:19 +00:00
Jeff Law 4047ff1d24 * config/tc-hppa.c (pa_ip): Put check for missing label on .PROC
here.  Handle case where label may be defined after the .PROC.
        (pa_proc): It is not an error if the procedure's label isn't
        defined before the .PROC directive.
1994-01-10 17:54:01 +00:00
Jeff Law 2304e1e878 * som.c (hppa_som_gen_reloc_type): Fix handling of LT and RT
field selectors.
1994-01-10 17:07:52 +00:00
Ken Raeburn 34e4120b45 keep te-netbsd.h 1994-01-09 21:03:39 +00:00
Ken Raeburn 91176af626 te-netbsd.h: New file.
tc-i386.h (TARGET_FORMAT) [TE_NetBSD]: Use a.out-netbsd-386 for this config.
1994-01-09 20:49:23 +00:00
Ken Raeburn 096aefc040 * bucomm.c (xmalloc, xrealloc): Deleted.
* bucomm.h (xmalloc, xrealloc): Prototypes fixed to correspond to libiberty
versions.
1994-01-09 20:37:30 +00:00
Ken Raeburn fb4cf140d6 * config/i386-netbsd.mt (SELECT_VECS): Include i386bsd_vec, for compatibility
with 386bsd and netbsd0.8.
1994-01-09 20:30:00 +00:00
Ian Lance Taylor 267a3ab363 * scripttempl/elf.c: Define __bss_start before the .sbss section. 1994-01-08 01:01:23 +00:00
Ian Lance Taylor fe4e32905b * ecoff.c (ecoff_stab): Don't clobber the ECOFF symbol information
with the associate stabs information.
	(ecoff_build_symbols): Never set the type of stabs symbols to
	st_Global.  Don't update the symbol index or ifd if the gas symbol
	is not the same as the ECOFF symbol (which is now the case for
	stabs symbols).
1994-01-07 22:42:23 +00:00
David MacKenzie 5330499f72 * aoutx.h (adjust_z_magic): Don't merge the start of bss with the
end of data if they are not contiguous.
1994-01-07 21:33:00 +00:00
Peter Schauer f0d2557ca4 * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h,
config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET):  Define.
1994-01-07 21:02:39 +00:00
Peter Schauer 9d51b3c5f4 * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h,
config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET):  Define.
	* mdebugread.c (parse_symbol):  Handle enum sh.type produced by
	DEC c89.
	* mdebugread.c (add_line):  Handle zero linenos produced by DEC c89.
1994-01-07 20:59:35 +00:00
David MacKenzie d44b2ddb59 * aoutf1.h (sunos4_aout_backend): Comment the fields' meanings. 1994-01-07 20:50:57 +00:00
Peter Schauer 2db87e2212 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
	* gdb.t20/gdbme.cc, gdb.t21/gdbme.cc:  Conversion operator functions
	have to be typeless.
1994-01-07 20:47:45 +00:00
Ian Lance Taylor a5a835ffd8 * ecoff.c (ecoff_mkobject_hook): Don't set SEC_SHARED_LIBRARY flag
for .reginfo section here.
	(ecoff_new_section_hook): Set it here instead.
1994-01-07 20:43:55 +00:00
Jim Kingdon 17d059d413 * utils.c (print_sys_errmsg): Call gdb_flush (gdb_stdout) before
printing to gdb_stderr.

	* remote-udi.c (udi_kill): Don't close the connection, just set
	inferior_pid to zero.
	(udi_mourn): Call remove_breakpoints.

	* remote-udi.c: Remove obsolete need_artificial_traps comment.
1994-01-07 19:45:45 +00:00
Stan Shebs d1463af1d1 Fri Jan 7 11:26:29 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-make.in: Replace 8-bit chars with their names.
1994-01-07 19:27:21 +00:00
Stan Shebs 0f8cb88de1 Fri Jan 7 11:18:48 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-make.in: Replace 8-bit chars with their names.
	* config/ho-mpw.h (LOSING_COMPILER): Define.
1994-01-07 19:22:15 +00:00
Stan Shebs 917fae09f9 Fri Jan 7 11:14:07 1994 Stan Shebs (shebs@andros.cygnus.com)
* config/tc-mips.c (macro): Add a LOSING_COMPILER ifdef that
	splits the function.
	(macro2): New function, if LOSING_COMPILER defined.
1994-01-07 19:18:16 +00:00