Commit Graph

5592 Commits

Author SHA1 Message Date
Jeff Law fbc3f1913d * configure.in (powerpc-*-aix*): Recognize as a new gdb host
and target.
         (powerpc-*-eabi*): Don't set configdirs.
         (powerpcle-*-eabi*0: Likewise.
         * configure: Updated.
         * rs6000-nat.c (vmap_ldinfo): Don't relocate data addresses
         for the main objfile if DONT_RELOCATE_SYMFILE_OBJFILE is
         defined.
         * config/powerpc/{aix.mh,aix.mh}: Host and target makefile fragments
         for powerpc running aix4.
         * config/powerpc/{nm-aix.h, tm-ppc-aix.h, xm-aix.h}: Native, target
         and host include files for powerpc running aix4.

More of Mike's powerpc work + minor changes.
1995-08-09 18:53:41 +00:00
Stan Shebs 327332d87d * top.c (target_output_hook): Really make it match defs.h (char *
is not the same as unsigned char *).
1995-08-09 15:16:33 +00:00
J.T. Conklin c61c48c055 * Makefile.in (CXX_FOR_TARGET): Don't use ${rootme}/../gcc/xgcc
unless it is present.
1995-08-08 22:15:20 +00:00
Jeff Law 7aaec27bc7 * top.c (target_output_hook): Make declaration match the one
in defs.h.
1995-08-08 18:01:46 +00:00
Jeff Law 842bdf8ce1 * symfile.c (add_psymbol_to_list): Initialize SYMBOL_SECTION.
(add_psymbol_addr_to_list): Likewise.
        * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Likewise.
1995-08-08 17:53:58 +00:00
Steve Chamberlain 764efb58e9 * top.c (target_output_hook): New definition. 1995-08-07 22:42:19 +00:00
Steve Chamberlain b6d70e158a * stack.c (gdb_string.h): Include after defs.h
* defs.h (target_output_hook): New declaration.
	* source.c (mod_path): Fix Win32 \ handling.
1995-08-07 22:39:00 +00:00
Jeff Law 98395eafc9 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
* gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
	* gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
	* gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.

sh3e disassembler tests.  Sanitized out for now.
1995-08-07 08:48:22 +00:00
Fred Fish db186b3db7 * gdb.base/corefile.exp: Change xfail for backtrace in
corefile.exp from linuxaout to all linux.
	* gdb.base/sigall.exp (test_one_sig):  Specifically deal with
	cases where we miss the breakpoint at the signal handler
	for some reason.  Setup xfail for linuxoldld/linuxaout and
	getting SIGIO.  Setup xfail for linuxoldld/linuxaout for
	hitting SIGURG breakpoint.
	* gdb.base/signals.exp:  Setup xfail for "next" acting like
	continue to add linuxoldld.  Setup xfail for all linux for
	"next to handler in signals_tests_1", "backtrace in
	signals_tests_1", "continue to func1", "pass SIGUSR1",
	and continue to handler".
1995-08-07 07:20:02 +00:00
Jeff Law f4eec25cb8 * hppa-tdep.c (frame_saved_pc): Don't try to dig a return pointer
out of a long branch stub.

hpux10 _start is incorrectly marked as a long-branch stub.
1995-08-07 04:17:24 +00:00
Fred Fish ef8e137ced * ch-exp.y (write_lower_upper_value): Add prototype so bison
generated parser will insert prototype before first func usage.
	Bison and byacc order the output sections differently.  Also
	make function static.
1995-08-05 01:13:26 +00:00
Jeff Law d2fee216f6 * xcoffread.c (process_linenos): Fix typo in last change. 1995-08-04 20:40:44 +00:00
Stan Shebs d1307e4965 Lose EST-only files (now part of generic m68k monitor config) 1995-08-04 00:47:13 +00:00
Fred Fish 605b7789b1 Document FSF address updating of all files with FSF addresses,
except for the COPYING* files.
1995-08-03 18:42:27 +00:00
Fred Fish 471a24ce44 Add ChangeLog, pr-5984.ch, pr-5984.exp. 1995-08-03 17:07:16 +00:00
Fred Fish 7abd80b9d3 Add hppro.exp, monitor.exp. 1995-08-03 17:06:45 +00:00
Fred Fish 87544f53d2 Remove keep-chill stuff from .Sanitize and add gdb.chill to things to
keep.  Remove sanitize references in ChangeLog.  Remove start/end
sanitize-chill lines in Makefile.in.
1995-08-03 16:56:36 +00:00
Fred Fish fb333bb871 Add configure to r16_files and arc_files in .Sanitize
Remove references to .Sanitize in ChangeLogs, start updating
always sanitized away file HOW_TO_RELEASE.
1995-08-03 16:48:48 +00:00
Peter Schauer adbe434b92 * config/alpha/tm-alpha.h (EXTRA_FRAME_INFO): Add pc_reg field.
(SKIP_TRAMPOLINE_CODE):  Define.
	* alpha-tdep.c (alpha_frame_saved_pc):  Use pc_reg field from
	frame to find the saved pc register.
	(alpha_saved_pc_after_call):  Skip over shared library trampoline
	before trying to find the saved pc register.
	(find_proc_desc):  Copy PROC_PC_REG from found proc_desc
	to heuristic proc_desc.
	(init_extra_frame_info):  Initialize pc_reg field in frame.
1995-08-03 09:17:51 +00:00
Stan Shebs 949e2bbf44 * configure.in (m68*-est-*): Use monitor target config.
* configure: Update.
	* config/m68k/est.mt, config/m68k/tm-est.h: Delete.
	* config/m68k/monitor.mt, config/m68k/tm-monitor.h: Fix comments.
1995-08-03 01:07:32 +00:00
Fred Fish 7613212c97 * Makefile.in (VERSION): Bump to 4.14.2 1995-08-02 05:55:49 +00:00
Fred Fish 6c9638b444 Update FSF address. 1995-08-02 03:41:12 +00:00
Kung Hsu fc564b1858 * xcoffread.c (process_linenos): The value in include file symbol
should point to line number table. Currently this value is not
	set correctly by AIX ld. A fix to get around this bug.
1995-08-01 23:09:20 +00:00
J.T. Conklin 2b57629364 * configure.in: Check for working mmap, ansi headers, string.h,
strings.h, and memory.h.
* configure: Regenerated.

* gdb_stat.h: New file, "portable" <sys/stat.h>.
* gdb_string.h: New file, "portable" <string.h>.

* altos-xdep.c, arm-tdep.c, arm-xdep.c, convex-tdep.c,
convex-xdep.c, coredep.c, cxux-nat.c, dbxread.c, exec.c,
gould-xdep.c, hppa-tdep.c, i386aix-nat.c, i386b-nat.c,
i386mach-nat.c, i386v-nat.c, infptrace.c, m88k-nat.c, main.c,
mdebugread.c, objfiles.c, os9kread.c, procfs.c, pyr-xdep.c,
rs6000-nat.c, source.c, standalone.c, stuff.c, sun386-nat.c,
symfile.c, symm-nat.c, symm-tdep.c, symtab.c, top.c, ultra3-nat.c,
ultra3-xdep.c, umax-xdep.c, xcoffread.c: Include "gdb_stat.h"
instead of <sys/stat.h>.

* alpha-tdep.c, breakpoint.c, buildsym.c, c-typeprint.c,
ch-typeprint.c, coffread.c, command.c, core-sol2.c, core-svr4.c,
core.c, corelow.c, cp-valprint.c, dbxread.c, dcache.c, demangle.c,
dpx2-nat.c, dstread.c, dwarfread.c, elfread.c, environ.c, eval.c,
exec.c, f-lang.c, f-typeprint.c, f-valprint.c, findvar.c,
fork-child.c, gdbtypes.c, hpread.c, i386-tdep.c, infcmd.c,
inflow.c, infptrace.c, infrun.c, irix5-nat.c, language.c,
m2-typeprint.c, main.c, mdebugread.c, minsyms.c, mipsread.c,
monitor.c, nlmread.c, objfiles.c, os9kread.c, osfsolib.c, parse.c,
printcmd.c, procfs.c, regex.c, remote-adapt.c, remote-arc.c,
remote-array.c, remote-bug.c, remote-e7000.c, remote-eb.c,
remote-es.c, remote-hms.c, remote-mm.c, remote-os9k.c,
remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c,
remote-utils.c, remote-vx.c, remote-vx29k.c, remote-vx68.c,
remote-vx960.c, remote-vxmips.c, remote-vxsparc.c, remote.c,
solib.c, somread.c, source.c, stabsread.c, stack.c, symfile.c,
symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c,
valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include
"gdb_string.h" instead of <string.h>.
* gdbtk.c: Likewise.

* config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h,
sparc/xm-sun4os4.h (HAVE_MMAP): Removed.

* config/xm-lynx.h, config/i386/xm-ptx.h,
config/m68k/nm-apollo68b.h, config/m68k/xm-hp300hpux.h,
config/mips/xm-irix3.h, config/mips/xm-mips.h,
config/mips/xm-news-mips.h, config/mips/xm-riscos.h,
config/pa/hppah.h, config/rs6000/xm-rs6000.h,
config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
config/vax/xm-vaxbsd.h, config/vax/xm-vaxult.h,
config/vax/xm-vaxult2.h (MEM_FNS_DECLARED): Removed.
* config/mips/xm-irix3.h, config/mips/xm-mips.h,
config/pa/xm-hppah.h (memcpy, memset): Removed declarations.
1995-08-01 20:14:27 +00:00
Peter Schauer 92a6d60053 * mips-tdep.c (mips_extract_return_value): Fix returning of
values whose length is less than the register size for big endian
	targets.
	* alpha-tdep.c (alpha_extract_return_value,
	alpha_store_return_value):  Use alpha_convert_register_to_*
	to handle functions returning "float" correctly.
1995-08-01 09:20:05 +00:00
Stan Shebs ec7b6fcf7f * h8500-tdep.c: General linting and cleanup.
(opcodes/h8500-opc.h): Don't include.
	(code_size, data_size): Make static.
	(frame_locals_address, frame_args_address): Remove.
	(h8300_pop_frame): Rename to h8500_pop_frame.
	(big_command, medium_command, compact_command, small_command):
	Define as regular functions rather than with macro trickery.
	(tm_print_insn): Set to correct disassembler function.
	* config/h8500/tm-h8500.h: Minor cleanup, add prototypes.
	(ABOUT_TO_RETURN): #if 0 out.
	(FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Use usual define.
	(GDB_TARGET_IS_H8500): Remove duplicate	definition.
	(regoff): Remove, never used.
	* config/h8500/h8500.mt (TDEPFILES): Add monitor.o.
1995-08-01 02:37:02 +00:00
J.T. Conklin 19f5d8f164 Oops, don't edit a file when your checkin hasn't finished 1995-07-31 22:50:21 +00:00
J.T. Conklin 1a49497348 * configure.in: Check for unistd.h.
* configure: Regenerated.

* command.c, cp-valprint.c, fork-child.c, i386-tdep.c,
i386b-nat.c, inflow.c, main.c, maint.c, objfiles.c, solib.c,
source.c, stack.c, symfile.c, top.c, utils.c: Include strings.h
and/or unistd.h to bring prototypes into scope.
1995-07-31 22:46:03 +00:00
Fred Fish 62b1697ed7 Add file documenting basic procedures for gdb release manager to produce
FSF releases.  Set up .Sanitize to always remove this file.
1995-07-31 15:57:25 +00:00
Fred Fish 85934f3b48 * gdb.base/a2-run.exp: Change messages to be more explicit about
the status of args, and quote binfile in results.
1995-07-31 01:18:44 +00:00
Fred Fish eed4066f6b * gdb.base/callfuncs.exp: Add tests for passing structs to
inferior functions and return various types.
	* gdb.base/callfuncs.c: Add functions to receive a struct
	and return a member of the struct, in various types.
1995-07-30 19:29:36 +00:00
Peter Schauer 965dde97f0 * rs6000-tdep.c (frame_saved_pc): Check for signal handler caller
before trying to determine the start of the function.
	(skip_prologue):  Skip subroutine call which might save the
	floating point registers only if it is within the first three
	instructions.
	Reinstate setting of alloca_reg if setup of a gcc frame pointer
	is found.
	(frame_get_cache_fsr):  Use new fields in rs6000_framedata.
1995-07-30 08:45:15 +00:00
Fred Fish 7a13a704fe Fix problem with configure script when run on systems where native shell
is bash or ksh, which handles "... $(TCL) ..." by trying to run TCL.
Changed configure.in and regenerated configure, including two lines
apparently inserted by custom cygnus version of autoconf 2.4.
1995-07-30 01:15:54 +00:00
Stan Shebs fce537aeb2 Remove mentions of nonexistent things, add lose-mswin to control inclusion
of WinGDB stuff separately.
1995-07-29 22:43:07 +00:00
Stan Shebs 86b40da4da * sparclite: Removed subdirectory. aload and eload are now in
utils/sparclite, low-level library is in libgloss.
	* configure.in (sparclite*): Don't configure sparclite subdir.
	* configure: Update.
	* Makefile.in (TARDIRS): Remove, no longer used.
1995-07-29 21:59:26 +00:00
Peter Schauer 96fd3d08f9 * gdb.base/Makefile.in (clean): Remove callf-info.exp. 1995-07-29 21:24:39 +00:00
Peter Schauer b6753b3f6f * procfs.c (unconditionally_kill_inferior): Clear current signal
if PROCFS_NEED_CLEAR_CURSIG_FOR_KILL is defined.
	* config/alpha/nm-osf3.h (PROCFS_NEED_CLEAR_CURSIG_FOR_KILL):  Define.
1995-07-29 20:56:22 +00:00
Peter Schauer e3c05e1758 * config/mips/tm-irix3.h, config/mips/tm-irix5.h,
config/mips/tm-mipsv4.h (SIGFRAME_FPREGSAVE_OFF):  Define.
1995-07-29 08:50:35 +00:00
Peter Schauer e4dbd248df * alpha-tdep.c: Move sigtramp handling of saved registers from
read_next_frame_reg to alpha_find_saved_regs, handle saved
	floating point registers.
	* mips-tdep.c:  Move sigtramp handling of saved registers from
	read_next_frame_reg to mips_find_saved_regs, handle saved
	floating point registers.
	* config/mips/tm-irix3.h, config/mips/tm-irix5.h,
	config/mips/tm-mipsv4.h (SIGFRAME_FPREGSAVE_OFF):  Define.

	* sparc-tdep.c (sparc_pc_adjust):  Fix check for `unimp'
	instruction to handle functions returning structures with
	large sizes properly.
1995-07-29 08:50:00 +00:00
Brendan Kehoe ac72325fa8 * config/vxworks29k.exp: New file, sources vxworks.exp. 1995-07-28 20:36:50 +00:00
Steve Chamberlain ab7c53aed5 * configure, configure.in (z8k-*-sim): deleted. 1995-07-28 18:57:30 +00:00
Jeff Law e72d862288 * config/gdbremote.exp: New file. Testing framework using
gdbserver.

Doesn't work with lynx yet, and you need to set a handful of variables
in your site.exp, but it's worth checking in now.
1995-07-28 07:31:40 +00:00
Fred Fish 3b013a3a46 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
"call function when asleep" and "send end of file".
	* gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
	for "backtrace in corefile.exp".
	* gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
	for "backtrace through signal handler".
	* gdb.base/corefile.exp: Make sure we actually generate a core file
	before trying the core tests.  Some systems allow the user to suppress
	generation of core files and default to that (linux for example).
	* gdb.base/signals.exp: Change xfail for "next" acting like "continue"
	from "i*86-*-linux" to "i*86-*-linuxaout".  Works with ELF beta.
1995-07-28 04:58:12 +00:00
Jeff Law b339391255 * lynx-nat.c (child_wait): Handle threads exiting. 1995-07-27 19:57:16 +00:00
Jeff Law ef920bd889 Forgot to commit .Santiize. 1995-07-27 19:51:44 +00:00
Michael Meissner 4b4c6c9616 More V.4/AIX fixes 1995-07-27 14:01:34 +00:00
Jeff Law 46f569b403 * hppa-tdep.c (hppa_fix_call_dummy): Rewrite code for calling
into shared libraries.

Amazing...  7363 has required serious work in gcc, gas, bfd, and now gdb...
1995-07-27 08:30:22 +00:00
Michael Meissner 068c9fd63f Better support V.4 calling sequences. 1995-07-27 03:50:05 +00:00
Jeff Law ddb97850d0 * remote.c: Add documentation for extended protocol operations
and for thread_alive change from a couple weeks ago.
	(extended_remote_ops): Declare and define a new target vector
	for the extended remote protocol.
	(extended_remote_restart): New function to restart the remote
	server & process.
	(remote_open): Just a stub routine.
	(extended_remote_open): New function to start a remote session
	using the extended gdb remote protocol.
	(remote_open_1): New function containing code common to both
	remote_open and extended_remote_open.
	(remote_mourn, extended_remote_mourn, remote_mourn_1): Similarly.
	(extended_remote_create_inferior): New function for the extended
	remote target.
	(initialize_remote): Add the extended_remote_ops target vector.
	* gdbserver/server.c (main, case '!'): Set extended_protocol.
	(main, case 'k'): If the extended protocol is in use, kill the
	inferior then start a new one.
	(main, case 'R'): New command to restart the remote server and
	inferior process.  Only supported when using the extended
	protocol.
	(main, server loop): If the inferior terminates while using the
	extended protocol then start a new one.  If getpkt fails when
	using the extended protocol then exit.

New extended remote gdb protocol support; intended mainly for use with
the gdbserver testing framework that I'll be checking in soon.  Also
useful for interactive remote debugging since it supports "run".
1995-07-26 07:17:34 +00:00
Jeff Law f27ffb51f5 * gdb.threads: New directory with some crude multi-threaded
gdb tests (step.exp and step2.exp).
        * config/mt-lynx (STEP_EXECUTABLE): Define.
        (THREADFLAGS): Define.

Hiro's test for 6100 and a crude test of my own.  They both need some
major cleanup for non-lynx hosts; both are also a little too loose in
their checks.  But I'm too burnt out on lynx to address either concern.
1995-07-26 00:35:07 +00:00
Stan Shebs 80ac01168f Oops, forgot the parens. 1995-07-25 23:35:55 +00:00
Stan Shebs 1789d5d579 * mdebugread.c (psymtab_to_symtab_1): Relocate encoded stab
line numbers using the psymtab's section offsets.
PR 7514
1995-07-25 20:16:48 +00:00
Jeff Law d9d9e56366 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx. 1995-07-25 17:09:50 +00:00
Michael Meissner 636414911e Change aix_framedata -> rs6000_framedata 1995-07-25 14:46:12 +00:00
Jeff Law 8b67f01dff * gdb.base/signals.exp: Disable whole file for lynx until
further notice.

Looks like a bug in the lynx2.2.2 kernel scroggs the stack pointer in
these tests leading to massive failures.  I've sent a nice small concise
example to Mark Rome @ lynx.  Severe braindamage.
1995-07-25 08:52:39 +00:00
Jeff Law 2f11e8d4a6 * gdb.base/signals.exp: xfail test where "next" acts like
"continue" for lynx.
1995-07-25 07:05:21 +00:00
Jeff Law 92d9020df4 * gdb.base/interrupt.exp: xfail test for calling function while
inferior is asleep for lynx.
1995-07-25 05:16:07 +00:00
Jeff Law 238436912f * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
than one cr-lf	after each command.
1995-07-25 05:12:43 +00:00
Peter Schauer fe3c360b62 * configure.in: Reinstate setting of stabsdirs variable, fix
typo in setting up configdirs for native builds.

	* gdb.base/return.exp:  Fix typo in return double test.
	* gdb.base/return.c (tmp2, tmp3):  Made global to inhibit the
	compiler from optimizing them away.
1995-07-24 06:35:58 +00:00
Jeff Law 0f7f5292ac * defs.h (ATTR_FORMAT): Disable if ANSI_PROTOTYPES is not defined. 1995-07-23 05:47:32 +00:00
Jeff Law f8c90568d5 * lynx-nat.c (child_thread_alive): New function. Somehow I
forgot to check this in with all the other thread_alive changes.
1995-07-21 23:52:45 +00:00
Jeff Law 2d86d216f2 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
sequences to be echo'd by gdb when using gdb_test.
	* gdb.chill/chexp.exp: Likewise.
	* gdb.fortran/exprs.exp: Likewise
1995-07-21 17:42:14 +00:00
Jeff Law 5dc74605b0 * somread.c (som_symtab_read): Add unsatisfied common symbols to
the minimal symbol table.  All common symbols are "unsatisfied"
	when -E is passed to the linker.

mentor-7462
1995-07-21 04:26:39 +00:00
Fred Fish 032f80d8d4 * top.c (show_endian): Cast first arg of printf_unfiltered to
correct type of "char *".
1995-07-20 22:04:37 +00:00
Jeff Law 5c54124bab * lynx-nat.c (child_wait): A thread_id of zero from wait apparently
means the process is single threaded, so there's no need to add
        it to the thread list.  Handle case where multi-threaded process
        reverts back to a single-threaded process.
1995-07-20 21:25:12 +00:00
Jeff Law 76087c5388 * gdbserver/low-hppabsd.c: Remove error declaration.
* gdbserver/low-sparc.c: Likewise.
	* gdbserver/low-sun3.c: Likewise.
	* gdbserver/server.h: Remove error and fatal declaration.
	* gdbserver/utils.c (error): Update to be compatable with recent
	changes in defs.h.
	(fatal): Likewise.
1995-07-20 21:04:29 +00:00
Jeff Law f1c9e4462a * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
after the inferior gdb has started.
'cuz lynx may take a couple minutes to start the inferior gdb...

        * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
        after each command.
        * gdb.base/funcargs.exp: Likewise.
        * gdb.base/gdbvars.exp: Likewise.
        * gdb.base/interrupt.exp: Likewise.
        * gdb.base/list.exp: Likewise.
        * gdb.base/watchpoint.exp: Likewise.
        * gdb.c++/demangle.exp: Likewise.
        * gdb.c++/inherit.exp: Likewise.
        * gdb.chill/chexp.exp: Likewise.
        * gdb.fortran/exprs.exp: Likewise.
Just in case we can't get a version of expect that sets the tty modes
right on lynx to avoid this problem.
1995-07-20 20:33:39 +00:00
Jeff Law 9ce4ab8471 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
test if we can't handle IO to/from the inferior.
1995-07-20 19:21:28 +00:00
Jeff Law 35e7ac7f54 * gdb.c++/misc.exp: Always check for a program already being
started after sending a "run" command to gdb.
1995-07-20 19:03:51 +00:00
Jeff Law b26202930b * gdb.base/twice.exp: Start with a fresh gdb. 1995-07-20 18:52:10 +00:00
Jeff Law 780f976310 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
only depend on gdb's expression code, not the chill runtime.
1995-07-20 18:50:31 +00:00
Jeff Law f20dfd566a * gdb.base/return.c: Put return values into variables so we
can have gdb print them rather than depending on the program
	to print them.
	* gdb.base/return.exp: Corresponding changes.
1995-07-20 18:43:53 +00:00
Jeff Law 46e8d4117a * lib/gdb.exp: Provide default value for noinferiorio.
* gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
	the inferior.
1995-07-20 18:27:55 +00:00
Jeff Law 8c72d4fcf6 * gdb.base/break.exp: Always check for a program already being
started after sending a "run" command to gdb.
	(text_next_with_recursion): Don't check the output from the
	program's printf statement.  Instead just make sure the program
	exited.
1995-07-20 17:50:05 +00:00
Jeff Law f4c40a88f3 * gdb.base/commands.exp: Protect tests which need arguments with
$noargs conditionals.
1995-07-20 17:41:18 +00:00
Peter Schauer 4bbec291b2 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
of structure member arrays to match gdb/valops.c:value_addr change.
1995-07-20 05:54:31 +00:00
Peter Schauer 5488b3b7a6 * config/m68k/tm-m68kv4.h (DWARF_REG_TO_REGNUM): Define to
correctly map floating point registers numbers.
1995-07-20 05:53:28 +00:00
Peter Schauer bbcc95bdb1 * config/m68k/tm-m68kv4.h (DWARF_REG_TO_REGNUM): Define to
correctly map floating point registers numbers.

	* dwarfread.c (locval, new_symbol):  Handle variables that are
	optimized out.

	* mdebugread.c:  Replace all uses of builtin_type_* with
	mdebug_type_*. Define and initialize mdebug_type_*.

	* serial.h (serial_close):  Add additional argument `really_close'.
	(SERIAL_CLOSE):  Update serial_close call accordingly.
	(SERIAL_UN_FDOPEN):  Use serial_close to handle refcnt properly.
	* serial.c (serial_close):  Handle `really_close'.
	* serial.h (scb_base):  Moved to serial.c, made static.

	* valops.c (value_addr):  Don't coerce arrays.
	(typecmp):  Coerce arrays instead of calling value_addr if necessary.
1995-07-20 05:52:42 +00:00
Stan Shebs f94cadf988 From Richard Earnshaw (rearnsha@armltd.co.uk):
* gdb.texinfo (convenience variables): Document $_exitcode.
	(quit): Document optional expression to use as exit code.
1995-07-20 02:12:09 +00:00
Stan Shebs 641c7fdfd7 From Richard Earnshaw (rearnsha@armltd.co.uk):
* infrun.c (wait_for_inferior): Set the convenience variable
	$_exitcode to the termination code of the inferior.
	* top.c (quit_command): Accept optional expression to use
	as parameter to exit().
1995-07-20 02:09:30 +00:00
Kung Hsu 1dde91596e * remote.c (remote_wait): When getting registers, check endianess and
do conversion if necessary.
1995-07-19 21:45:45 +00:00
Jeff Law 75675683a8 * gdbserver/low-hppabsd.c: New file.
* gdbserver/Makefile.in (SFILES): Add low-hppabsd.c.
        * config/hppabsd.mh (XDEPFILES): Add ser-tcp.o
        (GDBSERVER_DEPFILES): Add low-hppabsd.o
        * config/hppaosf.mh: LIkewise.

Needed this for the gdbserver framework development.  Trying to avoid doing
development work on lynx for the obvious reasons.
1995-07-18 06:49:21 +00:00
Jeff Law c2aa5a891e * gdbserver/low-hppabsd.c: New file.
* gdbserver/Makefile.in (SFILES): Add low-hppabsd.c.
        * config/hppabsd.mh (XDEPFILES): Add ser-tcp.o
        (GDBSERVER_DEPFILES): Add low-hppabsd.o
        * config/hppaosf.mh: LIkewise.

Needed this for the gdbserver framework development.  Trying to avoid doing
development work on lynx for the obvious reasons.
1995-07-18 06:46:49 +00:00
Fred Fish 6b14af2bc6 * dache.c (struct dcache_block): Change data member from unsigned char
to char, since everything passed in and out of dcache is char or casted
	to appropriate type anyway.
	(dcache_alloc):  Move assignment of db out of test and combine separate
	tests into if-else.
	(dcache_peek_byte):  Change ptr from unsigned char* to char*.
	(dcache_peek_byte):  Remove now unnecessary cast in read_memory call.
	(dcache_peek):  Change cast of incoming data arg.
	(dcache_poke):  Change cast of addr of incoming data arg.
	(dcache_info):  Mask data passed to printf_filtered to lsbyte only.
	(dcache_info):  Change printf_filtered arg from "% 2x" to " %2x".
	* target.c (debug_to_thread_alive): Change return type to int and
	return zero, for type compatibility with other *_thread_alive funcs.
	(cleanup_target): Change cast of ignore function to match type of the
	to_thread_alive member.
	* defs.h (error_hook): Add ATTR_NORETURN.
	* defs.h (NORETURN, ATTR_NORETURN):  Switch from volatile to
	__attribute__ method with gcc 2.7, to avoid gcc 2.6.3 bug.
	* remote.c (remote_wait):  Cast first arg to strtol, strchr, and strncmp
	to "const char *" from "unsigned char *".
	(remote_wait):  Cast arg to putpkt and strcpy from "unsigned char *" to
	"char *".
	(remote_wait):  Change printf format for long arg from "%d" to "%ld".
	(getpkt):  Remove unused variable "bp".
	(remote_fetch_word, remote_store_word):  Ifdef out apparently unused
	functions.
	* breakpoint.c (watchpoint_check):  Removed unused variables
	"saved_level" and "saved_frame".
	* valops.c (value_arg_coerce):  Add other enum TYPE_CODE_* and
	default cases to switch for completeness.
	* infrun.c (wait_for_inferior):  Enclose "have_waited" label
	in #ifdef that matches the one in which it is referenced.
	* ser-unix.c (hardwire_noflush_set_tty_state):  Enclose otherwise
	unused variable "state" in #ifdef that matches one in which it is
	referenced.
	* eval.c (evaluate_subexp_standard):  Remove unused variable "var".
	* eval.c (evaluate_subexp_standard):  Remove unused variable "tmp_symbol".
	* valarith.c (value_subscript):  Remove unused variable "lowerbound",
	which is redeclared in a nested scope prior to use.
	* printcmd.c (print_frame_nameless_args):  Use "%ld" to print long
	arg, not "%d".
	* {mem-break.c, remote-pa.c, remote.c, saber.suppress}:
	Remove unused static var "check_break_insn_size".
	* buildsym.c (finish_block):  Add other enum LOC_* and default
	cases to switch for completeness.
	ch-lang.c (type_lower_upper):  Removed unused label "retry".
	Add other enum TYPE_* and default cases to switch for completeness.
	* f-typeprint.c (f_type_print_args):  Ifdef out unused function
	that may be used someday when Fortran support is complete.
	* ch-valprint.c (chill_print_type_scalar):  Add other enum
	TYPE_* and default cases to switch for completeness.
	(chill_val_print):  Remove unused local var "high_bound" that
	is redeclared in a nested scope prior to use.
	(chill_var_print):  Use "%ld" to print long arg, not "%d".
	* regex.c (re_compile_fastmap, re_match_2):  Add remaining enum types
	and default to switches for completeness.
	* minsyms.c (lookup_minimal_symbol_text): Delete unused variable
	"trampoline_symbol".
	(prim_record_minimal_symbol_and_info):  Return NULL rather than trash.
	* elfread.c (elf_symtab_read):  Don't dereference NULL returns from
	record_minimal_symbol_and_info.
	* f-lang.c (saved_function_list_end):  Ifdef out unused variable
	that may be used someday.
	* f-valprint.c (f_val_print):  Remove unused local variable "straddr".
1995-07-18 04:38:06 +00:00
Ian Lance Taylor f779e99f2a * stabsread.h (struct stab_section_list): Define.
(coffstab_build_psymtabs): Remove staboff and stabsize parameters.
	Add textaddr, textsize, and stabs parameters.
	* gdb-stabs.h (struct dbx_symfile_info): Remove text_sect field.
	Add text_addr and text_size fields.
	(DBX_TEXT_SECT): Don't define.
	(DBX_TEXT_ADDR, DBX_TEXT_SIZE): Define.
	* coffread.c: Include <ctype.h>.
	(struct coff_symfile_info): Remove stabsect and stabindexsect
	fields.  Add textaddr, textsize, and stabsects fields.
	(coff_locate_sections): Record the address of the .text section,
	and total the sizes of all sections with names beginning with
	".text".  Don't bother to record a .stab.index section (COFF
	doesn't use them).  Make a linked list of all sections with names
	beginning with ".stab".
	(coff_symfile_read): Adjust call to coffstab_build_psymtabs for
	new parameters.
	* dbxread.c (dbx_symfile_read): Use DBX_TEXT_ADDR and
	DBX_TEXT_SIZE, rather than getting both from DBX_TEXT_SECT.
	(dbx_symfile_init): Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not
	DBX_TEXT_SECT.
	(elfstab_build_psymtabs): Likewise.
	(stabsect_build_psymtabs): Likewise.
	(symbuf_sections, symbuf_left, symbuf_read): New static variables.
	(fill_symbuf): If symbuf_sections is not NULL, read symbols from
	multiple sections.
	(coffstab_build_psymtabs): Remove staboffset and stabsize
	parameters.  Add textaddr, textsize, and stabsects parameters.
	Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not DBX_TEXT_SECT.  Handle
	multiple stabs sections.
	* os9kread.c (os9k_symfile_read):  Use DBX_TEXT_ADDR and
	DBX_TEXT_SIZE, rather than getting both from DBX_TEXT_SECT.
	(os9k_symfile_init): Set DBX_TEXT_ADDR and DBX_TEXT_SIZE, not
	DBX_TEXT_SECT.
PR 7241.
1995-07-17 17:33:37 +00:00
Ian Lance Taylor 5d672f2897 * remote-vx.c (vx_ops, vx_run_ops): Initialize new to_thread_alive
field.
1995-07-17 17:09:48 +00:00
Jeff Law 31ce436075 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
cases.
1995-07-17 16:14:48 +00:00
Peter Schauer c82fff91f8 * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: New files
for OSF/1-3.x procfs support.
1995-07-15 08:59:36 +00:00
Peter Schauer b8ea4fec37 * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: New files
for OSF/1-3.x procfs support.
	* configure.in (alpha-dec-osf):  Use them when configuring
	for OSF/1-3.x.
	* configure:  Updated.
	* target.c:  Include <string.h>.
1995-07-15 08:57:59 +00:00
J.T. Conklin 5f10790049 * Makefile.in, configure.in: Use one variable, frags, to hold
pathnames of makefile fragments.
* configure: regenerated.
1995-07-14 23:28:13 +00:00
Jeff Law 10f644eb64 * procfs.c (procfs_ops): Fix typo in last change. 1995-07-14 15:51:51 +00:00
Jeff Law 43fc25c87e * inftarg.c (child_thread_alive): New function to see if a
particular thread is still running.
        (child_ops): Add child_thread_alive entry.
        * remote.c (remote_thread_alive): New function to see if a
        particular thread is still alive.
        (remote_ops): Add remote_thread_alive.
        * target.c (dummy_target): Add dummy entry for thread_alive.
        (cleanup_target): de_fault thread_alive too.
        (update_current_target): INHERIT thread_alive too.
        (debug_to_thread_alive): New function.
        (setup_target_debug): Add debug_to_thread_alive.
        * target.h (struct target_ops): Add to_thread_alive.
        (target_thread_alive): Define.
        * thread.c (info_threads_command): Don't call kill; use
        target_thread_alive instead.
        * config/nm-lynx.h (CHILD_THREAD_ALIVE): Define.
        * gdbserver/low-lynx.c (mythread_alive): New function.
        (mywait): Don't restart any threads after a new thread notification,
        let the generic code handle it.
        * gdbserver/low-sparc.c (mythread_alive): Dummy version.
        * gdbserver/low-sun3.c (mythread_alive): Likewise.
        * gdbserver/server.c (main): Handle thread_alive requests.
        * gdbserver/server.h (mythread_alive): Declare.
        * corelow.c (core_ops): Add dummy entry for thread_alive.
        * exec.c (exec_ops): Likewise.
        * m3-nat.c (m3_ops): Likewise.
        * monitor.c (monitor_ops): Likewise.
        * procfs.c (procfs_ops): Likewise.
        * remote-arc.c (arc_ops): Likewise.
        * remote-array.c (array_ops): Likewise.
        * remote-e7000.c (e7000_ops): Likewise.
        * remote-es.c (es1800_ops, es1800_child_ops): Likewise.
        * remote-mips.c (mips_ops): Likewise.
        * remote-pa.c (remote_hppro_ops): Likewise.
        * remote-sim.c (gdbsim_ops): Likewise.
        * sparcl-tdep.c (sparclite_ops): Likewise.

More lynx-6100 work
1995-07-13 21:40:22 +00:00
Fred Fish 6942380809 * configure.in (configdirs): Remove gdb.chill from default list
of subdirs and then add it back in only if doing a native build.
	The current chill compiler does not yet work in any cross build.
1995-07-12 22:47:39 +00:00
Fred Fish b49f423b73 * Revert all signal changes from Jul 6.
* gdb.base/{sigall.c signals.c}:  Define away signal() and alarm()
	for sh-hms targets, allowing these tests to link, with no other
	changes.  Testing is suppressed by setting "nosignals" in site.exp.
1995-07-12 17:27:40 +00:00
Kung Hsu d97d5b48ab * elfread.c (elf_symtab_read): Fix a bug ignoring compiler
generated internal labels ($LM...).
1995-07-07 21:44:57 +00:00
Fred Fish 3ba76bd840 * configure.in (signaldirs): Define and add to configdirs for all
targets except some specific ones that are known to not support signals.
	Also clean up formatting.
	* gdb.base/Makefile.in (EXECUTABLES):  Remove sigall and signals.
	(signals, sigall):  Remove rules to build.
	* gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
	Moved to new gdb.signals directory.
	* gdb.signals: New test directory.
	* gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
	signals.c signals.exp}:  New or moved files.
1995-07-07 04:11:42 +00:00
Kung Hsu fec60da3d6 * defs.h: if __GO32__ or WIN32 the directory separating symbol should
be '\' not '/'.
1995-07-05 22:35:30 +00:00
Kung Hsu c6236d1227 * remote-nindy (nindy_wait): Use infinite timeout reading after
esacpe character.
1995-07-05 18:41:40 +00:00
Jeff Law 88a294b1b7 * infrun.c (wait_for_inferior): When switching from one thread to
another, save infrun's state for the old thread and load infrun's
        previous state for the new thread.
        * thread.c (struct thread_info): Add new fields for thread specific
        state saved/restored in infrun.c.
        (add_thread): Initialize new fields.
        (load_infrun_state): New function.
        (save_infrun_state): New function.
        * thread.h (load_infrun_state): Provide external decl.
        (save_infrun_state): Likewise.

More single-stepping patches for lynx-6100.
1995-07-04 17:48:37 +00:00
Jeff Law 48f4903f36 * infrun.c (wait_for_inferior): When we hit a breakpoint for the
wrong thread, make sure to write the fixed PC value into the thread
        that stopped.  Restart all threads after single stepping over a
        breakpoint for a different thread.
        * breakpoint.c (set_momentary_breakpoint): Make momentary
        breakpoints thread specific in a multi-threaded program.
        * lynx-nat.c (child_resume): Add some comments.  Correctly
        choose between the single and multi-threaded step and continue
        ptrace calls.

Some of the lynx-6100 single stepping fixes.
1995-07-04 17:40:41 +00:00
Stan Shebs ff4aa51d9a Reflect comings and goings of files. 1995-07-01 00:38:35 +00:00
Stan Shebs fb506180fa * config/h8300/h8300.mt: Renamed from h8300hms.mt.
* config/h8500/h8500.mt: Renamed from h8500hms.mt.
	* config/z8k/z8k.mt: Renamed from z8ksim.mt.
	* configure, configure.in: Update to reflect renamings.

	* remote-sim.c (sim): New command, passes commands to simulator.
	(simulator_command): New function.
	(gdbsim_ops): Clean up.
	* remote-sim.h (sim_do_command): Declare.
	* sh-tdep.c (memory_size): Remove command.

	* Makefile.in (SIM, SIM_OBS): New variables.
	(CLIBS, CDEPS): Add value of SIM.
	(DEPFILES): Add value of SIM_OBS

	* config/arm/arm.mt, config/h8300/h8300.mt, config/h8500/h8500.mt,
	config/sh/sh.mt, config/sparc/sp64sim.mt, config/w65/w65.mt,
	config/z8k/z8k.mt: Remove simulator files from TDEPFILES,
	define in SIM_OBS and SIM.
	config/sparc/sp64sim.mt (SIMFILES): Remove.

	* remote-z8k.c: Remove, was superseded by remote-sim.c
	* Makefile.in, mpw-make.in: Remove references to remote-z8k.c.
1995-07-01 00:22:57 +00:00
Stan Shebs fe442b4308 * remote.c (remote_read_bytes, remote_write_bytes): Second arg
should be char *, not unsigned char *.
	* dcache.h (memxferfunc): Ditto.
	* monitor.c (monitor_write_memory, monitor_read_memory_single):
	Ditto.
	(monitor_make_srec): Let compiler figure size of hextab.
1995-06-25 23:23:06 +00:00
Jeff Law c9f7cd7b97 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist. 1995-06-25 18:56:52 +00:00
Jeff Law 1657d50b38 * lynx-nat.c (child_wait): Don't restart new threads and loop
to the top of child_wait; let the machine independent code in
        wait_for_inferior deal with new thread notifications.

lynx-6100 (partial)
Fixes SEGV when multi-threaded program hits a breakpoint in a new
thread.
1995-06-25 02:33:33 +00:00
Kung Hsu 8a7143f461 * remote-nindy (nindy_load): Put in target specific load, it's
20 times faster.
1995-06-23 18:54:56 +00:00
Stan Shebs 31bda44a6d * utils.c (error): Move local `args' outside conditional,
move local `string1' inside, declare function as void if
	non-ANSI compiler, dereference error_hook when calling.
1995-06-23 04:41:37 +00:00
Stan Shebs 26a53fe826 * mac-xdep.c (stdarg.h): Don't include. 1995-06-23 03:37:58 +00:00
Victoria Mixon af215b1a6a gdb.texinfo: gdb manual up to date for 95q3
remote.texi:
1995-06-22 21:28:02 +00:00
Kung Hsu 89fd75ae2b * remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR. 1995-06-22 20:16:56 +00:00
Fred Fish b9f12fd911 * gdb.base/return.exp: Xfail `return double' test failure
on at least Solaris 2.3 and handle future/past versions on
	a case by case basis as appropriate.  Also update message
	to include i*86 failures.
1995-06-22 00:51:47 +00:00
Steve Chamberlain 45993f6118 Hmm.. The ChangeLog went in, but not the code....
* monitor.c: Turn on caching.
	(monitor_printf): If a ^C was sent, don't expect to see its
	echo.
	(monitor_open): Enable caching.
	(monitor_resume, monitor_load): Flush cache.
	(monitor_xfer_memory): Call cache routine.
	(monitor_dump_regs): New.
	(monitor_fetch_registers):  If monitor_dump_regs available
	then use it.
	(monitor_load): Don't ref exec_bfd if it's NULL.
	(monitor_load_srec): Use new monitor_make_srec calling convention.
	(monitor_make_srec): Rewrite to cope with two, three and four byte
	addresses.
	* remote-hms.c (hms_cmds): Initialze end-of-command delim.
	* dcache.h, dcache.h: Rewritten.
	* remote.c: Reenable caching.
	(getpkt): Reduce MAX_TRIES to 3.
	(remote_xfer_memory): Use dcache_xfer_memory.
	* defs.h (error_hook): New.
	* top.c (error_hook): New definition.
	* utils.c (error): Use error_hook if initialized.
	* sparcl-tdep.c (HAVE_SOCKETS): Don't define if GO32 or WIN32. Use
	HAVE_SOCKETS in place of #ifndef GO32.
1995-06-21 21:47:06 +00:00
Jeff Law b3a34d4fc0 * hppam3-nat.c: Change HP800_THREAD_STATE to TRACE_FLAVOR and
HP800_THREAD_STATE_COUNT to TRACE_FLAVOR_SIZE.
1995-06-21 19:29:00 +00:00
Steve Chamberlain c3a9b88e1e Wed Jun 21 05:57:56 1995 Steve Chamberlain <sac@slash.cygnus.com>
* monitor.c: Turn on caching.
	(monitor_printf): If a ^C was sent, don't expect to see its
	echo.
	(monitor_open): Enable caching.
	(monitor_resume, monitor_load): Flush cache.
	(monitor_xfer_memory): Call cache routine.
	(monitor_dump_regs): New.
	(monitor_fetch_registers):  If monitor_dump_regs available
	then use it.
	(monitor_load): Don't ref exec_bfd if it's NULL.
	(monitor_load_srec): Use new monitor_make_srec calling convention.
	(monitor_make_srec): Rewrite to cope with two, three and four byte
	addresses.
	* remote-hms.c (hms_cmds): Initialze end-of-command delim.
	* dcache.h, dcache.h: Rewritten.
	* remote.c: Reenable caching.
	(getpkt): Reduce MAX_TRIES to 3.
	(remote_xfer_memory): Use dcache_xfer_memory.
	* defs.h (error_hook): New.
	* top.c (error_hook): New definition.
	* utils.c (error): Use error_hook if initialized.
	* sparcl-tdep.c (HAVE_SOCKETS): Don't define if GO32 or WIN32. Use
	HAVE_SOCKETS in place of #ifndef GO32.
1995-06-21 19:23:06 +00:00
Jeff Law 5e2f4e2d6f * config/pa/tm-hppa.h (PSW_*): Define processor status word masks.
(INSTRUCTION_NULLIFIED): Allow specific targets to override.
	* config/pa/tm-hppao.h (INSTRUCTION_NULLIFIED): Define to work
	around losing mach kernel behavior.
1995-06-21 04:20:15 +00:00
Stan Shebs f886dc0f27 * gdb.texinfo: Update dates and versions, fix comments about
hardware watchpoints in future releases and about the
	sharedlibrary command.
1995-06-20 21:51:17 +00:00
Stan Shebs 4a4307947e * monitor.c (monitor_wait): Don't use the watchdog timeout
if its value is 0.
	* w89k-rom.c (w89k_open): Define to be static.
1995-06-20 19:13:20 +00:00
Stu Grossman 8c19daa1e5 * gdbtk.c: Add functions Tcl_Malloc, Tcl_Realloc, and Tcl_Free. 1995-06-20 17:41:11 +00:00
Stu Grossman f1b64caa98 * gdbtk.tcl (add_breakpoint_frame): Add more fields.
* (create_file_win create_asm_win build_framework):  Create null
	bindings for meta keys to keep window from dropping down to
	insertion point when meta is pressed by itself.  New bindings:
	   Up/Down - Scroll up/down one line at a time
	   Next/Prior - Scroll up/down one page at a time
	   Home/End - Warp to current pc/end of file
	* (build_framework):  Turn on breakpoint menu.
	* (create_command_window):  Implement tab completion.  Add binding
	for ^C to stop target.
1995-06-20 17:30:44 +00:00
Jeff Law 156285aac0 * somsolib.c (som_solib_add): Validate regexp argument.
Don't assume the first entry on dld's library list is the main
        program.  Don't load the same library more than once and don't
        consider the main program a shared library.
        (som_solib_sharedlibrary_command): New function
        (_initialize_som_solib): Add "sharedlibrary" command.

mentor-7135
1995-06-19 21:26:58 +00:00
Stan Shebs e33c359dcb * array-rom.c: Remove, no longer used.
* remote-hms.c (hms_open): Make static.

	* mpw-config.in (MacSerial.h): Copy from version in {CIncludes},
	not {MPW}Interfaces:CIncludes.
	* ser-mac.c (mac_baud_rate_table): Fix value for 38400 baud.
1995-06-15 22:10:27 +00:00
Per Bothner 0faa324790 * ch-exp.y: Remove lots of unsupported productions and names.
Add support for IF-expressions, ORIF, ANDID, NUM, and ADDR.
This makes progress for PR 5826.
1995-06-14 21:30:58 +00:00
Stu Grossman 73033da704 Copyright update in tm-est.h, and minor formatting cleanup.
Add remote-est.o to TDEPFILES in monitor.mt.
1995-06-14 20:31:58 +00:00
Per Bothner a055dacb68 * chillvars.exp, string.exp: New tests for LOWER/UPPER/LENGTH 1995-06-14 20:05:59 +00:00
Per Bothner 6137983598 * parser-defs.h (enum precedence): Added PREC_BUILTIN_FUNCTION.
* expression.h (enum exp_opcode):  Added UNOP_LOWER, UNOP_UPPER,
	UNUP_LENGTH.
	* expprint.c (dump_expression):  Handle the new exp_opcodes.
	(print_subexp):  Handle PREC_BUILTIN_FUNCTION.
	(print_simple_m2_func):  Removed.
	(print_subexp):  Remove support for Modula2 builtin functions.
	* m2-lang.c (m2_op_print_tab):  Add support for builtin functions.
	* ch-exp.y:  Parse LOWER, UPPER, and LENGTH builtins.
	(write_lower_upper_value):  Convenience function for LOWER and UPPER.
	(upper_lower_argument, length_argument):  Removed non-terminals.
	* ch-lang.c (chill_op_print_tab):  Entries for UPPER, LOWER, LENGTH.
	(type_lower_upper):  New function.  Calculate LOWER/UPPER of type.
	(value_chill_length):  New function.  Calcalate LENGTH of ARRAY/STRING.
	(evaluate_subexp_chill):  Handle UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH.
This fixes PR 5015 (and 5826 which is a duplicate).
1995-06-14 19:59:35 +00:00
Stan Shebs 2e1cc80191 Windows support bits from Steve Chamberlain <sac@slash.cygnus.com>.
* defs.h: Don't declare strchr and friends if WIN32.
	(DIRNAME_SEPARATOR): Move here from source.c.
	(SLASH_P, SLASH_CHAR, SLASH_STRING, ROOTED_P): New macros,
	symbolic definitions for filename bits.
	* top.c (cd_command): Use these.
	* source.c (mod_path, openp): Ditto.
	* terminal.h: Disable termio/sgtty definitions if WIN32.
	* findvar.c (registers_changed): Call registers_changed_hook
	if it is defined.
1995-06-12 20:07:45 +00:00
J.T. Conklin 43b442f17c * Makefile.in (distclean, realclean): Remove config.cache and
config.log.
1995-06-12 19:33:08 +00:00
Jeff Law ca95702a3a Zap static data problem off the TODO list. 1995-06-12 06:27:26 +00:00
Jeff Law 99e0981c60 * somsolib.c: Include gdb-stabs.h.
(som_solib_section_offsets): Use SECT_OFF_XXX rather than 0, 1,
	etc.  Initialize offsets for RODATA & BSS too.
Remainder of mentor-6302.
1995-06-12 06:24:20 +00:00
Jeff Law b7202faa33 * hppa-tdep.c (frame_chain): Try to compensate for incomplete
register information in core files when backtracing.
1995-06-11 00:03:02 +00:00
Stu Grossman e431d135cf * remote-nrom.c: Remove everything but download code. More
cleanups.
1995-06-09 21:53:55 +00:00
Stu Grossman 5bdf05c785 typo in tcp_open 1995-06-08 22:45:47 +00:00
Stu Grossman 4887063b3c * defs.h maint.c monitor.c remote-mips.c remote.c: Add support
for `watchdog' variable.  This allows the user to put an upper
	limit on the amount of time that GDB will wait for the target to
	return from a step or continue operation.  This will primarily be
	used for the testsuite, where it is difficult to come up with a
	reasonable timeout for things like function calls, which can take
	as long as three minutes under some circumstances.  If the
	watchdog timer expires, GDB will generate an error that looks like
	`Watchdog has expired.', and will detach from the target.

	* remote-mips.c (mips_open):  Setup initial frame from target.
	Print it out so that user is told where the program is stopped
	when they attach.

	* remote-nrom.c:  Loads of cleanups.  Use serial code to open
	network connections.  Use expect() to wait for response to
	download command.

	* ser-tcp.c (tcp_open):  Retry connection if we get ECONNREFUSED.

	* serial.c serial.h (serial_open serial_fdopen serial_close):
	Allow users to open the same device multiple times.  They all get
	to share the same serial_t.  This is about the only way to have
	multiple active targets use the same device (for download and
	debug).

	* sparcl-tdep.c:  Keep #include <unistd.h> away from GO32.

	* target.c:  Add `targetdebug' variable.  If this is non-zero,
	then a special target is put at the top of the target stack which
	will cause all calls through the target vector to have their args
	and results printed out.
1995-06-08 22:42:36 +00:00
Per Bothner 7e965616ff * chillvars.ch (xptr): Declare new variable.
* chillvars.exp (test_ptr):  New function to test EXPR->MODENAME.
This is to test PR chill/6932.
1995-06-08 00:52:06 +00:00
Per Bothner 3029162cdf * ch-exp.y: Handle <primitive_value> "->" <modename>.
This fixes PR chill/6932.
1995-06-08 00:49:10 +00:00
Michael Meissner b726a3d884 Do not redefine {BIG,LITTLE}_BREAKPOINT if already defined. 1995-06-07 22:04:10 +00:00
Michael Meissner a4c7302a32 Define BREAKPOINT as either {BIG,LITTLE}_BREAKPOINT, depending on target byte order. 1995-06-07 21:48:28 +00:00
Jeff Law fbf8d7e17a * somsolib.c (som_solib_section_offsets): Handle relative pathnames.
Part of mentor-6302.
1995-06-07 18:48:00 +00:00
Jeff Law c38e0b58f3 * hppa-tdep.c (frame_saved_pc): Handle backtracing through signal
handler in dynamically linked executables.
mentor-7139
1995-06-07 18:43:58 +00:00
Michael Meissner 5c172b4bfd Fix some little endian problems 1995-06-06 14:49:32 +00:00
David Edelsohn 4f36d4ab73 * arc-tdep.c (arc_bfd_mach_type): New static global.
(codestream_fill): Handle byte order differences.
	(setup_prologue_scan): Don't read stdarg function's "sub sp,sp,N".
	(arc_get_frame_setup): Read it here.
	(arc_frame_saved_pc): And here.
	(arc_print_insn): New function.
	(arc_set_cpu_type): Set arc_bfd_mach_type.  Don't set tm_print_insn.
	(_initialize_arc_tdep): Set tm_print_insn to arc_print_insn.
1995-06-02 18:29:46 +00:00
J.T. Conklin 119a5f4e87 * nlm/{configure.in, Makefile.in}: Converted to use autoconf.
* nlm/configure: New file, generated with autoconf 2.3.
1995-05-31 22:21:32 +00:00
J.T. Conklin 3be5f0397a * nlm/configure.in: Use sed instead of awk to get the value of
cpufile.  Awk is not a utility required by the GNU coding
  standards.  This change also fixes the rigid whitespace
  requirements that were required for awk.
1995-05-31 19:31:20 +00:00
J.T. Conklin 2de498d8e3 * sparclite/aload.c: Use a file descriptor instead of a stdio
stream for i/o with target board.
  Use #error if HAVE_TERMIOS is not defined.

* sparclite/{Makefile.in, configure.in}: Converted to use
  autoconf.
* sparclite/configure: New file, generated with autoconf 2.3.
1995-05-31 19:13:06 +00:00
Jeff Law 089c930358 * defs.h: Include either varargs.h or stdarg.h (for va_list).
Fix stupid thinko in last change ("..." -> "va_list").
1995-05-29 05:26:27 +00:00
Jeff Law 413cba82b4 * defs.h (vprintf_filtered declaration): Add PARAMS prototype;
gcc-2.5 chokes on format attributes for unprototyped functions.
	(vfprintf_filtered declaration): Likewise.
	(vprintf_unfiltered declaration): Likewise.
	(vfprintf_unfiltered). Likewise.
1995-05-29 05:15:18 +00:00
J.T. Conklin 094fd4ae01 * configure.in: Use sed instead of awk to get the values of
hostfile, targetfile and nativefile.  Awk is not a utility
  required by the GNU coding standards.  This change also
  fixes the rigid whitespace requirements that were required
  for awk.
* configure: regenerated.
1995-05-28 07:07:21 +00:00
Angela Marie Thomas 0cc3f4fcc3 Sat May 27 16:24:04 1995 Angela Marie Thomas <angela@cirdan.cygnus.com>
* sparclite/{Makefile,configure}.in: Add hooks for building with
        -lsocket & -lnsl for solaris2.  Don't build aload/eload for DOS.
1995-05-27 23:32:22 +00:00
Stan Shebs 588405286c Update gdbtk keep/lose to match main GDB sanitize 1995-05-25 01:30:34 +00:00
Steve Chamberlain 4936656ad7 * arm-tdep.c (_initialize_arm_tdep): Use print_insn_little_arm
now.
1995-05-25 01:05:35 +00:00
Steve Chamberlain 54af8e6e7b Wed May 24 15:49:47 1995 Steve Chamberlain <sac@slash.cygnus.com>
* arm-tdep.c (convert_from_extended, convert_to_extended):
	New.
	* coffread.c (enter_linenos): Return if linetab 0.
	* config/arm/arm.mt (TDEPFILES): Add simulator support.
	* config/arm/tm-arm.h (FRAME_FIND_SAVED_REGS): Fix prototypes.
1995-05-24 23:56:24 +00:00
Jim Kingdon eea578da54 * lib/gdb.exp: Fix comment which erroneously identified
gdb_file_cmd as gdb_load (the 19 May change was in fact to
	gdb_file_cmd not gdb_load).
	* config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
1995-05-24 15:12:13 +00:00
Jim Kingdon 0835edd63a * gdb.base/setvar.exp: Make test names consistent between pass and
fail cases.  Use gdb_test more.
1995-05-24 14:16:12 +00:00
Rob Savoye 001559ea9f * config/idt.mt: replace monitor and array-rom with the new
remote-array.
1995-05-23 01:39:54 +00:00
Stu Grossman cac390d444 * remote-nindy.c: Install Kung patch for PR 6820. I have no idea
what this does...
1995-05-23 00:01:17 +00:00
Stu Grossman f5a8f1a6f3 * breakpoint.c: Move defaults of watchpoint related macros into
target.h.
	* target.h:  Macros from breakpoint.c.  Conditionalize based on
	TARGET_HAS_HARDWARE_WATCHPOINTS.
	* i386v-nat.c procfs.c:  Use TARGET_HAS_HARDWARE_WATCHPOINTS
	instead of TARGET_CAN_USE_HARDWARE_WATCHPOINT to enable watchpoint
	code.
	* config/i386/nm-linux.h, config/mips/nm-irix4.h,
	config/pa/nm-hppab.h, config/sparc/tm-sparclite.h:  #define
	TARGET_HAS_HARDWARE_WATCHPOINTS to enable watchpoint code.
1995-05-22 23:03:42 +00:00
Jim Kingdon e8bf33c4ac * breakpoint.c, target.h: Move defaults of watchpoint related
macros back to breakpoint.c.  Required to get GDB compiling
	on Solaris again.
1995-05-22 15:29:00 +00:00
J.T. Conklin e3033bb086 * defs.h (ATTR_FORMAT): New macro, expands to gcc's format
attribute when compiled by gcc.
* defs.h, language.h, monitor.h: Changed many function
  declarations to use ATTR_FORMAT.

* breakpoint.c (delete_command); source.c (directory_command);
  top.c (define_command): Changed call to query() that had too
  many arguments.
* printcmd.c (address_info): Changed call to printf_filtered()
  that had too many arguments.
1995-05-19 22:44:51 +00:00
Jim Kingdon a5298c2aa2 * infrun.c (wait_for_inferior): Move assignments to stop_signal
and stop_pc, and STOPPED_BY_WATCHPOINT code, back where they
	were--after the switch statement on w.kind.  You can't read the
	registers of an inferior which has exited.  Use a goto in the
	STOPPED_BY_WATCHPOINT code.
	* infrun.c (wait_for_inferior): Reinstate
	HAVE_STEPPABLE_WATCHPOINT and HAVE_CONTINUABLE_WATCHPOINT code.
1995-05-19 17:51:22 +00:00
Jim Kingdon 73d3dbd4e6 * utils.c, complaints.c, language.c, monitor.c, remote-array.c,
remote-mips.c, remote-os9k.c, remote-st.c: Conditionalize use of
	stdarg rather than varargs on ANSI_PROTOTYPES not __STDC__; it
	must match the definition of PARAMS.
start-sanitize-gdbtk
        * gdbtk.c: Likewise.
end-sanitize-gdbtk
1995-05-19 14:15:48 +00:00
J.T. Conklin 85c613aaa7 * utils.c (fprintf_filtered, fprintf_unfiltered, fprintfi_filtered,
printf_filtered, printf_unfiltered, printfi_filtered, query, warning,
          error, fatal, fatal_dump_core): Use stdarg.h macros when compiling
          with an ANSI compiler.
        * complain.c (complain): Likewise.
        * language.c (type_error, range_error): Likewise.
        * monitor.c (monitor_printf, monitor_printf_noecho): Likewise.
        * remote-array.c (printf_monitor, debuglogs): Likewise.
        * remote-mips.c (mips_error): Likewise.
        * remote-os9k.c (printf_monitor): Likewise.
        * remote-st.c (printf_stdebug): Likewise.
        * gdbtk.c (gdbtk_query): Likewise.

        * defs.h, complain.h, language.h, monitor.h: Add prototypes to
          match above changes.

        * printcmd.c: Remove uneeded #include <varargs.h>.
        * remote-e7000.c: Likewise.

        * f-typeprint.c (f_type_print_base): Fix typo found by above
          changes.
1995-05-18 23:45:31 +00:00
Jim Kingdon fb49432789 * Makefile.in (xcoffread.o): Depend on partial-stab.h.
* xcoffsolib.c (sharedlibrary_command): New command.
	* xcoffsolib.c (solib_info): Call xcoff_relocate_symtab.
	* xcoffsolib.c: Miscellaneous cleanups.

	* partial-stab.h: Ignore symbol descriptor '-' (for local
	variables with negative type numbers) without complaint.

	* rs6000-nat.c (vmap_ldinfo): Use bfd_stat rather than our own
	local emulation thereof.  Remove unused variable ostart.
1995-05-18 05:24:29 +00:00
J.T. Conklin e61853ddc5 * Makefile.in (config.status): changed target so that
config.status --recheck is executed if configure script changes.
1995-05-18 01:01:57 +00:00
J.T. Conklin eba0864375 * monitor.c (monitor_printf): Changed format specification in
error message to work with pre-ansi compilers.
  (monitor_load_srec): reduced length of s-records from 128 to 32
  bytes so download is more reliable with the rom68k monitor.

* rom68k-rom.c: Added trailing space to prompt string.

* config/i386/xm-i386sco.h (HAVE_STRSTR): Removed.
* config/i386/xm-go32.h, mswin/xm.h (SYS_SIGLIST_MISSING):
  Removed.
* defs.h, config/{xm-lynx.h, xm-nbsd.h},
  config/i386/{xm-i386bsd.h, xm-linux.h},
  config/m68k/xm-hp300bsd.h, config/mips/xm-irix4.h,
  config/ns32k/xm-ns32km3.h, doc/gdbint.texinfo
  (PSIGNAL_IN_SIGNAL_H): Removed.
1995-05-17 23:13:26 +00:00
David Edelsohn 80a0c990b0 Fix arc sanitization. 1995-05-16 22:20:45 +00:00
J.T. Conklin 0a5a18215c * configure.in: Added INIT-CMDS argument to AC_OUTPUT which sets
gdb_host_cpu, gdb_target_cpu and nativefile.
* configure: regenerated.
1995-05-16 20:21:58 +00:00
Peter Schauer 943b7032ab * mdebugread.c (parse_symbol): Do not relocate stBlock/scText
symbols, their value is the displacement from the procedure address.
	* top.c (init_main):  Add missing newlines to help strings for
	`if' and `while' commands, fix help string for `show commands'.
1995-05-16 07:12:22 +00:00
Stu Grossman 75cbae716f * breakpoint.c: Move defaults of watchpoint related macros into
target.h.  Use BP_TEMPFLAG and BP_HARDWAREFLAG instead of
	constants.
	* infrun.c (wait_for_inferior):  Enhance comment near
	STOPPED_BY_WATCHPOINT.
	* target.h:  Macros from breakpoint.c.
1995-05-16 01:47:52 +00:00
J.T. Conklin 5436fc6578 * config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh,
  mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured
  out by autoconf.
* config/apollo68v.mh (RANLIB): Removed, figured out by autoconf.

* Makefile.in, configure.in: Converted to use autoconf
* aclocal.m4: New file, local autoconf macro definitions.
* configure: New file, generated with autoconf 2.3.
1995-05-16 00:18:43 +00:00
Stan Shebs c812c3087a * remote.c (remote_kill): Add prototype.
* cpu32bug-rom.c (cpu32bug_open): Properly define as static.
	* config/h8300/h8300hms.mt (TDEPFILES): Add monitor.o.
1995-05-15 22:01:01 +00:00
Stan Shebs dfd7f39535 * remote.c (remote_kill): Add prototype.
* cpu32bug-rom.c (cpu32bug_open): Properly define as static.
	* config/h8300/h8300hms.mt (TDEPFILES): Add monitor.o.
1995-05-15 21:55:42 +00:00
Stu Grossman 24e1a4e0eb * sparclite/salib.c (win_ovf win_unf): Make window size constant
into a variable (__WINSIZE) so that it can be controlled via the
	.h file.
	* sparclite/sparclite.h:  Add SL933 #ifdef to set __WINSIZE to 6
	for the 933 board.
1995-05-15 21:17:36 +00:00
David Edelsohn 96433d032b (SER_HARDWIRE): Comment out for now. 1995-05-15 21:02:08 +00:00
Stu Grossman c66ed884ed * infrun.c: Add #ifdef HP_OS_BUG to all references to
trap_expected_after_continue.
	* (wait_for_inferior):  Fix for remote watchpoints.  Don't try to
	insert breakpoints while target is running (this only works on
	*some* native targets).  This may also speed up native watchpoints
	considerably.
1995-05-15 20:15:17 +00:00
Jim Kingdon bbb053fd78 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
mdebugread.c (struct symloc), hpread.c (struct symloc),
	xcoffread.c (struct symloc): Fix inaccurate comment introduced
	20 Apr 1995.
1995-05-13 21:03:23 +00:00
Jim Kingdon f133a597e4 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
mdebugread.c (struct symloc), hpread.c (struct symloc): Fix error
	in 20 Apr 1995 cleanup of comments.
1995-05-13 21:00:17 +00:00
Jim Kingdon fe5d4b85ae * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
* gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
	of a text section.
1995-05-13 20:52:01 +00:00
Jim Kingdon a367db8959 * rs6000-tdep.c (find_toc_address): Revise comment.
* symfile.c, symfile.h (init_psymbol_list): New function;
	consolidate duplicated copies from os9kread.c, dbxread.c
	and dwarfread.c.
	* defs.h: Declare info_verbose.
	* xcoffread.c: Extensive changes to support psymtabs.
1995-05-13 20:39:21 +00:00
Stu Grossman 511ffbf219 * cpu32bug-rom.c remote-est.c rom68k-rom.c: Update line_term element. 1995-05-12 20:52:11 +00:00
Jim Kingdon 48b2d07e4c * partial-stab.h: Expand comments. 1995-05-12 13:41:52 +00:00
Jeff Law 2d2959e852 * Support debugging using native MACH primitives on hppa*-*-osf*.
* configure.in: hppa*-*-osf* != hppa*-*-bsd* anymore.
	* config/pa/hppaosf.mh: New file.
	* config/pa/nm-hppao.h: Likewise.
	* hppam3-nat.c: Likewise.
	* config/pa/tm-hppao.h (PSW_SS): Define for single-stepping.
	(MACHINE_CPROC_*_OFFSET): Define.
	(TRACE_*): Define.
	(START_INFERIOR_TRAPS_EXPECTED): Delete definition.
1995-05-12 01:10:28 +00:00
Stu Grossman 7c71315ce5 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
that loop eventually terminates.  Fix Connection refused logic so
	that testsuite will expire nicely.
1995-05-11 22:13:46 +00:00
Stu Grossman f031fc2c4b * config/monitor.exp (gdb_target_monitor): Fix loop interator so
that loop eventually terminates.
1995-05-11 22:04:20 +00:00
Stu Grossman d8afcce964 * hppa-tdep.c (read_unwind_info): Cosmetic cleanup.
* (unwind_command):  Clean it up and make it print things out
	nicer.
	* monitor.c:  Add ^C handling capability (mostly ripped off from
	remote.c).
	* (monitor_printf):  Make it check the command echo.
	* (monitor_printf_noecho):  Similar to above, but doesn't check
	for echo.
	* (monitor_stop):  No longer waits for prompt.  That is the job of
	the caller.  This makes things work much better for monitor_wait,
	which waits for the prompt itself.
	* (monitor_open):  Deal with new monitor_stop semantics.  Also,
	flush input after sending init strings to get rid of junk that may
	be output.  Also, don't always send \r to remote.  Use
	monitor_ops->line_term cuz proper character isn't always \r.
	* (monitor_fetch_register):  Switch to completely different
	algorithm to deal with lame-ass monitors which put spaces in the
	middle of numbers, and prompt with a space!!!!!
	* (monitor_read_memory_single):  New routine to be used with
	monitors that can only return one byte/short/long at a time.  This
	is selected via MO_GETMEM_READ_SINGLE.
	* (monitor_load_srec):  Use monitor_printf_noecho for sending S
	records.  Most targets don't echo them.
	* (monitor.h):  Get rid of cmd_delim.  Add line_delim.
	* op50n-rom.c (op50n_cmds):  Fill it up.  Make it work.
	* w89k-rom.c:  Change all eols from \r to \n.  Change load_resp to
	^Q to prevent error message.
	* config/pa/tm-hppa.h (CALL_DUMMY (for hppro)):   Add special
	instruction sequence at end to make restore_pc_queue happy.
1995-05-11 02:26:00 +00:00
Stan Shebs 1818c417af Reflect deletion of always-sanitize stuff 1995-05-11 02:04:58 +00:00
Stan Shebs 19405856a1 Blasting old junk 1995-05-11 02:01:22 +00:00
Stu Grossman 7e7b4a0209 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
config/rom68k.exp:  New tcl glue for the appropriate monitors.
	These all just end up calling monitor.exp.
	* config/monitor.exp (gdb_target_monitor):  Handle `Connection
	refused' by retrying.  Cleanup some timeout issues.
	* (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
	* lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
	callers don't have to set/restore global timeout variable.

	* The following set of changes centralizes management of the global
	timeout	variable.  This way, it can be set in one target dependent
	place instead of dozens of places scattered throughout the test suite.
	If you need to lengthen a timeout, then you should either set timeout
	in one of the config/{target}.exp files, or multiply it by a factor.
	Setting it to an absolute value is always going to lose for some
	targets.
	* gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
	* gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
	* gdb.base/funcargs.exp:  Don't set timeout.
	* gdb.base/list.exp (test_forward_search):  Only use local timeout.
	* gdb.base/printcmds.exp (test_print_string_constants
	test_print_array_constants):  Don't set timeout.
	* gdb.base/ptype.exp:  Don't set timeout.
	* gdb.base/recurse.exp:  Don't set timeout.
	* gdb.base/return.exp:  Don't set timeout.
	* gdb.base/watchpoint.exp:  Don't set timeout.
	* gdb.c++/classes.exp (do_tests):  Don't set timeout.
	* gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.
1995-05-11 01:03:50 +00:00
Torbjorn Granlund 5c36767ef4 Make clean targets work also when SUBDIRS is empty. 1995-05-10 23:05:52 +00:00
Torbjorn Granlund bec6c6db22 remote-est.c (est_open): Make static to match prototype. 1995-05-10 23:02:46 +00:00
Stan Shebs a06cde0912 Fix sed'iting of files with gdbtk stuff in them 1995-05-10 01:25:02 +00:00
Michael Meissner c7b44b0425 Add little endian PowerPC support. 1995-05-09 21:07:06 +00:00
J.T. Conklin 7e1bfb70aa * nlm/configure.in (gdb_host, gdb_host_cpu, gdb_target): Removed.
These variables not used.
1995-05-08 20:16:37 +00:00
J.T. Conklin 5e3f4eac6b * config/m68k/monitor.mt (TDEPFILES): Added cpu32bug-rom.o. 1995-05-08 19:18:31 +00:00
Jim Kingdon 3f78217814 * stabs.texinfo: Remove node `XCOFF differences'. Describe value of
C_FUN stab.  Other cleanups.
1995-05-08 16:40:50 +00:00
Stan Shebs 774e5d7f64 * monitor.c (monitor_command): Don't use PROMPT until monitor
target is known to be open.
	(monitor_make_srec): Don't define size of hextab.
1995-05-04 01:00:29 +00:00
Stan Shebs a55c3291d5 Keep remote-nrom.c 1995-05-03 01:44:08 +00:00
Stan Shebs 33bc979d17 * configure.in (--enable-netrom): New configuration option.
* Makefile.in (REMOTE_OBS): Rename from REMOTE_O, append
	value of NETROM_OBS.
	(NETROM_OBS): New variable.
	* remote-nrom.c: New file, NetROM target support.
	* config/a29k/a29k-udi.mt, config/i960/vxworks960.mt: Use
	REMOTE_OBS instead of REMOTE_O.
start-sanitize-arc
	* config/arc/arc.mt: Ditto.
end-sanitize-arc
1995-05-03 01:43:27 +00:00
Stu Grossman e2bc2606ae * array-rom.c (_initialize_array array_open): Move baud_rate
initialization from _initxxx to array_open to fix bug with
	overriding -b command line option.
1995-04-29 06:34:44 +00:00
David Edelsohn ad0c0b7ffd * Makefile.in (RUNTEST): Fix reference of `srcdir'. 1995-04-28 03:32:06 +00:00
Steve Chamberlain 5d747d616f Wed Apr 26 19:01:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
* remote-hms.c: Rewrite to use new monitor conventions.
1995-04-27 02:07:44 +00:00