Steve Chamberlain [Wed, 16 Jun 1993 19:58:37 +0000 (19:58 +0000)]
* gmon.h, gprof.h: structs of chars used to hold external
representations.
* gprof.c (getpfile, openpfile, readsamples): Swap data in using
new structures.
Fred Fish [Wed, 16 Jun 1993 19:28:19 +0000 (19:28 +0000)]
* Makefile.in (depend): Bfd.h keeps moving, keep up with it.
* alldeps.mak, depend: Update to latest automatically built
versions.
Roland Pesch [Wed, 16 Jun 1993 19:08:14 +0000 (19:08 +0000)]
Clarifications based on Ian Taylor review of manual for FSF.
Roland Pesch [Wed, 16 Jun 1993 19:03:53 +0000 (19:03 +0000)]
* gdb.texinfo (Copying): delete this node and references to it;
RMS says this manual need not carry GPL. (passim): Improvements
from last round at FSF, largely due to Ian Taylor review, and
minor formatting improvements.
* gdbinv-s.texi (passim): Improvements from last round at FSF,
largely due to Ian Taylor review. (Debug Session): minor edits to
new text.
Fred Fish [Wed, 16 Jun 1993 17:43:58 +0000 (17:43 +0000)]
Note that bfd.h has been removed.
Fred Fish [Wed, 16 Jun 1993 17:17:55 +0000 (17:17 +0000)]
* gdb.t00/teststrategy.exp: Rework to provide more useful
description of each test, fix problem with systems that define
ALIGN_STACK_ON_STARTUP code, other misc cleanups.
* gdb.t06/break.exp (test_next_with_recursion): Fix expected
results for "next over recursive call" so timeouts aren't taken
by error.
Ian Lance Taylor [Wed, 16 Jun 1993 14:29:19 +0000 (14:29 +0000)]
Build HP700 crosses with optimization.
Ken Raeburn [Wed, 16 Jun 1993 03:10:44 +0000 (03:10 +0000)]
(use full hostname in log entry)
Ken Raeburn [Wed, 16 Jun 1993 03:10:01 +0000 (03:10 +0000)]
look in ../include instead of ../bfd for bfd.h
Ken Raeburn [Wed, 16 Jun 1993 03:07:27 +0000 (03:07 +0000)]
Makefile.in, aout.sc-sh, hp3hpux.sh changes
Ken Raeburn [Wed, 16 Jun 1993 03:06:33 +0000 (03:06 +0000)]
* aout.sc-sh: Add SHLIB_PATH like STACKZERO. Make STACKZERO
dependent on RELOCATING, not RELOCATION.
* hp3hpux.sh (SHLIB_PATH): Define it.
Ken Raeburn [Wed, 16 Jun 1993 02:36:48 +0000 (02:36 +0000)]
now generated at build time
Ken Raeburn [Wed, 16 Jun 1993 02:32:27 +0000 (02:32 +0000)]
allow "make bfd.h" to still dtrt
Ken Raeburn [Wed, 16 Jun 1993 02:25:53 +0000 (02:25 +0000)]
updated
Ken Raeburn [Wed, 16 Jun 1993 02:22:02 +0000 (02:22 +0000)]
Move bfd.h to ../include. (Directory is created if it doesn't exist.)
Insert sysdep.h into it, so manually including it isn't required for every
single file using bfd.h.
Search ../include when compiling.
Ken Raeburn [Wed, 16 Jun 1993 02:08:29 +0000 (02:08 +0000)]
Put in marker for sysdep.h inclusion.
(int64_type, uint64_type): Define when using "long long" fallback for
HOST_64_BIT.
Ken Raeburn [Wed, 16 Jun 1993 02:05:13 +0000 (02:05 +0000)]
sparc-dis, configure/Makefile changes
Ken Raeburn [Wed, 16 Jun 1993 01:51:56 +0000 (01:51 +0000)]
comment branches in ARCH_SIZE test
Ken Raeburn [Wed, 16 Jun 1993 01:46:54 +0000 (01:46 +0000)]
search ../include, and not ../bfd
David D. Zuhn [Wed, 16 Jun 1993 01:00:29 +0000 (01:00 +0000)]
remove parentdir support
David D. Zuhn [Wed, 16 Jun 1993 00:45:43 +0000 (00:45 +0000)]
* Makefile.in (install, install-info): remove parentdir support,
use INSTALL_XFORM; define INSTALL_XFORM
David D. Zuhn [Wed, 16 Jun 1993 00:44:27 +0000 (00:44 +0000)]
remove parentdir support
David D. Zuhn [Wed, 16 Jun 1993 00:24:54 +0000 (00:24 +0000)]
remove parentdir support
David D. Zuhn [Wed, 16 Jun 1993 00:16:23 +0000 (00:16 +0000)]
remove accidental INSTALL change
David D. Zuhn [Wed, 16 Jun 1993 00:15:53 +0000 (00:15 +0000)]
remove parentdir support
David D. Zuhn [Wed, 16 Jun 1993 00:08:27 +0000 (00:08 +0000)]
don't set INSTALL=cp anymore
David D. Zuhn [Wed, 16 Jun 1993 00:03:44 +0000 (00:03 +0000)]
remove parentdir support; use INSTALL_XFORM
David D. Zuhn [Wed, 16 Jun 1993 00:01:46 +0000 (00:01 +0000)]
remove parentdir support
David D. Zuhn [Tue, 15 Jun 1993 23:49:46 +0000 (23:49 +0000)]
update install usage
Ken Raeburn [Tue, 15 Jun 1993 23:29:48 +0000 (23:29 +0000)]
Second try at getting elfNAME macros right.
Under ANSI C, "32_" is not a valid pp-token...
David D. Zuhn [Tue, 15 Jun 1993 22:18:29 +0000 (22:18 +0000)]
a portable install script, also creates parent directories
Ken Raeburn [Tue, 15 Jun 1993 21:44:03 +0000 (21:44 +0000)]
(elfNAME, ElfNAME): Use CAT directly rather than going through NAME.
(bfd_elf32_new_section_hook): Declare.
Stu Grossman [Tue, 15 Jun 1993 20:37:37 +0000 (20:37 +0000)]
Changes from Jeff Law, law@cs.utah.edu:
* hppa-dis.c: Fix typo. 'a' and 'd' were reversed.
Do not print a space before the completers specified by
'a' and 'd'.
K. Richard Pixley [Tue, 15 Jun 1993 19:28:40 +0000 (19:28 +0000)]
make rpcTimeout user settable
Ken Raeburn [Tue, 15 Jun 1993 18:36:11 +0000 (18:36 +0000)]
protect against multiple inclusions
Stu Grossman [Tue, 15 Jun 1993 02:06:29 +0000 (02:06 +0000)]
* hppa.c (hppa_get_symbol_info): Remove redundant copy.
* Expurgate random DEFUNs that have crept in.
Jim Kingdon [Mon, 14 Jun 1993 21:20:56 +0000 (21:20 +0000)]
add isi-xdep.c
Jim Kingdon [Mon, 14 Jun 1993 20:50:12 +0000 (20:50 +0000)]
* main.c, symfile.c, source.c, exec.c, core.c: Use it for
"directory", "source", "cd", "symbol-file" "add-symbol-file",
"load", "file", "exec-file", "core-file" commands.
Ian Lance Taylor [Mon, 14 Jun 1993 20:17:35 +0000 (20:17 +0000)]
o - size
Currently assumes that the only relevant sections are named .text,
.data and either .bss or .stack. This is not very general, and it
doesn't work for ECOFF.
Jim Kingdon [Mon, 14 Jun 1993 19:23:37 +0000 (19:23 +0000)]
* main.c, gdbcmd.h: Add function filename_completer.
source.c: Use it for "directory" command.
(But '/' is a word break, limiting usefulness; see comments).
* source.c (mod_path): Warning not error if can't find directory.
Ian Lance Taylor [Mon, 14 Jun 1993 19:17:29 +0000 (19:17 +0000)]
Corrected if test for build native, and added else true for Ultrix.
Ian Lance Taylor [Mon, 14 Jun 1993 17:25:15 +0000 (17:25 +0000)]
* coff-mips.c (ecoff_set_symbol_info): Constructor sections should
only be aligned to a 4 byte boundary.
Jim Kingdon [Mon, 14 Jun 1993 16:43:24 +0000 (16:43 +0000)]
* gdb.t12/scope.exp: Test printing of variables before run.
Jim Kingdon [Mon, 14 Jun 1993 16:27:39 +0000 (16:27 +0000)]
* isi-xdep.c: New file.
* config/m68k/isi.mh (XDEPFILES): Add isi-xdep.o
Jim Kingdon [Mon, 14 Jun 1993 16:17:30 +0000 (16:17 +0000)]
* gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
printed in wrong order due to sorting.
Jim Kingdon [Sun, 13 Jun 1993 20:19:45 +0000 (20:19 +0000)]
* config/m68k/xm-news.h: Include <sys/param.h>.
Jim Kingdon [Sun, 13 Jun 1993 20:11:10 +0000 (20:11 +0000)]
* Makefile.in: Add distclean, realclean, and mostlyclean targets.
Jim Kingdon [Sun, 13 Jun 1993 20:05:45 +0000 (20:05 +0000)]
* Makefile.in ({real,dist}clean): Remove sysdep.h.
Jim Kingdon [Sun, 13 Jun 1993 19:55:35 +0000 (19:55 +0000)]
* {all,h8}-config.texi: Rename to *-cfg.texi for 14 char filenames.
Jim Kingdon [Sun, 13 Jun 1993 19:54:31 +0000 (19:54 +0000)]
* Makefile.in (realclean): Remove info and dvi files too.
Jim Kingdon [Sun, 13 Jun 1993 19:41:01 +0000 (19:41 +0000)]
* m88k-tdep.c (IEEE_isNAN): Remove.
config/m88k/tm-m88k.h (INVALID_FLOAT): Return 0. This was the same
broken isNAN as on the mips.
Jim Kingdon [Sun, 13 Jun 1993 18:59:29 +0000 (18:59 +0000)]
* valprint.c (_initialize_valprint): Use c->function.sfunc not just
c->function.
Jim Kingdon [Sun, 13 Jun 1993 18:47:22 +0000 (18:47 +0000)]
* config/m68k/tm-sun3.h: Define SUN_FIXED_LBRAC_BUG to 0.
Jim Kingdon [Sun, 13 Jun 1993 18:46:47 +0000 (18:46 +0000)]
* dbxread.c (process_one_symbol): If SUN_FIXED_LBRAC_BUG is not
defined, don't worry about Sun's silly LBRAC bug.
* dbxread.c (process_one_symbol): If there's a symbol before an
N_SO, don't error().
(case N_BCOMM): complain () not error ().
Jim Kingdon [Sun, 13 Jun 1993 18:16:42 +0000 (18:16 +0000)]
* defs.h, main.c (catch_errors): Add return_mask arg.
stack.c (print_frame_info): Pass RETURN_MASK_ERROR.
other callers: Pass RETURN_MASK_ALL.
(return_to_top_level), callers: Add return_reason arg.
* utils.c (quit):
Use return_to_top_level (RETURN_QUIT) instead of error ().
* main.c (main), tm-nindy960.h (ADDITIONAL_OPTION_HANDLER):
Use SET_TOP_LEVEL not setjmp (to_top_level).
* remote-nindy.c: Use catch_errors not setjmp (to_top_level).
Fred Fish [Sun, 13 Jun 1993 18:08:35 +0000 (18:08 +0000)]
Add .Sanitize file.
Jim Kingdon [Sun, 13 Jun 1993 03:18:18 +0000 (03:18 +0000)]
* solib.c (solib_create_inferior_hook) [SVR4_SHARED_LIBS]:
Don't try to get the debug base yet.
Jim Kingdon [Sun, 13 Jun 1993 02:32:05 +0000 (02:32 +0000)]
* valprint.c (print_hex_chars): Use local_hex_format_{pre,suf}fix.
* printcmd.c (print_scalar_formatted): Use val_print_type_code_int.
Jim Kingdon [Sun, 13 Jun 1993 02:26:18 +0000 (02:26 +0000)]
* dbxread.c (process_one_symbol): Set n_opt_found based on whether
a non-gcc N_OPT symbol is found. Make SUN_FIXED_LBRAC_BUG a macro
which returns 0 or 1 to say whether to do it.
* config/sparc/sun4{sol2,os4}.h
(SUN_FIXED_LBRAC_BUG,VARIABLES_INSIDE_BLOCK): Use n_opt_found so
the right thing happens for both acc and SunOS4 /bin/cc.
Jim Kingdon [Sun, 13 Jun 1993 01:24:24 +0000 (01:24 +0000)]
* gdb.texinfo: Change accordingly.
Jim Kingdon [Sun, 13 Jun 1993 01:19:45 +0000 (01:19 +0000)]
* {all,h8}-config.texi: Rename to *-cfg.texi for 14 char filenames.
* Makefile.in: Change accordingly. gdb-config.texi -> gdb-cfg.texi.
Jim Kingdon [Sat, 12 Jun 1993 23:15:20 +0000 (23:15 +0000)]
* hosts/std-host.h (struct int64e_struct): Remove needless typedef
keyword.
Fred Fish [Sat, 12 Jun 1993 23:13:48 +0000 (23:13 +0000)]
* gdb.t00/teststrategy.exp: Fix expected results for printing
user entered string constant. Is array of char, prints with no
address.
Jim Kingdon [Sat, 12 Jun 1993 23:11:31 +0000 (23:11 +0000)]
* stabs.texinfo: Clean up N_{L,R}BRAC. Discuss what addresses of
N_{L,R}BRAC,N_SLINE are relative to.
Jim Kingdon [Sat, 12 Jun 1993 22:13:44 +0000 (22:13 +0000)]
x
Jim Kingdon [Sat, 12 Jun 1993 22:12:45 +0000 (22:12 +0000)]
* mips-tdep.c: Remove isa_NAN; it assumed sizeof(host int) == 4 and
probably contained byte-order sins too.
config/mips/tm-mips.h (INVALID_FLOAT): Define to 0 like most machines.
The IEEE_FLOAT code in print_floating takes care of it.
Fred Fish [Sat, 12 Jun 1993 22:09:59 +0000 (22:09 +0000)]
* gdb.t00/{default.exp, help.exp}: Account for changes to radix
commands.
* gdb.t16/gdbme.c: Add and use struct containing arrays of char.
* gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
* gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
of struct of char arrays.
* gdb.t00/radix.exp: New tests for radix commands.
Fred Fish [Sat, 12 Jun 1993 22:03:27 +0000 (22:03 +0000)]
* Makefile.in (VERSION): Bump to 4.9.2.
* c-valprint.c (c_val_print): For array of chars printed with
string syntax, don't print the address of the array. From
bothner@cygnus.com.
* c-exp.y (yylex): Recognize '.' as indicating a floating point
number regardless of the radix. From wilson@cygnus.com.
* valprint.c (set_input_radix_1, set_output_radix_1): New
prototypes and functions that do the actual radix setting work.
* valprint.c (set_radix, set_output_radix, set_input_radix):
Rewrite to use set_input_radix_1 and set_output_radix_1.
* valprint.c (initialize_valprint): Enable commands to
independently set and show input and output radices.
* valprint.c (show_radix): New prototype and function that
handles separate input and output radices.
Ken Raeburn [Fri, 11 Jun 1993 23:39:25 +0000 (23:39 +0000)]
mips-dis.c needn't choke on HOST_64_BIT
Ken Raeburn [Fri, 11 Jun 1993 23:20:54 +0000 (23:20 +0000)]
Lots of changes from Jeff Law for HPPA support:
Clean up cruft in opcode table; improve opcodes library disassembler; make
gdb use opcodes library disassembler.
K. Richard Pixley [Fri, 11 Jun 1993 22:23:17 +0000 (22:23 +0000)]
revised format for config info
Jim Kingdon [Fri, 11 Jun 1993 22:16:47 +0000 (22:16 +0000)]
* Makefile.in (GDBvn.texi): Update atomically.
Jim Kingdon [Fri, 11 Jun 1993 21:53:49 +0000 (21:53 +0000)]
* dbxread.c (process_one_symbol): Rather than having
BLOCK_ADDRESS_FUNCTION_RELATIVE a macro, make it a variable which
is true if we are doing stabs-in-elf, false otherwise.
config/sparc/tm-sun4sol2.h: Don't define it.
Jim Kingdon [Fri, 11 Jun 1993 21:23:12 +0000 (21:23 +0000)]
update to new automatically built version
Ian Lance Taylor [Fri, 11 Jun 1993 20:51:22 +0000 (20:51 +0000)]
(mips_fetch_registers): Pass a pointer to SWAP_TARGET_AND_HOST,
not an integer.
Ian Lance Taylor [Fri, 11 Jun 1993 20:35:35 +0000 (20:35 +0000)]
* remote-mips.c (mips_send_packet): Don't print garbage character
in debugging info.
(mips_request): Don't check that remote pid is 0, because
sometimes it isn't.
Jim Kingdon [Fri, 11 Jun 1993 20:31:37 +0000 (20:31 +0000)]
x
Jim Kingdon [Fri, 11 Jun 1993 20:06:41 +0000 (20:06 +0000)]
* stack.c (print_frame_info): Use catch_errors around print_frame_args.
Jim Kingdon [Fri, 11 Jun 1993 19:08:18 +0000 (19:08 +0000)]
* Makefile.in (install): Don't depend on gdb.
Jim Kingdon [Fri, 11 Jun 1993 19:00:25 +0000 (19:00 +0000)]
rename for 14-char filenames
David MacKenzie [Fri, 11 Jun 1993 18:39:25 +0000 (18:39 +0000)]
Add some nm comments.
Jim Kingdon [Fri, 11 Jun 1993 18:33:12 +0000 (18:33 +0000)]
* mips-tdep.c (isa_NAN): Don't return true on -0.
Jim Kingdon [Fri, 11 Jun 1993 18:29:50 +0000 (18:29 +0000)]
* Rename remote-es1800.c to remote-es.c
and remote-st2000.c to remote-st.c for 14-char filenames.
config/m68k/{es1800,st2000}: Use the new names.
Fred Fish [Fri, 11 Jun 1993 17:25:57 +0000 (17:25 +0000)]
* defs.h (INT_MAX): Cast unsigned shift result to int.
Jim Kingdon [Fri, 11 Jun 1993 16:23:55 +0000 (16:23 +0000)]
* m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes.
David Edelsohn [Fri, 11 Jun 1993 03:39:22 +0000 (03:39 +0000)]
* hosts/std-host.h (int64e_type): Fix definition.
David Edelsohn [Fri, 11 Jun 1993 03:38:16 +0000 (03:38 +0000)]
(int64e_type): Fix definition.
Jim Kingdon [Fri, 11 Jun 1993 03:11:32 +0000 (03:11 +0000)]
x
Per Bothner [Fri, 11 Jun 1993 00:34:26 +0000 (00:34 +0000)]
* objcopy.c (copy_object): Fix bad size passed to xmalloc().
Jim Kingdon [Thu, 10 Jun 1993 22:43:53 +0000 (22:43 +0000)]
* gdb.t16/printcmd.exp: Don't print variables before running program.
* gdb.t06/break.exp: Don't require envp argument to main.
* gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
* gdb.t02/whatis.exp, gdb.t11/list.exp:
Add xfails for rs6000.
* gdb.t02/whatis.exp: Re-write other tests
not to re-test something we already tested.
* gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
each type used has a variable of that type.
Steve Chamberlain [Thu, 10 Jun 1993 21:20:25 +0000 (21:20 +0000)]
Checkpoint for dje.
Ian Lance Taylor [Thu, 10 Jun 1993 21:02:59 +0000 (21:02 +0000)]
* ldexp.c (exp_fold_tree): Don't lose the old flag bits.
* ldgram.y (statement_list_opt): New nonterminal, either empty or
statement_list.
(section): Use statement_list_opt, not statement_list.
* m68kcoff.sc-sh: Gather constructors and destructors and define
__CTOR_LIST__ and __DTOR_LIST__ appropriately.
* sa29200.sc-sh: Gather constructors and destructors and define
___CTOR_LIST__ and ___DTOR_LIST__ appropriately.
Steve Chamberlain [Thu, 10 Jun 1993 20:38:39 +0000 (20:38 +0000)]
Checkpoint for dje.
Fred Fish [Thu, 10 Jun 1993 20:31:47 +0000 (20:31 +0000)]
* elfread.c (elf_symtab_read): Add bfd section address to bfd
symbols, now that they are section relative.
* solib.c (bfd_lookup_symbol): Ditto.
Steve Chamberlain [Thu, 10 Jun 1993 20:31:17 +0000 (20:31 +0000)]
Add ansidecl.h
Ian Lance Taylor [Thu, 10 Jun 1993 18:51:48 +0000 (18:51 +0000)]
* coff-mips.c (ecoff_sec_to_styp_flags): Use STYP_MIPS_INIT for
section named _INIT. Don't set STYP_TEXT unless SEC_CODE is set.
(ecoff_styp_to_sec_flags): Treat a STYP_MIPS_INIT section like
a STYP_TEXT section.
Jim Kingdon [Thu, 10 Jun 1993 18:26:53 +0000 (18:26 +0000)]
* Makefile.in: Add mostlyclean, distclean, and realclean targets.
Jim Kingdon [Thu, 10 Jun 1993 18:17:07 +0000 (18:17 +0000)]
* Makefile.in (depend): Add bfd -I's for paread.c and xcoffexec.c
depend: Updated accordingly.
Ken Raeburn [Thu, 10 Jun 1993 01:35:17 +0000 (01:35 +0000)]
I don't think this file is needed any more
Ken Raeburn [Thu, 10 Jun 1993 01:33:42 +0000 (01:33 +0000)]
patches from tege