Commit graph

7704 commits

Author SHA1 Message Date
Ken Raeburn
c6b399ceb8 (HFILES): New variable, for use in "make dep".
(.dep): Depend on $(CFILES) and $(HFILES).  Delete .dep1 and remake it, so that
"$?" is complete.
(.dep1): Don't need to remove .dep1 first.
(dep.sed): Depend on config.status, not Makefile.
(CFILES): Add nlm.c.
1993-10-20 20:04:17 +00:00
Jim Kingdon
b8c0ec2737 * Makefile.in (INTERNAL_LDFLAGS): New macro. The new part is
that we use CFLAGS and PROFILE_CFLAGS to link.
	(gdb, rapp, kdb): Use INTERNAL_LDFLAGS instead of
	LDFLAGS and/or GLOBAL_CFLAGS.
1993-10-20 17:15:45 +00:00
Stu Grossman
36b1d5287c * Makefile.in: Add $(srcdir) to all refs to 29k-share
directories.
1993-10-20 16:51:41 +00:00
Ian Lance Taylor
e61742338b * aoutf1.h (MACHTYPE_OK): Accept M_UNKNOWN.
(NAME(sunos,set_arch_mach)): Treat M_UNKNOWN as 68000, not 68020.
1993-10-20 16:26:50 +00:00
Stu Grossman
486b3fe18c * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
17}/Makefile.in:  Make it possible to run the testsuite with Sun
	make and CC = cross gcc by adding explicit build rules for .o
	files.
1993-10-20 16:23:17 +00:00
Ken Raeburn
9971d72545 new test m68k/pic1.s - simple pic code generation 1993-10-20 15:51:24 +00:00
Ken Raeburn
82a69c1720 new test diff1.s - difference of two undefined symbols (should be rejected) 1993-10-20 15:50:04 +00:00
Ken Raeburn
0b63552c67 * Makefile.in (OBJDUMP_FOR_TARGET): Define similar to AS_FOR_TARGET.
(check): Don't pass ASFLAGS variable.
(site.exp): Put ASFLAGS, OBJDUMP, OBJDUMPFLAGS into site.exp.
1993-10-20 15:47:59 +00:00
Ken Raeburn
726b30ba28 Makefile.in (OBJDUMP_FOR_TARGET): Define similar to AS_FOR_TARGET.
(check): Don't pass ASFLAGS variable.
(site.exp): Put ASFLAGS, OBJDUMP, OBJDUMPFLAGS into site.exp.

From Jeff Law:

lib/gas-defs.exp (objdump_start, objdump_finish): New functions
so that tests can parse the output of objdump looking for errors
in relocation entires, file headers and the like.
1993-10-20 15:38:42 +00:00
Jim Kingdon
dc0d7d91da * hosts/i386bsd.h [__bsdi__]: Define HOST_DATA_START_ADDR. 1993-10-20 15:33:40 +00:00
Jim Kingdon
408f64bcd6 * configure.in: Add comment about HP compiler vs. emacs. 1993-10-20 15:01:15 +00:00
Jim Kingdon
8d5e4b1744 * mh-hp300: Don't define CFLAGS to empty. Why should hp300 be
different from anything else?  ("gdb doesn't understand the native
	debug format" isn't a good enough answer because we might be using
	gcc).
1993-10-20 03:58:18 +00:00
Roland Pesch
a88ec2134a fix one bad date, credits 1993-10-20 02:03:50 +00:00
Fred Fish
ed89c3d938 * Makefile.in (ALLCONFIG): Add config/i386/{i386m3.mh, i386m3.mt,
i386/i386mk.mh i386/i386mk.mt}, config/mips/{mipsm3.mh,
	mipsm3.mt}, config/ns32k/{ns32km3.mh, ns32m3.mt}
	* Makefile.in (remote_utils_h):  Add remote-sim.h
	* Makefile.in (NONSRC):  Add i386-nlmstub.c
	* Makefile.in (HFILES):  Add coff-solib.h
1993-10-20 00:30:09 +00:00
David D. Zuhn
1f69e88db3 don't build ld on solaris2 1993-10-19 23:04:39 +00:00
Ken Raeburn
1f97bff7ac configure.in: Accept alpha-dec-osf1* instead of just -osf1, since config.guess
will include the full version number.
1993-10-19 22:24:16 +00:00
Ian Lance Taylor
dff60b7d48 * config/tc-m68k.h (AOUT_MACHTYPE): Define to be external variable
m68k_aout_machtype.
	* config/tc-m68k.c (omagic): Remove obsolete and unused variable.
	(m68k_aout_machtype): New variable, if OBJ_AOUT.
	(md_assemble): Initialize m68k_aout_machtype based on
	current_architecture, if OBJ_AOUT.
	(md_parse_option): Remove obsolete reference to omagic.
