Commit Graph

6404 Commits

Author SHA1 Message Date
Jim Kingdon 34df79fc9d * findvar.c, defs.h
({extract,store}_{signed_integer,unsigned_integer,address}):
	New routines to replace SWAP_TARGET_AND_HOST.
	All over: All uses of SWAP_TARGET_AND_HOST on integers replaced.
1993-07-10 01:35:53 +00:00
Roland Pesch ec1c752b34 doc/as.texinfo 1993-07-10 00:32:18 +00:00
Roland Pesch 8d8ddccbe0 Updates for Hitachi H8/300H 1993-07-10 00:31:03 +00:00
David Edelsohn 89a2c4fdaa * run.c (main): Add -h flag to enable h8/300h emulation.
* compile.c: Rename Hmode to HMODE (consistency with gdb).
(set_h8300h): New function.
(sim_resume): Add support for extu,exts insns.
(sim_resume): Fix logical right shifting.
(sim_resume, label alu32): Fix setting of carry flag.
1993-07-09 21:42:02 +00:00
Jim Kingdon 271d73872f x 1993-07-09 21:20:09 +00:00
Jim Kingdon c4f8f209e7 * config/sparc/tm-sparc.h: Add comment suggesting that removing
ins and locals from the registers array might clean things up.
1993-07-09 21:19:17 +00:00
Jim Kingdon 19bdd57f75 * utils.c: Clean up comments about wrap buffer and wrap_here.
* printcmd.c (printf_command): Call wrap_here before vprintf.
1993-07-09 20:11:47 +00:00
Jim Kingdon 81074ec8d1 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
compiler arranges the code and line numbers.
1993-07-09 19:24:00 +00:00
Jim Kingdon 2a62a4cb1b * gdb.t17/interrupt.exp: Don't send \n after ^C. 1993-07-09 19:14:43 +00:00
Jim Kingdon 28d14fd878 * mipsread.c (cross_ref): Set the name to unknown for "struct *" case.
Patch from ptf@delcam.co.uk (Paul Flinders).
1993-07-09 18:40:26 +00:00
Jim Kingdon 4d50f90ab8 * a29k-tdep.c, findvar.c (get_saved_register): Fix byteswapping sins. 1993-07-09 18:33:23 +00:00
Ian Lance Taylor 332fc09ff0 Clean up some of the obvious m88k bitrot.
It still doesn't actually compile, though.
1993-07-09 18:31:36 +00:00
Peter Schauer 3ae135ab3b * gdb.t00/help.exp: Increase expect input buffer size. 1993-07-09 16:54:31 +00:00
Peter Schauer 7311533336 * gdbint.texinfo (Host, Target Conditionals): Remove TM_FILE_OVERRIDE. 1993-07-09 16:53:30 +00:00
Peter Schauer 2fcdae93aa * defs.h, remote-eb.c (TM_FILE_OVERRIDE): Remove it.
* mips-tdep.c (init_extra_frame_info):  Set proper fci->frame if pc
	is at the start of the dummy code.
1993-07-09 16:50:43 +00:00
Jim Kingdon a40fe908ce * aoutf1.h: Add definition of MACHTYPE_OK. 1993-07-09 05:47:07 +00:00
Jim Kingdon 075aa449df * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
* gdb.t07/watchpoint.exp: Add xfail for hppa.
1993-07-09 03:55:06 +00:00
Jim Kingdon dd99f8e4b2 * sparc-tdep.c (sparc_push_dummy_frame): Skip all the do_save_insn
stuff, just write the sp and fp.
	(sparc_pop_frame): Skip the do_restore_insn; we already restore
	the sp with the other out registers.
1993-07-09 03:53:46 +00:00
Jim Kingdon 5632cd5692 minor comment fix 1993-07-09 02:23:19 +00:00
John Gilmore 8d159a48b0 * configure: Remove extraneous output when guessing host type.
* config.guess:  Remove extraneous output when guessing using C
compiler rather than uname, or when guessing fails.
1993-07-09 01:27:26 +00:00
Ken Raeburn 3bf3f99aa7 keep elf.sc 1993-07-08 23:38:49 +00:00
Stu Grossman 4b9583def3 test of branches. please ignore. 1993-07-08 23:36:48 +00:00
Jim Kingdon 1af6f16c65 * gdb.t07/watchpoint.exp: Add xfail for hppa. 1993-07-08 23:08:05 +00:00
Ken Raeburn f90bb826e5 initial v9 stuff 1993-07-08 22:44:34 +00:00
Jim Kingdon 3b7f6de0e6 Make it so it compiles if QMAGIC is not defined (e.g. hp300hpux).
* aout64.h (N_BADMAG): Recognize QMAGIC.
	N_TXTOFF, N_TXTADDR, N_TXTSIZE: Special code for QMAGIC.
	N_DATOFF: Pad text size if we need to.
1993-07-08 21:50:23 +00:00
Ken Raeburn 3cb6141731 ldmisc,ldlang,Makefile changes 1993-07-08 20:28:03 +00:00
Ken Raeburn 9b0da7f468 ldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro when no
prototype is being supplied.
(ldmalloc, ldrealloc): Size argument is now size_t.

