Commit Graph

336 Commits

Author SHA1 Message Date
Gavin Romig-Koch a50b45f379 * include/opcode/mips.h (INSN_4900): Added. 1997-10-29 22:38:20 +00:00
Stan Shebs 501ad43a89 Remove sanitized-out Magic Cap support, will never be released 1997-10-06 19:38:43 +00:00
Stu Grossman 45a70ed653 * The following block of changes add support for debugging assembly
source files.
	* breakpoint.c (resolve_sal_pc):  Prevent crash when pc isn't
	associated with a function.
	* buildsym.c (record_line start_symtab end_symtab):  Don't delete
	symtabs which only have line numbers (but no other debug symbols).
	* dbxread.c (read_dbx_symtab end_psymtab):  Ditto.

	* remote-sim.c:  New functions gdbsim_insert/remove_breakpoint.  Use
	intrinsic simulator breakpoints if available, otherwise do it the
 	hard way.
	* configure.tgt:  Add d30v.
	* d30v-tdep.c:  New file.
	* config/d30v/d30v.mt, config/d30v/tm-d30v.h:  New files.
1997-09-25 01:26:36 +00:00
Nick Clifton 446df8b8d5 Removed v850eq sanitization. 1997-09-21 01:19:51 +00:00
Felix Lee e1625ed217 v850 files that weren't being removed if !keep-v850 1997-09-18 01:33:24 +00:00
Stan Shebs 2bf15e13f5 Remove/retain old ARC stuff as appropriate 1997-09-16 02:27:10 +00:00
Mark Alexander 899c402166 * dbxread.c (MSYMBOL_SIZE): New macro.
(end_psymtab): Use MSYMBOL_SIZE to extract size from minimal symbol.
	* elfread.c (elf_symtab_read): If ELF symbol is "special",
	such as a MIPS16 function, mark minimal symbol as special too.
	* mips-tdep.c (pc_is_mips16): New function to check whether
	a function is MIPS16 by looking at the minimal symbol.  Use
	pc_is_mips16 throughout instead of IS_MIPS16_ADDR macro.
	* config/mips/tm-mips.h (SYMBOL_IS_SPECIAL, MAKE_MSYMBOL_SPECIAL,
	MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): New functions for setting/testing
	"special" MIPS16 bit in ELF and minimal symbols.
	* mdebugread.c (parse_partial_symbols): Don't construct a partial
	symbol table for a file that already has one.
start-sanitize-tx19
	* configure.tgt: Support TX19.
	* config/mips/tm-tx19.h, config/mips/tm-tx19l.h, config/mips/tx19.mt,
	config/mips/tx19l.mt: New files for TX19.
end-sanitize-tx19
1997-09-15 21:06:16 +00:00
Nick Clifton 3234b2e7a5 removed v850 sanitization. 1997-09-03 23:26:21 +00:00
Mark Alexander 9d48327cb2 * Add gdbtcl2 to gdbtk_files. 1997-08-18 17:02:58 +00:00
Stan Shebs 23cb1bc1aa keep remote-sds.c 1997-08-14 02:46:46 +00:00
Stan Shebs 66df708b34 keep dink32 interface 1997-08-12 02:35:11 +00:00
Ian Lance Taylor 3ad248c44a remove wigglers.def 1997-08-09 00:22:10 +00:00
Geoffrey Noer 9cf7f520c6 Thu Aug 7 19:40:52 1997 Geoffrey Noer <noer@cygnus.com>
Changes to OCD support to support wiggler box as well as
        target boxes:
        * ocd.c: change speed in init command to 0 from 80,
        add (temporary) logging commands to help debugging,
        (ocd_open): if "target ocd wiggler lpt" then use special
        ser-ocd.c serial interface which communicates with Wigglers.dll,
        otherwise do as we did before
        (ocd_get_packet): add OCD_LOG_FILE and OCD_SET_CONNECTION to
        switch of known commands of len 0
        * ocd.h: add OCD_LOG_FILE
        * serial.c (serial_open): do serial_interface_lookup on ocd
        in the case of ocd
        * ser-ocd.c: add buffer to contain responses from sending a
        command to the Wigglers.dll.
        (ocd_readchar): return curr char from buffer and increment ptr
        (ocd_write): send buffer to Wigglers.dll, storing response in
        return buffer and initializing curr location ptr to start of
        buffer.
