Commit Graph

3898 Commits

Author SHA1 Message Date
Peter Schauer 084475102b * config/mips/tm-mips.h (FIX_CALL_DUMMY): For big endian targets,
error() on TYPE_CODE_FLT arguments whose size is greater than 8,
	swap all other TYPE_CODE_FLT arguments as mips_push_arguments
	ensures that floats are promoted to doubles before they are pushed
	on the stack.
1994-02-19 11:26:47 +00:00
Peter Schauer 847d977530 * mdebugread.c (new_psymtab): Pass in section_offsets and set
them in the pst.
	* mdebugread.c (handle_psymbol_enumerators):  New function to enter
	the enumerators of an ecoff enum into the partial symbol table.
	* mdebugread.c (parse_partial_symbols):  Call it.
	* symfile.c (reread_symbols):  Initialize objfile->*_psymbols.next.
	* symmisc.c (dump_psymtab):  Fix typo, clean up output of section
	offsets. Cast psymtab->read_symtab to PTR before passing it to
	gdb_print_address.
	* i386-tdep.c (i386_skip_prologue):  Skip over instructions that
	set up the global offset table pointer in pic compiled code.
	* config/mips/tm-mips.h (FIX_CALL_DUMMY):  For big endian targets,
	error() on TYPE_CODE_FLT arguments whose size is greater than 8,
	swap all other TYPE_CODE_FLT arguments as mips_push_arguments
	ensures that floats are promoted to doubles before they are pushed
	on the stack.
1994-02-19 11:24:36 +00:00
Stu Grossman 9f35e15a65 * sparclite/Makefile.in, sparclite/salib.c, sparclite/sparclite.h:
Fixup cache_on and flush_i_cache so that they work for both the
	930 and 932 processors.  Rewrite most low level funcs (uart
	access & cache stuff) to use new ASI access macros in sparclite.h.
	Also make it easy to access second serial port.
1994-02-19 07:18:09 +00:00
Ian Lance Taylor 56173dc599 * hp300ux-nat.c: Don't incloude <sys/dir.h>, <sys/ioctl.h>, or
<sys/stat.h>; not needed.
1994-02-19 03:20:20 +00:00
Jim Kingdon c84bab2d70 * stack.c (print_frame_info): In "pathological" case, don't
distrust the line number information.
1994-02-19 01:21:33 +00:00
Kung Hsu 748d77d761 Modified Files:
ChangeLog mips-tdep.c valprint.c

        * mips-tdep.c (mips_print_register): handle 64 bits register.
        * valprint.c (print_longest): fix a bug in printing 64 bits value.
1994-02-19 00:57:49 +00:00
Kung Hsu 031b390acb Modified Files:
tm-mips64.h tm-mips.h

	Change REGISTER_VIRTUAL_TYPE to handle 64 bit register.
1994-02-19 00:50:48 +00:00
Jim Kingdon 83eab3d68d Add unknown.exp 1994-02-19 00:37:57 +00:00
Jim Kingdon 1eb89b9efb * Version 4.12.2. 1994-02-18 22:15:01 +00:00
Jim Kingdon ef1a05401b * Makefile.in (install): Do the sed for program_transform_name
ourselves instead of worrying about INSTALL_XFORM.  This enables
	users to override INSTALL_PROGRAM in the standard way.

	* Makefile.in (c-exp.tab.o, ch-exp.tab.o, m2-exp.tab.o): Don't
	depend on Makefile.in.
1994-02-18 21:01:55 +00:00
Jim Kingdon fb0f423133 * defs.h, valprint.c: Make longest_to_int a function not a macro.
Only test against INT_MIN if a LONGEST is bigger than an int.
1994-02-18 17:47:43 +00:00
Jim Kingdon d241c8c89a * gdb.texinfo (Formatting Documentation): Change GhostScript to
Ghostscript.
1994-02-18 16:39:10 +00:00
Jim Kingdon 889f1f0339 * README: Change GhostScript to Ghostscript. 1994-02-18 16:31:01 +00:00
Jim Kingdon d5cb2f7d1a * config/rs6000/{tm-rs6000lynx.h,nm-rs6000lynx.h,xm-rs6000lynx.h}:
Rename to tm-rs6000ly.h, nm-rs6000ly.h, xm-rs6000ly.h for 14
	character file names.
	* Makefile.in (ALLPARAM): Add these files.
1994-02-18 15:55:21 +00:00
Jim Kingdon 662f3b3f1f * config/mips/littlemips64.mt: Rename to mipsel64.mt for 14
character file names.
	Makefile.in: Add Kung's new mips64 files.
1994-02-18 15:42:48 +00:00
Kung Hsu 70126bf94e Modified Files:
ChangeLog configure.in defs.h mips-tdep.c

        * configure.in: add mips64-*-elf, mips64-*-ecoff, mips64el-*-elf,
        mips64el-*-ecoff and mips64-big-*.
        * defs.h: get rid of FORCE_LONG_LONG.
        * mips-tdep.c (mips_find_saved_regs): add sd and sdc1 instruction
        parsing. Change register size to be MIPS_REGSIZE.
