Commit Graph

4692 Commits

Author SHA1 Message Date
Ian Lance Taylor b83ed01952 * top.c (target_byte_order_auto): New static variable.
(set_endian): Mention that ``auto'' is permitted.
	(set_endian_auto): New static function.
	(show_endian): Change message based on target_byte_order_auto.
	(set_endian_from_file): New function.
	(init_main): Add command ``auto'' to endianlist.
	* exec.c (exec_file_command): Call set_endian_from_file.
	* defs.h (set_endian_from_file): Declare.
1994-10-07 16:20:21 +00:00
J.T. Conklin c9228cfe64 * nlm/i386.c (flush_i_cache): New function, does nothing.
(frame_to_registers, registers_to_frame, set_step_traps,
clear_step_traps, do_status): Make non-static.
1994-10-07 01:17:02 +00:00
Ian Lance Taylor b8176214a5 * defs.h: If TARGET_BYTE_ORDER_SELECTABLE is defined by tm.h,
define TARGET_BYTE_ORDER as target_byte_order, and declare
	target_byte_order as an extern int, and define BITS_BIG_ENDIAN as
	a test of TARGET_BYTE_ORDER.
	* top.c: Several additions if TARGET_BYTE_ORDER_SELECTABLE is
	defined:
	(endianlist, target_byte_order): New variables.
	(set_endian, set_endian_big, set_endian_little): New functions.
	(show_endian): New function.
	(init_cmd_lists): Initialize endianlist.
	(init_main): Add commands ``set endian big'', ``set endian
	little'', and ``show endian''.
	* a29k-pinsn.c: Rewrite uses of TARGET_BYTE_ORDER and
	BITS_BIG_ENDIAN to switch at run time rather than at compile time.
	* coffread.c, dwarfread.c, findvar.c, mips-tdep.c: Likewise.
	* remote-os9k.c, stabsread.c, valarith.c, valprint.c: Likewise.
	* values.c: Likewise.
	* mips-tdep.c: Rewrite uses of GDB_TARGET_IS_MIPS64 to switch at
	run time rather than at compile time.
1994-10-06 16:47:32 +00:00
Ian Lance Taylor 97d3151a59 * config/mips/tm-mips.h (GDB_TARGET_IS_MIPS64): If not already
defined, define as 0.
	(FIX_CALL_DUMMY): Rewrite to remove presumption that host and
	target are similar.
	* config/mips/tm-idt.h (TARGET_BYTE_ORDER_SELECTABLE): Define.
	* config/mips/tm-idtl.h (TARGET_BYTE_ORDER_SELECTABLE): Define.
	* config/mips/tm-idt64.h (TARGET_BYTE_ORDER_SELECTABLE): Define.
	(BREAKPOINT): Remove definition.
	* config/mips/tm-idtl64.h (TARGET_BYTE_ORDER_SELECTABLE): Define.
	(BREAKPOINT): Remove definition.
	* config/mips/tm-mips64.h (GDB_TARGET_IS_MIPS64): Define with a
	value of 1, rather than without a value.
	* config/mips/tm-bigmips64.h (GDB_TARGET_IS_MIPS64): Likewise.
1994-10-06 16:43:40 +00:00
Ian Lance Taylor 1a406ce8c4 * remote-mips.c (break_insn): Remove.
(BREAK_INSN, BREAK_INSN_SIZE): Define.
	(mips_insert_breakpoint): Use BREAK_INSN, not break_insn.
	(mips_remove_breakpoint): Likewise.
1994-10-06 16:42:52 +00:00
Rob Savoye 27e889bf60 Both targets initialize, can dump registers too. 1994-10-06 05:28:49 +00:00
J.T. Conklin 140b35b3e4 * nlm/configure.in: ${gdb_host_cpu} defaults to ${host_cpu}. 1994-10-05 21:01:54 +00:00
J.T. Conklin 2d91232266 yet another typo 1994-10-05 18:45:58 +00:00
J.T. Conklin 9255037d09 * nlm/Makefile.in: Get rid of NWINCLUDES.
* config/{alpha,powerpc}/gdbserve.mt: Remove NWINCLUDES.
  User should now configure with --with-headers.
1994-10-05 18:44:56 +00:00
J.T. Conklin 5bb8c3ea1d Fix typo 1994-10-05 18:43:12 +00:00
J.T. Conklin 621e4c97d0 * nlm/Makefile.in: Get rid of NWINCLUDES.
* config/{alpha,i386,powerpc}: Remove NWINCLUDES.  User should
  now configure with --with-headers.
1994-10-05 18:40:49 +00:00
Jim Kingdon 3bb27ebf8a * gdbserver/server.c (main): Silently accept all unrecognized
requests and send back a zero length acknowledge.  That is what
	*-stub.c do and is what remote.c expects.
1994-10-03 14:51:22 +00:00
Peter Schauer ab18bba082 * gdbserver/server.c (main): Silently accept query requests
and send back a zero length acknowledge.
1994-10-03 12:14:38 +00:00
Peter Schauer a91b6ec8f0 * corelow.c (core_open): Copy the modified to_sections_end
vector from current_target to core_ops too.

	* gdbserver/server.c (main):  Silently accept query requests
	and send back a zero length acknowledge.
