Commit Graph

6494 Commits

Author SHA1 Message Date
David MacKenzie
d723cd17d5 * ldlang.c (lang_process): Use sizeof instead of magic constant.
* ldmain.c (get_emulation, check_for_scripts_dir,
	set_scripts_dir):  New functions.
	(main): Call them.
1993-07-12 19:34:04 +00:00
Mark Eichin
c463189d53 update use of valueT and addressT 1993-07-12 18:58:50 +00:00
Jim Kingdon
499a5faaae * stabs.texinfo: N_MAIN is sometimes used for C. 1993-07-12 18:41:14 +00:00
Jim Kingdon
1326dacef9 * c-valprint.c (c_val_print): Fix thinko with unspecified length
arrays.
1993-07-12 18:00:48 +00:00
Jim Kingdon
eabbe766c0 * hppa-tdep.c (find_proc_framesize): If there is a frame pointer,
use it.
1993-07-12 16:34:23 +00:00
Jim Kingdon
4988d8c722 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames. 1993-07-12 16:30:21 +00:00
Jim Kingdon
4f47020526 improve comment about Sun acc 1993-07-12 15:58:42 +00:00
Ken Raeburn
5d4ef2968b config/obj-elf.c (obj_elf_section): Allow `@' to introduce an attribute name.
Handle `execinstr' attribute.
1993-07-12 15:17:10 +00:00
Ken Raeburn
e7affb090d configure.in, elf.sc changes 1993-07-12 15:07:42 +00:00
Ken Raeburn
aa6743a58d Include .init, .fini, .rodata sections.
Create symbol "end" instead of "__end".
Comment out some parts that may not be needed (yet) for elf.
1993-07-12 15:05:38 +00:00
Ken Raeburn
e900b30cae Solaris 2 support; sparc64 sanitization. 1993-07-12 15:01:15 +00:00
Ken Raeburn
dc31b55093 fix values 1993-07-12 15:00:55 +00:00
Ken Raeburn
96593d4b82 Solaris 2 configuration; sparc64 sanitization. 1993-07-12 14:59:29 +00:00
Ken Raeburn
ba9ca6a387 Handle sparc64-* before sparc*.
Accept sparc-elf and sparc-solaris configurations (though ../configure.in
should still not configure this directory by default, it's not completely
working).
1993-07-12 14:56:45 +00:00
Ken Raeburn
b886bef191 Changes to reloc.c, libelf.h, config/sparc-elf.mt. 1993-07-12 14:50:45 +00:00
Ken Raeburn
5284a822d1 regenerated 1993-07-12 14:48:13 +00:00
Ken Raeburn
6ed3ddef4c Use {start,end}-sanitize-v9 instead of `v9' on every line to be removed. 1993-07-12 14:47:30 +00:00
Ken Raeburn
cb6d724fb9 (struct elf_obj_tdata): Add field `thunk'. 1993-07-12 14:46:20 +00:00
Ken Raeburn
58acdbd76b (enum bfd_reloc_code_real): Move SPARC_BASE13 and SPARC_WDISP19 to more
appropriate places.
(bfd_perform_relocation): Whitespace changes, more comments.
1993-07-12 14:44:30 +00:00
Ken Raeburn
2d56dfba5d (sparc_reloc_map): Remove duplicate WDISP19 entry. 1993-07-12 14:39:40 +00:00
Ken Raeburn
1bea1b6fa7 Clean v9 stuff from reloc.c and bfd-in2.h also. 1993-07-12 14:37:44 +00:00
Ian Lance Taylor
99c24539c5 * config/tc-mips.c (mips_ip): Don't warn on 'i' or 'j' mismatch if
there is another alternative for the instruction.
1993-07-12 14:24:20 +00:00
Jim Kingdon
f1ed43304a * symtab.c (decode_line_1): Use end of block to figure out whether
val.end is in the same function, not minimal symbols.

	* source.c (line_info): Add a few more wrap_here's.

	* i386-tdep.c (i386_follow_jump): Do byteswapping where needed and
	don't make assumptions about sizes of host data types.

	* blockframe.c, symtab.h (find_pc_partial_function): New arg endaddr.
	* infrun.c, breakpoint.c, printcmd.c: Change callers.
	* printcmd.c (containing_function_bounds): Remove.
	* printcmd.c (disassemble_command): Use find_pc_partial_function,
	not containing_function_bounds.
	* infcmd.c (step_1): Use find_pc_partial_function rather than
	trying to roll our own.  Move check for a pc between SIGTRAMP_START and
	SIGTRAMP_END in find_pc_partial_function, not step_1.
1993-07-12 03:42:35 +00:00
Jim Kingdon
f6365bd696 * sparc-tdep.c (sparc_frame_chain, frame_saved_pc):
Keep unswapped value in array of char, not REGISTER_TYPE.
	Use REGISTER_RAW_SIZE not sizeof (REGISTER_TYPE).
	(sparc_extract_struct_value_address): Use TARGET_PTR_BIT not
	sizeof (CORE_ADDR).
