Commit graph

4443 commits

Author SHA1 Message Date
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
Rob Savoye
8c074d7ada * remote-pa.c: New file for HPPA embedded support. Currently it's
a copy of remote.c.
	* config/pa/hppabsd.mt,hppahpux.mt,hppaosf.mt: User remote-pa.c.
1994-08-18 05:20:23 +00:00
Rob Savoye
e782af99f5 Use new remote-pa, rather than the generic one. 1994-08-18 05:16:52 +00:00
Rob Savoye
2e0fa11c9f New file for remote protocol to embedded HPPA targets. 1994-08-18 05:16:12 +00:00
Stan Shebs
ca3c57e52e * config/m68k/tm-delta68.h (EXTRACT_RETURN_VALUE,
STORE_RETURN_VALUE): Define to use %a0 for pointers.
1994-08-17 20:27:17 +00:00
Rob Savoye
52283cf39a Add serial tcp support for HPPA hosts and targets. 1994-08-17 19:41:22 +00:00
Jim Kingdon
e1f38ddf8e * remote-mips.c: Remove unused declaration of mips_load. 1994-08-17 14:46:57 +00:00
Stan Shebs
d696808d7d * coffread.c: General cleanup, and support for section offsets.
(time.h, sys/types.h, libbfd.h): Don't include.
	(cur_src_start_addr, cur_src_end_addr): Rename to
	current_source_start_addr, current_source_end_addr.
	(nlist_stream_global): Remove.
	(nlist_bfd_global): New global variable.
	(coff_symfile_read): Remove code that gets and uses fileno()
	directly.
	(read_coff_symtab, enter_linenos, process_coff_symbol): Add
	section_offsets parameter, add text/data section offset to
	appropriate symbols' values.
	(read_one_sym): Use bfd_read instead of fread.
	(init_stringtab, init_lineno): Change first parameter to a bfd,
	use bfd routines instead of raw I/O.
1994-08-17 00:15:28 +00:00
Jim Kingdon
0cec815fa2 * symtab.c (decode_line_1): If funfirstline and we get a
non-LOC_BLOCK symbol (e.g. variable or type), then error().
1994-08-17 00:07:12 +00:00
Jim Kingdon
c8a1505adc * Makefile.in (TARFILES, NONSRC, SFILES_STAND, SFILES_KGDB):
Remove; unused.
	(TAGFILES_NO_SRCDIR): Remove ALLPARAM.
	(HFILES_NO_SRCDIR): Remove all files in config sub-directory.
	(TAGS): Also pass result of find on config sub-directory to etags.
	(ALLPARAM): Remove; now unused.
