Commit graph

21037 commits

Author SHA1 Message Date
Richard Henderson
76f9e5afa3 * listing.c (MAX_BYTES): Use listing variables not constants.
(data_buffer): No longer an array, but a pointer.
(calc_hex): sizeof(data_buffer) -> MAX_BYTES.
(listing_listing): Allocate data_buffer.
1998-01-27 14:56:15 +00:00
Richard Henderson
7b7a88d0e1 Bring over lost listing bits from emc-97r1-branch. 1998-01-27 14:45:09 +00:00
Richard Henderson
8c1caf7911 * gas/m68k/mri_moveml.[sd]: New testcase. 1998-01-27 13:36:48 +00:00
Richard Henderson
c3b27a64b4 * as.c (parse_args): Add --keep-locals alias for -L.
Add --strip-local-absolute.
	(show_usage): Update.
	* as.h (flag_strip_local_absolute): New flag.
	* symbols.c (S_IS_LOCAL): Use it.
	* config/obj-aout.h (S_IS_LOCAL): Likewise.
	* config/obj-bout.h (S_IS_LOCAL): Likewise.
	* config/obj-coff.h (S_IS_LOCAL): Likewise.
PR 14689
1998-01-27 13:33:54 +00:00
Doug Evans
f3329c1a64 add more pke/dma/gpuif parsing support 1998-01-27 05:59:50 +00:00
Doug Evans
3f7eb70f90 add pke field bit macros 1998-01-27 05:53:54 +00:00
Fred Fish
043fadbe52 Fix some mswin sanitization problems. 1998-01-27 05:19:50 +00:00
James Lemke
5fcbec8f9c Fix to s_dmadata(), .EndDmaData was causing a trap. 1998-01-27 03:34:26 +00:00
Doug Evans
5340383e69 add comment 1998-01-27 03:19:26 +00:00
Jason Molenda
bf1fb2e0c3 * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset):
Add closing parenthesis.  From HJ Lu.
1998-01-27 03:10:23 +00:00
Doug Evans
7b5c32cfa1 (lookup_keyword_{value,name}): New functions.
(scan_symbol): New function.
	(issymchar,SKIP_BLANKS): New macros.
Plus more dma/gpuif support code.
1998-01-27 02:58:45 +00:00
Doug Evans
dff6e4a297 (enum gpuif_reg): Declare. 1998-01-27 02:57:22 +00:00
James Lemke
63589bf457 *** empty log message *** 1998-01-27 02:52:04 +00:00
Doug Evans
b1313caee0 * tc-txvu.c (assemble_one_insn): Allow [] in suffix operand. 1998-01-27 02:36:56 +00:00
Doug Evans
2f511a26ba allow [] in suffix operand 1998-01-27 02:36:28 +00:00
Mark Alexander
d8365eee42 * dve3900-rom.c: Improve performance by using memory commands
that print less fluff.  Minor cosmetic changes.
	Eliminate compiler warnings.
1998-01-27 02:04:21 +00:00
Doug Evans
f73062614b * tc-txvu.c: First pass at dma/pke/gpuif support.
(assemble_one_insn): Renamed from assemble_insn.
	Initialize errmsg = NULL before calling parse fn.
	(fixups,fixup_count): Make static globals.
1998-01-27 00:32:01 +00:00
Doug Evans
f31e207296 * txvu-dis.c (print_insn): Extract/print fns take pointer to
insn now and not insn itself.
	* txvu-opc.c: insert/extract/print fns take pointer to
	insn now and not insn itself.  Add initial dma,pke,gpuif support.
	Parse fn no longer needs to set errmsg = NULL for success.
