Commit Graph

6047 Commits

Author SHA1 Message Date
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
Ian Lance Taylor
f63f30e2cc * 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.
1993-06-11 20:35:35 +00:00
Jim Kingdon
49b12db0ce x 1993-06-11 20:31:37 +00:00
Jim Kingdon
c94e7e757b * stack.c (print_frame_info): Use catch_errors around print_frame_args. 1993-06-11 20:06:41 +00:00
Jim Kingdon
702c0ff7fb * Makefile.in (install): Don't depend on gdb. 1993-06-11 19:08:18 +00:00
Jim Kingdon
10d7cfa7cf rename for 14-char filenames 1993-06-11 19:00:25 +00:00
David MacKenzie
5dfb600429 Add some nm comments. 1993-06-11 18:39:25 +00:00
Jim Kingdon
f68e693158 * mips-tdep.c (isa_NAN): Don't return true on -0. 1993-06-11 18:33:12 +00:00
Jim Kingdon
91c87211d6 * 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.
1993-06-11 18:29:50 +00:00
Fred Fish
dd577ca588 * defs.h (INT_MAX): Cast unsigned shift result to int. 1993-06-11 17:25:57 +00:00
Jim Kingdon
e6fb7139ee * m68k-dis.c (print_insn_{m68k,arg}): Add MMU codes. 1993-06-11 16:23:55 +00:00
David Edelsohn
628d152d66 * hosts/std-host.h (int64e_type): Fix definition. 1993-06-11 03:39:22 +00:00
David Edelsohn
06d408d2c1 (int64e_type): Fix definition. 1993-06-11 03:38:16 +00:00
Jim Kingdon
fcb6cf5818 x 1993-06-11 03:11:32 +00:00
Per Bothner
f63e502ba1 * objcopy.c (copy_object): Fix bad size passed to xmalloc(). 1993-06-11 00:34:26 +00:00
Jim Kingdon
729258a3a0 * 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.
1993-06-10 22:43:53 +00:00
Steve Chamberlain
36e73225e6 Checkpoint for dje. 1993-06-10 21:20:25 +00:00
Ian Lance Taylor
9de4d8f1c0 * 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.
1993-06-10 21:02:59 +00:00
Steve Chamberlain
ce38539a45 Checkpoint for dje. 1993-06-10 20:38:39 +00:00
Fred Fish
a608f919de * elfread.c (elf_symtab_read): Add bfd section address to bfd
symbols, now that they are section relative.
	* solib.c (bfd_lookup_symbol):  Ditto.
1993-06-10 20:31:47 +00:00