Commit Graph

19710 Commits

Author SHA1 Message Date
Ian Lance Taylor be3d1b6f9e fix copyrights 1997-08-15 18:26:52 +00:00
Ian Lance Taylor cd92403305 * as.h (enum debug_info_type): Define.
(debug_type): Declare.
	* as.c (debug_type): New global variable.
	(show_usage): Add --gstabs.
	(parse_args): Handle --gstabs.
	* read.c (generate_asm_lineno): Remove.
	(read_a_source_file): Output stabs debugging if appropriate.
	Change checks of generate_asm_lineno to check debug_type.  Only
	generate ECOFF debugging if ECOFF_DEBUGGING is defined.
	* read.h (generate_asm_lineno): Don't declare.
	(stabs_generate_asm_lineno): Declare.
	* stabs.c (stabs_generate_asm_lineno): New function.
	* ecoff.c (add_file): Use debug_type, not generate_asm_lineno.
	Don't turn off debugging.
	(add_file): Remove old #if 0 code.
	(ecoff_new_file): Set debug_type, not generate_asm_lineno.
	(ecoff_directive_end): Don't generate stabs line symbols.
	(ecoff_generate_asm_lineno): Don't check stabs_seen.  Don't set
	generate_asm_lineno.
	(line_label_cnt): Remove.
	(ecoff_generate_asm_line_stab): Remove.
	* ecoff.h (ecoff_generate_asm_line_stab): Don't declare.
	* doc/as.texinfo, doc/as.1: Document --gstabs.
1997-08-15 18:19:27 +00:00
Ian Lance Taylor 00c7247bce * coffgen.c (coff_find_nearest_line): Correctly handle the offset
argument as section relative, rather than an absolute address.
	From Jan Hoogenraad <hoogenrd@natlab.research.philips.com>.
1997-08-15 16:02:53 +00:00
Ian Lance Taylor d1a6b493b8 fix v850 sanitization 1997-08-15 15:50:13 +00:00
Ian Lance Taylor cfb9ba14c3 fix v850 sanitization 1997-08-15 15:44:07 +00:00
David Edelsohn 2b0c643b8d Remove ARC sanitization. 1997-08-15 12:20:57 +00:00
David Edelsohn 427a9cc709 * arc.h (enum reloc): Move here from elf32-arc.c. 1997-08-15 12:10:43 +00:00
David Edelsohn 76af94b9a4 Remove ARC sanitization. 1997-08-15 12:08:52 +00:00
David Edelsohn 76fc9bac4b Remove support for insns not in base chip, which is all we support now. 1997-08-15 06:58:48 +00:00
David Edelsohn 6ac387f1f8 Delete testcases, these don't appear in the base chip which is all we
support now.
1997-08-15 06:53:50 +00:00
David Edelsohn 3ffb03b170 Remove ARC sanitization. 1997-08-15 06:49:09 +00:00
David Edelsohn dddbd8c586 Add comment. 1997-08-14 20:36:00 +00:00
David Edelsohn bf008f9852 Undo last change, add comment saying why I think I was wrong. 1997-08-14 20:07:56 +00:00
David Edelsohn a5120a7e53 * callback.h (cb_printf, cb_eprintf): Declare. 1997-08-14 19:55:37 +00:00
Nick Clifton 035d8553d7 Fixed typo in previous delta and added more sanitization. 1997-08-14 19:55:03 +00:00
David Edelsohn 052d7984df * callback.c (os_poll_quit): Make static.
Call sim_cb_eprintf, not p->eprintf.
	(sim_cb_printf, sim_cb_eprintf): New functions.
1997-08-14 19:53:10 +00:00
Nick Clifton 323b12f8ce oops - fixed typo. 1997-08-14 19:48:36 +00:00
Nick Clifton a0a6db4bfa Tidied up sanitization. 1997-08-14 19:45:14 +00:00
Ian Lance Taylor d2657e3e44 * configure: Get CFLAGS and CXXFLAGS from Makefile, if possible. 1997-08-14 19:43:00 +00:00
Nick Clifton 3ff7258ec3 Tidied up sanitization 1997-08-14 19:42:22 +00:00
Nick Clifton 58036ae4c9 Tidied up the sanitization. 1997-08-14 19:34:58 +00:00
Ian Lance Taylor 72d8a21508 * configure: When handling a Canadian Cross, handle YACC as well as
BISON.  Just set BISON to bison.  When setting YACC, prefer bison.
1997-08-14 18:43:48 +00:00
Stan Shebs 23cb1bc1aa keep remote-sds.c 1997-08-14 02:46:46 +00:00
Stan Shebs 2d46177ce1 * remote-sds.c: New file, interface to SDS-compatible monitors.
* Makefile.in (remote-sds.o): Add build rule.
	* config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt
 	(TDEPFILES): Add remote-sds.o.