1994-02-18 01:38:08 +00:00
Kung Hsu 4fbce2fdd2 Added Files:
bigmips64.mt idt64.mt idtl64.mt littlemips64.mt tm-bigmips64.h
	tm-idt64.h tm-idtl64.h tm-mips64.h

	Add the above files to support mips 64 bits target.
1994-02-18 01:21:36 +00:00
David MacKenzie c4a081e172 * corelow.c, exec.c, irix5-nat.c, mipsread.c, objfiles.c,
osfsolib.c, rs6000-nat.c, solib.c, symfile.c, utils.c,
	xcoffexec.c: Use bfd_get_error and bfd_set_error and new error names.
1994-02-17 18:19:25 +00:00
Jeff Law 34535b4433 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
* gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
1994-02-14 17:59:19 +00:00
Steve Chamberlain 3b5442f9c8 * remote-hms.c (readchar, hms_open, hms_fetch_register): Made more robust.
(remove_commands, add_commands): Add/remove hms-drain when target
	is connected.
1994-02-12 05:52:11 +00:00
Stu Grossman d87d7b10af * configure.in: Add Lynx/rs6000 support.
* lynx-nat.c:  Clean up some Sparc stuff.  Clean up ptrace error
	messages.  Add rs6000 support.  Don't try to modify unwritable
	registers.
	* rs6000-nat.c:  Move lots of native dependent stuff (like core
	file support) from rs6000-tdep.c & xcoffexec.c to here.
	* rs6000-tdep.c:  Move native dependent stuff to nat.c.
	* xcoffexec.c:  Move native dependent stuff to nat.c.
	* config/rs6000/nm-rs6000.h:  Move defs of SOLIB_* macros to here
	from tm	file.
	* config/rs6000/tm-rs6000.h:  Remove defs of SOLIB_* funcs, cuz they're
	really native.
	* config/rs6000/tm-rs6000lynx.h, config/rs6000/xm-rs6000lynx.h:
	New files to support Lynx/rs6000.
1994-02-12 01:08:29 +00:00
Stan Shebs 1158ee8b00 sparcly-nat.c is long gone 1994-02-11 20:23:03 +00:00
Peter Schauer 4c1b6b07ea * config/alpha/alpha-nw.mt, config/alpha/alpha-osf1.mt (MT_CFLAGS):
Remove, no longer necessary now that we use bfd_vma for a CORE_ADDR.
1994-02-08 09:05:56 +00:00
Peter Schauer ba47c66add * README: Remove note about gcc warnings on alpha, these should be
gone now.
	* c-exp.y, ch-exp.y, core.c, corelow.c, eval.c, fork-child.c,
	m2-exp.y, minsyms.c, nlmread.c, parse.c, putenv.c, regex.c
	remote-utils.c, stabsread.c:  Include <string.h>.
	* regex.c:  Include "defs.h", change re_comp argument to const char *.
	* infptrace.c (fetch_register, store_inferior_registers):  Change
	regaddr to type CORE_ADDR.
	* config/alpha/alpha-nw.mt, config/alpha/alpha-osf1.mt (MT_CFLAGS):
	Remove, no longer necessary now that we use bfd_vma for a CORE_ADDR.
1994-02-08 09:01:03 +00:00
Jim Kingdon ea5dad7f09 * config/m68k/{m68k-em.mt,tm-m68k-em.h}: Remove; no longer used.
* configure.in: Remove comment about m68k-em.mt.
	* Makefile.in: Remove references.
1994-02-07 17:04:47 +00:00
Jim Kingdon 6ddba99277 * defs.h [BFD64]: Use BFD_HOST_64_BIT, not nonexistent
BFD_HOST_64_TYPE.
1994-02-07 16:25:25 +00:00
Jim Kingdon cac7615942 (udi_create_inferior): If udi_session_id is negative, open a new
TIP rather than giving an error.
1994-02-07 02:23:31 +00:00
Jim Kingdon fd70af24a3 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
gdb.t03/ptype.exp (ptype structure, ptype union):
	Remove xfails; the test is looser than when the xfails were added.
1994-02-07 02:06:27 +00:00
Jim Kingdon 2558ba5dd6 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
since "run" automatically loads if necessary.  Call gdb_target_udi
	after the "file" since "file" kills any execution target.
1994-02-07 01:50:51 +00:00
Jim Kingdon 1dd29bef1b * target.c (target_preopen): If target_kill doesn't remove the
target from the stack, use pop_target to do it.
1994-02-07 01:31:15 +00:00
Jim Kingdon 5bf581053c * gdb.t02/whatis.exp: Remove xfails for PRs 1838 and 2417; they
are fixed.

	* gdb.t02/whatis.exp: Remove xfails for v_char_array and
	v_signed_char_array; the test is looser than when the xfails were
	added.

	* gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
	* gdb.t00/help.exp: Don't expect remote to be in "help target" output.