1993-07-12 00:45:02 +00:00
David Edelsohn
9fc8002c2d Add v9 sanitized entry for sparc-tdep.c. 1993-07-12 00:13:50 +00:00
David Edelsohn
85b9835f8f Add v9 sanitization support. 1993-07-12 00:08:42 +00:00
Jim Kingdon
62648c5ad8 * m68k.h: Define MC68KBCSMAGIC. 1993-07-11 23:41:01 +00:00
Jim Kingdon
68c567a0bc add dpx/2 support 1993-07-11 23:40:10 +00:00
Jim Kingdon
0a8f174266 * configure.in (m68*-bull-sysv*): added support for Bull dpx2.
* config/m68k/{t,x,n}m-dpx2.h, dpx2-nat.c: New files.
	* config/m68k/dpx2.m{h,t}: New files.
1993-07-11 23:29:31 +00:00
Jim Kingdon
a4b6affa7b add file 1993-07-11 23:24:49 +00:00
Jim Kingdon
4d09e8acfb * elfcode.h: Use memset not bzero.
* trad-core.c: Don't include <sys/file.h>.
	* i386linux.h: Include <sys/file.h>.
	* coff-m68k-un.c: new file to handle names with underscores on
	svr3 machines.
	* coff-m68k.c (m68k_rtype2howto): added #ifdef ONLY_DECLARE_RELOCS
	to not duplicate the function in the executable.
	(TARGET_SYM, TARGET_NAME, NAMES_HAVE_UNDERSCORE): new macros needed
	by coff-m68k-un.c.
	* coffcode.h (MC68KBCSMAGIC): case added.
	* targets.c: Add m68kcoffun_vec.
	* configure.host: added support for Bull dpx/2.
	* config/dpx2.mh, hosts/dpx2.h: new files.
	* Makefile.in: added target coff-m68k-un.
1993-07-11 23:23:20 +00:00
Jim Kingdon
6f4d6543da new for dpx2 1993-07-11 22:58:00 +00:00
Jim Kingdon
efeb844ddb new for dpx2 1993-07-11 22:44:45 +00:00
David Edelsohn
53adb297a1 config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Fix typo, add
more parens around macro arg.
1993-07-11 19:36:38 +00:00
David Edelsohn
8df6afe63b (PRINT_REGISTER_HOOK): Fix typo, add parens around macro arg. 1993-07-11 19:31:49 +00:00
Jim Kingdon
a688a1866c * gdb.t17/interrupt.exp: Test for more things. 1993-07-11 17:05:33 +00:00
Jim Kingdon
29c6dce249 * infrun.c: Remove step_resume_{duplicate,shadow}. Replace
step_resume_break_address with step_resume_breakpoint (now local
	to wait_for_inferior).
	({insert,remove}_step_breakpoint): Remove.
	(wait_for_inferior): Set step resume break with
	set_momentary_breakpoint.  Test hitting it with bpstat_stop_status
	and bpstat_what	(stop_step_resume_break removed).
	* breakpoint.{h,c}, infrun.c: Return value from bpstat_what now struct
	which includes previous return value as main_action, and a step_resume
	bit.
	* breakpoint.c (delete_breakpoint): If breakpoint was inserted, and
	there is another breakpoint there, insert it.
	* infrun.c (wait_for_inferior): Rearrange the spaghetti a bit.  Use
	a few more gotos.
	Various: Clean up and add comments.
1993-07-11 05:41:04 +00:00
Jim Kingdon
fe67503857 * infrun.c: Remove step_resume_{duplicate,shadow}. Replace
step_resume_break_address with step_resume_breakpoint (now local
	to wait_for_inferior).
	({insert,remove}_step_breakpoint): Remove.
	(wait_for_inferior): Set step resume break with
	set_momentary_breakpoint.  Test hitting it with bpstat_stop_status
	and bpstat_what	(stop_step_resume_break removed).
	* breakpoint.{h,c}, infrun.c: Return value from bpstat_what now struct
	which includes previous return value as main_action, and a step_resume
	bit.
	* breakpoint.c (delete_breakpoint): If breakpoint was inserted, and
	there is another breakpoint there, insert it.
	* infrun.c (wait_for_inferior): Rearrange the spaghetti a bit.  Use
	a few more gotos.
	Various: Clean up and add comments.
1993-07-11 04:52:50 +00:00
Jim Kingdon
fee44494f1 * infrun.c [TDESC]: Remove remaining tdesc code (see ChangeLog
for Wed Nov 13 16:45:13 1991).
1993-07-10 14:59:02 +00:00
Jim Kingdon
58e49e2178 * values.c, value.h (modify_field), callers: Make fieldval a LONGEST.
* h8300-tdep.c (NEXT_PROLOGUE_INSN): Make pword1 an INSN_WORD *
	not short *.

	* 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 05:03:22 +00:00
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