Commit graph

6579 commits

Author SHA1 Message Date
Jim Kingdon
bf5b632df7 * ch-valprint.c (chill_val_print, case TYPE_CODE_STRING): Print
address, not addr.

	* hppah-nat.c (store_inferior_registers): Don't print i in cases
	where we aren't using it.
1993-07-14 21:38:39 +00:00
Stu Grossman
ea7f0a9ff3 Check in ChangeLog entry that got lost.
Fri Jun 25 17:02:45 1993  Stu Grossman  (grossman at cygnus.com)

	* gdbserver/Makefile.in:  Add dependancies on server.h.
	* gdbserver/remote-gutils.c:  Remove lots of unused functions and
	variables.
	* gdbserver/remote-inflow.c:  Remove lots of unused variables and
	#includes.  Also, use PTRACE_* symbols instead of constants.
	(mywait):  Surround calls to wait() with enable/disable_async_io()
	so that we can be interrupted from GDB while waiting for the
	child.  Also, handle child exit more gracefully.
	* gdbserver/remote-server.c:  Remove lots of unused variables.
	Move all extern defs into server.h.  Redo main loop so that
	failure from getpkt() causes communications to be re-established.
	Fix 'k' command so that it restarts the child.
	* gdbserver/remote-utils.c:  Remove lots of unloved vars and
	subrs.  Move many extern decls into server.h.  (remote_open):  For
	tcp, seperate usage of proto fd from connected fd.  Close proto
	fd after getting connection.  (putpkt/getpkt):  Pay attention to
	errors when reading/writing.  Report these to the caller.  New
	routines input_interrupt/enable_async_io/disable_async_io to make
	it possible to get an I/O interrupt when data arrives from the
	comm link.
	* serial.h:  New file to contain common defs for all remote files.
1993-07-14 21:19:09 +00:00
Jim Kingdon
89c789f6fa * hppa.c [HOST_HPPABSD]: Use hpux-style core files.
* libhppa.h [HOST_HPPABSD]: Include hpux version of core.h
1993-07-14 20:35:18 +00:00
Ian Lance Taylor
85051959f4 * Changes to keep a full expression as the value of a symbol, not
just a longword:
	* struc-symbol.h: New field sy_value.
	* as.h: Include expr.h before struc-symbol.h.
	* expr.h: Use struct symbol rather than symbolS.
	* symbols.c (S_GET_VALUE, S_SET_VALUE): Rewrote to retrieve value
	of sy_value field; compile unconditionally, not just if
	BFD_ASSEMBLER.
	* symbols.h: Compile S_{SG}ET_VALUE prototypes unconditionally.
	* write.c (write_object_file): Set BFD symbol value to gas symbol
	value.
	* config/obj-aout.h, config/obj-bout.h, config/obj-coff.h,
	config/obj-coffbfd.h, config/obj-generic.h, config/obj-vms.h
	(S_GET_VALUE, S_SET_VALUE): Removed macro definitions.
	* config/obj-ieee.c (S_GET_VALUE, S_SET_VALUE): Removed.
	* config/obj-coff.h, obj-coffbfd.h: Rewrote several macros to use
	S_GET_VALUE rather than ost_entry.n_value.
	* config/obj-aout.c (obj_symbol_to_chars), config/obj-bout.c
	(obj_symbol_to_chars), config/obj-coff.c (obj_symbol_to_chars),
	config/obj-coffbfd.c (symbol_to_chars): Get value to write out
	using S_GET_VALUE--don't assume it is already set.
	* config/obj-ieee.c (do_symbols): Set BFD symbol value to gas
	symbol value.
	* config/obj-vms.c (various): Don't assign directly to
	S_GET_VALUE; use S_SET_VALUE instead.
