Commit Graph

11863 Commits

Author SHA1 Message Date
Ken Raeburn
a466a7a00a there isn't a configure script here though 1994-12-17 21:19:38 +00:00
Ken Raeburn
0672158da0 need to sanititze Makefile.in for arc too 1994-12-17 21:07:51 +00:00
Peter Schauer
528d1a8dfd * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
anonymous unions.
1994-12-17 10:47:40 +00:00
Peter Schauer
84bdfea6aa * c-typeprint.c (c_type_print_base): Use `show' of -1 to print
the return type of methods to avoid infinite loops with anonymous
	types.
	* valops.c (search_struct_field):  Handle anonymous unions.

	* sparc-tdep.c (sunos4_skip_trampoline_code):  New function
	to correctly handle steps into -g compiled PIC objects in the
	main executable.
	* config/sparc/tm-sun4os4.h (SKIP_TRAMPOLINE_CODE):
	Redefine to use sunos4_skip_trampoline_code.

	* dwarfread.c (DWARF_REG_TO_REGNUM):  Provide a default mapping
	from DWARF to GDB register numbering.
	* dwarfread.c (locval):  Use DWARF_REG_TO_REGNUM to map the
	register value.
	* config/mips/tm-mipsv4.h (DWARF_REG_TO_REGNUM):  Define.
1994-12-17 10:46:32 +00:00
Ken Raeburn
091f3a62a8 * config/tc-h8300.c (parse_exp, get_operands, clever_message, md_assemble,
tc_crawl_symbol_chain, md_undefined_symbol, tc_headers_hook, md_operand,
md_number_to_chars): Don't use DEFUN.
1994-12-17 01:11:20 +00:00
Ken Raeburn
d690577632 * config/tc-sh.c (md_begin): Don't fill in md_relax_table here.
(md_relax_table): Use static initialization.
1994-12-17 01:05:10 +00:00
Ken Raeburn
b63defaa3c * Makefile.in (CHECKFLAGS): Don't pass AS_FOR_TARGET, CC_FOR_TARGET,
OBJDUMP_FOR_TARGET, NM_FOR_TARGET; they're not used.
(AS_FOR_TARGET, CC_FOR_TARGET, OBJDUMP, OBJDUMP_FOR_TARGET, NM, NM_FOR_TARGET):
Don't define.
(VMS_OTHER_OBJS): Add xmalloc.o and xexit.o from libiberty.
(tooldir): Use exec_prefix, not libdir.
1994-12-17 01:03:15 +00:00
David Edelsohn
c5b5589ed3 Remove duplicate of ARC sanitization. 1994-12-16 23:29:55 +00:00
Brendan Kehoe
3be6e47ed7 Add note about gas-extra-stuff bringing out configure.bat and makeall.bat,
since they won't be there otherwise.
1994-12-16 21:02:59 +00:00
Stan Shebs
254603ca33 * config/obj-coff.h: Include libcoff.h, not ../bfd/libcoff.h. 1994-12-16 20:06:38 +00:00
Stan Shebs
719153bfe7 * as.h: Include progress.h.
* as.c (main): Call START_PROGRESS and END_PROGRESS.
	(main, perform_an_assembly_pass): Call PROGRESS.
1994-12-16 19:41:56 +00:00
Ian Lance Taylor
963747b358 * elfcode.h (elf_section_from_bfd_section): Check
bfd_is_abs_section, etc., only after checking for the section in
	the BFD and after calling the backend routine.
1994-12-16 17:30:08 +00:00
Ian Lance Taylor
0141b6c276 * write.c (adjust_reloc_syms): Use bfd_is_und_section and
bfd_is_abs_section rather than comparing against &bfd_und_section
	and &bfd_abs_section.
1994-12-16 05:49:05 +00:00
Stan Shebs
9138469984 * defs.h: Include progress.h.
(QUIT): Call PROGRESS.
	* main.c (main): Call START_PROGRESS and END_PROGRESS, break
	usage message into shorter strings.
	* source.c:  Change long command help strings into concats of
	shorter ones, for picky ANSI compilers.

(ChangeLog.mpw)
	* main.c, source.c: Remove hacks that replace long strings
	with shorter ones, now solved portably.
1994-12-16 01:58:43 +00:00
Stan Shebs
83ebf43970 * top.c (command_loop): For space usage display, show both
absolute size and the change from before command execution.
1994-12-16 01:19:40 +00:00
Stu Grossman
86db943ceb * defs.h, gdbtk.c (gdbtk_fputs), main.c (gdb_fputs), top.c: Add stream arg
to fputs_unfiltered_hook.  Differentiate stdout from stderr when
	passing text into tcl land.
	* defs.h, top.c, utils.c (error):  Add error_hook.
	* gdbtk.c:  Improve mechanism for capturing output values.
	* (full_filename):  Remove.
	* (gdb_cmd call_wrapper gdbtk_init):  Protect all calls from tcl
	land with call_wrapper.  This prevents longjmps (usually via
	error()) from jumping out of tcl/tk and leaving things in an
	indeterminate state.
	* gdbtk.tcl:  New view option to disable line numbers.  Put catch
	around most uses of gdb_cmd.  Add update button to reg config
	window.  Stop doing immediate updates when selecting registers.
	Change register view values into checkbuttons.
1994-12-16 01:07:35 +00:00
Ken Raeburn
243babd424 * Makefile.in (AS_FOR_TARGET, OBJDUMP_FOR_TARGET): Don't set.
(uninstall): Don't set OBJDUMP and OBJDUMPFLAGS in site.exp.
* config/default.exp: Default OBJDUMP and OBJDUMPFLAGS.  Use findfile and
transform procedures to determine objdump program name.
1994-12-16 00:19:40 +00:00
Jim Wilson
8b1f3552cf * config/tc-sh.c (md_begin): Use a local variable when
initializing md_relax_table to avoid errors about modifying a
	const data structure.
1994-12-15 23:30:01 +00:00
Stan Shebs
223e83068b * hosts/mpw.h: Include spin.h. 1994-12-15 22:08:53 +00:00
Ian Lance Taylor
2f19e36d97 * elfcode.h (elf_map_symbols): Only use section symbols whose
value is the start of the section, checking output_offset when
	using output_section.  When creating a new symbol, set the value
	to 0, since BFD symbol values are section relative.
1994-12-15 04:41:39 +00:00
Ian Lance Taylor
f5202354c3 * elfcode.h (elf_map_symbols): Only use section symbols whose
value is the start of the section.
1994-12-15 01:23:40 +00:00
Ken Raeburn
d0bfd8ec2b sanitize out arc stuff 1994-12-14 21:45:07 +00:00
Ken Raeburn
f8eccafb19 * lib/ld.exp (prune_system_crud): Define if not already defined, in case the
user isn't using the newest DejaGnu version that we haven't released to the net
yet.
1994-12-14 21:40:30 +00:00
Ken Raeburn
63ca9597f0 removed some unreachable code from objcopy 1994-12-14 21:37:00 +00:00
Ken Raeburn
09d7f0a658 expect simple-objcopy test to fail on hp300 1994-12-14 21:35:07 +00:00
Stan Shebs
1a8b189e1c * mpw-config.in (m68k-apple-macos, ppc-apple-macos,
i386-unknown-aout, i386-unknown-coff): New targets.
	(m68k-aout, m68k-coff): Remove targets.
	(mk.tmp): Add definition of EMUL.
1994-12-14 21:33:33 +00:00
Stan Shebs
d4d4c53c68 * progress.h: New file, empty definitions for progress macros. 1994-12-14 21:11:18 +00:00
Ken Raeburn
6273f92d2a disable bintest.o tests on hppa, fix minor sh-coff objcopy setup_xfail problem 1994-12-14 20:59:14 +00:00
Stan Shebs
a2905ef89e * config/m68k/xm-mpw.h (spin.h): Include.
(ALMOST_STDC): Only define if MPW_C.
	* config/m68k/tm-mac.h: New file, Mac target definitions.
1994-12-14 01:00:17 +00:00
Stan Shebs
9529275a91 Actually lose it 1994-12-14 00:47:58 +00:00
Stan Shebs
3bf210840f * mpw-config.in (m68k-apple-macos, ppc-apple-macos,
i386-unknown-aout): New targets.
	(mk.tmp): Add *DEPFILES definitions.
	* mpw-make.in: Remove gC rules, clean up definitions for other
        include files, bump version, fix bogus \ that should be \Option-d.
	(init.c): Build correctly.
	(mpw-init.c): Remove.
1994-12-14 00:47:32 +00:00
David Edelsohn
070ac72796 Initial arc-elf support. 1994-12-14 00:44:50 +00:00
Stan Shebs
b8b78f950d * breakpoint.c, infrun.c, printcmd.c: Change long command help
strings into concats of shorter ones, for picky ANSI compilers.
1994-12-13 23:36:31 +00:00
Ian Lance Taylor
d9f4c35f65 * gas/mips/jal-svr4pic.d: Fix 0-strings to work with 64-bit hosted
disassembly.
1994-12-13 23:28:17 +00:00
Ian Lance Taylor
7ac36f6470 * config/tc-ppc.c (tc_gen_reloc): Remove OBJ_ELF hack which
appears to no longer be needed.
1994-12-13 20:43:28 +00:00
Jim Kingdon
fd82583b42 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
and pr-5646.o, so "make" is the same as "make all, not "make
	pr-4975.o".
1994-12-13 19:30:31 +00:00
Ian Lance Taylor
1088e1483c * cpu-z8k.c (arch_info_struct): Make z8002 the default
architecture.
1994-12-13 18:33:05 +00:00
Ian Lance Taylor
6baef6d24a * config/tc-mips.c (macro_build): Accept BFD_RELOC_PCREL* without
requiring that the X_op_symbol be in the text_section.
	(macro): Change the test for a legel expression difference to
	correspond to changes in pseudo_set in read.c.
1994-12-13 16:07:02 +00:00
Stan Shebs
a23e2b7cde * mpw-config.in: Add mapping from configs to object file formats,
get VERSION from Makefile.in and add to mk.tmp.
	(mips-idt-ecoff) [TDEFINES]: Add TARGET_BYTES_BIG_ENDIAN.
	* mpw-make.in (VERSION, gC): Don't define.
	(ALL_CFLAGS): Remove -d flags.
	(config.h): Remove definition of MPW, add HAVE_STDARG_H,
	BFD_ASSEMBLER.
1994-12-13 03:52:01 +00:00
Stan Shebs
4fd067b80d * mpw-config.in: Create mk.tmp, define ARCHDEFS in it. 1994-12-13 03:41:18 +00:00
Stan Shebs
1d3c6d87ba * mpw-config.in: Edit the BFD version into bfd.h.
(m68k-apple-macos, ppc-apple-macos): New targets.
	* mpw-make.in: Remove use of gC in rules, add srcdir pathnames to
        more files.
1994-12-13 03:34:28 +00:00
Stan Shebs
e025097f56 * mpw-mh-mpw (EXTRALIBS): Always link in Math.o, CSANELIB.o,
and ToolLibs.o.
1994-12-13 01:16:49 +00:00
Stan Shebs
a2e2d994e4 * mpw-configure: Remove subdir-specific makefile hackery,
delete mk.tmp after using it.
	(TDEFINES): Set to empty.
1994-12-13 01:13:38 +00:00
Stan Shebs
eb8910888d Sparc flat register window support.
* sparc-tdep.c (sparc_insn_layout): New union, defines layout of
        instructions symbolically (used to be local to skip_prologue).
	(sparc_init_extra_frame_info): New function.
	(sparc_frame_chain): Add flat cases throughout.
	(skip_prologue): Add recognition of flat prologues.
	(sparc_frame_find_saved_regs): Add flat cases.
	(sparc_pop_frame): Ditto.
	* config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): New slots.
	(INIT_EXTRA_FRAME_INFO): Call sparc_init_extra_frame_info.
	(PRINT_EXTRA_FRAME_INFO): Define.
1994-12-13 01:11:49 +00:00
Stu Grossman
cb3313c147 * gdbtk.tcl (reg_config_menu create_registers_window
recompute_reg_display_list):  Use array instead of individual vars
	for register display list.
	* (recompute_reg_display_list update_registers):  Fix bug with not
	displaying all registers.
1994-12-13 01:04:38 +00:00
Jim Kingdon
c676d8274d * f-lang.c: Remove duplicate declaration of
builtin_type_f_integer, and only include it in the f_builtin_types
	once.

	* somread.c (som_symfile_read): Just assign to objfile->obj_private,
	not OBJ_UNWIND_INFO.  Assigning to a cast is a GCC-ism which
	the HP compiler doesn't like.
1994-12-12 21:21:10 +00:00
Stu Grossman
746d1df4a9 * gdbtk.c: New tcl commands: gdb_fetch_registers,
gdb_changed_register_list, and gdb_regnames.
	* gdbtk.tcl:  Use monochrome color model for now.
	* (delete_breakpoint_tag create_file_win):  Add breakdot support.
	* (create_file_win create_asm_win update_listing build_framework
	create_source_window create_command_window):  Re-org window
	creation to give all windows consistent look and feel.
	* (update_listing update_asm):  Change pc pointer to '->'.
	* (registers_command reg_config_menu create_registers_window
	populate_reg_window update_registers):  Revamp register window.
	Allow selection of registers to be displayed.  Highlight changed
	registers.
1994-12-12 20:50:08 +00:00
Stu Grossman
d9f1d487a6 * configure.in: Configure tk for hppa/hpux. 1994-12-12 20:12:43 +00:00
Ken Raeburn
384b93b1be * gas/all/gas.exp (comment.s test): Make the "\r" optional, since it depends on
tty modes.

* lib/gas-defs.exp (gas_start): Try using -nottycopy instead of -nottyinit.
1994-12-10 03:50:52 +00:00
Ken Raeburn
a55774a124 * write.c (write_relocs) [RELOC_EXPANSION_POSSIBLE]: Use bfd_install_relocation. 1994-12-10 02:10:44 +00:00