Commit Graph

5884 Commits

Author SHA1 Message Date
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
Steve Chamberlain
d7276c0ab4 Add ansidecl.h 1993-06-10 20:31:17 +00:00
Ian Lance Taylor
9b946448f6 * 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.
1993-06-10 18:51:48 +00:00
Jim Kingdon
eab176968f * Makefile.in: Add mostlyclean, distclean, and realclean targets. 1993-06-10 18:26:53 +00:00
Jim Kingdon
f0fda0aa85 * Makefile.in (depend): Add bfd -I's for paread.c and xcoffexec.c
depend: Updated accordingly.
1993-06-10 18:17:07 +00:00
Ken Raeburn
610648001b I don't think this file is needed any more 1993-06-10 01:35:17 +00:00
Ken Raeburn
9317b3fad8 patches from tege 1993-06-10 01:33:42 +00:00
David D. Zuhn
8742e21ac1 fix comment portability problem (ultrix) 1993-06-09 23:49:32 +00:00
Jim Kingdon
39d4639b11 * Makefile.in (*.tab.c): Use mv for atomic update.
* Makefile.in ({dist,real}clean): Also remove nm.h.
	(realclean): Also remove ${TESTS}, y.output, yacc.{acts,tmp}.
	(distclean): Don't rebuild *.tab.c or TAGS.
1993-06-09 23:27:24 +00:00
K. Richard Pixley
9049407811 put configuration in startup banner 1993-06-09 23:22:48 +00:00
K. Richard Pixley
a29be23615 udi/foo now copyleft 93 1993-06-09 22:29:33 +00:00
K. Richard Pixley
b47f3fa2a9 now copyleft 93 1993-06-09 22:28:58 +00:00
Ian Lance Taylor
a434bccf17 * mips.h (OMAGIC): Define. 1993-06-09 22:09:38 +00:00
Ian Lance Taylor
de17306e90 * coff-mips.c (ecoff_mkobject_hook): Mark ZMAGIC files as D_PAGED.
(ecoff_write_object_contents): If not D_PAGED, don't add the
	section headers to text_size.  If not D_PAGED, set the magic
	number to OMAGIC rather than ZMAGIC.  If creating a D_PAGED
	executable, the executable must fully occupy an even number of
	pages.
	(ecoff_set_symbol_info, make_bfd_asection, ecoff_little_vec,
	ecoff_big_vec): Consistently set section alignment power to 4,
	since ECOFF sections should be multiples of 16 bytes.
	(ecoff_little_vec, ecoff_big_vec): Added D_PAGED to object_flags.
	Made ar_pad_char and ar_max_namelen agree for both.
1993-06-09 22:08:13 +00:00