Commit Graph

3519 Commits

Author SHA1 Message Date
John Gilmore 92a87f6afd * gdbtypes.h (TYPE_ALLOC): Parenthesize result to avoid problems
for callers.
1992-08-29 00:31:10 +00:00
John Gilmore ecf4059f1c RS/6000 portability changes (for hosting cross-debuggers).
* breakpoint.c (fixup_breakpoints):  Re-kludge to IBM6000_TARGET.
* buildsym.c, rs6000-xdep.c, rs6000-tdep.c, tm-rs6000.h,
xcoffexec.c, xcoffread.c:  Rename aixcoff to xcoff everywhere.
* printcmd.c (print_frame_args):  Remove an RS/6000 dependency.
* stabsread.c (define_symbol):  Remove RS/6000 dependencies.
* tm-rs6000.h (ATTACH_DETACH):  Remove: host-dependent.
(PTRACE_ATTACH, PTRACE_DETACH):  Remove: host-dep.
(NO_SINGLE_STEP):  Add, target-dependent.
(loadinfotextindex):  Lowercase, remove "aix_".
* xm-rs6000.h:  Add <sys/ptrace.h> for infptrace.c.
(NO_SINGLE_STEP):  Remove, target-dependent.
* xcoffexec.c (vmap_symtab):  Cleanup #if 0'd code.
* xcoffread.c:  Only build file if RS/6000 native GDB.
(build_function_symbol):  Remove #if 0'd code.
* rs6000-tdep.c:  Cleanup.  Add static fn protos.
Use CORE_ADDR for addresses throughout.  Make void fns void.
(pop_dummy_frame):  Add FIXME about bogosity of design here.
(rs6000_struct_return_address):  Ditto.
(frameless_function_invocation, frame_get_cache_fsr,
frame_initial_stack_address, xcoff_relocate_symtab,
xcoff_init_loadinfo, free_loadinfo, xcoff_add_toc_to_loadinfo,
add_text_to_loadinfo, find_toc_address):  Move from xdep file.
Use CORE_ADDRs.  Change identifiers to lowercase.

* rs6000-xdep.c:  Make whole file conditional on native RS/6000,
supplying dummy routines if non-native.  Add prototype for
static exec_one_dummy_insn.  Move a mess of functions to
rs6000-tdep.c (as above).  Remove #if 0'd code.

* config/rs6000.mh (XDEPFILES):  Move xcoffexec.o to target side.
(XM_CLIBS):  Add -lm to circumvent AIX 3.2 libc ldexp bug.
* config/rs6000.mt (TDEPFILES):  Adopt xcoffexec.o.

* gdbtypes.h (TYPE_ALLOC):  Parenthesize result to avoid problems
for callers.
1992-08-29 00:28:56 +00:00
Ian Lance Taylor 0a62e9bd9f Fri Aug 28 16:29:15 1992 Ian Lance Taylor (ian@cygnus.com)
* archive.c (bfd_slurp_bsd_armap): if the symdef_count is too
	large, assume we're using a swapped byte order and fail with
	wrong_format rather than dumping core.
1992-08-29 00:17:55 +00:00
Ian Lance Taylor 5f2d9799ce Update ChangeLog, removing yesterday's 960 change and putting in
todays (960 now always uses little endian ordering).
1992-08-29 00:17:29 +00:00
Ian Lance Taylor 8ae35e5919 Fri Aug 28 16:25:22 1992 Ian Lance Taylor (ian@cygnus.com)
* obj-bout.h, obj-bout.c (obj_header_append, obj_symbol_to_chars),
	tc-i960.c (md_ri_to_chars): Always output bout object file in
	little endian byte order (used to use endianness of host).
1992-08-29 00:16:47 +00:00
Ian Lance Taylor e41a1546e1 Back out the HOST_BIG_ENDIAN_P changes I put in yesterday. 1992-08-28 22:54:13 +00:00
Ken Raeburn cf24f26c84 Missed one... 1992-08-28 22:44:19 +00:00
Ken Raeburn 71c1f4043f Renamed opc-sparc.c to sparc-opc.c for more significant characters in cpu
name under losing file systems ("sparc-op" rather than "opc-spar").
1992-08-28 22:42:58 +00:00
Sean Eric Fagan 8b361a954a -S flag is no longer supported (nor needed) with flex. 1992-08-28 21:27:32 +00:00
Ian Lance Taylor 378dac8cc6 Back out yesterday's change for using host endian order in 960 bout files. 1992-08-28 21:10:36 +00:00
Brendan Kehoe e1f6e8ed5c Forgot to add we32k.h. 1992-08-28 21:01:47 +00:00
Brendan Kehoe c7551f7651 Forgot to list the we32k files in .Sanitize. 1992-08-28 21:01:11 +00:00
John Gilmore d6776adba2 * vx-share/README, nindy-share/README: New files describing
how these directories' code is shared, and with whom.
(also 29k-share)
1992-08-28 20:16:45 +00:00
John Gilmore 7079de160f * vx-share/README, nindy-share/README: New files describing
how these directories' code is shared, and with whom.
1992-08-28 20:16:23 +00:00
Brendan Kehoe 63237c0228 Last file for preliminary support of the we32k (AT&T 3b2 family). 1992-08-28 17:17:33 +00:00
John Gilmore 6e122179f3 Accept i486 where i386 ok. 1992-08-28 05:00:36 +00:00
John Gilmore 500516d3cb * tm-altosgas.h, tm-i386v-g.h: Remove ancient coff encap configs.
* config/{altosgas.mt, i386v-g.mt, i386v32-g.mt}:  Ditto.
* config/{i386sco.mt,i386v32.mt}:  Remove; identical to i386v.mt.
* config/{go32.mt,i960.mt}:  Remove; they only printed error msgs.
* config/nindy960.mt:  Remove useless MT_CFLAGS setting.
* config/i386aout.mt:  Use tm-i386v.h, not tm-i386v-g.h.
1992-08-28 04:59:03 +00:00
John Gilmore ef131e1315 * configure.in (target configurations): Reformat into table.
Remove unsupp. Amigados host and target.  Ditto Mach 386 target.