1993-07-14 19:35:45 +00:00
K. Richard Pixley
87ce60f98b * Makefile.in (Makefile): depend on configure.in. Also drop the
$(srcdir)/ from the dependency on Makefile.in.
1993-07-14 19:04:10 +00:00
Jim Kingdon
968dca8d81 * a29k-tdep.c (get_saved_register): Fix typo. 1993-07-14 18:55:57 +00:00
David Edelsohn
bd96254f96 * configure.in: Recognize h8300h (variant of h8300).
Recognize sparc64-*-*.
1993-07-14 16:49:18 +00:00
David Edelsohn
18464ca231 * configure.in: Make sparc64-*-aout* use bfd gas. 1993-07-14 16:38:53 +00:00
David Edelsohn
b50401c93c * configure.in: Recognize h8300h. 1993-07-14 16:37:27 +00:00
David Edelsohn
07ef2075f5 Recognize h8300h.
Make sparc64-*-aout* use bfd gas.
1993-07-14 16:35:04 +00:00
David Edelsohn
7024033bfb * configure.in: Recognize h8300h-*-*. 1993-07-14 16:32:34 +00:00
Jim Kingdon
5af4f5f6f1 Tue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* stabsread.c (define_symbol): Make the caddr_t hack apply to `function
	returning foo' as well as `pointer to foo'.

	* remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined.
	* config/m68k/tm-m68k.h: Define it.
	* mem-break.c, breakpoint.c: Improve comments.

Tue Jul 13 13:35:31 1993  Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr)

	* config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h".
	* config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
1993-07-14 15:12:05 +00:00
David Edelsohn
b2eed00fa9 * config.sub: Recognize h8300hhms as h8300h-hitachi-hms.
(h8300hhms is temporary until multi-libraries are implemented).
* configure.in: Handle h8300h too.
1993-07-14 03:20:18 +00:00
David Edelsohn
ac2c0ee786 * configure.in: Accept h8300h for target cpu.
* ldmisc.c (vfinfo): Have demangle remove leading underscore if
present (demangle is smart enough to know whether to do it or not).
1993-07-14 03:08:33 +00:00
David Edelsohn
8a80def6f4 Accept h8300h for target cpu. 1993-07-14 03:07:04 +00:00
David Edelsohn
595dc9a4ed Restore function naming scheme (sim_xxx vs simif_xxx).
Make more generic (remove any reference to sparc64).
Document simif_xxx fns.
1993-07-14 02:21:59 +00:00
Steve Chamberlain
8a453541bc Use host_makefile_frag. 1993-07-13 19:15:38 +00:00
Steve Chamberlain
1728686e66 cvs core dumps again... 1993-07-13 19:13:18 +00:00
Steve Chamberlain
489a93f3c3 * config/tc-h8500.c (line_comment_chars): Add hash.
(parse_exp, skip_colonthing, build_bytes): Add support for
	R_H8500_HIGH16 relocation type.
1993-07-13 19:12:10 +00:00
Steve Chamberlain
46dd06224b * coff-h8500.c (reloc_processing, rtype2howto): New relocation
type R_H8500_HIGH_16.
	* coff-sh.c (r_imm32): Get the width of the reloc right.
1993-07-13 19:08:25 +00:00
David Edelsohn
524895ab98 * gdbcore.h (read_memory_integer, read_memory_unsigned_integer):
Make prototype match definition.
1993-07-13 18:58:41 +00:00
Ken Raeburn
fa088f5074 dtrt wrt v9 for elf64-sparc.c (sigh) 1993-07-13 18:52:44 +00:00
Fred Fish
8bdc1fd08a * elfread.c: Remove notice about file still being under
construction.
1993-07-13 18:49:51 +00:00
Jim Kingdon
25452831dc * configure.in: Add new target m68k-coffun to the dpx/2.
* config/m68k-coffun.mt: New file, renamed from config/dpx2.mt.
1993-07-13 18:42:33 +00:00
Ken Raeburn
42b9004e46 make sanitize dtrt wrt v9 1993-07-13 18:39:22 +00:00
Fred Fish
98d8248937 * Makefile.in (ultra3-xdep.o, umax-xdep.o): Add missing ')'. 1993-07-13 18:20:55 +00:00
Ian Lance Taylor
37609724c6 * mips-dis.c (print_insn_arg, _print_insn_mips): Made pointer to
argument string const char * to correspond to opcode/mips.h.
1993-07-13 17:06:07 +00:00
David D. Zuhn
e7569ec89f add a -I to the makeinfo command line 1993-07-13 03:01:22 +00:00
K. Richard Pixley
7d8d708459 * Makefile.in (TAGS): make work again by naming directories
explicitly rather than depending on undefined macros.
	  (INSTALL_XFORM): correct bad install target.