1994-02-07 00:59:37 +00:00
Jim Kingdon 704aea4326 * coffread.c (process_coff_symbol, case C_TPDEF): Don't set name
of TYPE_CODE_PTR or TYPE_CODE_FUNC types.  This parallels similar
	changes to stabsread.c from summer 1993.
1994-02-07 00:53:43 +00:00
Jim Kingdon b6999724da * gdb.t01/run.exp: Only run shell test if isnative. 1994-02-07 00:18:08 +00:00
Jim Kingdon ebbed4c4c3 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
since "run" automatically loads if necessary.
1994-02-07 00:06:45 +00:00
Jim Kingdon d3b06c5fcf * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
GDB.  GDB doesn't work that way (not anymore at least) on UDI.
	* gdb.t01/run.exp: Don't pass extra first argument for UDI.
1994-02-06 23:45:18 +00:00
Jim Kingdon 4a00e1de7b * remote-udi.c (udi_files_info): If prog_name is NULL, just skip
printing the program, rather than passing NULL to printf.
	(udi_detach): Set udi_session_id to -1 so that udi_close doesn't
	try to call UDIDisconnect again.  Print better message.
	(udi_kill): Just call UDIDisconnect ourselves, rather than doing
	it via udi_close.
	(udi_open): Unpush UDI target after target_preopen, now that
	udi_kill doesn't pop the target.
	(udi_create_inferior): If udi_session_id is negative, open a new
	TIP rather than giving an error.
1994-02-06 23:34:13 +00:00
Jim Kingdon 01cd70b985 * config/mips/mipsm3.mh, config/i386/i386m3.mh,
config/ns32k/ns32km3.mh: Define NAT_FILE.
	* config/nm-m3.h: Change guard from _OS_MACH3_H_ and _OS_MACH3_H
	(it was inconsistent and namespace-wrong) to NM_M3_H.
	* m3-nat.c (mach_really_wait): Change parameter name to ourstatus.
	(m3_open): New function.
	(m3_ops): Use it.
	* TODO: Update Mach section.

	* Makefile.in: Remove "rapp" stuff; it is superseded by gdbserver.
1994-02-06 22:38:28 +00:00
Per Bothner d41b3eed26 * printcmd.c (printf_command): Add missing single-letter
backslash-escape sequences, and improve error message.
1994-02-06 21:29:32 +00:00
Jim Kingdon 842cf83162 * corelow.c (solib_add_stub, core_open): Pass address of from_tty
rather than trying to shove an int into a pointer and back out
	again.  This avoids compiler warnings.
1994-02-06 16:16:39 +00:00
Jim Kingdon 7343d7167f * defs.h (alloca): Declare as void *, not char *, on hpux.
Don't prototype it, just declare the return type.
1994-02-06 15:00:00 +00:00
Peter Schauer 57a9fee313 * config/i386/tm-sun386.h, config/i386/tm-symmetry.h
(REGISTER_CONVERT_TO_RAW):  Add missing backslash.
1994-02-06 11:32:46 +00:00
Jim Kingdon 021b10e345 * remote-mips.c (mips_fetch_registers): If regno is FP_REGNUM or
ZERO_REGNUM, just read it as zero without talking to the board.
1994-02-05 22:29:06 +00:00
Jim Kingdon 60f1cc9858 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
* gdb.t17/callfuncs.exp: Add xfails for rs6000.
1994-02-05 21:29:45 +00:00
Jim Kingdon 8b0a85bad1 * config/i386/tm-i386aix.h (REGISTER_CONVERT_TO_RAW): Add missing
backslash.
	* i386-tdep.c (i386_extract_return_value): Pass TYPE_LENGTH (type)
	to store_floating, not nonexistent variable len.
1994-02-05 20:38:12 +00:00
Jim Kingdon aa56c7161b * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
New functions.
	(mips_store_word): Change calling convention to return errors, and
	to provide old contents if the caller wants it.
	(mips_xfer_memory): Deal with errors from mips_store_word.
	* config/mips/tm-idt.h, config/mips/tm-idtl.h: Remove BREAKPOINT
	define now that remote-mips.c doesn't use BREAKPOINT.
1994-02-05 20:30:35 +00:00
Jeff Law 90e77b4aec * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
(comib_nullified_tests): Fix typo.
        * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
        strings.  No longer expected to fail.
1994-02-05 19:16:49 +00:00
Jim Kingdon 29fc92e81a * remote-e7000.c: Replace "snoop" command (e7000_noecho) with
remote_debug.
1994-02-05 18:50:52 +00:00
Jeff Law 8a1f1fbab0 * gdb.disasm/hppa.s (addib_tests): Fix typo.
* gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
        strings.  No longer expected to fail.
1994-02-05 18:40:20 +00:00
Jim Kingdon 3c409d2045 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
properly quoting regexps.  This makes the second argument to
	demangle a fixed string, which matches the callers, instead of a
	shell-style pattern which is what the previous implementation
	used.  Update some of the callers.
1994-02-05 18:34:33 +00:00
Jeff Law ddb01977fb * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect string.
No longer expected to fail.
1994-02-05 18:20:02 +00:00