1994-10-03 12:13:46 +00:00
J.T. Conklin 496b2222a6 * nlm/Makefile.in: Get rid of NWINCLUDES.
* config/{alpha,powerpc}/gdbserve.mt: define NWINCLUDES.
1994-10-01 00:25:13 +00:00
Jim Kingdon d3006726b0 * gdbserver/low-lynx.c (create_inferior): Pass all 4 args to ptrace. 1994-09-30 23:02:22 +00:00
Jim Kingdon a5732a3067 * lynx-nat.c (child_wait): Use status.w_status, not status, in
arithmetic.  status is a `union wait'.
1994-09-30 22:53:36 +00:00
Jim Kingdon 6adffcd857 * config/nm-lynx.h (PTRACE_ARG3_TYPE): Define to int, not char *.
* lynx-nat.c (child_wait): Pass fourth argument to ptrace.
1994-09-30 13:58:58 +00:00
Jim Kingdon e90bd60df3 * xcoffread.c (read_xcoff_symtab): Fix comment for yesterday's change. 1994-09-29 15:26:16 +00:00
Jim Kingdon ab93997d68 * coffread.c (complete_symtab): If last_source_file is set upon
entry, free it.
1994-09-29 15:09:51 +00:00
Jeff Law e042d326f9 * hpread.c (hpread_read_array_type): Do not change the type code
to TYPE_CODE_PTR for "char foo[]".  Just make it a zero length
	array type.
1994-09-29 05:03:18 +00:00
Jeff Law 510ceea939 * hpread.c (hpread_type_translate): Handle T_UNS_LONG types with
lengths other than 32bits (HP C 9.69 represents an "unsigned char"
	as an T_UNS_LONG with length 8).
1994-09-29 04:26:50 +00:00
Jim Kingdon 67b9f39403 * xcoffread.c (read_xcoff_symtab, case C_FILE):
Set main_aux before using it.
1994-09-28 18:02:00 +00:00
Jim Kingdon 331c10034a * xcoffexec.c (exec_close): If quitting, don't call clear_symtab_users. 1994-09-28 17:37:32 +00:00
Jim Kingdon d4cedfe4ae * xcoffread.c (read_xcoff_symtab): Process XTY_LD symbols we were
ignoring before.  But continue to ignore XMC_DS.
1994-09-28 17:18:59 +00:00
Jeff Law 38ab0632d6 * hpread.c (struct hpread_symfile_info): Delete have_module field
and accessor macro.  Minor indentation fix.
	(hpread_build_psymtabs, case K_MODULE):  Only start a new psymtab
	and reset state variables have_name & texthigh if pst is NULL.
	(hpread_build_psymtabs, case K_SRCFILE): Only reset the name of a
	partial symbol table if pst is non-NULL.  If pst is NULL, then
	start a new psymtab.
	(hpread_process_one_debug_symbol, case K_MODULE): Now empty.
	(hpread_process_one_debug_symbol, case K_SRCFILE): Simplify and
	correct handling of subfiles.
1994-09-28 06:42:24 +00:00
Rob Savoye 8352254c2e Don't nuke hppapro.mt. 1994-09-27 23:59:48 +00:00
Peter Schauer 78751d4fbb * defs.h (misc_command_type): Remove trailing comma from
enumerator list.
1994-09-26 10:02:43 +00:00
Jeff Law 471fb8d8c0 * hppa-tdep.c (frame_saved_pc): Fix thinko in code to dig saved pc
out of an interrupt frame.
1994-09-26 05:22:21 +00:00
Stan Shebs ac57e5adda * infcmd.c (do_registers_info) [INVALID_FLOAT]: Only use if
defined.
	* values.c (unpack_double) [INVALID_FLOAT]: Ditto.
	* mips-tdep.c (mips_print_register): Don't test float validity.
	* config/a29k/tm-a29k.h, config/alpha/tm-alpha.h,
	config/arm/tm-arm.h, config/convex/tm-convex.h,
	config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
	config/i386/tm-i386v.h, config/i386/tm-sun386.h,
	config/i960/tm-i960.h, config/m68k/tm-m68k.h,
	config/m88k/tm-m88k.h, config/mips/tm-mips.h,
	config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h,
	config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h,
	config/pa/tm-hppa.h, config/pyr/tm-pyr.h,
	config/rs6000/tm-rs6000.h, config/sh/tm-sh.h,
	config/sparc/tm-sparc.h, config/z8k/tm-z8k.h (INVALID_FLOAT):
	Remove definition.
1994-09-25 21:13:24 +00:00
Jim Kingdon 8cbe898dad * TODO: Remove item about adding general multi-threaded stuff;
this is done.
	Remove item about specifying arbitrary locations of stack frames
	(this works on some machines).
	Remove item about debugging functions without a frame pointer
	(this works on some machines).
	Remove item about re-writing macros which handle frame chaining and
	frameless functions.  They have been re-written at least once
	since that item was written.
	Remove item about gdb catching SIGINT when attached; this is done.
	Remove item about having list_command not read symbols--why bother?
1994-09-25 13:21:22 +00:00
Stan Shebs 718bccf167 * TODO: Append contents of Projects file.
* Projects: Remove.
1994-09-25 00:47:28 +00:00
Peter Schauer 9137a6f461 * corelow.c (add_solib_stub): Remove copying of to_sections,
pass current_target to SOLIB_ADD. The Sep 10 change failed
	if SOLIB_ADD errored out, or if SOLIB_ADD was trying to access
	target memory.
	* corelow.c (core_open):  After reading the shared libraries,
	copy the modified to_sections vector from current_target to
	core_ops, so that core_close can free it later.
	* config/rs6000/nm-rs6000.h, rs6000-nat.c (xcoff_relocate_core):
	Pass down target parameter from SOLIB_ADD and use it instead of
	directly accessing core_ops.
1994-09-24 09:00:50 +00:00
J.T. Conklin 84f652b150 * solib.c: *BSD systems need <a.out.h> to be included before
<link.h>.

* i386b-nat.c: Add i386_float_info(), etc.
* config/i386/nm-nbsd.h: #define FLOAT_INFO.

* config/nm-nbsd.h: New file, for generic NetBSD native support.
* config/i386/nm-nbsd.h: Use it.
* config/sparc/nm-nbsd.h: Use it.
* config/ns32k/nm-nbsd.h: Use it.

* configure.in (i386-*-netbsd): Use config/i386/nbsd.m[ht].
  (ns32k-*-netbsd): Use config/ns32k/nbsd.m[ht].
* config/i386/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}:
  New files, support for NetBSD/i386.
* config/ns32k/{nbsd.mh,nbsd.mh,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}:
  New files, support for NetBSD/ns32k.
1994-09-23 22:30:31 +00:00
Jim Kingdon bad0fe066c * .gdbinit: Add list-objfiles command. 1994-09-21 03:23:28 +00:00
Jim Kingdon a36a812c48 * TODO: Reword item regarding NO_STD_REGS. 1994-09-21 03:23:01 +00:00
Jim Kingdon 940bb1dc75 * coffread.c (record_minimal_symbol, coff_read_enum_type,
coff_read_struct_type): Allocate on symbol_obstack, not directly
	via malloc/savestring.
1994-09-21 03:02:48 +00:00
Stan Shebs 40e4117a02 * TODO: Add more items.
* tests: Remove the directory and all of its (obsolete) contents.

	... config/rs6000/rs6000lynx.mh ...
        (REGEX, REGEX1, SYSV_DEFINE): No longer
	define.
1994-09-20 23:00:47 +00:00
Jim Kingdon 602d41e523 * coffread.c (init_stringtab): When copying length to stringtab,
use target format, not host format, since that is what the rest of
	the code assumes.
1994-09-20 18:39:25 +00:00
J.T. Conklin d6a62067d9 * Makefile.in: Removed prelude.o, i386-nlmstub.o, nlmstub.o,
nlmstub.nlm, and nlmstub targets.  Removed NWSOURCE and
  NWINCLUDES definitions.
* i386-nlmstub.c: Removed.
1994-09-19 23:00:48 +00:00
Jim Kingdon d21437b91e Mon Sep 19 07:48:36 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* dbxread.c (read_dbx_dynamic_symtab): Cast bfd_asymbol_name to
	char * (from const char *) before assigning.  Don't save string we
	pass to record_minimal_symbol (it already saves it).
1994-09-19 15:00:03 +00:00
Stu Grossman a5cffdc44a * gdbtk.tcl: Let ^U delete lines in the command window. 1994-09-18 00:07:56 +00:00
Peter Schauer 4c664b8d0a * cp-valprint.c (static_field_print): New variable, controls
printing of static members.
	(_initialize_cp_valprint):  New print set subcommand
	"static-members". Turn on printing of static members by default.
	(cp_print_value_fields):  Print static members if necessary.

	* solib.c:  Remove inclusion of libelf.h and elf/mips.h.
	(elf_locate_base):  Use only standard BFD functions to collect
	information about the .dynamic section. Check for DT_MIPS_RLD_MAP
	tag only if it got defined via the inclusion of <link.h>.

	* f-exp.y:  Write block for OP_VAR_VALUE.
	* f-valprint.c (info_common_command):  Handle `info common'
	without an argument correctly.

	* c-typeprint.c (c_type_print_base):  Handle template constructors.
	* symtab.c (gdb_mangle_name):  Handle template method mangling,
	get rid of GCC_MANGLE_BUG code, which only applied to gcc-2.2.2.