1994-08-16 23:22:45 +00:00
Stan Shebs
3cbe9f4d97 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
2417; old bug has been fixed.
1994-08-16 23:05:00 +00:00
Fred Fish
7de5c5e275 * Makefile.in (VERSION): Bump to 4.13.1
* NEWS, README:  Update to match gdb 4.13 release version.
1994-08-14 20:13:01 +00:00
Fred Fish
96ff369d81 Harris CX/UX support, from Bob Rusk (rrusk@mail.csd.harris.com).
* cxux-nat.c:  Remove dangling #else block.
	((m88k_harris_core_register_addr):  New function.
1994-08-13 16:17:45 +00:00
Fred Fish
71ed485dc3 * environ.c (init_environ): If no environment, do nothing. 1994-08-13 15:28:24 +00:00
Jeff Law
b42f02ba3f * gdb.base/interrupt.exp: When trying to wake up the inferior,
send the newline ourselves instead of assuming gdb_test will do
	so when passed an empty input string.
1994-08-13 02:12:03 +00:00
Jeff Law
5278c61d20 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
stabs testcode.
1994-08-13 01:38:55 +00:00
Stu Grossman
4fb7359d97 * remote.c (remote_wait): Return inferior_pid instead of 0 for
`W` message.
1994-08-12 22:54:53 +00:00
J.T. Conklin
a9a53e435a * sparclite/aload.c (sys_error, error): Use vfprintf to variable
argument lists.
1994-08-12 18:50:26 +00:00
David Edelsohn
97e7b66f5e (concat, basename, buildargv, freeargv, strerrno, strsigno,
errno_max, signo_max, strtoerrno, strtosigno):  Delete.
Include "libiberty.h" instead.
1994-08-11 11:09:54 +00:00
Fred Fish
04dd69e185 * i386v-nat.c (i386_insert_nonaligned_watchpoint):
add additional argument specifying raw address to permit
	proper release of debug registers.
	(i386_insert_watchpoint, i386_insert_aligned_watchpoint):
	change all callers.
1994-08-11 00:04:03 +00:00
Stu Grossman
8164ec2eb5 * defs.h, top.c: Use `extern' in declarations of GUI hooks, and
define them in top.c.  Add comments to the hooks.
1994-08-10 23:16:40 +00:00
David Edelsohn
1311f8d1a5 (gdbsim_ops): Set to_insert_breakpoint' and to_remove_breakpoint' fields. 1994-08-10 23:06:39 +00:00
Jim Kingdon
ced992e4bd * infcmd.c (run_command): Remove comment suggesting using
target_has_execution instead of inferior_pid.
1994-08-10 22:49:42 +00:00
Kung Hsu
d48d9a282a Modified Files:
ChangeLog remote-mips.c

        * remote-mips.c (mips_open): add code to handle baud rate.
1994-08-10 17:37:56 +00:00
Stu Grossman
eca4a350b8 * infrun.c (wait_for_inferior): Call target_resume() upon
detection of new processes.

	* procfs.c (create_procinfo):  Return pointer to new procinfo
	structure.
	* (do_detach):  Spacing & formatting cleanup.
	* (procfs_wait):  Move wait_again label to ensure that we really
	wait again.  On exit from fork, release new child from gdbs'
	clutches.
	* (procfs_set_sproc_trap):  Enable trapping of fork and vfork.
1994-08-09 17:27:01 +00:00
J.T. Conklin
ac2068375f * i386-nlmstub.c (handle_exception): Wait until the thread has
been started before killing the NLM by pointing the PC at
  _exit().
1994-08-08 22:14:06 +00:00
Peter Schauer
2e793470f3 * config/mips/tm-irix5.h (IN_SIGTRAMP): Redefine for Irix 5,
Irix 5 has a standard _sigtramp signal handler.
1994-08-07 13:34:39 +00:00
Peter Schauer
0d98155c94 * config/mips/tm-irix5.h (IN_SIGTRAMP): Redefine for Irix 5,
Irix 5 has a standard _sigtramp signal handler.
	* irix5-nat.c (solib_add):  Get rid of sigtramp_address handling,
	it is not needed for a standard _sigtramp signal handler.
	Add shared library sections to the section table of the target
	before adding the symbols.
	* mips-tdep.c (mips_skip_prologue):  Do not skip load immediate
	instructions that do not prepare a stack adjustment.
	* regex.c (SIGN_EXTEND_CHAR):  Update to emacs-19.25 definition,
	which does the right thing on machines where `char' is unsigned.
1994-08-07 13:33:45 +00:00
Stu Grossman
5d62195535 * remote.c (remote_open): Move setting of inferior_pid prior to
call to remote_start_remote.  Also use unique value for pid to
	avoid confusion with read_register_pid & friends.
	* (remote_wait):  Return inferior_pid instead of 0 in all cases.
1994-08-06 00:55:08 +00:00
Stan Shebs
359301345a * dwarfread.c (bfd.h): Don't include. 1994-08-05 20:19:00 +00:00
Thomas Lord
cd4104e085 Don't dereference invalid pointers in procfs_mourn_inferior 1994-08-05 17:55:46 +00:00
J.T. Conklin
d375ce178d * i386-nlmstub.c (handle_exception): Point the PC at _exit() to
kill the program being debugged.  KillMe(), the undocumented
  call intended for this purpose, causes the server to hang.
1994-08-05 16:14:03 +00:00
Steve Chamberlain
284f4ee95b * remote.c (read_frame): Calculate run length encoded checksum correctly.
* config/sh/stub.c: New file.
1994-08-05 00:14:05 +00:00
Steve Chamberlain
7f4b5f94dd New file. (stan said I could put it here) 1994-08-04 23:59:24 +00:00
Stu Grossman
7e01f50c14 * target.c (find_default_run_target): Make sure to_can_run is set
before calling it.
1994-08-04 21:36:26 +00:00
Jean Marie Diaz
9da0e790ae * TODO: Remove note about fast watchpoints and remove obsolete
Mach stuff.
1994-08-04 19:48:25 +00:00
Stan Shebs
e63d646917 * config/i386/xm-i386v4.h, config/m68k/xm-m68kv4.h,
config/sparc/xm-sun4sol2.h (NORETURN): Don't define.
	* config/m88k/tm-cxux.h (ARCH_NUM_REGS): Undefine before defining.
1994-08-04 18:17:59 +00:00
Stu Grossman
a3ecbe7c52 * target.c (add_target): Don't call clean_target on target
vectors anymore.
	* (unpush_target):  Test for to_close being set before calling.
	* (target_xfer_memory, target_info):  Check for to_has_memory
	before playing with memory.
1994-08-04 17:45:26 +00:00
Stu Grossman
a1e0ba7a1a * remote.c (remote_open): Set inferior_pid to make kill command
happy.
	* inflow.c (kill_command):  Revert change of Aug 2.  Use
	inferior_pid to determine whether to print out "The program is not
	being run." message.
1994-08-04 17:32:09 +00:00
Jean Marie Diaz
f4e0e098d2 * config/i386/i386m3.mh (NAT_CLIBS): Add -lmachid and -lnetname.
* m3-nat.c, config/nm-m3.h: #if 0 REQUEST_QUIT stuff.
	* m3-nat.c: Pass argument to return_to_top_level.
	Declare m3_kill_inferior before use.
	(port_chain_insert): In "can't happen" case, abort rather than
	setting `mid' to large decimal constant (which gcc warns about).
	(get_thread_name): Use cast to convert const char * to char *.
	(add_mach_specific_commands): #if 0 "thread break" command.
	(m3_trace_him): Call push_target.
	(mach_really_wait): New argument pid; remove unused
	variable pid.
	(intercept_exec_calls): Call target_terminal_init and
	target_terminal_inferior once the child execs.
	* infrun.c (proceed): Pass argument to PREPARE_TO_PROCEED.
1994-08-04 16:20:45 +00:00
Stan Shebs
901c2f5ffa * ch-lang.c (chill_language_defn): Ditto. 1994-08-04 00:38:39 +00:00
Stan Shebs
0bc2c40057 * breakpoint.c (breakpoint_1): Improve pluralization in display
of breakpoint hit counts.
1994-08-04 00:21:16 +00:00
Stan Shebs
043b05b26b * language.h (struct language_defn): Remove unused field
la_longest_float.
	(longest_float): Remove, no longer used.
	* language.c (unknown_language_defn, auto_language_defn,
	local_language_defn): Remove init of la_longest_float field.
	* c-lang.c (c_language_defn, cplus_language_defn,
	asm_language_defn): Ditto.
	* m2-lang.c (m2_language_defn): Ditto.
1994-08-03 19:15:42 +00:00
Stan Shebs
356ff909bd * defs.h (bfd_read, bfd_seek): Remove declarations.
* os9kread.c, rs6000-nat.c (libbfd.h): Don't include.
1994-08-02 20:27:44 +00:00
J.T. Conklin
662bd26379 * config/netware.exp: New file. 1994-08-02 17:27:18 +00:00
J.T. Conklin
319faf2102 * inflow.c (kill_command): Fix a bug which prevented target
programs to be killed.
1994-08-02 16:53:31 +00:00
Stan Shebs
6f54efdc4b * defs.h: Change two-line declarations to one-line form.
(NORETURN): Define as "volatile" only for older GCCs.
	(ATTR_NORETURN): Define for newer GCCs.
	* procfs.c (proc_init_filed): Add ATTR_NORETURN to declaration.
1994-08-02 02:02:39 +00:00
Jean Marie Diaz
d2a85f11be * breakpoint.c (mention), main.c (fputs_unfiltered): Add comments.
* breakpoint.c (delete_breakpoint, enable_breakpoint,
	disable_breakpoint): Don't call breakpoints_changed; it is now
	called via the *_breakpoint_hook functions.
	* annotate.c (_initialize_annotate, breakpoint_changed): New functions.
1994-08-02 00:44:24 +00:00
Jean Marie Diaz
dbae6b7d3a * gdbint.texinfo: Remove references to BROKEN_LARGE_ALLOCA and
SET_STACK_LIMIT_HUGE; they were removed from GDB 14 May 1994.
1994-08-01 22:47:25 +00:00
Stan Shebs
7f4945645b * gdbint.texinfo: Put regex conditionals in their own table. 1994-08-01 22:13:35 +00:00