Commit Graph

11747 Commits

Author SHA1 Message Date
Stan Shebs dfb14bc8f4 * top.c (command_line_input): If annotation suffix is NULL,
replace it with an empty string.
	(read_next_line): Pass "command" as annotation suffix to
	command_line_input.
1994-11-28 23:26:58 +00:00
David Edelsohn 326fe1a335 (do_scrub_next_char): Insert missing newline at end of file
like warning says we do.
1994-11-28 19:38:39 +00:00
J.T. Conklin 8bab380825 * config/rs6000/tm-rs6000.h (setpgrp): move defn from here...
* config/rs6000/xm-rs6000.h: ...to here.
1994-11-28 19:14:29 +00:00
Stu Grossman 04576ab6cc * gdbtk.tcl (build_framework): Fix bug with setting window titles. 1994-11-28 18:20:21 +00:00
Stu Grossman c981300c38 * gdbtk.tcl (build_framework): Add "Report bug" to help menu. 1994-11-28 18:01:31 +00:00
Stu Grossman 006e71e956 * gdbtk.tcl: Re-arrange windows using new, consistent layout. Clean
up lots of code and centralize framework initialization.
1994-11-28 17:23:13 +00:00
Ian Lance Taylor 6294d8d0a5 * ld-bootstrap/bootstrap.exp: Pass cmp output through
prune_system_crud.
	* ld-cdtest/cdtest.exp: Pass diff output through
	prune_system_crud.
	* ld-shared/shared.exp: Likewise.

	* config/default.exp: Remove unused and useless proc ld_load.
1994-11-28 16:26:30 +00:00
Ian Lance Taylor 2245d757d7 * gas/mips/ld.d: Adjust to work for both big and little endian
code.
	* gas/mips/ld.s, gas/mips/lif-empic.d: Likewise.
	* gas/mips/lifloat.d, gas/mips/ulh-empic.d: Likewise.
	* gas/mips/ulh.d, gas/mips/ulw.d, gas/mips/ush.d: Likewise.
	* gas/mips/usw.d: Likewise.
1994-11-28 16:21:59 +00:00
Jeff Law 5a1b13d7e9 * gas/hppa/more.parse/parse.exp (nosubspace.s): No longer expected
to fail.  Fix comments for the test.  Tweak test name.
1994-11-28 07:55:25 +00:00
Jeff Law e07f892633 * config/tc-hppa.h (pa_check_eof): Declare new extern function.
(tc_frob_file): Define to call pa_check_eof.

	* config/tc-hppa.c (pa_check_current_space_and_subspace): New
	function to verify the current space and subspace are reasonable.
	Call for the appropriate pseudo-ops and before instruction parsing.
	(pa_check_eof): New function to verify enter/exit and proc/procend
	pairs match at EOF.
	(pa_code): Simplify.

	* config/obj-som.c: Delete #if 0 code.
1994-11-28 07:54:07 +00:00
Michael Tiemann d5adb5d8a4 Changes to reflect that r3, not r0, is now the stack pointer. 1994-11-27 20:04:22 +00:00
Michael Tiemann edf728958e Change r16 -> rce. 1994-11-27 19:17:46 +00:00
Steve Chamberlain 6ae98644a4 Add shl 1994-11-26 18:10:37 +00:00
Jeff Law 54576db325 * tm-hppa.h (skip_trampoline_code): Add extern decl.
* hppa-tdep.c (hppa_pop_frame): Silently restart the inferior and
	allow it to execute any return path trampoline code.  Stop the
	inferior and give the user control when the trampoline has
	finished executing.
	(in_solib_call_trampoline): Handle export stubs which also perform
	parameter relocations.
	(in_solib_return_trampoline): Likewise.