1993-07-13 00:57:27 +00:00
David MacKenzie
f42084627b * ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib for
ldscripts, as well as <ld bin dir> and SCRIPTDIR.
1993-07-13 00:54:45 +00:00
Jim Kingdon
8549490910 * a29k-tdep.c (read_register_stack): Make val static. 1993-07-12 22:51:09 +00:00
David Edelsohn
e1f63216eb h8300 stuff. 1993-07-12 21:12:02 +00:00
David Edelsohn
696314b6cb (REGISTER_CONVERTIBLE): Change value to 0.
(REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Move def'n to
usual spot.
1993-07-12 21:09:22 +00:00
David D. Zuhn
ec782faafc handle our SCO name better 1993-07-12 21:05:23 +00:00
Mark Eichin
025b030243 fix definitions of md_create_long_jump, md_create_short_jump,
md_number_to_chars, and md_section_align to correctly use valueT and addressT
1993-07-12 19:42:32 +00:00
David MacKenzie
d723cd17d5 * ldlang.c (lang_process): Use sizeof instead of magic constant.
* ldmain.c (get_emulation, check_for_scripts_dir,
	set_scripts_dir):  New functions.
	(main): Call them.
1993-07-12 19:34:04 +00:00
Mark Eichin
c463189d53 update use of valueT and addressT 1993-07-12 18:58:50 +00:00
Jim Kingdon
499a5faaae * stabs.texinfo: N_MAIN is sometimes used for C. 1993-07-12 18:41:14 +00:00
Jim Kingdon
1326dacef9 * c-valprint.c (c_val_print): Fix thinko with unspecified length
arrays.
1993-07-12 18:00:48 +00:00
Jim Kingdon
eabbe766c0 * hppa-tdep.c (find_proc_framesize): If there is a frame pointer,
use it.
1993-07-12 16:34:23 +00:00
Jim Kingdon
4988d8c722 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames. 1993-07-12 16:30:21 +00:00
Jim Kingdon
4f47020526 improve comment about Sun acc 1993-07-12 15:58:42 +00:00
Ken Raeburn
5d4ef2968b config/obj-elf.c (obj_elf_section): Allow `@' to introduce an attribute name.
Handle `execinstr' attribute.
1993-07-12 15:17:10 +00:00
Ken Raeburn
e7affb090d configure.in, elf.sc changes 1993-07-12 15:07:42 +00:00
Ken Raeburn
aa6743a58d Include .init, .fini, .rodata sections.
Create symbol "end" instead of "__end".
Comment out some parts that may not be needed (yet) for elf.
1993-07-12 15:05:38 +00:00
Ken Raeburn
e900b30cae Solaris 2 support; sparc64 sanitization. 1993-07-12 15:01:15 +00:00
Ken Raeburn
dc31b55093 fix values 1993-07-12 15:00:55 +00:00
Ken Raeburn
96593d4b82 Solaris 2 configuration; sparc64 sanitization. 1993-07-12 14:59:29 +00:00
Ken Raeburn
ba9ca6a387 Handle sparc64-* before sparc*.
Accept sparc-elf and sparc-solaris configurations (though ../configure.in
should still not configure this directory by default, it's not completely
working).
1993-07-12 14:56:45 +00:00
Ken Raeburn
b886bef191 Changes to reloc.c, libelf.h, config/sparc-elf.mt. 1993-07-12 14:50:45 +00:00