1994-09-17 11:35:51 +00:00
Per Bothner 87846d8a69 Add missing file; adjust Makefile etc. 1994-09-17 01:00:09 +00:00
Per Bothner 6f52d064e4 * gdbtypes.h (TYPE_INDEX_TYPE): New macro.
* ch-typeprint.c, ch-valprint.c:  Use TYPE_INDEX_TYPE.
	* ch-valprint.c (chill_val_print):  Pass index type directly
	(instead of its TYPE_TARGET_TYPE) to print_type_scalar.
	* stabsread.c (read_type):  Don't set TYPE_FLAG_TARGET_STUB
	if the index type is a stub.
1994-09-17 00:38:23 +00:00
Stan Shebs 7f4a859c42 * config/i386/{i386aix.mh, i386bsd.mh, i386lynx.mh, i386sco.mh,
i386sco4.mh, i386sol2.mh, i386v.mh, i386v32.mh, i386v4.mh,
	ncr3000.mh, ptx.mh, ptx4.mh}, config/m68k/{altos.mh, apollo68v.mh,
	delta68.mh, dpx2.mh, hp300bsd.mh, hp300hpux.mh, m68klynx.mh,
	m68kv4.mh}, config/m88k/{delta88.mh, delta88v4.mh},
	config/mips/riscos.mh, config/pa/hppahpux.mh,
	config/sparc/{sparclynx.mh, sun4sol2.mh}, config/tahoe/tahoe.mh,
	config/vax/{vaxbsd.mh, vaxult.mh, vaxult2.mh} (REGEX, REGEX1,
	SYSV_DEFINE): No longer define.
	* config/i386/i386sco4.mh (MUNCH_DEFINE): No longer define.
1994-09-17 00:32:25 +00:00
Per Bothner ab8b59f441 * pr-5646.ch, pr-5646.exp, Makefile.in: New testcase. 1994-09-16 23:55:01 +00:00
Stu Grossman 637b166117 * defs.h (QUIT): Call interactive_hook to allow GUI to interrupt.
Also, add decl for symtab_to_filename.
	* gdbtk.c:  Replace calls to full_filename with symtab_to_filename.
	* gdbtk.tcl:  New routine pc_to_line replaces in line code.  New
	routine decr replaces in line code.
	* (create_file_win):  Use catch to handle open failures more
	elegantly.  Also, create special window to display file open
	failure message.  Move opening of file prior to creation of text
	widget.
	* (create_asm_win):  Add PC as argument.  We now base disassembly
	on PC instead of function name, since function names can be
	ambiguous (usually seen with shared libs).  Also, use catch to
	simplify code where we don't care about failures.
	* source.c (symtab_to_filename):  New.  Returns the file
	associated with a symtab.
	* top.c:  Define interactive_hook.  Called during QUIT to animate
	the GUI.
1994-09-16 22:57:37 +00:00
Jeffrey Osier e3a58c921b remote.texi: asynctsr must run before mode (Hitachi stuff) 1994-09-16 07:53:09 +00:00
Per Bothner ddf54546c9 * parser-defs.h: Add comment about unary postfix operators. 1994-09-16 07:35:27 +00:00
Per Bothner 576f97700b * stabsread.c (read_type): Handle stub types for bitstrings.
* stabsread.c (read_array_type):  Check for stub domain type
	using TYPE_FLAG_STUB, not its length.
	* gdbtypes.c (create_set_type):  Handle a stub domain type.
1994-09-16 07:29:44 +00:00
Per Bothner bdef6b60f3 * ch-exp.y: Get rid of some extra non-terminals, and move
their rules into primitive_value.
	* ch-lang.c (chill_op_print_tab):  Add '->'.
	* expprint.c (print_subexp):  Recognize unary postfix operator.
1994-09-16 07:28:22 +00:00
Jason Molenda 791d4d7d48 Wed Sep 14 18:27:42 1994 Jason Molenda (crash@phydeaux.cygnus.com)
* remote-hms.c: use remote_debug instead of hms_silent toggle.
        Add warnings about depreciation of `snoop' cmd.
1994-09-15 01:51:58 +00:00
Steve Chamberlain a87594a562 Wed Sep 14 18:18:58 1994 Steve Chamberlain (sac@jonny.cygnus.com)
* remote-hms.c (hms_read_inferior_memory):  Cope when
	target sends both \r and \n.
1994-09-15 01:29:07 +00:00
Stan Shebs 2b9fbee414 * remote-mips.c (mips_error): Place NORETURN macro correctly.
* TODO: Add item about START_INFERIOR_TRAPS_EXPECTED.
1994-09-15 00:22:11 +00:00
Jim Kingdon f69ecb9c9a * xcoffread.c (read_xcoff_symtab): Fix obsolete comment about
mst_solib_trampoline.

	* f-valprint.c (f_val_print): Change cast of valaddr from
	CORE_ADDR * to char **, since that is how it is used.

	* dbxread.c (read_dbx_dynamic_symtab): Save copy of symbol names
	using obsavestring, and pass that to prim_record_minimal_symbol.
	Having the objfile point to bfd_asymbol_name directly doesn't work
	if we save and restore a mapped symbol file.
1994-09-14 22:45:49 +00:00
Stu Grossman 335129a977 * gdbtk.tcl: Add ref counts to breakpoint tags.
* Put quotes around function name in disassemble command to better
	handle assembler names containing `.'.
	* Make pclist element 0 be filler to avoid off-by-one problem with
	line numbers.
	* Set names of top-level windows.
	* Add register display window.
	* Add PC to label of assembly window.