* tm-altosgas.h, tm-i386v-g.h:  Remove ancient coff encap configs.
* config/{altosgas.mt, i386v-g.mt, i386v32-g.mt}:  Ditto.
* config/{i386sco.mt,i386v32.mt}:  Remove; identical to i386v.mt.
* config/{go32.mt,i960.mt}:  Remove; they only printed error msgs.
* config/nindy960.mt:  Remove useless MT_CFLAGS setting.
* config/i386aout.mt:  Use tm-i386v.h, not tm-i386v-g.h.

* Makefile.in (config-check):  Add command to check whether
configure.in is consistent with config/*.
1992-08-28 04:58:27 +00:00
John Gilmore b1aa08e25f Remove -gas variants; GDB doesn't care. Cross-check with config/*.mh
to make sure all .mh files are represented and vice verse.
1992-08-28 02:00:26 +00:00
Ian Lance Taylor 94cc1ee79d Thu Aug 27 16:38:42 1992 Ian Lance Taylor (ian@cygnus.com)
* gld960.em (gld960_choose_target): the target depends on
	HOST_BIG_ENDIAN_P.
1992-08-28 00:08:35 +00:00
Ian Lance Taylor 8e3d11580a Thu Aug 27 17:01:04 1992 Ian Lance Taylor (ian@cygnus.com)
* targets.c, config/i960-bout.mt, hosts/*: added
	HOST_BIG_ENDIAN_DEFAULT_VECTOR and
	HOST_LITTLE_ENDIAN_DEFAULT_VECTOR because bout archive format
	depends on the endianness of the host.  Added #define
	HOST_BIG_ENDIAN_P and #undef HOST_BIG_ENDIAN_P to a number of
	configuration files in hosts/ (it was already in some).
1992-08-28 00:08:13 +00:00
Brendan Kehoe de0f17d890 * config.sub: add we32k 1992-08-27 22:19:51 +00:00
Brendan Kehoe 6697a1a911 Add preliminary support for the we32k (AT&T 3b2). 1992-08-27 22:11:48 +00:00
Brendan Kehoe 98c0c56d67 Add preliminary support for the we32k (AT&T 3b2 family). 1992-08-27 22:09:30 +00:00
Brendan Kehoe 9990f965a2 Add preliminary support for the we32k (AT&T 3b2 and family). 1992-08-27 22:08:01 +00:00
Brendan Kehoe 582e962abd * configure.in: add we32k 1992-08-27 22:04:34 +00:00
Mark Eichin a7a2ea6874 correct use of bfd symbols 1992-08-27 21:19:27 +00:00
John Gilmore 19758e9ed7 * configure.in (host configurations): Reformat nested cases into
easy-to-maintain table.
(altos-*-gas):  Use -gas flag instead of OS "gas".
1992-08-27 04:15:42 +00:00
Steve Chamberlain 3be5606231 * bout.c: added support for relaxable alignment relocs.
* seclet.c (rel, seclet_dump_seclet, seclet_dump): get the app to
	pass down pointer to play area rather than use alloca
1992-08-27 00:35:09 +00:00
Steve Chamberlain cd1d8c6d89 * ldlang.c (lang_process): don't pass null pointers when
abs_output_section is what is required.
	* ldwrite.c (ldwrite): use malloc to allocate the largest space
	used, and pass that down.
	* relax.c,relax.h (write_relaxnorel): use the passed malloc area rather
	than alloca.
1992-08-27 00:32:05 +00:00
Fred Fish 38e9ed495c * cplus-dem.c: Reorder args to most local functions to make them
follow the consistent pattern of struct work_stuff pointer first,
	followed by pointer into string being demangled, followed by
	pointer to the string where the result is being stored, followed
	by other args.  Also generally replace most variables of name
	"type" with "mangled" for consistency.  They all pointed to the
	same string but half were one name and half the other.
	* cplus-dem.c (LONGERNAMES):  Remove #ifndef's.
	* cplus-dem.c (demangle_qualified):  Rewrite to clean up and allow
	use whenever a qualified name is being demangled.
	* cplus-dem.c (do_type):  Qualified names are treated similarly
	to fundamental types, not as modifiers of fundamental types.
1992-08-26 23:05:55 +00:00
Steve Chamberlain f21798cad0 * cpu-z8k.c (compatible): made static to reduce name space
polution.
1992-08-26 21:21:20 +00:00
Ken Raeburn 4134a793c7 * config/tc-m68k.c (init_table): Now const. Always include 68851
data, so that "bc" is available to 68040 cache instructions.  Added
"tt0", "tt1", and 68ec030 variants.
(md_assemble): Complain if 68000 (only) and 68881 are specified.
(enum _register): Added TT0, TT1.
(m68k_ip, cases '3' and 't'): Handle new operand type codes.  Pass
line number correctly in "internal error" messages.  Don't print
architecture-mismatch message for operand errors.

From Colin Smith (colin@wrs.com):
* config/tc-m68k.c (m68k_ip, case '_'): Use addword twice rather than
install_operand.
1992-08-26 04:08:45 +00:00
Ken Raeburn b2f221a944 * config/tc-m68k.c (init_table): Now const. Always include 68851
data, so that "bc" is available to 68040 cache instructions.  Added
"tt0", "tt1", and 68ec030 variants.
(md_assemble): Complain if 68000 (only) and 68881 are specified.
(enum _register): Added TT0, TT1.
(m68k_ip, cases '3' and 't'): Handle new operand type codes.  Pass
line number correctly in "internal error" messages.  Don't print
architecture-mismatch message for operand errors.

From Colin Smith (colin@wrs.com):
* config/tc-m68k.c (m68k_ip, case '_'): Use addword twice rather than
install_operand.
1992-08-26 04:02:42 +00:00
Ken Raeburn 7b22a53c6c m68k.h (m68ec030): Defined as alias for 68030.
(m68k_opcodes): New type characters "3" for 68030 MMU regs and "t" for
immediate 0-7 added.  Set up some opcodes (ptest, bkpt) to use them.
Tightened description of "fmovex" to distinguish it from some "pmove"
encodings.  Added "pmove" for 68030 MMU regs, cleaned up descriptions that
claimed versions were available for chips not supporting them.  Added
"pmovefd".

sparc.h: Fixed up some comments.
1992-08-26 03:46:22 +00:00
Steve Chamberlain 1f0c772a89 * internal.h: added #define for STYP_LIT, removed from a29k and
h8300.
1992-08-25 22:23:20 +00:00
Steve Chamberlain ab737e518d * listing.c (buffer_line): rewind to the start of include
files, they might be included twice.
1992-08-25 22:16:39 +00:00
Steve Chamberlain 163107a143 Support for the Z8k 1992-08-25 22:12:54 +00:00
Steve Chamberlain 3ab9faab12 Regenerated after Z8000 addition 1992-08-25 22:09:47 +00:00
Steve Chamberlain eaa0f4f8e6 Support for the Z8000 1992-08-25 22:07:19 +00:00
Steve Chamberlain d41ab7144e Add basic support for the z8k:
* Makefile.in, archures.c, coffcode.h, configure.in, reloc.c,
	section.c, targets.c,
1992-08-25 22:04:53 +00:00
Roland Pesch 5bc927fb4e Markup changes to run through TeX without errors.
WARNING: (1) this has not yet been proofread as a printout---just eliminated
             problems that TeX complained about.
         (2) extraneous line breaks introduced in some examples, sometimes
             in ridiculously long strings; this may falsify examples.  Places
	     where I did this are marked by FIXME comments.
1992-08-25 21:20:06 +00:00
Roland Pesch 899bafebe2 Some improvements in Texinfo markup:
1) use makeinfo node defaulting
2) correct bad xref
3) use @display, @exdent,  etc. as first approximation to Julia's
   clever typewriter markup; **THIS WILL NEED STUDY AND REVISION**
4) introduce many nodes rather than ---- in "detailed reference" appendix
1992-08-25 20:56:41 +00:00
Stu Grossman c9715956fb Add sparc-stub.c to .Sanitize 1992-08-25 17:14:51 +00:00
Steve Chamberlain b5d20c939d Move a patch which got put in the wrong place. 1992-08-25 15:40:52 +00:00
Fred Fish d7b5294bea Update to make patches relative to current devo sources. 1992-08-25 15:13:55 +00:00
Stu Grossman aeb20643fe * configure.in: Add sparclite as a target. 1992-08-25 03:52:20 +00:00
Stu Grossman ee97d6736c * sparc-stub.c (handle_exception): Flush instruction cache just
before returning to the user.  (hexToInt):  Fix overzealous cleanup.
1992-08-25 03:47:53 +00:00
Steve Chamberlain 817b5a60ab * ar.c (map_over_members): if the element of the archive has a
null name, fill it in.

	* nm.c (do_one_rel_file): only warn if a bfd's flags say there
	will be symbols and there aren't any.
1992-08-24 22:37:04 +00:00
Ian Lance Taylor afba2b2286 Renamed OSE configuration to ose. 1992-08-24 22:32:46 +00:00