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.
Fred Fish [Sun, 2 May 1993 18:57:03 +0000 (18:57 +0000)]
* defs.h (UINT_MAX, LONG_MAX, INT_MAX, INT_MIN): Replace hex
constants with slightly more portable definitions (still depends
on 2's complement arithmetic though).
* config/i386/nm-linux.h: Define NO_SYS_REG_H for no <sys/reg.h>.
* i386v-nat.c (sys/reg.h): Conditionalize include on
NO_SYS_REG_H. Linux doesn't have <sys/reg.h>.
* ser-unix.c (termio.h): Include <termio.h> like other files that
include termio.h, not <sys/termio.h> which may not exist (on
linux for example).
Fred Fish [Sun, 2 May 1993 18:43:09 +0000 (18:43 +0000)]
* configure.in (i[34]86-*-linux*): Add; bfd_target = i386-linux.
* configure.in (*-*-linux*): Remove until linux port for a
non-i386/i486 system is actually available.
Fred Fish [Sat, 1 May 1993 23:09:11 +0000 (23:09 +0000)]
* valprint.c (print_longest): Change format parameter from a
'char' to an 'int'. We can't have 'char' parameters with the
current coding style, where we mix prototypes with pre-ANSI
style declarations.
* value.h (print_longest): Change format parameter in prototype
from a 'char' to an 'int'.
Peter Schauer [Sat, 1 May 1993 09:55:01 +0000 (09:55 +0000)]
* config/mips/tm-mips.h (STABS_REG_TO_REGNUM): Match it with the gcc
definition.
* config/mips/tm-irix3.h (STABS_REG_TO_REGNUM): Add.
* irix4-nat.c (fill_fpregset): Fix bug with indexing into fpregsetp.
Stu Grossman [Sat, 1 May 1993 01:39:20 +0000 (01:39 +0000)]
* The following patches are from Jeffrey Law <[email protected]>.
* config/pa/hppabsd.mh: Add more files to NATDEPFILES.
* config/pa/xm-hppa[bh].h: Define FIVE_ARG_PTRACE.
* hppab-nat.c: Delete WANT_NATIVE_TARGET ifdefs.
ptrace needs 5 arguments, #define ptrace to always
pass zero as the 5th argument.
Stu Grossman [Sat, 1 May 1993 01:19:43 +0000 (01:19 +0000)]
* The following patches are from Jeffrey Law <[email protected]>.
* config/pa/hppabsd.mh: Add more files to NATDEPFILES.
* config/pa/xm-hppa[bh].h: Define FIVE_ARG_PTRACE.
* hppab-nat.c: Delete WANT_NATIVE_TARGET ifdefs.
ptrace needs 5 arguments, #define ptrace to always
pass zero as the 5th argument.
Stu Grossman [Sat, 1 May 1993 00:57:03 +0000 (00:57 +0000)]
* The following patches are from Jeffrey Law <[email protected]>.
* hppa.c (hppa_core_file_p): Provide a temporary dummy routine
for HOST_HPPABSD.
* bfd/hosts/hppabsd.h: Fix declarations of malloc and free.
* bfd/libhppa.h: Include sysdep here. Conditionalize
includes based on HOST_HPPAHPUX or HOST_HPPABSD.
Provide definitions for MAXCOMLEN and _PA_RISC_ID suitable
for BSD.
Fred Fish [Fri, 30 Apr 1993 06:32:38 +0000 (06:32 +0000)]
* Makefile.in (gdb.tar.Z): Make prototype gdb testsuite directory
at the same time we make the prototype gdb directory.
* Makefile.in (make-gdb.tar.Z): Make the testsuite distribution
files at the same time as the gdb base release distribution.
Fred Fish [Fri, 30 Apr 1993 06:28:30 +0000 (06:28 +0000)]
* Makefile.in (make-proto-testsuite.dir): New target to make
prototype testsuite tree.
* Makefile.in (TAGS): Remove use of DEPFILES, it may be empty.
In any case, it is a subset of the ALLDEPFILES list, which is
part of SOURCES, which is part of TAGFILES, so it's redundant.