1997-08-08 02:57:35 +00:00
Per Bothner 166606b71e * java-*: Renamed to jv-*, to make fit within 14 characters.
* jv-lang.h (java_type_print):  Added declaration.
	* jv-typeprint.c:  New file.  Provides java_print_type.
	* jv-lang.c (java_link_class_type):  New function.
	(java_language_defn):  Replace c_print_type by java_print_type.
	* Makefile.in:  Update accordingly.
1997-07-31 22:39:34 +00:00
Fred Fish 73bb488673 Sanitize away sh4 stuff for now. 1997-06-21 03:48:48 +00:00
Michael Snyder 00e40d11f4 Fri Jun 13 13:44:47 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* config/mips/tm-tx39[l].h, tx39[l].mt: change r3900 target to tx39.
	[also clean up sanitization]
1997-06-13 20:53:34 +00:00
Michael Snyder 3d400c0939 * configure.tgt: add mipsr3900-elf target
* config/mips/r3900*.mt config/mips/tm-r3900*.h: ditto
1997-06-03 23:28:54 +00:00
Mark Alexander b02a4cab06 Remove remote-pa.c. 1997-05-06 21:42:31 +00:00
Per Bothner 2d3588808f Add new Java files. 1997-04-18 02:23:16 +00:00
David Edelsohn 038e48cf64 Remove m32r sanitization. 1997-04-07 23:01:27 +00:00
Ian Lance Taylor 0cb7d01dd2 * gdbinit.in: New file.
* .gdbinit: Remove.
	* configure.in: Generate .gdbinit from gdbinit.in.
	* configure: Rebuild.
1997-03-31 19:57:51 +00:00
Fred Fish 12967062e4 * remote-sim.c (simulator_command): Add comment about dealing with
NULL or empty args.
start-sanitize-tic80
	* Makefile.in (tic80-tdep.o): Add target.
	* configure.tgt: Add tic80 case.
	* tic80-tdep.c: New file.
	* config/tic80/{tic80.mt, tm-tic80.h}: New files.
end-sanitize-tic80
1997-03-22 23:52:04 +00:00
Jeff Law 593f97fe13 Fix minor sanitization problems 1997-03-20 20:30:29 +00:00
Andrew Cagney 25151509b7 remote-sim.h moved to include directory 1997-03-20 00:18:55 +00:00
Martin Hunt 8a19b35a1b Wed Mar 19 15:16:17 1997 Martin M. Hunt <hunt@onions.cygnus.com>
* Makefile.in:  Install gdbtcl dir instead of gdbtk.tcl.

	* gdbtk.c: Added some ifdefs for Windows.  Changed GDBTK_FILENAME
	to GDBTK_LIBRARY, which is now a path to search.
	(gdb_path_conv): New function.  Convert Cygwin32 pathname to
	DOS-style pathname.

	* aclocal.m4, configure.in: Changes for Windows builds.

	* configure: Rebuilt.
1997-03-19 23:39:20 +00:00
Jim Wilson a3c5b9a4a1 Correct d10v sanitization errors. 1997-03-03 00:35:40 +00:00
Michael Meissner c6c7035cfb Since d10v is public now, remove all sanitization statements 1997-02-20 16:05:18 +00:00
Dawn Perchik 4659e3b367 * debugify.c, debugify.h: New files. Provide common macros
for writing debug info to a log file or stdio.
1997-02-12 22:48:45 +00:00
Gavin Romig-Koch 276c2d7dc8 Add r5900 1997-02-11 13:26:34 +00:00
Michael Snyder fbfa4d54f8 Mon Feb 3 11:06:05 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
* m32r-stub.c: New -- remote protocol support for M32R cpu.
        * m32r-rom.c:  Several experiments with improved download time.
        * .Sanitize:   Add entry for m32r-stub.c
