Commit Graph

1276 Commits

Author SHA1 Message Date
K. Richard Pixley a26878d1fa Exploit the new executable config.status 1991-10-01 03:46:00 +00:00
Steve Chamberlain 4e6f9223b1 Mon Sep 30 15:13:46 1991 Steve Chamberlain (steve at cygnus.com)
* cpu-a29k.c, cpu-i386.c, cpu-m68k.c, cpu-mips.c, cpu-vax.c,
	cpu-h8300.c, cpu-i960.c, cpu-m88k.c, cpu-sparc.c: added. These
	files will eventually contain processor specific bits for bfd,
	like strange relocation information and dis/assembly.  So far only
	the H8 has been even partially done.  This work also ties in with
	the change in handling architectures.

	* aout-f1.h: (choose_reloc_size) now calls bfd_get_arch to
	discover the architecture of the bfd. (sunos4_callback) calls the
	function bfd_set_arch_mach rather than stuffing stuff directly
	into the bfd. (sunos4_write_object_contents), changed names of
	accessor functions.

	* aoutx.h: (set_arch_mach) now calls bfd_default_set_arch_mach to
	setup the environment.

	* archive.c: (bfd_slurp_coff_armap) coff archives always have the
	headers in big endian format, regardless of the endianess of the
	host or target.

	* archures.c: totally changed. Now an architecture is represented
	with a pointer to an info structure rather than an enumerated type
	and a long. The old info is available as two elements in the
	structure.  Future enhancements to architecure support will
	involve pointers to methods being placed into the info structure.

	* bfd.c: changed the definition of the bfd structure for the new
	architecture stuff.

	* bout.c: (b_out_set_arch_mach) changed to use the new
	architecture mechanism.

	* coffcode.h: (coff_set_arch_mach, coff_set_flags) changed to use
	the new architecture mechanism.

	* configure.in: added h8 stuff.

	* ieee.c: too many changes to note.  Now ieee files written with
	bfd gas and ld can be read by gld and ieee only linkers and
	simulators.

	* libbfd.c, libbfd.h: changed prototype of bfd_write.

	* newsos3.c: (newos3_callback) now calls bfd_set_arch_mach rather
	than fixing the structure directly.

	* oasys.c: (oasys_object_p) now calls bfd_default_set_arch_mach rather
	than fixing the structure directly.

	* opncls.c: (new_bfd) makes sure that bfd_init has been called
	before opening a bfd.

	* srec.c: (srec_set_arch_mach) now calls bfd_default_set_arch_mach
	rather than fixing the structure directly.

	* targets.c: (target_vector) now by defining SELECT_VECS (perhaps
	in the t/hmake file) a user can select which backends they want
	linked with bfd without changing the source.

	* init.c: new, looks after initializing modules.

	* howto.c: for future use, will allow an application to work out
	what cookie to use as a handle on a relcoatio howto.
1991-10-01 03:43:43 +00:00
Steve Chamberlain e89f2fbe00 Initial revision 1991-10-01 03:43:11 +00:00
K. Richard Pixley 46f3c7cda5 Trivial cleanup. 1991-10-01 03:11:29 +00:00
K. Richard Pixley 4f73c36a72 Add am29k, remove a redundant case. 1991-10-01 02:56:06 +00:00
K. Richard Pixley b8f8fddc8c * use aliases as directory names.
* put aliases AND parsed triples into Makefiles.
* config.status is a shell script.
* remove formfeeds from resulting Makefile.
1991-10-01 02:44:32 +00:00
K. Richard Pixley 46766962cf Reword recurr. 1991-10-01 02:38:26 +00:00
John Gilmore 387cbb2bff * srec.c: Better error checking, partly from Peter Schauer.
(srec_object_p):  Avoid assuming any file that starts with 'S' is
an S-record file!  (Check for 3 uppercase-hex digits after it.)
(ISHEX):  Define new macro for checking supposedly hex characters.
(pass_over):  Treat as EOF any S-record line that:
    *  doesn't have hex in either size character
    *  produces a size larger than 0x7F
    *  has an unrecognized type number
