Commit Graph

11805 Commits

Author SHA1 Message Date
Jim Kingdon
2eafd7ae71 * gdbserver/low-lynx.c (mywait): Remove debugging printf. 1994-12-09 12:46:42 +00:00
Ian Lance Taylor
277187d793 * nlmconv.c (powerpc_mangle_relocs): Don't switch a reloc to use
the section symbol if the symbol is undefined.
1994-12-09 05:25:00 +00:00
Ken Raeburn
3c6dc75b41 * lib/gas-defs.exp: Use -i in expect_after command. 1994-12-09 01:20:07 +00:00
Ken Raeburn
b8f5275075 * Makefile.in (NM_FOR_TARGET): Use ../binutils/nm.new, not just plain nm. 1994-12-09 01:19:22 +00:00
Ken Raeburn
7e1e1f4d2f binutils-all/objdump.exp: handle "powerpc" cpu 1994-12-08 23:56:01 +00:00
Ken Raeburn
c574599626 added mips-gnu target for roland 1994-12-08 23:36:37 +00:00
Ken Raeburn
a8732972ae alpha, mips, m68k fixes 1994-12-08 23:28:05 +00:00
Jim Kingdon
613a9e5fe3 * frame.h: Restore pre-Nov 3 comments about FRAME_FP with minor
changes.  They are correct, unlike the post-Nov 3 comment
	(FRAME_FP doesn't have any machine-independent relationship with
	FP_REGNUM or any other such notion of a "frame pointer").