1997-08-14 02:41:15 +00:00
Nick Clifton f7fcba7a84 Added support for v850e and v850eq instructions. 1997-08-14 02:13:32 +00:00
Nick Clifton 32e23ecd9c Added support for v850e and v850eq instructions. 1997-08-14 02:03:34 +00:00
Nick Clifton f61b671ddd Add support for v850E and v850EQ instructions. 1997-08-14 01:55:51 +00:00
Nick Clifton 190b78bbe1 Added support for new v850e and v850eq instructions. 1997-08-14 01:49:02 +00:00
Bob Manson 398e180ae9 Fix quoting. 1997-08-13 04:53:09 +00:00
Bob Manson 07ce0e49de Fix quoting. 1997-08-13 04:50:07 +00:00
Bob Manson bc1e11e9d5 * tests2.exp: Fix quoting.
* tests1.exp: Ditto.
1997-08-13 04:49:25 +00:00
Ian Lance Taylor f9d1d57586 * configure: If OSTYPE matches *win32*, try to find a good value for
CONFIG_SHELL.
1997-08-13 02:40:46 +00:00
Geoffrey Noer a2c23081d5 Tue Aug 12 14:37:18 1997 Geoffrey Noer <noer@cygnus.com>
* ocd.c (ocd_wait): loop until we're in BDM mode instead of
        assuming control has returned to GDB.
1997-08-12 21:38:54 +00:00
Ian Lance Taylor ccf1cf9c69 * Makefile.in (install-only): Install tclIndex if ENABLE_IDE. 1997-08-12 20:38:39 +00:00
Richard Henderson 4b67a7199b * doc/internals.texi: Document rs_leb128. 1997-08-12 17:30:10 +00:00
Ian Lance Taylor de815f6167 * config/tc-m68k.c (m68k_ip): Give an error message for SIZE_BYTE
in ABSL case, rather than calling abort.
1997-08-12 16:17:46 +00:00
Richard Henderson 8cf777d667 * as.h (enum _relax_state): Add rs_leb128.
* read.c (potable): Add sleb128 and uleb128.
        (sizeof_*leb128, output_*leb128, emit_leb128_expr, s_leb128): New
        functions.
        * read.h: Update prototypes.
        * symbols.c (resolve_symbol_value): Streamline quite a bit.  Return
        the symbol value, add a second FINALIZE argument that prevents
        changes from being comitted.  Update all callers.
        * write.c (cvt_frag_to_fill, relax_segment): Handle rs_leb128.
        * doc/as.texinfo: Document the new pseudos.
1997-08-12 05:42:00 +00:00
Stan Shebs 66df708b34 keep dink32 interface 1997-08-12 02:35:11 +00:00
Stan Shebs 339cddf717 * dink32-rom.c: New file, support for DINK32 monitor.
* Makefile.in (dink32-rom.o): Add build rule.
	* config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt
 	(TDEPFILES): Add dink32-rom.o.
	* monitor.h (MO_32_REGS_PAIRED, MO_SETREG_INTERACTIVE,
 	MO_SETMEM_INTERACTIVE, MO_GETMEM_16_BOUNDARY,
 	MO_CLR_BREAK_1_BASED): New monitor interface flags.
	* monitor.c: Use them.
	(monitor_store_register): Use setreg.term if defined.
	(monitor_insert_breakpoint, monitor_remove_breakpoint): Notice
	if set_break and clr_break fields are empty.
1997-08-12 02:34:14 +00:00
Geoffrey Noer 2549d2b385 Mon Aug 11 16:22:36 1997 Geoffrey Noer <noer@cygnus.com>
* ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): macro
        BDM_BREAKPOINT already has braces around it, remove erroneous ones.
        * ser-ocd.c (ocd_write): conditionalize on _WIN32 instead of
        __CYGWIN32__
        * config/powerpc/tm-ppc-eabi.h: remove BDM_NUM_REGS, BDM_REGMAP
        * ppc-bdm.c: move BDM_NUM_REGS, BDM_REGMAP here from tm.h file,
        fill in doc fields of bdm_ppc_ops.
        (bdm_ppc_fetch_registers): don't ask for invalid registers such
        as the MQ or floating point regs not present on ppc 8xx boards
        (bdm_ppc_store_registers): don't write those same invalid registers
        * config/i386/cygwin32.mh: stop including ocd.o ser-ocd.o
        * config/powerpc/ppc-eabi.mt:
        * config/powerpc/ppcle-eabi.mt:
        * config/powerpc/ppc-sim.mt:
        * config/powerpc/ppcle-sim.mt: include ser-ocd.o
