Ian Lance Taylor [Wed, 12 May 1993 21:42:20 +0000 (21:42 +0000)]
* coff-mips.c: Include libaout.h and aout/aout64.h to get
definitions for N_SET[ATDB].
(ecoff_howto_table): Moved near top of file.
(ecoff_set_symbol_info): If a STABS symbol of type N_SET[ATDB] is
seen, cook up a constructor section of the same name and put in a
reloc pointing to the symbol. This lets the GNU linker build
global constructors and destructors without using collect.
Fred Fish [Tue, 11 May 1993 17:45:22 +0000 (17:45 +0000)]
* README: Update known bugs to include the Solaris bug that
leaves core dumps in the current directory when restarting the
inferior with "run". Expand on the testsuite information.
Fred Fish [Sat, 8 May 1993 19:42:07 +0000 (19:42 +0000)]
* config/pa/xm-hppah.h (MALLOC_INCOMPATIBLE): Define it, and
include declarations for malloc/realloc/free. Both malloc and
realloc return 'void *' for non-ANSI compilations.
Fred Fish [Fri, 7 May 1993 04:02:16 +0000 (04:02 +0000)]
* core.c (dis_asm_read_memory): Cast second arg of
target_read_memory to "char *".
* breakpoint.c (watchpoint_check): Change arg type from PTR to
"char *", to match other functions called by catch_errors().
Roland Pesch [Fri, 7 May 1993 00:49:33 +0000 (00:49 +0000)]
* gdb.texinfo (Shell Commands): do not mention SHELL env var in
DOSHOST configuration of manual. (At least for the nonce, since
precisely how this works under DOS seems to depend on mysteries known
only to DJ Delorie, which are not easily fathomed from his source.)
Roland Pesch [Thu, 6 May 1993 23:48:43 +0000 (23:48 +0000)]
New material for MIPS Remote thanks to Ian, and minor miscellany:
* all-config.texi (MIPS) new switch.
* gdbinv-s.texi (Nindy Options) Remove two instances of future
tense; (MIPS Remote) new node.
* gdb.texinfo (passim) rephrases to work around makeinfo @value
bug; (Environment) less passive, other small cleanups in text about
.cshrc/.bashrc; (Invoking GDB) new MIPS Remote menu entry;
(Remote) new MIPS Remote menu entry.
Stu Grossman [Wed, 5 May 1993 23:53:50 +0000 (23:53 +0000)]
* Patches from Jeffrey Law <[email protected]>.
* gdb/hppa-tdep.c: Declare frame_saved_pc.
(frameless_function_invocation): New function.
(frame_saved_pc, init_extra_frame_info): Use
frameless_function_invocation.
* gdb/config/pa/tm-hppa.h (SAVED_PC_AFTER_CALL): Use saved_pc_after
call instead of just grabbing the value currently in %r2.
(FRAMELESS_FUNCTION_INVOCATION): Use frameless_function_invocation.
* gdb/config/pa/tm-hppah.h (SAVED_PC_AFTER_CALL): Delete private
definition and use the common one in tm-hppa.h.
Stu Grossman [Wed, 5 May 1993 23:52:10 +0000 (23:52 +0000)]
* Patches from Jeffrey Law <[email protected]>.
* gdb/hppa-tdep.c: Declare frame_saved_pc.
(frameless_function_invocation): New function.
(frame_saved_pc, init_extra_frame_info): Use
frameless_function_invocation.
* gdb/config/tm-hppa.h (SAVED_PC_AFTER_CALL): Use saved_pc_after
call instead of just grabbing the value currently in %r2.
(FRAMELESS_FUNCTION_INVOCATION): Use frameless_function_invocation.
* gdb/config/tm-hppah.h (SAVED_PC_AFTER_CALL): Delete private
definition and use the common one in tm-hppa.h.
Stu Grossman [Wed, 5 May 1993 22:39:23 +0000 (22:39 +0000)]
* Patches from Jeffrey Law <[email protected]>.
* gdb/hppa-tdep.c (frame_chain_valid): If "use_unwind" is true, then
use unwind descriptors to determine if the frame chain is valid.
Stu Grossman [Wed, 5 May 1993 22:26:57 +0000 (22:26 +0000)]
* Patches from Jeffrey Law <[email protected]>.
* gdb/hppa-pinsn.c (print_insn): Handle 'r' and 'R' for break, rsm,
and ssm instructions.
* gdb/hppa-tdep.c (extract_5r_store, extract_5R_store): New
helper functions for print_insn.
Ken Raeburn [Wed, 5 May 1993 20:50:53 +0000 (20:50 +0000)]
hp300 support. Emulation mode fix for 386bsd and linux.
Reworded some messages.
Warn if bfd-assembler explicit selection on command line is overridden by
target requiring it be set. (No targets override to clear currently.)
Ken Raeburn [Wed, 5 May 1993 20:32:12 +0000 (20:32 +0000)]
PR fix for debug symbols referring to other symbols, then same name defined
as common.
(crawl_symbols): Don't clear sy_forward field.
(yank_symbols): Merge symbols only if sy_forward is null.
* config/obj-ecoff.c (init_file): Set fMerge to 0 since dbx seems
to want it that way.
(ecoff_build_symbols): Turn local st_Proc symbols into
st_StaticProc symbols. Set index field of external st_Proc and
st_staticProc symbols correctly.
* config/tc-mips.h (NO_LISTING): Don't define. People might want
listings.
Fred Fish [Wed, 5 May 1993 02:48:28 +0000 (02:48 +0000)]
* Makefile.in (VERSION): Bump to 4.8.5
* Makefile.in (INCLUDE_CFLAGS): Add BFD_DIR and READLINE_DIR
directories to include search path.
* Makefile.in (CLIBS, CDEPS, ADD_FILES, ADD_DEPS): Clean up
whitespace.
* Makefile.in (depend): For gcc -MM line, use INTERNAL_CFLAGS
* Makefile.in (main.o, dbxread.o, coffread.o, mipsread.o,
elfread.o, dwarfread.o, stabsread.o, xcoffread.o, xcoffexec.o,
xdr_ld.o, xdr_rdb.o, nindy.o, Onindy.o, ttybreak.o, ttyflush.o,
udr.o, udip2soc.o): Remove explicit rules, use the ones that
are automatically generated in "depend".
* Makefile.in (paread.o): Document why a dependency doesn't get
automatically generated in "depend" and leave this explicit rule
in for now (FIXME).
* depend: Update to latest automatically generated version.
* nindy-share/Onindy.c, nindy-share/nindy.c: convert malloc calls
to xmalloc. Include defs.h. Rename local macro from
REGISTER_BYTES to NINDY_REGISTER_BYTES to avoid conflict with
defs.h.