1998-01-27 00:27:54 +00:00
Doug Evans
6e84cd36f3 * txvu.h (txvu_opcode): insert/extract/print take pointer to
instruction rather than instruction itself.  Result of insert is
	`void'.  Add decls for dma, pke, gpuif support.
1998-01-27 00:21:03 +00:00
Fred Fish
d8021475a1 Fix some problems with gdbtk sanitization. 1998-01-26 23:04:13 +00:00
Nick Clifton
26192c5084 Detect when explicltly parallel instructions have i/o conflicts and
generate warning messages.
1998-01-26 21:09:18 +00:00
Ian Lance Taylor
f1dc7bb282 * bfd-in2.h: Rebuild with changes to chew--tab expansion. 1998-01-26 20:43:50 +00:00
Nick Clifton
b6930bdf46 Fixed infinite loop bug in can_make_parallel().
Added second level of sanization to remove phase 2 work.
1998-01-26 20:42:15 +00:00
Keith Seitz
d001edb7ba * gdbtk.c (gdb_actions_command): Make note of next action
before freeing all references to it.
1998-01-26 19:41:39 +00:00
Keith Seitz
efe1929bb6 remove last entry regarding new install target "install-gdbtk" 1998-01-26 17:38:30 +00:00
Fred Fish
e454c4004f Fix minor sanitization problems. 1998-01-26 17:14:55 +00:00
Doug Evans
0ca3c05121 use .vu pseduo-op 1998-01-26 06:33:18 +00:00
Doug Evans
b5d20cf65d checkpoint 1998-01-26 06:24:59 +00:00
Michael Meissner
629cfff05f Exit status is in r0, not r2 1998-01-26 03:23:55 +00:00
Doug Evans
23e32a7ec6 fix ilw,ilwr,isw,iswr 1998-01-25 23:38:32 +00:00
Doug Evans
17893656c1 checkpoint 1998-01-25 23:34:09 +00:00
Martin Hunt
0776b0b0da Sat Jan 24 23:52:08 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk.c: Merge from Foundry branch.
	(TclDebug): New debugging function.
	(gdb_loc): For frames, find address of calling function
	instead of whatever is on the stack (usually the next
	instruction).
	(gdb_listfiles): Takes an optional pathname argument and
	returns an alphabetized list of basenames of files in the
	path.
1998-01-25 08:56:08 +00:00
Martin Hunt
f03cdc5ef4 Sat Jan 24 23:44:43 1998 Martin M. Hunt <hunt@cygnus.com>
* breakpoint.c (enable_breakpoint): Preserve breakpoint
	disposition when enabling a breakpoint.
	* symtab.c (find_pc_sect_line): If no symbol information
	is found, return correct pc anyway.
1998-01-25 08:53:37 +00:00
Michael Meissner
88f7d309fd If DEBUG has 0x20 set, turn traps into batch debugging 1998-01-25 00:13:19 +00:00
Jeff Law
f2064d2185 * configure (package_makefile_frag): Move inserting the
${package_makefile_frag} to where it should be according
        to the comment.
1998-01-24 08:58:46 +00:00
Doug Evans
42e6567657 * txvu-opc.c:
(parse_dest1,insert_luimm12up6): New functions.
	(txvu_operands): New operands LUIMM12UP6, LDEST1.
	(txvu_lower_opcodes): Clean up pass over table.
	(parse_dotdest1): Fix dest calculation.
	(_parse_sdest): Fix typo.
1998-01-24 02:47:35 +00:00
Doug Evans
70d7bd21d1 * config/tc-txvu.c (assemble_insn): Initialize errmsg = NULL
before calling insert routine.
1998-01-24 02:44:02 +00:00
Doug Evans
5032511dce new txvu testcase lower-1 1998-01-24 02:41:41 +00:00
Doug Evans
71e4ba5086 new testcase lower-1 1998-01-24 02:40:00 +00:00
Stan Shebs
9a2e2aba8c * configure.host (i[3456]86-*-osf1mk*, mips-*-mach3*,
ns32k-*-mach3*): Fix file names.
	(i[3456]86-*-os9k, m88*-*-mach3*, w65-*-*): Remove config
	recognition, no source files for these.
	* configure.tgt (powerpc-*-aix4*): Remove config, now identical
	to powerpc-*-aix*.
	* config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: Remove files,
	no longer needed.
1998-01-24 01:34:00 +00:00
Mark Alexander
1a31a33a93 * monitor.c (monitor_write, monitor_readchar): New functions.
* monitor.h (monitor_write, monitor_readchar): Declare.
	* dve3900-rom.c: Add support for fast loading on ethernet connections.
1998-01-24 00:52:54 +00:00
Doug Evans
f62a42d0dc * config/tc-txvu.c (assemble_insn): Initialize errmsg = NULL
before calling insert routine.
1998-01-24 00:44:53 +00:00
Doug Evans
fbe2ad4648 * config/tc-txvu.c (assemble_insn): Delete test for !isalpha
after parsing mnemonic.  ASCII operand chars are case insensitive.
1998-01-24 00:44:52 +00:00
Doug Evans
ea32bce773 sanitize m32rx piece of _sim_cpu 1998-01-23 23:03:29 +00:00
Doug Evans
84af43e37d add m32rx sanitization to tconfig.in 1998-01-23 23:01:06 +00:00
Doug Evans
ed6f14718b * Make-common.in (stamp-tvals): New rule.
(targ-vals.h,targ-map.c): Depend on it.
	(clean): Remove stamp-tvals.
1998-01-23 22:22:23 +00:00
Keith Seitz
11f91b2bbc * symfile.c: Define two new hooks for symbol reading: "pre_add_symbol_hook"
and "post_add_symbol_hook". These hooks are called before we begin reading
        symbols, and after we finish.
        (generic_load): Use new symbol reading hooks and get rid of compiler warning.
        * gdbtk.c (gdbtk_init): Add hooks for pre- and post-symbol reading.
        (gdbtk_pre_add_symbol): New function: the pre-add-symbol hook.
        (gdbtk_post_add_symbol): New function: the post-add-symbol hook.
        (find_file_in_dir): New function. Moved the guts of gdb_find_file_command
        into here to allow its use by others.
        (gdb_loc): Use find_file_in_dir to return the real path to the file
        (or "N/A" if we can't find it).
        * configure.in (TIX_LIB_EXT): Define new variable for those special cases
        when TCL_SHLIB_SUFFIX is not enough to specify the dependency.
        * configure: Regenerate.
1998-01-23 20:54:35 +00:00
Nick Clifton
67f3b91e8b Updated to match latest disassembly results. 1998-01-23 18:32:40 +00:00
Michael Meissner
8831cb01b0 First round of d10v ABI changes 1998-01-23 16:30:08 +00:00
Fred Fish
77636dea0a * config/d10v/tm-d10v.h (CALL_DUMMY): Define as "{ 0 }".
(TARGET_READ_FP): Define to d10v_read_fp rather than d10v_read_sp.
	(TARGET_WRITE_FP): Define to d10v_write_fp rather than d10v_write_sp.
	(d10v_write_fp, d10v_read_fp): Add prototypes.
	* symtab.c (decode_line_1): Remove assignment of sals[0].pc field.
	* symfile.c (simple_overlay_update, simple_overlay_update_1):
	Ignore the size of overlay sections.  This check is redundant anyway.
	* printcmd.c (print_frame_args): Ditto.
	* valops.c (value_fetch_lazy): Ditto.
	* values.c (unpack_long): Ditto.
	* d10v-tdep.c (d10v_frame_chain, d10v_frame_find_saved_regs,
	d10v_init_extra_frame_info): Fix some minor bugs so the finish command
 	works properly.
	(show_regs): Change num1 and num2 types from "long long" to "LONGEST".
	(d10v_read_fp, d10v_write_fp): New functions.
	(d10v_push_arguments): Remove unneeded assigns to "val" and "contents".
	(d10v_push_arguments): Fix for pointers and structs.
	(d10v_extract_return_value): Fix for pointers and chars.
1998-01-23 15:44:12 +00:00