1997-08-11 23:40:26 +00:00
Fred Fish 53a9bb1a32 * frame.h (enum lval_type): Conditionalize on __GNUC__
instead of __STDC__.
1997-08-11 23:14:47 +00:00
Ian Lance Taylor c070fb34df * Makefile.in, configure.in: Handle jstools like vmake. 1997-08-11 17:50:58 +00:00
Tom Tromey 7b94b2ea77 * gdbtk.c (gdbtk_init): Use ide_event_init_from_environment. 1997-08-11 16:49:53 +00:00
Ian Lance Taylor 6ccdc203e6 * aoutx.h (NAME(aout,final_link)): Don't emit the string table if
there are no symbols.
1997-08-11 16:46:40 +00:00
Geoffrey Noer 69f78b0e41 Sun Aug 10 16:49:09 1997 Geoffrey Noer <noer@cygnus.com>
* ocd.c: move ocd_write_bytes proto to ocd.h since it is used
        by ppc-bdm.c, use OCD_LOG_FILE to help debugging, define
        BDM_BREAKPOINT if not defined in tm.h
        (ocd_error): add new error cases
        (ocd_start_remote): send the OCD_INIT command before
        OCD_AYT and OCD_GET_VERSION calls, 80 was correct speed after all
        (ocd_write_bytes): no longer static
        (ocd_insert_breakpoint): no longer static
        (ocd_remove_breakpoint): new
        * ocd.h: add protos for ocd_write_bytes, ocd_insert_breakpoint,
        and ocd_remove_breakpoint
        * ppc-bdm.c: change bdm_ppc_ops so we call ocd_insert_breakpoint
        and ocd_remove_breakpoint instead of memory_insert_breakpoint
        and memory_remove_breakpoint.
        (bdm_ppc_open): after calling ocd_open, modify DER
        register so interrupts will drop us into debugging mode, finally
        disable the watchdog timer on the board so we don't leave BDM
        mode unexpectedly.
1997-08-11 02:04:16 +00:00
Jeff Law 3715d0b8c9 * utils.c (error): Fix return type for !ANSI_PROTOTYPES.
Avoids "void void error" which craps out the HP native compiler.
1997-08-11 01:10:13 +00:00
Geoffrey Noer 160db9b295 Sun Aug 10 16:49:09 1997 Geoffrey Noer <noer@cygnus.com>
* ocd.c: move ocd_write_bytes proto to ocd.h since it is used
        by ppc-bdm.c, use OCD_LOG_FILE to help debugging, define
        BDM_BREAKPOINT if not defined in tm.h
        (ocd_error): add new error cases
        (ocd_start_remote): send the OCD_INIT command before
        OCD_AYT and OCD_GET_VERSION calls
        (ocd_write_bytes): no longer static
        (ocd_insert_breakpoint): no longer static
        (ocd_remove_breakpoint): new
        * ocd.h: add protos for ocd_write_bytes, ocd_insert_breakpoint,
        and ocd_remove_breakpoint
        * ppc-bdm.c: change bdm_ppc_ops so we call ocd_insert_breakpoint
        and ocd_remove_breakpoint instead of memory_insert_breakpoint
        and memory_remove_breakpoint.
        (bdm_ppc_open): after calling ocd_open, modify DER
        register so interrupts will drop us into debugging mode, finally
        disable the watchdog timer on the board so we don't leave BDM
        mode unexpectedly.
1997-08-11 00:01:59 +00:00
Ian Lance Taylor 210e033e19 * Makefile.am (MOSTLYCLEANFILES): Add site.bak, site.exp, stage,
stage1, and stage2.
	(DISTCLEANFILES): Define.
	* doc/Makefile.am (DISTCLEANFILES): Define.
	* Makefile.in, doc/Makefile.in: Rebuild.
1997-08-10 18:53:06 +00:00
Ian Lance Taylor 2af5a7e491 * coff-stgo32.c: Rename from coff-stubgo32.c to avoid old System V
file system 14 character limit.
	* Makefile.am, configure.in: Corresponding changes.
	* Makefile.in, configure: Rebuild.
1997-08-10 18:47:36 +00:00
Ian Lance Taylor 19ebe12304 * Makefile.in (taz): Get the version number from AM_INIT_AUTOMAKE in
configure.in if it is present.
1997-08-10 18:41:42 +00:00