1994-12-08 23:20:11 +00:00
Jim Kingdon
4cc1b3f79d * gdbserver/remote-utils.c (write_ok): Write "OK", not "Ok", to
match stubs and protocol spec.
	* gdbserver/remote-utils.c (remote_open): Cast to struct sockaddr
	when passing to function which expects that.

	The following changes aren't quite enough to make things work with
	LynxOS (apprently kernel problems).
	* infrun.c (wait_for_inferior): When resuming new thread, pass pid
	not -1 for remote case.
	* thread.c (info_threads_command): Give error if !target_has_stack.
	* infrun.c (start_remote): Call init_thread_list.
	* thread.c (info_threads_command): Don't call kill for remote
	debugging target.
	* target.c (normal_pid_to_str): Print "thread" not "process" for
	remote.
	* remote.c, gdbserver/*: Add 'H', 'S', and 'C' requests, 'X'
	response, and `thread' part of 'T' response.
	* gdbserver/*: If program exits, send packet to GDB before
	exiting.  Handle termination with a signal the same as exiting
	with an exitstatus.
	* remote.c: Don't try to kill program after getting an 'X'
	response.
	* infrun.c (wait_for_inferior): Add comment about kill versus mourn.
1994-12-08 22:54:33 +00:00
Ken Raeburn
4181c9853b configure.in: fix ns32k-pc532-mach* and mips-sony-bsd* configs 1994-12-08 22:54:22 +00:00
Ken Raeburn
f8368802df * pc532-mach.c (NAME): Define to use ns32kaout prefix.
* ns32knetbsd.c (NAME): Ditto.
(ns32kaout_32_get_section_contents): Define to standard aout-32 version.
1994-12-08 20:47:46 +00:00
Ken Raeburn
ef1ad8ab8e * binutils-all/objdump.exp (cpus_expected): New variable, taken from objdump -i
test, added ns32k, sorted.
(objdump -i, -f tests): Use $cpus_expected.

* binutils-all/objcopy.exp: For simple-copy test, expect failure for sh-coff.
1994-12-08 19:55:05 +00:00
Rob Savoye
d8c139e122 * config/pa/tm-pro.h tm-hppap.h, hppapro.mt: Rename tm-hppap.h to
tm-pro.h.
1994-12-08 19:49:13 +00:00
Ken Raeburn
4af19c6151 objcopy.c (add_strip_symbol): Cast return value of xmalloc. 1994-12-08 19:46:25 +00:00
Stan Shebs
75d1ef1322 * gdb.base/list.exp: Adjust expectations to reflect changes in
list1.c.
	(test_forward_search): New test proc.
	* gdb.base/list1.c (long_line): New function, has long source line.
1994-12-08 03:05:49 +00:00
Stan Shebs
85ae1317ad * source.c: Various cosmetic changes.
(forward_search_command): Handle very long source lines correctly.
1994-12-08 02:27:47 +00:00
Ken Raeburn
09a1cedb20 boost timeout to at least 2min; fix a couple mips tests for 64-bit host disasm 1994-12-08 01:48:25 +00:00
Ken Raeburn
d2ccfce3d2 rename gas/ieee.fp to ieee-fp 1994-12-07 21:51:34 +00:00
Rob Savoye
0cfa9be028 * hppa-tdep.c: Use GDB_TARGET_IS_PA_ELF so SOM target support will
stop being linked in.
	* config/pa/tm-hppap.h: New file. Set GDB_TARGET_IS_PA_ELF,
	otherwise it looks like BSD-ELF.
1994-12-07 21:47:22 +00:00
Rob Savoye
bd2b724a0c * hppa-tdep.c: Use GDB_TARGET_IS_PA_ELF so SOM target support will
stop being linked in.
	* config/pa/tm-hppap.h: New file. Set GDB_TARGET_IS_PA_ELF,
	otherwise it looks like BSD-ELF.
1994-12-07 21:26:22 +00:00
Ken Raeburn
89a19a0df7 keep everything 1994-12-06 23:30:12 +00:00
Steve Chamberlain
7014c55e40 Clean the sh3 stuff out the right way. 1994-12-06 23:29:54 +00:00
Ken Raeburn
6fd3edd8d0 finish deletion of this directory 1994-12-06 22:25:17 +00:00
Stu Grossman
13334cc2de * inftarg.c: include <sys/types.h> to get def of pid_t. 1994-12-06 05:45:31 +00:00
Michael Tiemann
0041db5a97 Switch r3 to scratch register, r0 to stack register.
Other misc changes before beta shipment to customer.
1994-12-06 02:04:58 +00:00
Stan Shebs
99eceb9a73 * solib.c (auto_solib_add_at_startup): New global.
(solib_create_inferior_hook): Call solib_add only if
	auto_solib_add_at_startup is nonzero.
	(_initialize_solib): New command "set auto-solib-add".
1994-12-03 00:19:03 +00:00
Per Bothner
91f4a683d8 * Makefile.in (LIBGXX_SUPPORT_DIRS): Add libstdc++. 1994-12-02 23:54:59 +00:00
Ian Lance Taylor
3c2476067c * config/default.exp: Define objdump if it is not defined.
* ld-empic/*: New tests to test -membedded-pic code.
1994-12-02 22:29:20 +00:00
Ian Lance Taylor
dc5df17b8a * emultempl/miposecoff.em: New file.
* emulparams/mipsidt.sh (TEMPLATE_NAME): Set to mipsecoff.
	* emulparams/mipsidtl.sh (TEMPLATE_NAME): Likewise.
	* scripttempl/mips.sc: Put .rel.sdata sections in .text, and
	provide __runtime_reloc_start and __runtime_reloc_stop if they are
	used.   Align _fdata to a 16 byte boundary.
	* Makefile.in (emipsidt.c): Depend upon mipsecoff.em rather than
	generic.em.
	(emipsidtl.c): Likewise.
	(check): Pass CC_FOR_HOST and CFLAGS_FOR_HOST to runtest.
1994-12-02 22:28:09 +00:00
Ian Lance Taylor
39a6e282d1 * ld.h (args_type): Add new field embedded_relocs.
* ldemul.h (ldemul_after_open, after_open_default): Declare.
	(ld_emulation_xfer_struct): Add new field after_open.
	* ldemul.c (ldemul_after_open): New function.
	(after_open_default): New function.
	* ldlang.c (lang_process): Call ldemul_after_open.
	* lexsup.c (parse_args): Handle --embedded-relocs.
	* emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Initialize
	new after_open field to after_open_default.
	* emultempl/generic.em, emultempl/gld960.em: Likewise.
	* emultempl/gld960c.em, emultempl/hppaelf.em: Likewise.
	* emultempl/linux.em, emultempl/m88kbcs.em: Likewise.
	* emultempl/sunos.em, emultempl/vanilla.em: Likewise.
	* ld.texinfo, ld.1: Mention -embedded-relocs.
1994-12-02 22:25:50 +00:00
Peter Schauer
4461196e69 * parse.c (msymbol_addr_type): Replaced by
lookup_pointer_type (builtin_type_void).

	* printcmd.c (_initialize_printcmd):  Give examine_*_type
	a name for `ptype $_'.

	* printcmd.c (print_formatted): Call val_print_string directly,
	rather than via value_print.
1994-12-02 20:55:16 +00:00
Stan Shebs
3046ecae1f * gdb.base/a1-selftest.exp: Change initial stepping to know about
additional line of code that was added.
1994-12-02 07:17:28 +00:00
Jeff Law
e9c99bc0ee Remove last remnants of hpread sanitization. 1994-12-02 06:42:40 +00:00
Jeff Law
b1bbe38b3d * somsolib.c (som_solib_get_got_by_pc): New function.
* somsolib.h (som_solib_get_got_by_pc): Add extern decl.
	* hppa-tdep.c (hppa_fix_call_dummy): Handle case where FUN is the
	function's export stub or real address in a shared library.
1994-12-01 05:34:30 +00:00
Jeff Law
002199bca4 * gdb.disasm/hppa.s: Break the large branching tests into smaller
tests so as not to overflow expect's input buffers.
        * gdb.disasm/hppa.exp: Corresponding changes.
1994-12-01 04:08:29 +00:00
Ian Lance Taylor
729850916c * coff-sh.c: Use _bfd_dummy_target instead of no_archive. 1994-11-30 19:14:23 +00:00
Jeff Law
c1ae68e4f4 * gas/hppa/parse: Renamed from gas/hppa/more.parse. 1994-11-30 17:57:29 +00:00
Jeff Law
8f94e66b12 Moving into a new directory 1994-11-30 17:47:54 +00:00
Per Bothner
864a5888bd * Makefile.in: Move -fno-implicit-template from CXXFLAGS
to LIBCXXFLAGS.  Tests are better run without it.
1994-11-30 03:37:23 +00:00
David Edelsohn
bc70eba5c8 Initial ARC support. 1994-11-30 02:48:31 +00:00
David Edelsohn
6ea93cc98c Initial ARC support. 1994-11-30 02:16:54 +00:00
David Edelsohn
8515dbe235 Initial ARC support. 1994-11-30 02:06:04 +00:00
David Edelsohn
30989ea584 Initial ARC support. 1994-11-30 01:54:43 +00:00
David Edelsohn
dc997928f0 Initial ARC support. 1994-11-30 01:45:28 +00:00
David Edelsohn
20e5867807 * config/arc-elf.mt: New file. 1994-11-30 01:35:40 +00:00
David Edelsohn
05cedcf6c1 Initial ARC support. 1994-11-30 01:29:26 +00:00
Ken Raeburn
23c17feaa7 delete signal handler code (which has been disabled since March 93) 1994-11-30 01:01:13 +00:00
Ken Raeburn
d2a0c9f960 switch to libiberty version of xmalloc 1994-11-30 00:56:43 +00:00
Ken Raeburn
75af551fc4 log for alpha, sanitize, m68k, rce (sanitized) changes 1994-11-29 22:30:53 +00:00
J.T. Conklin
5b0f1ab5f1 * config.bfd (i[345]86-*-freebsd*): Use i386-bsd as bfd_name.
* configure.host (i[345]86-*-freebsd*): Use i386bsd as my_host.
CVSn:
1994-11-29 22:24:39 +00:00