1997-02-03 19:18:32 +00:00
Geoffrey Noer e385d6e03e Committing sanitize changes 1997-02-02 06:49:44 +00:00
Stan Shebs e696e60686 do d10v sanitization over all files 1997-01-31 19:57:42 +00:00
Stan Shebs c3dccb2a46 keep 1996 ChangeLog 1997-01-31 19:55:15 +00:00
Angela Marie Thomas 6b01dc653b fix bugs 1997-01-16 10:50:58 +00:00
Stu Grossman 6c310da826 * Makefile.in configure configure.in: Remove ENABLE_CLIBS,
ENABLE_OBS, and THREAD_DB_OBS.  These are consolidated into LIBS
	and CONFIG_OBS.
	* configure configure.in:  Clean up test cases around thread support.
start-sanitize-v850
	* configure.tgt (v850-*-*):  Include v850ice.o and v850.lib if
	host is Windows.
end-sanitize-v850
	* c-valprint.c ch-valprint.c cp-valprint.c eval.c expprint.c
	printcmd.c valops.c value.h values.c:  Add bfd_section arg to
	value_at and value_at_lazy.
	* coffread.c dbxread.c elfread.c mdebugread.c minsyms.c symtab.h:
	Add bfd_section arg to prim_record_minimal_symbol_and_info.
	* corefile.c gdbcore.h printcmd.c valops.c:  Use read_memory_section
	instead of read_memory.  It takes a bfd_section arg.
	* coffread.c dbxread.c elfread.c gdb-stabs.h objfiles.h:  Remove
	unnecessary cast for assignment of struct dbx_symfile_info.
	Struct objfile now uses a real pointer instead of PTR for this
	element.
	* dbxread.c (dbx_symfile_init): Stash bfd section pointers for
	text, data and bss into dbx_symfile_info.
	* exec.c (xfer_memory):  Handle transfers for user-specified
	sections.
	* findvar.c (read_var_value locate_var_value):  Copy bfd section
	from the symbol to the value.
	* gdb-stabs.h:  Add section pointers for text, data and bss
	sections.
	* maint.c (translate address command):  Add test code for overlay
	address translation.
	* printcmd.c (do_examine do_one_display):  Now takes a bfd section
	arg.
	* (print_formatted x_command):  Record current section along with
	current address for repeated commands.
	* sparc-nat.c (fetch_inferior_registers):  Change
	target_xfer_memory to target_{read write}_memory to allow changes
	to target_xfer_memory interface for section info.
	* symmisc.c (dump_msymbols print_symbol):  Print section
	assocaited with symbol.
	* symtab.c (fixup_symbol_section):  New routine to
	add section info to symbols returned by lookup_symbol.
	* symtab.h (struct general_symbol_info):  Add bfd section to
	symbols.
	* target.c target.h (target_xfer_memory):  Add bfd section to
	args.
	* (target_read_memory_section):  New routine to read data from a
	specific section.
	* (target_memory_bfd_section):  New global variable to pass bfd
	section in to targets.
	* valarith.c (value_add value_addr value_array):  Preserve bfd
	section when computing new value.
	* value.h (struct value):  Add bfd section to values.
	* values.c (allocate_value value_copy):  Initialize/preserve bfd
	section.
	* (unpack_double):  Clean up _MSC_VER conditionals to remove
	duplicate code.
start-sanitize-v850
	* v850ice.c:  New module to support communication with NEC's
	PC-based ICE.
	* config/v850/tm-v850.h (REGISTER_NAMES):  Replace sp, gp, fp, and
	ep names with rxx names.  sp and fp are renamed via a different
	mechanism.