ldmisc.c (finfo): New function, accepts FILE* argument.
(vfinfo, case 'v'): New format character; displays bfd_vma in hex without
leading zeros.
(vfinfo, cases 'R' and 'C'): Use finfo(%v) when displaying a bfd_vma value,
instead of fprintf(%x) which won't hold a long long value.
(concat, buystring): String lengths are size_t.
(ldmalloc, ldrealloc, xrealloc): Size argument is now size_t.
1993-07-08 20:27:13 +00:00
Ken Raeburn 5af8e9d6a1 (new_stetement): Size argument is now type size_t.
Added forward declaration with prototype.
1993-07-08 20:25:26 +00:00
Ken Raeburn 58bf66f96e (ALL_EMULATIONS): Include $(OTHER_EMULATIONS) in case some target has stuff
to add.
1993-07-08 20:24:02 +00:00
Jim Kingdon 558f4183fb * hppa-tdep.c (hppa_push_arguments): Allocate enough space for
arguments.
1993-07-08 20:06:19 +00:00
Jim Kingdon 270532f9a4 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug. 1993-07-08 19:58:22 +00:00
Jim Kingdon 47976ba770 * hppa-tdep.c: Change _initialize_hppab_tdep to _initialize_hppa_tdep. 1993-07-08 19:53:05 +00:00
Mark Eichin 360ea8c517 fix the declaration of run_stack_dummy, as well. 1993-07-08 19:51:04 +00:00
Jim Kingdon 73553c44e7 Revision to this change--use ->next != NULL, not just ->next, when
passing an integer argument to find_pc_line.

	* frame.h, blockframe.c, stack.c, a29k-tdep.c,
	config/gould/tmp-{pn,np1}.h,
	config/{sparc/tm-sparc.h,pyr/tm-pyr.h,vax/tm-vax.h}: Remove field
	next_frame from struct frame_info.  It has no purpose beyond
	->next->frame and is an artifact from GDB 2.8.
1993-07-08 19:32:03 +00:00
Jim Kingdon be7f754982 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
[0-9]*, not just [0-9].
1993-07-08 19:29:53 +00:00
Jim Kingdon ce93f56967 * hosts/i386bsd.h: Conditionalize HOST_STACK_END_ADDR on __bsdi__.
i386bsd.c: Remove defines of N_TXT*; the versions in aout64.h should
	be sufficient.  Define TEXT_START_ADDR.
1993-07-08 19:24:29 +00:00
Jim Kingdon 70ef870f01 * aout64.h (N_BADMAG): Recognize QMAGIC.
N_TXTOFF, N_TXTADDR, N_TXTSIZE: Special code for QMAGIC.
	N_DATOFF: Pad text size if we need to.
1993-07-08 19:21:21 +00:00
David D. Zuhn 00a737d37c put CROSS definition into the Makefile 1993-07-08 19:19:31 +00:00
Ken Raeburn b25654337a Oops, not all of the tc-sparc.c change was format-independent.
Still handles both syntaxes independent of format.
1993-07-08 19:09:19 +00:00
Ken Raeburn 49bfda2c9a forgot to check this in yesterday 1993-07-08 18:56:54 +00:00
Mark Eichin d358969d94 changelog for tc-i960 change 1993-07-08 18:50:43 +00:00
Mark Eichin c47d388b75 Thu Jul 8 14:41:43 1993 Mark Eichin (eichin@cygnus.com)
* config/tc-i960.c (md_create_short_jump, md_create_long_jump,
	md_number_to_chars, md_section_align): Adjusted to use valueT,
	addressT, to match tc.h.
1993-07-08 18:44:32 +00:00
Ken Raeburn ff4cac3854 config/tc-sparc.c (s_common): Revamp to handle both syntaxes, and not be
target-specific.
1993-07-08 18:40:50 +00:00
David MacKenzie de87cdb466 * Make -v only print the version number.
Share some Texinfo documentation with BFD.
1993-07-08 18:00:11 +00:00
David MacKenzie 481d3f5a1b New file bfdsumm.texi to share with ld. 1993-07-08 17:58:15 +00:00
Jim Kingdon 6de931d2a9 Add filename which dje forgot to include 1993-07-08 17:40:31 +00:00
David Edelsohn 951d405354 h8/300h stuff 1993-07-08 16:06:57 +00:00
David Edelsohn 882e8c1583 (REGISTER_CONVERT_TO_VIRTUAL): Use REGISTER_RAW_SIZE to determine bytes to copy.
(REGISTER_CONVERT_TO_RAW): Ditto.
1993-07-08 16:01:52 +00:00
David Edelsohn bc4937f37c h8/300h stuff. 1993-07-08 15:55:48 +00:00
David Edelsohn ad8aefa5f6 (REGISTER_TYPES): Adjust for h8/300h.
(REGISTER_RAW_SIZE): Ditto
(REGISTER_VIRTUAL_TYPE): Use builtin_type_unsigned_long for regs on the h8/300h
(ints may still be 16 bits).
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS):
Add FIXME's for h8/300h.  Some thought needed here.
1993-07-08 15:53:13 +00:00