1993-10-19 22:18:15 +00:00
Kung Hsu
731c7e1779 Modified Files:
ChangeLog

        * values.c (value_virtual_fn_field): Fix the offset calculation
        when calling virtual functions. (gdb.t22/virtfunc.exp).
        * eval.c (evaluate_subexp): same as above.
1993-10-19 22:17:57 +00:00
Jim Kingdon
e00def2dd1 * gdb.t15/funcargs.exp: Don't put comments on same line as
setup_xfail (@#$*%& tcl braindamage!).
1993-10-19 21:40:09 +00:00
Roland Pesch
fa6df1a7b2 Tue Oct 19 14:21:18 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
* a4rc.sed: update to work with Andreas Vogel papersize params

	* refcard.tex: use Andreas Vogel simplifications of papersize
	params; remove useless version info; update copyright date.
1993-10-19 21:25:32 +00:00
Kung Hsu
dcd8fd8c17 Modified Files:
values.c eval.c

        * values.c (value_virtual_fn_field): Fix the offset calculation
        when calling virtual functions. (gdb.t22/virtfunc.exp).
        * eval.c (evaluate_subexp): same as above.
1993-10-19 21:20:37 +00:00
Ian Lance Taylor
fd1aec331c * configure.in: Build linker and binutils for alpha-dec-osf1. 1993-10-19 19:59:16 +00:00
Ian Lance Taylor
1c4b3cda62 * configure.in (alpha-*-osf*): New target; use alpha.mt.
* Makefile.in (ALL_EMULATIONS): Added em_alpha.o.
	(em_alpha.c): New target; use alpha.sh and alpha.sc.
	* config/alphaosf.mh (NATIVE_LIB_DIRS, HOSTING_CRT0): Define.
	* config/alpha.mt: New file.
	* emulparams/alpha.sh: New file.
	* scripttempl/alpha.sc: New file.
1993-10-19 19:55:52 +00:00
Ian Lance Taylor
42f9673d8b New files for Alpha linker. 1993-10-19 19:52:33 +00:00
Ian Lance Taylor
5fa2aaa241 * coff-alpha.c: Implemented reloc handling for the linker, made
various other related changes.
	* libecoff.h (ecoff_backend_data): Added rdata_in_text field.
	Renamed finish_reloc to adjust_reloc_in.  Added adjust_reloc_out
	field.
	(ecoff_bfd_get_relocated_section_contents): Don't define.
	* ecoff.c (ecoff_sec_to_styp_flags, ecoff_styp_to_sec_flags):
	Handle .lita section.
	(ecoff_slurp_reloc_table): Handle RELOC_SECTION_FINI.
	finish_reloc backend field renamed to adjust_reloc_in.
	(ecoff_bfd_seclet_link): Adjust number of aux entries to
	debug_align boundary.
	(ecoff_compute_section_file_positions): If rdata_in_text put
	.rdata section in text segment, not data segment.  Put .pdata
	section in text segment.
	(ecoff_write_object_contents): Likewise.  Also, call
	adjust_reloc_out, and handle .lita, .xdata, .pdata, .fini and
	absolute sections when writing out relocs.
	* coffswap.h (coff_swap_aouthdr_out): For ALPHAECOFF, output 2 for
	bldrev field, as on Alpha OSF/1.  Padding field is now 2 bytes.
	* coff-mips.c (mips_ecoff_swap_reloc_out): Added assertion.
	(mips_adjust_reloc_in): Renamed from mips_finish_reloc.
	(mips_adjust_reloc_out): New function (does nothing).
	(mips_ecoff_backend_data): Initialize new fields.
	(ecoff_bfd_get_relocation_section_contents): Define to be
	bfd_generic_get_relocated_section_contents.

	* reloc.c (bfd_perform_relocation): Added casts to avoid Alpha
	OSF/1 cc bug.
1993-10-19 19:41:44 +00:00
Fred Fish
18c3a1c3da Clean out all references to snapshots.readme, a file that is not
distributed in gdb releases.
1993-10-19 19:38:05 +00:00
David D. Zuhn
1dbe1189b3 remove debugging echo 1993-10-19 17:44:57 +00:00
Jim Kingdon
615289ece9 * config/rs6000/rs6000.mh (TERMCAP): Define to -lcurses.
* Makefile.in: Define CXXFLAGS.
1993-10-19 17:20:53 +00:00
Jim Kingdon
922b39a492 * Makefile.in: Remove -O from CXXFLAGS for consistency with CFLAGS,
and gdb/testsuite/Makefile.in.
1993-10-19 16:47:37 +00:00
Stu Grossman
b4aa170e4a * sparclite/Makefile.in: Fixup so that this works with Sun make
and VPATH.
1993-10-19 16:34:16 +00:00
Jim Kingdon
25f9d853cd * gdb.texinfo (Symbols): Add class NAME to doc for ptype. 1993-10-19 16:26:06 +00:00
Jim Kingdon
2e142fdedd * breakpoint.h (struct bpstat_what): Don't use bitfields. 1993-10-19 16:05:23 +00:00
Jim Kingdon
915e6cd9f6 * typeprint.c: Add "class CLASS-NAME" to docstring for ptype. 1993-10-19 15:56:20 +00:00
Fred Fish
0ac1a039f4 * Makefile.in (ALLPARAM): Add config/m88k/{nm-delta88v4.h,
tm-delta88v4.h, xm-dgux.h}.
	* Makefile.in (ALLCONFIG):  Add config/m88k/{delta88v4.mh,
	delta88v4.mt}.
1993-10-19 13:27:55 +00:00
Fred Fish
2be58d4517 * README: Remove comment about SunOS 5.x programs leaving
coredumps.  Info from Sun is that this was not in customer
	releases.
1993-10-19 13:19:25 +00:00
Fred Fish
a3e0cf1ea4 * snapshots.readme: Reword paragraph about not publicising
location of gdb snapshots.
1993-10-19 13:15:42 +00:00
Jim Kingdon
f9a96aa314 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile. 1993-10-19 02:56:08 +00:00
Stu Grossman
653dd82a60 * Makefile.in: Add dependancy for elf.o to make Sun make happy
when using VPATH.
1993-10-19 01:17:42 +00:00
Jim Kingdon
8c5e002153 * hppa-tdep.c (restore_pc_queue): Call target_terminal_ours after
done stepping the inferior.
1993-10-18 23:06:19 +00:00
David D. Zuhn
8b5405d2e5 handle unixware & hp emacs, textutils on rs6000 1993-10-18 22:28:18 +00:00
Jim Kingdon
adee89e8a2 * c-exp.y: Remove never-used (because of shift/reduce conflicts)
rules for pointers to members.
	* Makefile.in: Remove notice about expected shift/reduce conflicts.
1993-10-18 18:01:51 +00:00
Jim Kingdon
f91b837dd0 * buildsym.c (finish_block): If we pop the context stack and it is
not empty, complain () instead of abort ().
1993-10-18 15:40:04 +00:00
Jim Kingdon
f843c95fc3 * parse.c, parser-defs.h (follow_types): New function.
* c-exp.y (ptype : typebase abs_decl): Use it.
	* c-exp.y (ptype): Add support for type qualifiers after the
	typebase.  The typebase rule already has support for them before
	the typebase.
	* Makefile.in: Change the expected number of shift/reduce
	conflicts to 6.  This is OK--the 2 new conflicts are basically the
	same as one of the old ones.
1993-10-18 01:10:25 +00:00
Fred Fish
cf4d863151 Bump version to 4.10.3 in main trunk after branch for gdb 4.11 1993-10-17 20:08:10 +00:00
Jim Kingdon
c0c14c1e8d * infrun.c (wait_for_inferior): Clean up comments which were at
the top of the file, making them more concise and moving them with
	the code (Sorry, Randy, but these stream-of-consciousness comments
	really have to go).  Switch the order of the "&&", which makes
	things clearer and turns out to be an improvement with respect to
	side effects and speed.
1993-10-17 14:30:20 +00:00
Stu Grossman
fb63d460a7 * procfs.c: Handle process exits more elegantly by trapping on
entry to _exit.  Also, cleanup procinfo list when process dies of
it's own accord (as opposed to being killed).
1993-10-17 09:12:58 +00:00
Jim Kingdon
18122d8bd3 * infrun.c: Add comment about signals. 1993-10-17 02:21:12 +00:00
Jim Kingdon
df0d53e3f4 * config/m88k/xm-dgux.h: Define NO_PTRACE_H. 1993-10-17 02:19:59 +00:00
Jim Kingdon
2a23937211 * gdb.disasm: New directory for GDB disassembler tests. 1993-10-17 02:09:07 +00:00
Jim Kingdon
15598f4229 * gdb.disasm: New directory for GDB disassembler tests. 1993-10-17 02:09:06 +00:00