1994-09-14 08:02:51 +00:00
Rob Savoye c9e7a4b46f * w89k-rom.c op50-rom.c monitor.c config/pa/hppapro.mt: New files
to add a generic ROM monitor interface, and support file for the
	WinBond W89K and the Oki OP50N PA based target boards.
1994-09-14 00:26:51 +00:00
Rob Savoye 32cb1c537c Add support for the w89k and op50n PA target board code. 1994-09-14 00:21:23 +00:00
Rob Savoye 25ca0dfc5a Oop, make sure Sanitize doesn't nuke new files. 1994-09-14 00:19:26 +00:00
Rob Savoye e8b73ba7c3 A generic ROM monitor interface abnd support for the WinBond w89k board
and the Oki op59n board.
1994-09-14 00:14:53 +00:00
Stu Grossman 8532893d17 * gdbtk.c (gdbtk_flush gdbtk_fputs): Buffer up output to make
disassembly more efficient.
	* (breakpoint_notify):  Include pc in gdbtk_tcl_breakpoint
	callback.
	* (gdb_loc):  Include pc in return value.  Also, return function
	name if arg was specified.
	* (gdb_cmd_stub):  Call gdb_flush to drain internal GDB buffers
	after command completes.
	* (gdbtk_init):  Improve error handling.

	* gdbtk.tcl:  Add lots of comments.  Clean up code.
	* (gdbtk_tcl_fputs):  Make output window redirectable.
	* Add assembly window, and breapoint support.
	* Make button 1 in margin toggle breakpoints.
	* Use stippling to indicate breakpoint disabling.
1994-09-13 16:24:01 +00:00
Stan Shebs 2ff6b38acb Merge supposedly (but not really) GM-specific bits into general MPW config 1994-09-13 00:50:38 +00:00
Jeff Law 30cbfbe219 * config/pa/tm-hppa.h (REGISTER_NAMES): Use r26-r23 for arg0-arg3. 1994-09-12 04:36:54 +00:00
Peter Schauer 54d478cdba * irix5-nat.c, osfsolib.c, solib.c (solib_add): Simplify last
change by replacing `symbols_added' with `so_last'.
	* mdebugread.c (parse_external, parse_partial_symbols):  Ignore
	global common symbols, they will be resolved by the runtime loader.
	* mdebugread.c (parse_symbol, parse_partial_symbols, cross_ref):
	Handle scSCommon like scCommon symbols.
1994-09-11 11:43:40 +00:00
Peter Schauer 8918bce035 * Update copyright message to include 1993, 1994. 1994-09-10 10:10:05 +00:00
Peter Schauer 26a859ec83 * corelow.c (add_solib_stub): Copy to_sections changes from
core_ops to current_target after adding the shared libraries.
	* partial-stab.h (N_EXCL), dbxread.c (add_old_header_file,
	find_corresponding_bincl_psymtab):  Change `repeated header not seen'
	error to a complaint, simplify complaint.
	* procfs.c (signalname, errnoname):  Make `name' const.
	* symfile.c (reread_symbols):  Use filename from old BFD to
	reopen the objfile.
	* values.c (record_latest_value):  Don't record value in the
	history chain until we are sure there won't be an error.