1991-09-30 20:50:18 +00:00
Per Bothner 5c5c52fcbf Rename os for Sony News to newsos[34]. 1991-09-30 20:32:26 +00:00
Per Bothner f99988e38f * sysdep.h: Define NEWSOS3_SYS, and use it. 1991-09-30 19:54:08 +00:00
Per Bothner 3fdbfe8d12 * bucomm.c (fatal): Conditionally compile fatal() depending on
MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
	* objdump.c (dump_headers):  Trivial output format change.
	* objdump.c (display_info): Loop over integers, not enums,
	to appease old compilers.
1991-09-30 19:47:49 +00:00
John Gilmore dc9894c8b1 * symtab.c (lookup_method_type): Arguments were swapped in all
callers, so fix it here.  I'm amazed this worked at all!
1991-09-28 17:13:08 +00:00
John Gilmore 03e826bb51 * eval.c (evaluate_subexp_for_address): Don't use
TYPE_POINTER_TYPE directly (it might be zero if this type has
never had a pointer created before); use lookup_pointer_type.
1991-09-28 17:09:07 +00:00
John Gilmore 06d751608c Typos. 1991-09-28 14:10:47 +00:00
John Gilmore b7f81b5781 * infrun.c (wait_for_inferior): Don't check if the PC is in a
call_dummy if we were stopped by a random signal that is being
passed to the program.  This produced wierd results when calling
functions in the inferior and signals (e.g. SIGALRM) were in use.
1991-09-28 11:26:43 +00:00
John Gilmore a65bb55d7a * nindy-tdep.c (nindy_frame_chain_valid): Use lookup_misc_func.
(Reported by Mark Peek <mark@imagen.com>.)
1991-09-28 02:20:09 +00:00
John Gilmore d8ce13268e * coffread.c (coff_symfile_read): Use xmalloc, not malloc.
* language.c, printcmd.c:  Lint.
        * language.h (get_frame_language):  Declare.
        * saber.suppress:  update.
        * stack.c (find_relative_frame):  Remove complex code that was
        #if 0'd, stick with simple code.  Lint.
	* saber.suppress:  Update a bit.
        * symfile.c (add_symbol_file_command):  Add "?" to question.
        * utils.c (parse_escape):  Avoid \a due to bdead compilers.
        * value.h:  Declare typedef_print.

        * valprint.c (val_print, type_print_base):  TYPE_CODE_RANGE less
        kludgey.
