John Gilmore [Tue, 16 Feb 1993 05:16:55 +0000 (05:16 +0000)]
* remote.c: Improve error recovery. Allow user to break out
of initial connection attempt with INTERRUPT. Treat a timeout
while waiting for remote packet like a retry, unless the remote
side is actively running user code. Fix a few long printf_filtered's.
* xcoffread.c (read_xcoff_symtab): Don't use null symbol name for
trampoline symbols.
Fred Fish [Fri, 12 Feb 1993 18:08:35 +0000 (18:08 +0000)]
* Makefile.in (LIBIBERTY_SRC_DIR, LIBIBERTY_BIN_DIR): New macros.
* Makefile.in (LIBIBERTY): Use LIBIBERTY_BIN_DIR.
* Makefile.in (DEMANGLER_PROG): New program to build. Add macro
and rule.
* Makefile.in (PROGS): Add DEMANGLER_PROG.
* ldgram.y: allow section types without address expressions.
* ldlang.c (lang_relocate_globals): avoid possible hang with
undefined but unreferenced symbols.
* relax.c (relax_section): don't complain if the script file isn't
relaxable but -relax is set
* ldgram.y: allow section types without address expressions.
* ldlang.c (lang_relocate_globals): avoid possible hang with
undefined but unreferenced symbols.
* relax.c (relax_section): don't complain if the script file isn't
relaxable but -relax is set
Ian Lance Taylor [Thu, 11 Feb 1993 17:22:42 +0000 (17:22 +0000)]
Thu Feb 11 09:20:37 1993 Ian Lance Taylor (ian@cygnus.com)
* config/obj-coffbfd.c (fill_section): Don't set vaddr here.
(write_object_file): Set it here instead, so that fixup_segment
can see the correct value.
John Gilmore [Thu, 11 Feb 1993 11:16:35 +0000 (11:16 +0000)]
More debugging of rs/6000 file reading (on Suns, for easier debug).
* stabsread.c (dbx_lookup_type): Handle negative type numbers.
Previously, would bogusly index off the bottom of type_vector.
(rs6000_builtin_type): Accept type number as argument.
(read_type, case '-'): Handle negatives like any other type number.
John Gilmore [Thu, 11 Feb 1993 09:05:11 +0000 (09:05 +0000)]
* xcoffread.c (parmsym): Don't use an initializer to set up
this struct symbol. Set it up in initialize_xcoffread.
[This broke when Fred changed "struct symbol".]
(read_xcoff_symtab, xcoff_symfile_read): Surround code that only
works on real rs/6000 target with #ifndef FAKING_RS6000.
John Gilmore [Thu, 11 Feb 1993 07:57:35 +0000 (07:57 +0000)]
* stabsread.c (rs6000_builtin_type): Move function from
xcoffread.c:builtin_type.
* xcoffread.c (builtin_type): Move to stabsread. Remove
IBM6000_HOST dependency. Move misplaced comments.
(various): Change printf's to complaints.
(patch_block_stabs, process_xcoff_symbol case C_DECL): Add
objfile argument to read_type calls under #if 0.
(process_xcoff_symbol case C_RSYM): Fix typo in #ifdef.
* xcoffexec.c (map_vmap): Don't allocate an objfile for the exec_file.
* Makefile.in: xcoffread.o is not built by default.
* config/rs6000.mh (NATDEPFILES): xcoffread.o is native only.
* doc/gdbint.texinfo: Eliminate IBM6000_HOST, document
IBM6000_TARGET.
Stu Grossman [Thu, 11 Feb 1993 02:38:19 +0000 (02:38 +0000)]
* findvar.c (read_var_value): If REG_STRUCT_HAS_ADDR, then set
VALUE_LVAL to be lval_memory so that we don't try to modify wild
register numbers when user tries to modify elements in structs
passed as arguments.
* inflow.c (child_terminal_info): Move banner outside of system
specific #ifdefs.
* tm-hppa.h (REG_STRUCT_HAS_ADDR): Define this for HPPA, which
passes struct/union arguments by address.
Ian Lance Taylor [Wed, 10 Feb 1993 23:38:11 +0000 (23:38 +0000)]
Wed Feb 10 15:34:46 1993 Ian Lance Taylor (ian@cygnus.com)
* Based on patch from Martin Walker <maw@netcom.com>:
* nm-i386sco4.h: New file. Like nm-i386sco.h, but define
ATTACH_DETACH, PTRACE_ATTACH and PTRACE_DETACH.
* config/i386sco4.mh (NAT_FILE): Use nm-i386sco4.h.
Tue Feb 9 12:42:27 1993 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: Various changes to eliminate a level of make
recursion and reduce the required command line length.
(BASE_FLAGS_TO_PASS): New variable holding flags passed to all
sub-makes.
(EXTRA_HOST_FLAGS, EXTRA_TARGET_FLAGS, EXTRA_GCC_FLAGS): New
variables holding settings for specific sub-makes.
(FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS, GCC_FLAGS_TO_PASS): Rewrote
in terms of BASE_FLAGS_TO_PASS.
(TARGET_LIBS): New variable listing directories which use
TARGET_FLAGS_TO_PASS.
(subdir_do): Eliminated.
(do-*): New set of targets to replace subdir_do.
(various): All targets which used subdir_do now depend on do-*.
(local-clean): Renamed from do_clean.
(local-distclean): New target, dependency of distclean and
realclean.
(install-info): Don't create directories. Depend on dir.info
rather than calling make recursively.
(install-dir.info): Eliminated.
(install-info-dirs): Create all info directories here.
(dir.info): Depend upon do-install-info.
John Gilmore [Tue, 9 Feb 1993 08:42:20 +0000 (08:42 +0000)]
* stabsread.c (define_symbol): Complain about unrecognized names
that begin with CPLUS_MARKER (often '$'), but don't die. Fix
suggested by gb@cs.purdue.edu (Gerald Baumgartner).
(read_cpp_abbrev): Don't use the class name as part of the
vtable pointer member name (_vptr$) in $vf abbrevs or unrecognized
abbrevs. Inspired by Mike Tiemann.
(read_tilde_fields): Comment. Remove ancient dead code.
Remove erroneous but non-dead code. Simplify. Add complaints.
(in general): Remove extraneous (parentheses) in return
statements.
John Gilmore [Fri, 5 Feb 1993 22:09:17 +0000 (22:09 +0000)]
Fix long file name bug reported on SCO Open Desktop 2.0 by Ulf Lunde
<Ulf.Lunde@kvatro.no> and Dag H. Wanvik <Dag.H.Wanvik@kvatro.no>.
* coffread.c (getfilename): Eliminate COFF_NO_LONG_FILE_NAMES
test, which is apparently left over from when we used native
include files and couldn't depend on the member names being there.
* tm-3b1.h, tm-altos.h, tm-i386v.h: Don't set it.
ALso fix this in tm-i860.h which isn't ChangeLogged since it's sanitized out
for lack of paperwork.
Thu Feb 4 12:35:02 1993 Ian Lance Taylor (ian@cygnus.com)
* libecoff.h: New file. Defines ECOFF backend data for gdb.
* coff-mips.c: Now includes libecoff.h.
(ecoff_data_type): Moved to libecoff.h.
(ecoff_slurp_symbolic_info): Made globally visible so that gdb can
call it. If there is ever another ECOFF target, this and the
swapping functions should be accessed via an ECOFF specific target
vector.
Makefile.in (coff-mips.o): Depends on libecoff.h.
John Gilmore [Thu, 4 Feb 1993 10:30:19 +0000 (10:30 +0000)]
* Makefile.in (TARDIRS): Add sparclite demo dir.
(*.tab.c): Change dependency on Makefile to depend on
Makefile.in, otherwise it always rebuilds after configuring.
Force output *.tab.c file into current directory even in "make"
versions that rewrite dependent file names used in command lines.
* TODO: Remove some things we did.
* am29k-opcode.h, convx-opcode: Remove; now in ../include/opcode.
* os68k-xdep.c: Remove; useless file (os68k is a target only).
* convex-pinsn.c: Use ../include/opcode/convex.h. Add CONST.
* symtab.h: Eliminate unnamed unions and structs.
John Gilmore [Thu, 4 Feb 1993 10:08:35 +0000 (10:08 +0000)]
* a29k.h: Remove RCS crud, update GPL to v2, update copyrights.
* convex.h: Added, from GDB's convx-opcode.h. Added CONST to all
initialized structs in it.