1994-11-26 04:39:07 +00:00
Michael Tiemann a84f6e1734 Add dummy decl for `dump_literals'. 1994-11-26 00:28:30 +00:00
Michael Tiemann fb870b50a7 Add changes from customer since last work. 1994-11-26 00:17:52 +00:00
Peter Schauer 52e895cbb4 Beginnings of template debugging tests.
* gdb.c++/templ-info.cc:  New file to test for template
	debugging capability of the compiler.
	* gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
	templ-info.cc.
	* gdb.c++/templates.cc:  Add explicit template instantiations
	to enable compiling with -fno-implicit-templates. Add destructor
	and 'value' method to T5 class for template tests.
	* gdb.c++/templates.exp:  Add testcases for printing of template
	types, setting breakpoints on template methods and calling a
	template method.
1994-11-25 21:48:02 +00:00
Peter Schauer e8abe489a0 * coffread.c, symfile.h (coff_getfilename): Make it static again.
* xcoffread.c (coff_getfilename):  Use a static copy from
	coffread.c, modified for accessing the static xcoff strtbl.
1994-11-25 21:46:52 +00:00
Michael Tiemann fb14975b70 Enable ld to build for RCE. This is not tested yet! 1994-11-25 17:06:38 +00:00
Michael Tiemann f2e492a14a Change R16 -> RCE. 1994-11-25 16:19:34 +00:00
Michael Tiemann cfe0b73857 Change R16 -> RCE. 1994-11-25 16:05:31 +00:00
Jeff Law a76c22401c * hppa-tdep.c (in_solib_call_trampoline): Recognize calls through
_sr4export and $$dyncall as trampolines.  Likewise for long-call
	stubs and parameter relocation stubs.
	(in_solib_return_trampoline): Recognize a return trampoline for
	return value relocation stubs.
1994-11-25 09:21:49 +00:00
Jeff Law 2848f79344 * hpread.c: Include hp-symtab.h instead of hpux-symtab.h.
Various name changes to match those used by hp-symtab.h.

No longer sanitize away hpread changes.  Merge ChangeLog.hpread into
ChangeLog and ChangeLog-93.
1994-11-25 08:06:49 +00:00
Jeff Law 8ee0532ba8 * hp-symtab.h: New file describing the debug symbols emitted
by the HP C compilers.
	* hpux-symtab.h: Deleted.

NOTE: hpux-symtab.h was the HP copyrighted description and data structures
for the debug symbols emitted by the various HP compilers (C, C++, Fortran,
Cobol, Pascal, Modula-2, Cobol, etc).

hp-symtab.h is my rewritten version which only describes the debug symbols
used by the HP C compiler.  hp-symtab.h is intended to be copyrighted
by the FSF as part of GDB.
1994-11-25 07:32:51 +00:00
Steve Chamberlain a4d44f7ac9 remove sh3 stuff. 1994-11-25 06:15:19 +00:00
Michael Tiemann de582ad676 *** empty log message *** 1994-11-25 02:28:15 +00:00
Michael Tiemann ca43dedd35 Clean up bitrot (such as interfaces that have changed since these
patches were last used).
1994-11-25 02:14:11 +00:00
Michael Tiemann ff030c9827 *** empty log message *** 1994-11-25 00:25:34 +00:00
Michael Tiemann 03c4ce2fcc Rename r16 files to rce, and fix some more .Sanitize typos. 1994-11-25 00:01:26 +00:00
Michael Tiemann 5fa6096860 Recognize and sanitize r16 as a target. 1994-11-24 22:02:18 +00:00
Michael Tiemann 9f554efd62 *** empty log message *** 1994-11-24 21:48:21 +00:00
Michael Tiemann 5c680afdc4 Fix .Sanitize scrips so that r16 is truly scrubbed out.
Also, report errors if any traces of sanitize remain after sanitizing.
1994-11-24 21:36:00 +00:00
Michael Tiemann d94aca1aff Safely check in r16 targets for binutils. 1994-11-24 20:30:11 +00:00
Jeff Law 481faa25ac * blockframe.c (find_pc_partial_function): Inhibit mst_trampoline
symbol special handling when INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK
	is defined.
	* infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Renamed from
	IN_SOLIB_TRAMPOLINE.  All callers changed.
	(IN_SOLIB_RETURN_TRAMPOLINE): Provide default definition.
	(wait_for_inferior): Handle single stepping through trampolines on
	return paths from shared libraries.
	* config/pa/tm-hppa.h (IN_SOLIB_CALL_TRAMPOLINE): Use
	in_solib_call_trampoline.
	(IN_SOLIB_RETURN_TRAMPOLINE): Use in_solib_return_trampoline.
	(INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK): Define.
	* hppa-tdep.c (in_solib_call_trampoline): New function.
	(in_solib_return_trampoline): New function.
1994-11-24 08:02:01 +00:00
Steve Chamberlain b5a37058d4 * tm-h8300.h (REMOTE_BREAKPOINT): Define.
* h8300-tdep.c (h8300_pop_frame): Remove redundant call.
1994-11-24 07:07:21 +00:00
Steve Chamberlain 811b15ef6d * dis-asm.h (print_insn_shl): New prototype. 1994-11-24 06:41:52 +00:00
Steve Chamberlain 17775ffbca * disasseble.c (disassebler): Cope with little endian SH. 1994-11-24 06:37:05 +00:00
Steve Chamberlain a90a64c168 * sh-opc.h (mov.l gbr): Get direction right.
* sh-dis.c (print_insn_shx): New function.
	(print_insn_shl, print_insn_sh): Call print_insn_shx to
	print opcodes with right byte order.
1994-11-24 06:36:28 +00:00
Steve Chamberlain e93e87cb7b * Makefile.in: Add eshl.o.
* config/coff-sh.mt: Add shl emulation.
1994-11-24 06:06:23 +00:00
Steve Chamberlain 5f2f280941 * remote-e7000.c (HARD_BREAKPOINTS): Reenable.
(BC_BREAKPOINTS): Disable.
	* sh-tdep.c (print_insn): Cope with big and little endian machines.
	* sh/sh.mt: Use libsim.a
	* sh/tm-sh.h (TARGET_BYTE_ORDER_SELECTABLE): New
	(BREAKPOINT): Changed to be byteorder independent.
1994-11-24 05:59:34 +00:00
Steve Chamberlain d2fd61a812 * interp.c ([wr][bwl]at): New functions.
(trap): Cope with both byte modes.
1994-11-24 05:33:47 +00:00
Steve Chamberlain 3f67e00028 * config/obj-coff.h (TARGET_FORMAT): Select between coff-shl and coff-sh.
* config/sh.mh (TARG_CPU_DEPENDENTS): Get it right.
	* config/tc-sh.c  (little): New function.
	(md_parse_option): Notice new option.
	(build_relax, build_Mytes, md_atof, md_convert_frag, md_apply_fix):
        Cope with little endian data.
	* config/tc-sh.h (COFF_MAGIC, LISTING_HEADER): Endian dependent.
1994-11-24 03:42:15 +00:00
Steve Chamberlain 7a1d45675e * coff-sh.c (shlcoff_vec): New target vector.
(no_archive): New function.
	* coffcode.h (coff_set_arch_mach_hook, coff_set_flags): Handle
	little endian SH.
	* configure.in: Handle shl.
	* targets.c (bfd_target_vector): Add shlcoff_vec.
	* config/sh-coff.mt (SELECT_VECS): Handle shl_coff_vec.
1994-11-24 03:33:48 +00:00
Brendan Kehoe 3585593df6 * Makefile.in (all-ispell): Depend on all-emacs19 instead of all-emacs. 1994-11-23 18:30:23 +00:00
Jeff Law 32c7d5d864 * config/tc-hppa.c (tc_gen_reloc, ELF variant): Revert last
change.  The real bug was in bfd/elfcode.h and has been fixed.
1994-11-23 17:57:00 +00:00
Jeff Law d2e9cd8c9a * gas/hppa/reloc/reloc.exp: Minor tweaks to match current PA ELF
output.
1994-11-23 06:39:20 +00:00
Jeff Law 150bd9910b * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Do not add
input_section->vma to the relocation's offset.
1994-11-23 06:36:43 +00:00
Jeff Law 740e5428b0 * config/tc-hppa.c (tc_gen_reloc, ELF variant): Add section->vma
to the relocation's offset.
1994-11-23 06:34:13 +00:00
Stan Shebs 43ab4ba582 Maintenance commands to report time and space usage.
* main.c (display_time, display_space): New globals.
	(main): Add argument --statistics to enable reporting, display
	time and space after startup is done.
	* maint.c (maintenance_time_display, maintenance_space_display):
	New commands.
	* top.c (command_loop): Display time and space after command
	execution.

	* top.c (pre_init_ui_hook): New global.
	(gdb_init): If pre_init_ui_hook set, call before all other init.
1994-11-23 03:27:40 +00:00
Steve Chamberlain aa30c7ee22 * Makefile.in (INSTALL_XFORM): Fix typo. 1994-11-22 23:18:24 +00:00