1994-09-10 08:50:10 +00:00
J.T. Conklin b35be51092 * nlm/Makefile.in: remove MMALLOC, READLINE, TERMCAP, and other cruft. 1994-09-09 23:22:41 +00:00
Rob Savoye 7497d923d5 Add XDEPFILE = ser-tcp.o 1994-09-09 23:00:02 +00:00
J.T. Conklin ec7cac3887 * config/i386/gdbserve.mt: New file, defs for i386 nlm stub. 1994-09-09 22:55:36 +00:00
Rob Savoye cc5702bddd GDB support for HP-PRO. 1994-09-09 22:44:13 +00:00
Steve Chamberlain 6156ad2f66 * config/i386/xm-go32.h (GDBINIT_FILENAME): Set to gdb.ini.
(more work here to come)
1994-09-09 00:44:01 +00:00
Steve Chamberlain e4483b9901 * config/sh/tm-sh.h (EXTRA_FRAME_INFO): Add f_offset and leaf_function
fields.
1994-09-09 00:43:50 +00:00
Steve Chamberlain 1c22bde24e * config/h8500/tm-h8500.h (target_write_pc, TARGET_WRITE_PC):
Handle extra arg.
1994-09-09 00:43:30 +00:00
Steve Chamberlain c4deed18c0 Thu Sep 8 17:14:43 1994 Steve Chamberlain (sac@jonny.cygnus.com)
* remote.c (fromhex): Make error more explicit.
	(read_frame): Don't print bad checksum information unless
	remote_debugging.  Don't use repeat count unless it's > 0.
	* remote-e7000.c (expect): When echoing, ignore multiple newlines.
	(e7000_insert_breakpoint, e7000_remove_breakpoint, target_ops): Optionally
	cope with BC style breakpoints.
	(e7000_command):  After command send directly to the E7000 mark
	registers as changed.
	(why_stop, e7000_wait: Understand BC style stop condition.
	* sh-tdep.c (sh_skip_prologue):  Understand more complicated
	sequences.  (frame_find_saved_regs): Likewise.
	* config/h8500/tm-h8500.h (target_write_pc, TARGET_WRITE_PC):
	Handle extra arg.
	* config/i386/xm-go32.h (GDBINIT_FILENAME): Set to gdb.ini.
	(more work here to come)
	* config/sh/tm-sh.h (EXTRA_FRAME_INFO): Add f_offset and leaf_function
	fields.
1994-09-09 00:35:09 +00:00
J.T. Conklin f987416016 * sparclite/Makefile.in: Assorted stuff needed for eload.
* sparclite/eload.c: Merge in command line argument parsing and
  error message handling improvements orignally made to aload.c.
1994-09-08 23:19:02 +00:00
Jeff Law 9fa1bd1f40 * gdb.base/commands.exp: New tests for if/while commands. 1994-09-08 06:02:58 +00:00
Jeff Law e52bfe0cc4 * defs.h (enum misc_command_type, command_control_type): Enums
for describing the command and control types.
	(struct command_line): Add new fields to keep track of the command
	type and body associated with the command.
	* top.c: Include value.h.  Delete whitespace at the end of lines.
	(build_command_line, get_command_line): New functions.
	(execute_control_command, while_command, if_command): Likewise.
	(realloc_body_list, read_next_line): Likewise.
	(recurse_read_control_structure): Likewise.
	(execute_user_command): Call execute_control_command.
	(read_command_lines): Simplify by calling read_next_line, call
	read_control_structure for "if" and "while" commands.
	(free_command_lines): Free new fields in the command structure.
	(define_command): Reset control_level to zero.
	(init_main): Install command handlers for "if" and "while" commands.
1994-09-08 05:32:34 +00:00
Stan Shebs 22d7f91e32 * c-typeprint.c (c_type_print_varspec_prefix,
c_type_print_varspec_suffix): Add cases for Fortran type codes.
	 * eval.c (evaluate_subexp): For OP_ARRAY expressions in Fortran,
	 call f77_value_literal_string instead.
	 * f_exp.y: Include <string.h>, move include of parser-defs.h.
	 (parse_number): Translate 'd' floats to 'e' so atof() works.
	 (yylex): Remove unused variables.
	 * f-lang.c: Include <string.h>.
	 (get_bf_for_fcn): Remove unused variable.
	 * f-typeprint.c (f_type_print_varspec_prefix,
	 f_type_print_varspec_suffix): Remove unused
	 variables, add cases to switch statements.
	 (f_type_print_base): Remove unused variables.
	 * f-valprint.c (gdbcore.h, command.h): Include.
	 (f77_get_dynamic_lowerbound, f77_get_dynamic_upperbound):
	 Call read_memory_integer with correct number of arguments.
	 (f77_get_dynamic_upperbound): Call f77_get_dynamic_lowerbound
	 with correct argument type.
	 (f77_print_array): Removed unused array array_size_array.
	 (f_val_print): Don't use a CORE_ADDR as a char *.
	 * valops.c (value_cast): Handle COMPLEX and BOOL types.
	 (value_assign): Handle Fortran literal string and complex values.
	 (f77_cast_into_complex, f77_assign_from_literal_string,
	 f77_assign_from_literal_complex): New functions.
1994-09-07 00:23:16 +00:00
Per Bothner 16654bbe99 * pr-5016.ch, pr-5016.exp, Makefile.in: New testcase.
* Makefile.in (.exe.check):  New rule, to run just one test.
1994-09-06 20:23:16 +00:00
Per Bothner b19d7c45d7 Note fix to lib/gdb.exp. 1994-09-06 20:17:29 +00:00
Peter Schauer 146d1b553f * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
linefeed from expect pattern for repeated types with indices > 9.
1994-09-06 09:26:19 +00:00
Per Bothner 42fca93eb8 * ch-typeprint.c (chill_type_print_base): Make TYPE_CODE_RANGE
case more robust.
This fixes PR 5016.
1994-09-05 21:47:03 +00:00
Stan Shebs b50e328324 * i960-tdep.c (signal.h): Don't include. 1994-09-04 23:58:48 +00:00
Stan Shebs de9eff96b8 * gdbint.texinfo: Removed mentions of some incorrectly placed and
obsolete conditionals, described some others.
1994-09-04 23:49:40 +00:00
Stan Shebs 43c998558f * cxux-nat.c (target_is_m88110): Remove definition. 1994-09-04 23:41:20 +00:00
Stan Shebs a6aa45a625 Update to reflect changes in config files 1994-09-04 23:18:31 +00:00
Stan Shebs 6573c89850 * configure.in (config/nm-empty.h): If cross only, use instead
of config/nm-trash.h.
	* config/nm-trash.h: Remove.
	* config/nm-empty.h: New file.
	* config/i386/nm-m3.h: New file, includes config/nm-m3.h.
	* config/mips/nm-m3.h: New file, includes config/nm-m3.h.
	* config/m68k/nm-sysv4.h: New file, includes config/nm-sysv4.h.
	* config/mips/nm-sysv4.h: New file, includes config/nm-sysv4.h.
	* config/sparc/nm-sysv4.h: New file, includes config/nm-sysv4.h.
1994-09-04 23:16:22 +00:00
Stu Grossman 4b078dc3b0 * configure.in: Don't ln gdbtk.tcl if it's already there. 1994-09-03 02:13:47 +00:00
Stan Shebs e1118f1582 Fix a typo in last change 1994-09-03 01:15:15 +00:00
J.T. Conklin b40fa61278 * configure.in: No longer looks for nm, tm, and xm headers in
config/<header>; they are always in config/<cpu>/<header>.
1994-09-03 00:45:30 +00:00
Stan Shebs 7f4c859520 * objfiles.c (allocate_objfile): Add the newly-created objfile to
the end of the list of objfiles, instead of at the beginning.

	* xcoffread.c (allocate_include_entry): New function, abstracted
	from code in record_include_begin.
	(record_include_begin, record_include_end): Call it.

	* blockframe.c (reinit_frame_cache): Test inferior_pid instead of
	target_has_stack to decide whether to create a real stack frame
	for the cache.

	* coffread.c (process_coff_symbol) [CXUX_TARGET]: Ignore vendor
	section.
	* config/m88k/tm-cxux.h (CXUX_TARGET): Define.

	* h8300-tdep.c: Include "dis-asm.h" instead of <dis-asm.h>.
1994-09-03 00:32:08 +00:00
Stu Grossman ed617881e3 Add gdbserve.mt. 1994-09-03 00:28:05 +00:00
Stu Grossman 14cca2b692 Add .Sanitize. 1994-09-03 00:27:50 +00:00
Stu Grossman bbc34049ed Add nlm subdir. 1994-09-03 00:15:20 +00:00
J.T. Conklin 4c35f877ee * config/sparc/tm-nbsd.h: Add #defines to map NetBSD struct and
field names into what is expected by sparc-nat.c.
1994-09-02 16:57:11 +00:00
Per Bothner 6a2eecace5 * c-typeprint.c (c_typedef_print): Add missing Chill support. 1994-09-02 00:34:43 +00:00
Stu Grossman 5b676c51ac Create a .Sanitize file. 1994-09-01 23:02:10 +00:00
Stu Grossman 736c56dedf * rs6000-pinsn.c (print_insn): Use powerpc disassembler when
doing Power PC.
        * config/powerpc/tm-ppc-nw.h:  Define GDB_TARGET_POWERPC.

        * config/i386/i386lynx.mh, config/m68k/m68klynx.mh,
        config/rs6000/rs6000lynx.mh, config/sparc/sparclynx.mh:  Enable
        ser-tcp.

        * nlm/Makefile.in:  Get rid of NWSOURCE.
        * nlm/alpha-io.S (inVti, outVti):  Remove extraneous ldha's.
        * nlm/gdbserve.o:  Add dummy __main routine.
        * nlm/gdbserve.def:  Turn on debug.
1994-09-01 22:57:32 +00:00
Stu Grossman 9feea50607 * rs6000-pinsn.c (print_insn): Use powerpc disassembler when
doing Power PC.
	* config/powerpc/tm-ppc-nw.h:  Define GDB_TARGET_POWERPC.

	* config/i386/i386lynx.mh, config/m68k/m68klynx.mh,
	config/rs6000/rs6000lynx.mh, config/sparc/sparclynx.mh:  Enable
	ser-tcp.

	* nlm/Makefile.in:  Get rid of NWSOURCE.
	* nlm/alpha-io.S (inVti, outVti):  Remove extraneous ldha's.
	* nlm/gdbserve.o:  Add dummy __main routine.
	* nlm/gdbserve.def:  Turn on debug.
1994-09-01 22:57:02 +00:00
Jim Kingdon ac32cd0862 * config/xm-nbsd.h: Don't define SET_STACK_LIMIT_HUGE; it is obsolete. 1994-09-01 19:40:11 +00:00
J.T. Conklin 040a3ff56d Commit again, CVS botched this last time. 1994-09-01 18:23:24 +00:00
J.T. Conklin 46cf56faf1 * config/tm-nbsd.h: New file, support for all NetBSD targets.
* config/xm-nbsd.h: fix typo.
* config/sparc/{nm,tm,xm}-nbsd.h: New files, renamed from
  {nm,tm,xm}-sparcnbsd.h to conform to prefered file naming
  conventions.
* configure.in: (sparc-*-netbsd): use config/sparc/nbsd.m[ht].
1994-09-01 18:20:42 +00:00
J.T. Conklin 331d515aca * config/tm-nbsd.h: New file, support for all NetBSD targets.
* config/sparc/{nm,tm,xm}-nbsd.h: New files, renamed from
  {nm,tm,xm}-sparcnbsd.h to conform to prefered file naming
  conventions.
* configure.in: (sparc-*-netbsd): use config/sparc/nbsd.m[ht].
1994-09-01 18:17:25 +00:00
Jason Molenda 057815134f Wed Aug 31 14:40:33 1994 Jason Molenda (crash@phydeaux.cygnus.com)
* remote-udi.c (udi_read_inferior_memory,udi_write_inferior_memory):
        change typeo in error msg (`inferrior' -> `inferior').
1994-08-31 21:43:27 +00:00
Jim Kingdon 1e75b5f530 * inflow.c (set_sigint_trap, clear_sigint_trap): Check for
attach_flag (this check was performed by the callers).  Also check
	inferior_thisrun_terminal.
	* inftarg.c (child_wait), lynx-nat.c (child_wait),
	procfs.c (wait_fd), symm-nat.c (child_wait): Don't check
	attach_flag in deciding whether to call set_sigint_trap and
	clear_sigint_trap.
1994-08-31 20:42:10 +00:00
Jim Kingdon c6623d2ce2 * value.h (struct value): Change literal_data from PTR to char *,
since that is the way it is used.
1994-08-31 16:18:50 +00:00
Jeff Law 31b2518aa4 * somread.c (som_symfile_read): Force unwinds to be re-read after
reading in a new partial symbol table.
1994-08-31 03:59:42 +00:00
Stan Shebs bad5ceb816 * config/h8500/tm-8500.h (DONT_USE_REMOTE): Remove definition,
an obsolete conditional.
	* config/pa/tm-hppa.h (BREAKPOINT) [KERNELDEBUG]: Remove use,
	an obsolete conditional.
	* config/rs6000/rs6000.mh, config/rs6000/rs6000.mt: Clean up
	comments.
1994-08-30 20:29:26 +00:00
Stan Shebs 87dc33c317 Lose ns32k-opcode.h. 1994-08-29 23:58:19 +00:00
Stan Shebs 6d8dfa64d2 * Makefile.in (ns32k-opcode.h): Remove reference.
(ns32k-pinsn.o): Update dependencies.
	* ns32k-opcode.h: Remove file.
	* ns32k-pinsn.c (print_insn): Call version in libopcodes, remove
	all other code in this file.
1994-08-29 22:17:09 +00:00
Stu Grossman dd55ca703a * nlm/configure.in: Stop using cpu.c. Put it in TDEPFILES instead.
* config/alpha/gdbserve.mt (TDEPFILES):  Remove alpha-patch.o.
1994-08-29 22:02:57 +00:00
Stu Grossman 74ace0c87a * nlm/Makefile.in: Add rule for .S.o.
* nlm/aio.h:  Protect from multiple inclusions.
	* nlm/alpha-io.S:  Remove everything we don't need.
	* nlm/{alpha-patch.c, alpha-patch.h, alpha-uart.c, alpha-uart.h}:
	Remove, no longer needed.
	* nlm/alpha.c:  Merge in lots of stuff from previous files.
	* nlm/alpha.h:  Don't #include alpha-patch.h.  Make
	breakpoint_insn extern.
	* Move stuff from alpha-patch.h into here.

	* config/alpha/gdbserve.mt (TDEPFILES):  Get rid of alpha-uart.o.
1994-08-29 21:47:40 +00:00
Stan Shebs e32890404e Keep Fortran tests 1994-08-29 21:33:43 +00:00
Stan Shebs 6862283731 First part of Fortran test suite.
* gdb.fortran: New directory.
	* gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
1994-08-29 21:31:48 +00:00
Jim Kingdon 0c070b5769 * annotate.c (annotate_starting): Flush output. 1994-08-29 18:45:35 +00:00
Peter Schauer 176d550474 * gdb.base/default.exp: Update expect pattern for load command
without arguments.
1994-08-28 14:08:03 +00:00
Peter Schauer 46d185d3d1 * symfile.c (symbol_file_add): Move reinit_frame_cache call to
the callers of symbol_file_add. Gets rid of heuristic fence-post
	warnings on mips and alpha targets when the PC resides in a shared
	library which is not yet read in.
	* coff-solib.c (coff_solib_add), cxux-nat.c (add_shared_symbol_files),
	irix5-nat.c (solib_add), osfsolib.c (solib_add),
	remote-vx.c (vx_open), solib.c (solib_add):
	Add call to reinit_frame_cache after all shared libraries are read in.
	* remote-udi.c (udi_load), remote-vx.c (vx_load_command),
	symfile.c (symbol_file_command, add_symbol_file_command):
	Add call to reinit_frame_cache after symbol_file_add.
1994-08-28 13:57:48 +00:00
J.T. Conklin c01fe93684 Remove RCS ID's 1994-08-26 22:00:50 +00:00
J.T. Conklin d7758a22a2 * sparcnbsd.mh,sparcnbsd.mt: New files, support for NetBSD/sparc. 1994-08-26 18:10:49 +00:00
J.T. Conklin ebedfc6785 fix typo 1994-08-25 00:58:14 +00:00
J.T. Conklin 6b13c79c6d * config/xm-nbsd.h: New file, support for all NetBSD ports.
* config/sparc/{nm-sparcnbsd.h,tm-sparcnbsd.h,xm-sparcnbsd.h}: New files,
  support for NetBSD/sparc.
* configure.in: Add sparc-*-netbsd target.
1994-08-25 00:55:39 +00:00
J.T. Conklin 74d319e092 * config/xm-nbsd.h: New file, support for all NetBSD ports.
* config/sparc/{nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}: New files, support
  for NetBSD/sparc.
* configure.in: Add sparc-*-netbsd target.
1994-08-25 00:54:50 +00:00
Stan Shebs 3d19ff2b13 * remote-vx.c (vx_attach): Interpret the command argument as an
unsigned long.
1994-08-24 20:22:25 +00:00
Ian Lance Taylor 2c5d4a3443 * configure.in: Change i386 to i[345]86.
* gdb.base/configure.in: Likewise.
	* gdb.c++/configure.in: Likewise.
	* gdb.chill/configure.in: Likewise.
1994-08-24 17:18:05 +00:00
Ian Lance Taylor 7382b3b197 * configure.in: Change i[34]86 to i[345]86.
* nlm/configure.in: Likewise.
	* gdbserver/configure.in: Likewise.
1994-08-24 17:12:57 +00:00
J.T. Conklin bdf218b315 * configure.in (i386-*-netware): Automatically configure nlm
subdir.
1994-08-24 16:43:18 +00:00
Stan Shebs 70bcd4bc7e * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
patterns, since that is not a valid context for comments.
1994-08-24 02:21:37 +00:00
J.T. Conklin 86165efce5 * nlm/gdbserve.c: conditionalize header file inclusion for either
NetWare 4.0 or PIN targets.
* nlm/i386.c: include appropriate header files.
* nlm/prelude.c: define TERMINATE_BY_UNLOAD for NetWare 4.0
  targets.
1994-08-24 00:58:42 +00:00
J.T. Conklin 513d7836d0 * gdbserve.c: conditionalize header file inclusion for either
NetWare 4.0 or PIN targets.
* nlm/i386.c: include appropriate header files.
* nlm/prelude.c: define TERMINATE_BY_UNLOAD for NetWare 4.0
  targets.
1994-08-24 00:57:17 +00:00
Stu Grossman 8edf00160b * nlm/ppc.c (set_step_traps clear_step_traps): Cleanups.
* nlm/gdbserve.def:  Autoload clib.
1994-08-24 00:27:38 +00:00
Jim Kingdon e44075d3aa * gdbtypes.h: Declare f77_create_literal_string_type and
f77_create_literal_complex_type.
	* valops.c (f77_value_literal_string, f77_value_substring,
	f77_value_literal_complex): Use xmalloc not malloc.
	* valops.c (f77_value_literal_string, f77_value_substring):
	Make addr char * not CORE_ADDR.
	* value.h (struct value): Add new field literal_data of aligner union.
	(VALUE_LITERAL_DATA): Use it.
	* f-lang.h: Declare find_common_for_function.
	* value.h, valops.c: Split VALUE_SUBSTRING_START into memaddr and
	myaddr fields of a union.  Don't overload it with the frame field
	(not sure this is necessary; I'm not sure what lval_* codes
	VALUE_SUBSTRING_* can be used with).
1994-08-23 21:39:50 +00:00
Rob Savoye 4682251ba1 Command loop sort-of works, stopeed core dumping. 1994-08-23 01:22:56 +00:00
Stan Shebs 0cf4b3b7c6 * config/a29k/{a29k-kern.mt,a29k-udi.mt,a29k.mt,ultra3.mh,
ultra3.mt}: Clean up, remove no-longer-used definitions.
1994-08-23 00:52:23 +00:00
Stan Shebs 886955e7cc * rs6000-nat.c: Include libbfd.h again, needed until reference
to bfd_cache_lookup is cleaned out.
1994-08-22 19:48:31 +00:00
Stan Shebs 2656b343e1 * config/i386/linux.mh (XM_CLIBS): Add -lm. 1994-08-22 18:49:23 +00:00
Steve Chamberlain be5e6fff5a Work to reduce the interrupts-off duration when running in DOS.
* ser-go32.c:  (dos_async_ready): See if anything is in the buffer.
	(dos_async_rx): rewrite to unpack as many characters from the
	asynctsr as possible into a local buffer.
1994-08-22 17:58:47 +00:00
Stan Shebs c94ca90e9d * mpw-init.c (initialize_all_files): Remove inits of utils and
targets.
1994-08-19 22:25:43 +00:00
Stan Shebs 042bb07930 Keep new Fortran files. 1994-08-19 22:01:24 +00:00
Stan Shebs a91a61923d Initial Fortran language support, adapted from work by Farooq Butt
(fmbutt@engage.sps.mot.com).
	* Makefile.in: Add Fortran-related files and dependencies.
	* defs.h (language_fortran): New language enum.
	* language.h (_LANG_fortran): Define.
	(MAX_FORTRAN_DIMS): Define.
	* expression.h: Reformat to standard.
	(MULTI_F77_SUBSCRIPT, OP_F77_UNDETERMINED_ARGLIST,
	OP_F77_LITERAL_COMPLEX, OP_F77_SUBSTR): New expression opcodes.
	* gdbtypes.h (TYPE_CODE_COMPLEX, TYPE_CODE_LITERAL_COMPLEX,
	TYPE_CODE_LITERAL_STRING): New type codes.
	(type): New fields upper_bound_type and lower_bound_type.
	(TYPE_ARRAY_UPPER_BOUND_TYPE, TYPE_ARRAY_LOWER_BOUND_TYPE,
	TYPE_ARRAY_UPPER_BOUND_VALUE, TYPE_ARRAY_LOWER_BOUND_VALUE): New
	macros.
	(builtin_type_f_character, etc): Declare.
	* value.h (VALUE_LITERAL_DATA, VALUE_SUBSTRING_START): Define.
	* f-exp.y: New file, Fortran expression grammar.
	* f-lang.c: New file, Fortran language support functions.
	* f-lang.h: New file, Fortran language support declarations.
	* f-typeprint.c: New file, Fortran type printing.
	* f-valprint.c: New file, Fortran value printing.
	* eval.c (evaluate_subexp): Add code for new expression opcodes,
	fix wording of error message.
	* gdbtypes.c (f77_create_literal_complex_type,
	f77_create_literal_string_type): New functions.
	* language.c (set_language_command): Add Fortran info.
	(calc_f77_array_dims): New function.
	* parse.c (length_of_subexp, prefixify_subexp): Add cases for new
	expression opcodes.
	* symfile.c (deduce_language_from_filename): Recognize .f and .F
	as Fortran source files.
	* valops.c (f77_value_literal_string, f77_value_substring,
	f77_value_literal_complex): New functions.
1994-08-19 21:59:05 +00:00
Peter Schauer f3806e3b6c * c-typeprint.c (c_print_type): Assume demangled arguments
if a '(' is found in varstring, Looking for ')' at the end of
	varstring did fail with demangled const member functions, which
	have a trailing `const'.
	* remote.c (get_offsets, putpkt):  Change to `char' buffers,
	to avoid errors when compiling with DEC c89.
	(remote_wait):  Cast to `char *' before passing buffer to
	fputs_filtered, to avoid errors when compiling with DEC c89.
	(remote_wait):  Do not return inferior_pid by default, this
	statement is never reached, which causes warnings from some
	compilers.
	* stabsread.c (scan_file_globals):  Ignore static minimal symbols.
	* symfile.c (load_command):  If called with no argument, try
	to get the filename from the executable file.
	(generic_load):  Remove check for NULL filename, it is done
	in load_command now.
1994-08-19 20:44:18 +00:00
Rob Savoye 399290be36 Add remote-pa.c. 1994-08-19 16:54:14 +00:00
Jeff Law 98c0e047bd * Makefile.in (ALLDEPFILES): Add hpread.c.
(hpread.o): Add dependencies.

        * somread.c: Do not include "aout/aout64.h".  SOM has nothing to
        do with a.out.
        (BYTES_IN_WORD): Delete.
        (som_symfile_read): Call hpread_build_psymtabs to build any
        minimal symbols based on the HP C native debug symbols.
        (som_symfile_finish): Call hpread_symfile_finish.
        (som_symfile_init): Call hpread_symfile_init.
        * config/pa/tm-hppa.h (HPREAD_ADJUST_STACK_ADDRESS): Define.
        * hppa-tdep.c (hpread_adjust_stack_address): New function.

        * config/pa/hppabsd.mh (NATDEPFILES): Add hpread.o
        * config/pa/hppahpux.mh (NATDEPFILES): Likewise.
        * hpread.c: New file.
1994-08-19 16:48:51 +00:00
Jeff Law 4cbc4bf151 * hppa-tdep.c (skip_trampoline_code): Revert incorrect change
from June 2, 1994 (what was I thinking?!?).  Fix it right this
	time.
1994-08-19 06:57:06 +00:00
J.T. Conklin ef4b379aab * nlm/i386.c, nlm/i386.h: New files that contain i386 specific code. 1994-08-19 00:06:47 +00:00
Stan Shebs 78425afef6 * README: Grammar improvements, clarifications, updates. 1994-08-18 21:46:06 +00:00
Rob Savoye fe4f3d0bec Support both the generic remote protocol and the one for HP-PRO targets. 1994-08-18 17:06:26 +00:00
Rob Savoye 7765123d8a Make a unique remote target "hppro", rather than use generic remote. 1994-08-18 17:05:07 +00:00
Stu Grossman a8f6da08dc * Makefile.in (TARGET_FLAGS_TO_PASS): Pass down LD_FOR_TARGET and
NLMCONV_FOR_TARGET.  (SUBDIRS):  Add nlm target.
	* configure.in (powerpc-*-netware*):  Automatically configure nlm
	subdir.
	* nlm/Makefile.in:  Add {CC NLMCONV LD}_FOR_TARGET.  Remove alpha
	specific stuff.  Make things more configurable.
	* nlm/configure.in:  Add powerpc-*-netware* target.  Use
	gdbserve.mt/cpu.c/cpu.h for target stuff.  Get rid of tm/xm/nm.h
	files.
	* nlm/gdbserve.c:  Move Alpha specific stuff into other files.
	Remove lots of architecture-specific stuff.
	* nlm/gdbserve.def:  Add new imports.
	* nlm/ppc.c, nlm/ppc.h:  New files that contain PowerPC specific code.
	* nlm/prelude.c:  Don't include libhooks.h, get rid of call to
	register library.
	* nlm/prelude.o:  What was this doing here?
	* config/alpha/gdbserve.mt:  Defs for alpha nlm stub.
	* config/powerpc/gdbserve.mt: Defs for PowerPC nlm stub.
	* config/powerpc/ppc-nw.mt:  Defs for PowerPC target for GDB.
	* config/powerpc/tm-ppc-nw.h:  Ditto.

	* nlmstub.def:  New file, contains imports for 386 nlm stub.
1994-08-18 06:43:56 +00:00
Stu Grossman b7da24943d * Makefile.in (TARGET_FLAGS_TO_PASS): Pass down LD_FOR_TARGET and
NLMCONV_FOR_TARGET.  (SUBDIRS):  Add nlm target.
	* configure.in (powerpc-*-netware*):  Automatically configure nlm
	subdir.
	* nlm/Makefile.in:  Add {CC NLMCONV LD}_FOR_TARGET.  Remove alpha
	specific stuff.  Make things more configurable.
	* nlm/configure.in:  Add powerpc-*-netware* target.  Use
	gdbserve.mt/cpu.c/cpu.h for target stuff.  Get rid of tm/xm/nm.h
	files.
	* nlm/gdbserve.c:  Move Alpha specific stuff into other files.
	Remove lots of architecture-specific stuff.
	* nlm/gdbserve.def:  Add new imports.
	* nlm/ppc.c, nlm/ppc.h:  New files that contain PowerPC specific code.
	* nlm/prelude.c:  Don't include libhooks.h, get rid of call to
	register library.
	* nlm/prelude.o:  What was this doing here?
1994-08-18 06:32:55 +00:00