end-sanitize-v850
1997-01-04 00:25:53 +00:00
Geoffrey Noer 4c7be7baf5 fixed .Sanitize 1996-12-17 20:59:13 +00:00
Mark Alexander 1bcfe5fa30 * add valops.c to list of files to be sanitized for d10v 1996-12-06 17:44:23 +00:00
David Edelsohn 4da8b2a5f4 * callback.h: Deleted, moved to ../include.
* callback.c: Deleted, moved to ../sim/common.
	* Makefile.in (SFILES,COMMON_OBJS): Delete callback.[co].
	(callback.o): Delete rule.
	* remote-sim.h: No longer include callback.h
	(sim_callback_write_stdout): Delete prototype.
	* remote-sim.c (init_callbacks,end_callbacks): New functions.
	(gdb_os_write_stdout, gdb_os_printf_filtered): New functions.
	(gdb_callback, callbacks_initialized): New static globals.
	(gdbsim_open): Call init_callbacks.
	(gdbsim_close): Call end_callbacks.
	(simulator_command): Call init_callbacks.
1996-11-20 08:55:42 +00:00
Michael Snyder 1d3d059535 Keep new files, modulo m32r. 1996-10-31 02:26:56 +00:00
Stan Shebs edda595e38 Keep new configure helpers, update conditional sanitizes 1996-10-18 01:34:49 +00:00
Stu Grossman 5621d991bf Add hpux-thread.c. 1996-10-09 08:46:25 +00:00
Stu Grossman 7d44ab7f63 Add osf-share directory. 1996-10-08 17:07:35 +00:00
Stu Grossman 8b19233bfe v850 stuff 1996-09-28 00:53:37 +00:00
Stan Shebs 9ef70b290f always keep dbug-rom.c 1996-09-26 01:40:40 +00:00
Stu Grossman 1882bb8ff8 Add remote-wiggler.c. 1996-09-05 01:17:19 +00:00
Martin Hunt 7b3fa778e2 Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/d10v/d10v.mt: New file.
	* config/d10v/tm-d10v.h: New file.
	* configure.in: New target D10V.
	* d10v-tdep.c: New file.
1996-08-27 01:51:55 +00:00
Stan Shebs bb5a10fef4 Always keep dwarf2read.c 1996-07-19 21:31:55 +00:00
Jeff Law 239889fdc8 No longer need to sanitize away h8s. 1996-07-05 18:43:31 +00:00
Dawn Perchik 012be3cec3 * configure,configure.in: Add target sparclet.
* monitor.h,monitor.c:
    Added monitor flags MO_NO_ECHO_ON_SETMEM (don't expect echo on
    setmem command), MO_RUN_FIRST_TIME (if command to start process
    running on target is different from one to continue execution),
    MO_HEX_PREFIX (if addresses from monitor have a "0x" prefix).
    * monitor.c,parse.c,sparc-tdep.c:
    Don't require strings in the registers array.  This is to allow
    NULLs to be place holders in the tm-*.h file so that only minor
    changes are needed when a new processor is introduced (eg, one
    without floating point).
    * sparc-tdep.c: Conditionally remove dependancies on floating point.
    * sparclet-rom.c,config/sparc/sparclet.mt,config/sparc/tm-sparclet.h:
    New files for target sparclet.
    * symfile.c: Add option for 2nd parameter on load command : a load
    offset added to the vma of each section.
1996-06-28 14:03:13 +00:00
Jeff Law d15396dfe5 * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S.
(h8300_command): Likewise.
        (set_machine): Likewise.
        (set_machine_hook): Likewise.
        (_initialize_h8300m): Likewise.

        * config/h8300/tm-h8300.h (h8300smode): Declare.

More sanitized H8/S work.
1996-06-18 23:29:39 +00:00