Commit Graph

5916 Commits

Author SHA1 Message Date
David D. Zuhn
a77fe62798 don't set INSTALL=cp anymore 1993-06-16 00:08:27 +00:00
David D. Zuhn
c97b9003b0 remove parentdir support; use INSTALL_XFORM 1993-06-16 00:03:44 +00:00
David D. Zuhn
98a7278bc0 remove parentdir support 1993-06-16 00:01:46 +00:00
David D. Zuhn
f35c616002 update install usage 1993-06-15 23:49:46 +00:00
Ken Raeburn
638616cafb Second try at getting elfNAME macros right.
Under ANSI C, "32_" is not a valid pp-token...
1993-06-15 23:29:48 +00:00
David D. Zuhn
bf16876816 a portable install script, also creates parent directories 1993-06-15 22:18:29 +00:00
Ken Raeburn
e6858d1b68 (elfNAME, ElfNAME): Use CAT directly rather than going through NAME.
(bfd_elf32_new_section_hook): Declare.
1993-06-15 21:44:03 +00:00
Stu Grossman
5aef7c67a3 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'.
1993-06-15 20:37:37 +00:00
K. Richard Pixley
568947885c make rpcTimeout user settable 1993-06-15 19:28:40 +00:00
Ken Raeburn
8bd4e54bc3 protect against multiple inclusions 1993-06-15 18:36:11 +00:00
Stu Grossman
7747812757 * hppa.c (hppa_get_symbol_info): Remove redundant copy.
* Expurgate random DEFUNs that have crept in.
1993-06-15 02:06:29 +00:00
Jim Kingdon
4aadcb0210 add isi-xdep.c 1993-06-14 21:20:56 +00:00
Jim Kingdon
df0f0dcced * 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.
1993-06-14 20:50:12 +00:00
Ian Lance Taylor
672f4045d6 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.
1993-06-14 20:17:35 +00:00
Jim Kingdon
bd50d1b077 * 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.
1993-06-14 19:23:37 +00:00
Ian Lance Taylor
75217b369e Corrected if test for build native, and added else true for Ultrix. 1993-06-14 19:17:29 +00:00
Ian Lance Taylor
9caf15da51 * coff-mips.c (ecoff_set_symbol_info): Constructor sections should
only be aligned to a 4 byte boundary.
1993-06-14 17:25:15 +00:00
Jim Kingdon
c76f7bb7c1 * gdb.t12/scope.exp: Test printing of variables before run. 1993-06-14 16:43:24 +00:00
Jim Kingdon
3a6249b1fe * isi-xdep.c: New file.
* config/m68k/isi.mh (XDEPFILES): Add isi-xdep.o
1993-06-14 16:27:39 +00:00
Jim Kingdon
69dbdc0535 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
printed in wrong order due to sorting.
1993-06-14 16:17:30 +00:00
Jim Kingdon
f92d524939 * config/m68k/xm-news.h: Include <sys/param.h>. 1993-06-13 20:19:45 +00:00
Jim Kingdon
68dd30141d * Makefile.in: Add distclean, realclean, and mostlyclean targets. 1993-06-13 20:11:10 +00:00
Jim Kingdon
b65a4fe520 * Makefile.in ({real,dist}clean): Remove sysdep.h. 1993-06-13 20:05:45 +00:00
Jim Kingdon
a1330c48fa * {all,h8}-config.texi: Rename to *-cfg.texi for 14 char filenames. 1993-06-13 19:55:35 +00:00
Jim Kingdon
b397d5b8e1 * Makefile.in (realclean): Remove info and dvi files too. 1993-06-13 19:54:31 +00:00
Jim Kingdon
dbbf95081c * 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.
1993-06-13 19:41:01 +00:00
Jim Kingdon
198133b9a3 * valprint.c (_initialize_valprint): Use c->function.sfunc not just
c->function.
1993-06-13 18:59:29 +00:00
Jim Kingdon
bc447a3931 * config/m68k/tm-sun3.h: Define SUN_FIXED_LBRAC_BUG to 0. 1993-06-13 18:47:22 +00:00
Jim Kingdon
a5e6391b44 * 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 ().
1993-06-13 18:46:47 +00:00
Jim Kingdon
9748446f53 * 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).
1993-06-13 18:16:42 +00:00
Fred Fish
b025842760 Add .Sanitize file. 1993-06-13 18:08:35 +00:00
Jim Kingdon
ff56144ec8 * solib.c (solib_create_inferior_hook) [SVR4_SHARED_LIBS]:
Don't try to get the debug base yet.
1993-06-13 03:18:18 +00:00
Jim Kingdon
b0f61d04f6 * valprint.c (print_hex_chars): Use local_hex_format_{pre,suf}fix.
* printcmd.c (print_scalar_formatted): Use val_print_type_code_int.
1993-06-13 02:32:05 +00:00
Jim Kingdon
8357834fbe * 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.
1993-06-13 02:26:18 +00:00
Jim Kingdon
361daf65ac * gdb.texinfo: Change accordingly. 1993-06-13 01:24:24 +00:00
Jim Kingdon
c15024ee51 * {all,h8}-config.texi: Rename to *-cfg.texi for 14 char filenames.
* Makefile.in: Change accordingly.  gdb-config.texi -> gdb-cfg.texi.
1993-06-13 01:19:45 +00:00
Jim Kingdon
6d792f42f3 * hosts/std-host.h (struct int64e_struct): Remove needless typedef
keyword.
1993-06-12 23:15:20 +00:00
Fred Fish
80af2bd319 * gdb.t00/teststrategy.exp: Fix expected results for printing
user entered string constant.  Is array of char, prints with no
	address.
1993-06-12 23:13:48 +00:00
Jim Kingdon
f0f4b04e1e * stabs.texinfo: Clean up N_{L,R}BRAC. Discuss what addresses of
N_{L,R}BRAC,N_SLINE are relative to.
1993-06-12 23:11:31 +00:00
Jim Kingdon
6e6656cc02 x 1993-06-12 22:13:44 +00:00
Jim Kingdon
7c86bda2a1 * 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.
1993-06-12 22:12:45 +00:00
Fred Fish
dd9d4fa31c * 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.
1993-06-12 22:09:59 +00:00
Fred Fish
ce13daa7df * 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.
1993-06-12 22:03:27 +00:00
Ken Raeburn
998f2ef343 mips-dis.c needn't choke on HOST_64_BIT 1993-06-11 23:39:25 +00:00
Ken Raeburn
112087edcc 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.
1993-06-11 23:20:54 +00:00
K. Richard Pixley
57cb418a93 revised format for config info 1993-06-11 22:23:17 +00:00
Jim Kingdon
af08a43ac4 * Makefile.in (GDBvn.texi): Update atomically. 1993-06-11 22:16:47 +00:00
Jim Kingdon
574dac8e6d * 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.
1993-06-11 21:53:49 +00:00
Jim Kingdon
d146827310 update to new automatically built version 1993-06-11 21:23:12 +00:00
Ian Lance Taylor
83909c43b6 (mips_fetch_registers): Pass a pointer to SWAP_TARGET_AND_HOST,
not an integer.
1993-06-11 20:51:22 +00:00