Commit Graph

5952 Commits

Author SHA1 Message Date
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
K. Richard Pixley
a058c1e807 cast args to supply_register to avoid gcc warning. 1993-06-09 21:13:08 +00:00
K. Richard Pixley
0b3556feb1 drop minimon support 1993-06-09 20:00:52 +00:00
K. Richard Pixley
fa48972a7d removed -lresolv 1993-06-09 19:58:38 +00:00
Ian Lance Taylor
66c53c5ee6 * configure.in: Build diff for crosses, but not for go32 host. 1993-06-09 19:46:09 +00:00
Ian Lance Taylor
fcf4d2868e * configure.in: Build gprof only for native, and don't build it
for mips-*-*, rs6000-*-*, or i[34]86-*-sco*.
1993-06-09 19:32:57 +00:00
Jim Kingdon
49f09e1865 * gdbinv-s.texi (Debug Session): Document exceptionHook. 1993-06-09 18:12:35 +00:00
Jim Kingdon
4640902b79 * m68k-stub.c: Add comment about frame cache. 1993-06-09 14:04:02 +00:00
Jim Kingdon
b01c21d066 * target.h (target_store_registers): Doc fix re error handling.
* findvar.c (write_register): Call SWAP_TARGET_AND_HOST regardless
	of register_valid[regno].
1993-06-09 13:24:16 +00:00
Jim Kingdon
9745ba070f Doc fix re dependencies 1993-06-09 01:28:54 +00:00
Rob Savoye
f7630ec9c5 * serial.c (serial_close): If scb is NULL, don't try to close
it.
       * configure.in: Add support for rom68k and bug boot monitors.
1993-06-09 01:18:26 +00:00
Steve Chamberlain
86a5593e9c (read_memory_unsigned_integer): New function. 1993-06-09 00:52:13 +00:00
Steve Chamberlain
df14b38baf * coffread.c (init_stringtab): Fix bug where sizeof(long) != 4.
* gdbcore.h, core.c (read_memory_unsigned_integer): New function.
	* findvar.c (read_register, write_register): Fix thinko where
	sizeof(host long) != sizeof(target int).
	* h8300-tdep.c: Use new read_memory_unsigned_integer call.
	* sh-tdep.c (_initialize_sh_tdep): Add memory_size command.
1993-06-09 00:47:13 +00:00
Jim Kingdon
bf3b8abd19 add comment 1993-06-09 00:41:06 +00:00
Jim Kingdon
7f4bf88f6c move to hosts 1993-06-09 00:33:55 +00:00
Mark Eichin
9d206bcf99 * elfcode.h (elf_slurp_symbol_table): subtract section vma from
symbol value, since bfd symbols are section relative, but ELF
	symbols aren't.
for previous change.
1993-06-09 00:30:58 +00:00
Jim Kingdon
d9e5694c9b helps if you save the ChangeLog after you edit it and before you check it in 1993-06-09 00:14:12 +00:00
Jim Kingdon
e7ac0161ce * Move config/m68k/tm-m68k.h (FRAME_FIND_SAVED_REGS) to
m68k-tdep.c (m68k_find_saved_regs).  Don't duplicate code between
	68881 and non-68881 cases.  Check for a pair of movel instructions.
1993-06-08 23:35:00 +00:00
K. Richard Pixley
45d8db87f0 symfile.h requires bfd.h so include it 1993-06-08 23:17:01 +00:00
K. Richard Pixley
54d44c8c3d First cut at sparc-vxworks targetting. 1993-06-08 23:05:20 +00:00
K. Richard Pixley
75c319ffb4 symfile.h requires bfd.h so include it. 1993-06-08 21:54:05 +00:00
Jim Kingdon
683bf9b55d * config/m68k/xm-news.h: add "extern int errno". 1993-06-08 21:44:14 +00:00
Steve Chamberlain
a2ca98b6bb Obsolete. 1993-06-08 21:38:42 +00:00
Steve Chamberlain
e96d656243 * cpu-i960.c, cpu-h8300.c (compatible): Make static. 1993-06-08 21:31:12 +00:00
Jim Kingdon
2ee2023eb1 new stuff for Sony News 1993-06-08 21:30:08 +00:00
Jim Kingdon
0c46b5e73f new file 1993-06-08 21:28:41 +00:00
Steve Chamberlain
7ecaa5af33 Rewrite for H8/300-H 1993-06-08 21:16:33 +00:00
K. Richard Pixley
357992027a * remove-vx.c (vx_read_register, vx_write_register): collapse
ifdef I80960 else (assumes) m68k into parameterizable macros
	  VX_NUM_REGS and VX_SIZE_FPREGS.
	* config/m68k/tm-vx68.h, config/i960/tm-vx960.h (VX_NUM_REGS,
	  VX_SIZE_FPREGS): new definitions.
1993-06-08 20:56:23 +00:00
Jim Kingdon
146212247c * gdb.texinfo (Print Settings): Move all stuff relating to symbolic
addresses together.  Also motivate the set print symbol-filename
	command and suggest other solutions.
1993-06-08 20:46:45 +00:00
Jim Kingdon
6b27ebe851 * symfile.{c,h} (generic_load): New function.
remote{,-nindy,-eb,-mips}.c: Use it.
1993-06-08 19:48:15 +00:00
Steve Chamberlain
3b4cc5ecfb * h8300-dis.c: New file, removed from bfd/cpu-h8300.c, with
H8/300-H opcodes.
1993-06-08 19:26:23 +00:00
Steve Chamberlain
b08a074860 * bfd-in2.h, archures.c (bfd_mach_h8300[h]): new defines.
* coff-h8300.c: More addressing modes.
	* coffcode.h (coff_set_arch_mach_hook): Cope with H8300 magic
	number.
	* cpu-h8300.c: Removed disassemble stuff. (h8300_scan): Recognise
	H8/300H name. (compatible): New function.
	* reloc16.c (bfd_coff_reloc16_get_relocated_sec): Cope with more
	addressing modes.
1993-06-08 19:15:35 +00:00
Ian Lance Taylor
dc75a8af91 * coff-mips.c (ecoff_compute_section_file_positions,
ecoff_write_object_contents): Only round to page boundaries if
	D_PAGED flag is set for the output BFD.
1993-06-08 17:35:27 +00:00