1991-09-28 01:35:29 +00:00
John Gilmore dad0e12d57 * core.c (core_files_info): Shorten output.
* exec.c (exec_files_info):  Ditto.
(build_section_table):  Ignore zero-length sections.
1991-09-28 01:31:23 +00:00
John Gilmore 39bf59520b * c-exp.y, m2-exp.y: Define more yysymbols that happen to be
"bss" rather than "data" symbols, but which still conflict.
* m2-exp.y:  Lint.
1991-09-28 01:30:41 +00:00
Roland Pesch c022837644 Stop talking about obsolete "sharedlibrary" command in whats-new section. 1991-09-27 22:47:20 +00:00
Per Bothner e5dab90089 Added {h,t}-news 1991-09-27 20:20:01 +00:00
Per Bothner 3981c7e882 Update for deleted (and some added) files. 1991-09-27 20:19:25 +00:00
Per Bothner e1e5fbfcbb * ldlnk960.c: Use new naming convention for *.x{,u,r} include scripts.
* ldm88k.sc: "Clean up" script, so that ldm88kUr.sc and ldm88kr.sc
	can be automatically generated.
	* ldemul.c, configure.in, config.h, Makefile.in:
	Add support for Sony NewsOS3.
	* Makefile.in: Re-do the way ldemulation scipts and structures
	are done. do we only need one or two files for each emulation
	target (a TARGET.sc and optionally TARGET.c, if ldtemplate
	isn't suitable).  This gets rid of lots of extra source files.
1991-09-27 20:09:23 +00:00
Per Bothner 9dcb30e3a2 Initial revision 1991-09-27 19:59:17 +00:00
Per Bothner 7730c767b4 Fix/update HOSTING_LIBS path. 1991-09-27 19:55:28 +00:00
Steve Chamberlain 77507546d2 Newly created 1991-09-26 22:46:53 +00:00
Steve Chamberlain 86adb4373e Initial revision 1991-09-26 22:46:52 +00:00
John Gilmore fb3be09b66 Lint (saber actually). 1991-09-26 22:28:46 +00:00
Per Bothner ac0167e878 * libaout.h (WRITE_HEADERS): Set header's a_text field always.
* newsos3.c: Fixed two types: newos3 -> newsos3.
1991-09-26 18:40:30 +00:00
Per Bothner d0a27c3b8e Fix bfd_perform_relocation to handle pc-relative relocs better. 1991-09-26 18:26:28 +00:00
K. Richard Pixley 905bb120d3 Pass command names with absolute paths. Easier than keeping relative
paths right when dealing with sub/sub/directories.
1991-09-25 04:34:40 +00:00
John Gilmore be3bc7ad7a iVS: Modified Files:
Print 9 digits for IEEE floats.
1991-09-25 01:18:59 +00:00
John Gilmore 680c9dfa72 IN_SIGTRAMP bugfix. 1991-09-25 01:09:15 +00:00
K. Richard Pixley 996dda31f0 ldgram.h is not cvs'd source. 1991-09-24 02:30:20 +00:00
Steve Chamberlain 5f1fec7648 Cleaned it up for 88k 1991-09-23 20:59:12 +00:00
Roland Pesch ccca276c7e (1) fix typo ('_if_' and '_fi_' for '_if__' and '_fi__'!)
(2) prepare for semi-auto xref updating by rejoining xrefs broken across lines
1991-09-21 05:15:13 +00:00
Roland Pesch 7609651972 Formatting updates to "installing" appendix. 1991-09-21 03:59:06 +00:00
John Gilmore 24db5b8775 Doc updates for 4.1. 1991-09-21 03:41:23 +00:00
John Gilmore 0476df731c rtpc->romp 1991-09-21 03:29:09 +00:00
John Gilmore 6066cdfc0d Rearrange "how to install" and "how to print the doc" stuff so it drops
easier into README.
1991-09-21 02:59:57 +00:00
Roland Pesch 432ae9a94b add missing index entries for set/show print sevenbit-strings. 1991-09-21 02:55:37 +00:00
Roland Pesch 513c6e2bc1 *** empty log message *** 1991-09-21 02:03:09 +00:00
Roland Pesch 376de38d61 Update configs table. 1991-09-21 02:01:41 +00:00
John Gilmore 080193ca60 Update for gdb-4.1. 1991-09-21 01:52:39 +00:00
John Gilmore aeb62c7b50 Roll in information from README. 1991-09-21 01:50:26 +00:00
John Gilmore dc4a4b2e6a Update for gdb-4.1 release. 1991-09-21 00:19:51 +00:00
John Gilmore 0b7984094d * language.c (set_language_command): Print useful help message,
and restore the language string after giving help.
* valprint.c (typedef_print):  Print typedef in C or M2.
* symtab.c (list_symbols):  Use it.
1991-09-20 23:59:13 +00:00
John Gilmore 5f3d478e7d * main.c (main): Avoid any output before (gdb) prompt when -q.
* language.c (set_language_command):  Handle errors by restoring
the language string to its current state (fix from A. Beers).
1991-09-20 23:17:32 +00:00
Roland Pesch 14e2990a5f *** empty log message *** 1991-09-20 22:51:22 +00:00
Roland Pesch b7ced3225a Fri Sep 20 15:46:00 1991 Roland H. Pesch (pesch at cygnus.com)
* doc/Makefile: generate aux version-no file doc/gdbVN.m4
	from main Makefile.in version definition
	doc/gdb.texinfo: use version recorded in doc/gdbVN.m4 for current
	GDB version no refs
	Makefile.in (setup-to-dist): generate doc/gdbVN.m4
1991-09-20 22:50:11 +00:00