binutils-gdb.git
32 years agoNote version change to 2.0.
Per Bothner [Fri, 4 Sep 1992 02:45:57 +0000 (02:45 +0000)]
Note version change to 2.0.

32 years agoRemove extraneous, but harmless, backslash from last change.
Jim Wilson [Thu, 3 Sep 1992 23:17:41 +0000 (23:17 +0000)]
Remove extraneous, but harmless, backslash from last change.

32 years agoRemove scripts directory.
Per Bothner [Thu, 3 Sep 1992 22:58:38 +0000 (22:58 +0000)]
Remove scripts directory.

32 years agoAdd TODO.
Per Bothner [Thu, 3 Sep 1992 22:56:45 +0000 (22:56 +0000)]
Add TODO.

32 years agoRegenerated from bfd-in.h.
Per Bothner [Thu, 3 Sep 1992 22:24:03 +0000 (22:24 +0000)]
Regenerated from bfd-in.h.

32 years agoBump to version 2.0.
Per Bothner [Thu, 3 Sep 1992 21:18:04 +0000 (21:18 +0000)]
Bump to version 2.0.

32 years ago * Makefile.in: Let's call it version 2.0.
Per Bothner [Thu, 3 Sep 1992 21:14:53 +0000 (21:14 +0000)]
* Makefile.in:  Let's call it version 2.0.

32 years agoAdd apollo68b.mh.
Stu Grossman [Thu, 3 Sep 1992 16:26:59 +0000 (16:26 +0000)]
Add apollo68b.mh.

32 years ago* a68v-xdep.c (store_inferior_registers): Define as type void.
Stu Grossman [Thu, 3 Sep 1992 16:26:03 +0000 (16:26 +0000)]
* a68v-xdep.c (store_inferior_registers):  Define as type void.
* configure.in:  Add host m68k-apollo*-bsd*.
* demangle.c (struct demanglers):  Use enum instead of constant
value to keep braindamaged HP/Apollo compiler happy.

32 years ago* bfd.h (struct reloc_howto_struct): size needs to be signed if
Stu Grossman [Thu, 3 Sep 1992 16:13:22 +0000 (16:13 +0000)]
* bfd.h (struct reloc_howto_struct):  size needs to be signed if
it's going to hold negative values.

32 years ago* bout.c, cpu-z8k.c: Use enums when initializing structs to keep
Stu Grossman [Thu, 3 Sep 1992 16:10:13 +0000 (16:10 +0000)]
* bout.c, cpu-z8k.c:  Use enums when initializing structs to keep
braindamaged HP/Apollo compiler happy.

32 years ago * ldver.c: Bump to version 0.98.
Per Bothner [Thu, 3 Sep 1992 06:02:56 +0000 (06:02 +0000)]
* ldver.c:  Bump to version 0.98.
* TODO:  New file.

32 years ago * Makefile.in: Bump to version 0.98.
Per Bothner [Thu, 3 Sep 1992 06:01:09 +0000 (06:01 +0000)]
* Makefile.in:  Bump to version 0.98.
* TODO, README:  Minor updates.

32 years ago * utils.c (strcmp_iw): Add a hack to allow "FOO(ARGS)" to
Per Bothner [Thu, 3 Sep 1992 05:03:47 +0000 (05:03 +0000)]
* utils.c (strcmp_iw):  Add a hack to allow "FOO(ARGS)" to
match "FOO".  This allows 'break Foo' to work when Foo is
a mangled C++ function.  (See comment before function.)

32 years ago* config/rs6000.mh (MH_CFLAGS): Circumvent IBM <rpc/rpc.h> bug,
John Gilmore [Thu, 3 Sep 1992 00:55:04 +0000 (00:55 +0000)]
* config/rs6000.mh (MH_CFLAGS):  Circumvent IBM <rpc/rpc.h> bug,
for files in vx-share/*.c.
* xm-rs6000.h (fd_set):  Circumvent the rs6000.mh circumvention,
for normal GDB source files.

32 years agoRoll VERSION to 4.6.6.
John Gilmore [Wed, 2 Sep 1992 20:53:39 +0000 (20:53 +0000)]
Roll VERSION to 4.6.6.

32 years ago* tm-vx68.h, tm-es1800.h: Use tm-68k.h rather than tm-sun3.h.
John Gilmore [Wed, 2 Sep 1992 20:50:31 +0000 (20:50 +0000)]
* tm-vx68.h, tm-es1800.h:  Use tm-68k.h rather than tm-sun3.h.
* tm-sun3.h:  Remove STACK_END_ADDR, no longer used.
* tm-sun3os4.h:  Update comments.
* xm-delta88.h:  Remove STACK_END_ADDR.

32 years agoAdd copyright notice.
Per Bothner [Wed, 2 Sep 1992 20:45:02 +0000 (20:45 +0000)]
Add copyright notice.

32 years agoTiny bugfix for makeinfo.
John Gilmore [Wed, 2 Sep 1992 09:32:27 +0000 (09:32 +0000)]
Tiny bugfix for makeinfo.

32 years agoUpdate .sanitize files
John Gilmore [Wed, 2 Sep 1992 09:24:34 +0000 (09:24 +0000)]
Update .sanitize files

32 years agoUpdate sanity files.
John Gilmore [Wed, 2 Sep 1992 09:23:12 +0000 (09:23 +0000)]
Update sanity files.

32 years agoRoll VERSION to 4.6.5 for the P3 release.
John Gilmore [Wed, 2 Sep 1992 08:54:04 +0000 (08:54 +0000)]
Roll VERSION to 4.6.5 for the P3 release.

32 years ago* config/sun4os4.mh: Include ser-termios.o. FIXME, all .mh files
John Gilmore [Wed, 2 Sep 1992 08:52:53 +0000 (08:52 +0000)]
* config/sun4os4.mh:  Include ser-termios.o.  FIXME, all .mh files
should include a ser-XXX.o module.
* configure.in:  Map unrecognized sun 68k's, sun sparcs, into
known suns in configure.in, rather than mapping them to unique
config files that happen to duplicate other config files.
* config/sun3.{mh,mt}:  Remove (use identical sun3os4.*).
* config/sun4.{mh,mt}:  Remove (use identical sun4os4.*).

32 years ago* ser-termios.c, ser-go32.c: Remove DEFUN crap, clean up.
John Gilmore [Wed, 2 Sep 1992 08:51:17 +0000 (08:51 +0000)]
* ser-termios.c, ser-go32.c:  Remove DEFUN crap, clean up.
* serial.h (EXFUN):  Remove all uses, convert to PARAMS.
* config/sun4os4.mh:  Include ser-termios.o.  FIXME, all .mh files
should include a ser-XXX.o module.

* dbxread.c (elfstab_build_psymtabs):  Remove DEFUN crap.
* defs.h, i960-pinsn.c, remote-hms.c:  Replace CONST with simple const.

* configure.in:  Map unrecognized sun 68k's, sun sparcs, into
known suns in configure.in, rather than mapping them to unique
config files that happen to duplicate other config files.
* config/sun3.{mh,mt}:  Remove (use identical sun3os4.*).
* config/sun4.{mh,mt}:  Remove (use identical sun4os4.*).

32 years ago* config/m68k-un.mt, config/m68k-noun.mt, config/sparc-un.mt,
John Gilmore [Wed, 2 Sep 1992 08:04:32 +0000 (08:04 +0000)]
* config/m68k-un.mt, config/m68k-noun.mt, config/sparc-un.mt,
config/sparc-noun.mt:  New target configs for embedded.
* config/sun4os3.{mh,mt}:  Remove, never existed in production.

32 years ago* configure.in (*-*-sunos*): Use trailing * to match all
John Gilmore [Wed, 2 Sep 1992 08:03:42 +0000 (08:03 +0000)]
* configure.in (*-*-sunos*):  Use trailing * to match all
sub-variants of SunOS, e.g. sunos4* to match sunos4.1.1.
(sparc-*-sunos3):  Remove host & target.  Sunos3 never shipped
in production on Sun-4.
({a29k,i[34]86,i960}-*-elf):  Add targets, equivalent to coff.
(m68k-*-{aout,coff,elf}):  Add targets, w/new config and tm files.
(sparc-*-{aout,coff,elf}):  Add targets, w/new config and tm files.

* tm-68k-un.h, tm-68k-noun.h, tm-spc-un.h, tm-spc-noun.h:  New
target definitions for embedded with and without underlines on
identifiers.  FIXME -- this ought to be known by BFD instead.

* tm-sparc.h, tm-sun2.h, tm-sun3.h:  Delete NAMES_HAVE_UNDERSCORE:
not a parameter of the CPU, but of the development environment.
* tm-es1800.h, tm-sunos.h, tm-vx68.h:  Add NAMES_HAVE_UNDERSCORE.

32 years ago * Makefile.in: Added mostlyclean/clean/distclean rules.
Per Bothner [Wed, 2 Sep 1992 07:27:31 +0000 (07:27 +0000)]
* Makefile.in:  Added mostlyclean/clean/distclean rules.

32 years ago * Makefile.in: Added mostlyclean, distclean rules,
Per Bothner [Wed, 2 Sep 1992 07:26:15 +0000 (07:26 +0000)]
* Makefile.in:  Added mostlyclean, distclean rules,
and cleaned up clean, realclean.

32 years ago * ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c).
Per Bothner [Wed, 2 Sep 1992 06:45:13 +0000 (06:45 +0000)]
* ldmisc.c (xrealloc):  New (needed by ../libiberty/cplus.dem.c).
* ldlex.l: Moved comment() to end, since some compilers
otherwise have problems with input() used before it is defined.

32 years agoFormatting improvements and other minor edits.
Roland Pesch [Wed, 2 Sep 1992 04:08:28 +0000 (04:08 +0000)]
Formatting improvements and other minor edits.

32 years ago* breakpoint.c (breakpoint_re_set): Avoid setting source symtab
John Gilmore [Wed, 2 Sep 1992 02:31:52 +0000 (02:31 +0000)]
* breakpoint.c (breakpoint_re_set):  Avoid setting source symtab
(which involves reading in main's symtab) if we have no breakpoints.

32 years agonew configure triple work, added solaris 2 & irix host support, fix FLEX definition
David D. Zuhn [Wed, 2 Sep 1992 00:49:47 +0000 (00:49 +0000)]
new configure triple work, added solaris 2 & irix host support, fix FLEX definition

32 years agoRemoved cplus-dem.[ch]. (These are now in ../libiberty.)
Per Bothner [Tue, 1 Sep 1992 23:10:08 +0000 (23:10 +0000)]
Removed cplus-dem.[ch].  (These are now in ../libiberty.)

32 years ago* Makefile.in: all-opcodes, cd into the right directory
Steve Chamberlain [Tue, 1 Sep 1992 22:49:37 +0000 (22:49 +0000)]
* Makefile.in: all-opcodes, cd into the right directory

32 years agoThis seems to have been overlooked in my last check-in.
Per Bothner [Tue, 1 Sep 1992 22:32:28 +0000 (22:32 +0000)]
This seems to have been overlooked in my last check-in.

32 years agoAdd scripts.
Per Bothner [Tue, 1 Sep 1992 22:14:49 +0000 (22:14 +0000)]
Add scripts.

32 years agoAdd isc-sysv3.2.sc.
Per Bothner [Tue, 1 Sep 1992 22:14:24 +0000 (22:14 +0000)]
Add isc-sysv3.2.sc.

32 years agoRemove non-existant file hp300bsd.mh.
Per Bothner [Tue, 1 Sep 1992 22:07:32 +0000 (22:07 +0000)]
Remove non-existant file hp300bsd.mh.

32 years agoNote previous change (removing oasys from target_vector).
Per Bothner [Tue, 1 Sep 1992 20:42:42 +0000 (20:42 +0000)]
Note previous change (removing oasys from target_vector).

32 years ago * targets.c (target_vector): Take out oasys (unless that is
Per Bothner [Tue, 1 Sep 1992 20:42:11 +0000 (20:42 +0000)]
* targets.c (target_vector):  Take out oasys (unless that is
the default):  Because there is no magic number in archives,
there can be annoying target mis-matches.

32 years agoBrought forward from p3:
Ian Lance Taylor [Tue, 1 Sep 1992 01:17:01 +0000 (01:17 +0000)]
Brought forward from p3:

Sun Aug 30 21:38:53 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in: map "ld" through program_transform_name when
installing.

32 years agoBrought forward from p3:
Ian Lance Taylor [Tue, 1 Sep 1992 01:16:25 +0000 (01:16 +0000)]
Brought forward from p3:

Sun Aug 30 21:32:17 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in: map "gdb" through program_transform_name when
installing.

32 years agoBrought forward from p3:
Ian Lance Taylor [Tue, 1 Sep 1992 01:14:04 +0000 (01:14 +0000)]
Brought forward from p3:

Sun Aug 30 21:24:46 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in: map "as" through program_transform_name when
installing.

32 years agoBrought forward from p3:
Ian Lance Taylor [Tue, 1 Sep 1992 01:13:11 +0000 (01:13 +0000)]
Brought forward from p3:

Sun Aug 30 21:18:59 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in: map program names through program_transform_name
when installing.

32 years agoSun Aug 30 21:12:11 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 1 Sep 1992 01:12:41 +0000 (01:12 +0000)]
Sun Aug 30 21:12:11 1992  Ian Lance Taylor  (ian@cygnus.com)

* configure: added -program_transform_name option, used as
argument to sed when installing programs.
configure.texi: added documentation for -program_prefix,
-program_suffix and -program_transform_name.

32 years agoLink libopcodes with objdump
Mike Werner [Mon, 31 Aug 1992 23:23:34 +0000 (23:23 +0000)]
Link libopcodes with objdump

32 years agoget the order of opcodes + binutils right so that everything builds
Mike Werner [Mon, 31 Aug 1992 23:19:34 +0000 (23:19 +0000)]
get the order of opcodes + binutils right so that everything builds

32 years ago#include file moved
Steve Chamberlain [Mon, 31 Aug 1992 22:53:15 +0000 (22:53 +0000)]
#include file moved

32 years agoDisassemble for z8k and build using opcode library
Steve Chamberlain [Mon, 31 Aug 1992 22:28:08 +0000 (22:28 +0000)]
Disassemble for z8k and build using opcode library

32 years agoSupport for opcodes directory
Steve Chamberlain [Mon, 31 Aug 1992 22:26:18 +0000 (22:26 +0000)]
Support for opcodes directory

32 years ago * z8k-dis.c: knows how to disassemble z8k stuff
Steve Chamberlain [Mon, 31 Aug 1992 21:54:31 +0000 (21:54 +0000)]
* z8k-dis.c: knows how to disassemble z8k stuff

32 years ago * dwarfread.c (cu_language): New local variable to record
Fred Fish [Mon, 31 Aug 1992 20:50:45 +0000 (20:50 +0000)]
* dwarfread.c (cu_language):  New local variable to record
language for current compilation unit being processed.
* dwarfread.c (set_cu_language):  New local function to decode
and record language for current compilation unit being processed.
* dwarfread.c (synthesize_typedef):  Add local function to
synthesize a typedef for C++ classes, structs, unions, and
enumerations.
* dwarfread.c (read_structure_scope):  Synthesize typedefs
for C++ classes, structs and unions.
* dwarfread.c (read_enumeration):  Synthesize typedefs for
C++ enumerations.
* dwarfread.c (read_file_scope):   Call set_cu_language to
record language for current compilation unit.  After symtab
is built, save this recorded language.
* dwarfread.c (process_dies, add_partial_symbol, struct_type,
scan_partial_symbols, new_symbol):  Recognize TAG_class_type.
* dwarfread.c (add_partial_symbol):  Synthesize partial symbol
typedefs for C++ classes, structs, unions, and enumerations.
* dwarfread.c (scan_compilation_units):  Call set_cu_language
to record language for current compilation unit.
* dwarfread.c (scan_partial_symbols):  Call add_enum_psymbol here
for TAG_enumeration_types, rather than in add_partial_symbol.
* dwarfread.c (add_partial_symbol):  Combine TAG_enumeration_type
case with class, struct, and union type cases, now that they are
the same.  Remove tests for non-NULL name attributes, now done
by callers.
* gdbtypes.h (TYPE_CODE_CLASS):  Add type for C++ classes, but
treat as alias for TYPE_CODE_STRUCT for now.

32 years ago * z8k-opc.h: new file full of z8000 opcodes
Steve Chamberlain [Mon, 31 Aug 1992 20:48:44 +0000 (20:48 +0000)]
* z8k-opc.h: new file full of z8000 opcodes

32 years agoUpdate to SPARC Version 9 Draft 1.0.4.
Jim Wilson [Mon, 31 Aug 1992 17:14:50 +0000 (17:14 +0000)]
Update to SPARC Version 9 Draft 1.0.4.

32 years agoHandle new v9 insn argument codes, and delete support for obsolete ones.
Jim Wilson [Mon, 31 Aug 1992 17:03:47 +0000 (17:03 +0000)]
Handle new v9 insn argument codes, and delete support for obsolete ones.
Otherwise not updated or tested, since v9 support is obviously incomplete,
and it can't possibly work right without some effort.

32 years ago * aoutx.h (aout<n>swap_ext_reloc_out), bout.c
Steve Chamberlain [Mon, 31 Aug 1992 15:10:34 +0000 (15:10 +0000)]
* aoutx.h (aout<n>swap_ext_reloc_out), bout.c
(b_out_squirt_out_relocs): fix bug 1506 where abs symbols attached
to the built-in abs_section were not written out correctly.

32 years ago * {i386-tdep.c, m68k-tdep.c, mips-tdep.c, sparc-tdep.c}
Fred Fish [Mon, 31 Aug 1992 04:22:46 +0000 (04:22 +0000)]
* {i386-tdep.c, m68k-tdep.c, mips-tdep.c, sparc-tdep.c}
  (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset):
Use "regi" for local indexing through register numbers, reserving
"regno" for the name of a specific register passed as an input
parameter.  Fix bug propagated through all versions that sometimes
used regno as an index when it should have been regi, thus using
-1 as an index in some cases.

32 years ago * gprof.h, gprof.c, printfgprof.c: Add support for two
Per Bothner [Mon, 31 Aug 1992 03:34:15 +0000 (03:34 +0000)]
* gprof.h, gprof.c, printfgprof.c:  Add support for two
output styles:  The default is similar to the old FSF gprof,
while -T sets the variable bsd_style_output, which causes
output matching Berkeley's gprof.  The biggest differences
are that with the FSF style output, the flat profile comes
before the call graph; numbers come before explanations;
and there is less gratuitous white space.
* gprof.h, gprof.c, printfgprof.c:  New discard_underscores
variable causes discarding of initial underscores when
printing symbol names.  It is set unless there is a "main"
symbol (without an underscore).
* printfgprof.c:  New function printnameonly(), called
by printname().  It handles stripping of initial '_',
as well as C++ name-demangling.
* gprof.callg, gprof.flat, make-c-prog.awk:  Removed.
It is just as convenient to edit blurbs.c directly.
* Makefile.in:  Removed rule for making blurbs.c.
* blurbs.c:  This is now a true source file (as opposed
to being generated from gprof.callg and gprof.flat).
Change style to use one long string literal, instead of
one literal per output line.  Add FSF-style blurb for call graph.

32 years ago * cplus-dem.c, demangle.h: Moved to ../libiberty and ../include,
Per Bothner [Mon, 31 Aug 1992 01:23:24 +0000 (01:23 +0000)]
* cplus-dem.c, demangle.h:  Moved to ../libiberty and ../include,
respectively, so same demangler can be used by other programs.
* Makefile.in:  Remove demangler stuff.
* Makefile.in (depend):  Pass -I../readline (needed for main.c).
* demangle.c (_initialize_demangler):  Tell demangler which
CPLUS_MARKER to assume.

32 years agoremoved debugging code accidentally checked in
David D. Zuhn [Mon, 31 Aug 1992 01:21:57 +0000 (01:21 +0000)]
removed debugging code accidentally checked in

32 years ago * cplus-dem.c: Removed. Use the version in libiberty now.
Per Bothner [Mon, 31 Aug 1992 01:14:44 +0000 (01:14 +0000)]
* cplus-dem.c:  Removed.  Use the version in libiberty now.
* ldmisc.c:  Use new libiberty version of cplus_demangle().

32 years ago * Makefile.in: Bump to versions 1.97.90.
Per Bothner [Mon, 31 Aug 1992 01:11:18 +0000 (01:11 +0000)]
* Makefile.in:  Bump to versions 1.97.90.
* cplus-dem.c:  Removed.  Was nowhere used - and if some
programs are changed to to demangling should now use the
versions in libiberty.

32 years agochanges tests from -d foo to -f foo/Makefile
David D. Zuhn [Mon, 31 Aug 1992 01:07:24 +0000 (01:07 +0000)]
changes tests from -d foo to -f foo/Makefile

32 years ago * demangle.h: New file, moved from ../gdb. Made independent
Per Bothner [Mon, 31 Aug 1992 00:57:03 +0000 (00:57 +0000)]
* demangle.h:  New file, moved from ../gdb.  Made independent
of gdb.  Allow demangling style option to be passed as a
parameter to cplus_demangle(), but using the
current_demangling_style global as the default.

32 years agoKeep sparc.mt.
Jim Wilson [Mon, 31 Aug 1992 00:27:23 +0000 (00:27 +0000)]
Keep sparc.mt.

32 years agoResolve someone else's CVS update conflict.
Jim Wilson [Mon, 31 Aug 1992 00:01:22 +0000 (00:01 +0000)]
Resolve someone else's CVS update conflict.

32 years agoMake as.new depend on LOCAL_LOADLIBES.
Jim Wilson [Sat, 29 Aug 1992 19:12:04 +0000 (19:12 +0000)]
Make as.new depend on LOCAL_LOADLIBES.

32 years ago * obstack.h: Merge comment change from current FSF version.
Fred Fish [Sat, 29 Aug 1992 17:10:29 +0000 (17:10 +0000)]
* obstack.h:  Merge comment change from current FSF version.

32 years agoMinor bug fixes from last big checkin.
John Gilmore [Sat, 29 Aug 1992 04:22:31 +0000 (04:22 +0000)]
Minor bug fixes from last big checkin.

32 years agoRS/6000 portability changes (for hosting cross-debuggers).
John Gilmore [Sat, 29 Aug 1992 00:33:47 +0000 (00:33 +0000)]
RS/6000 portability changes (for hosting cross-debuggers).

* 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.

32 years agoRS/6000 portability changes (for hosting cross-debuggers).
John Gilmore [Sat, 29 Aug 1992 00:32:58 +0000 (00:32 +0000)]
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.

32 years ago* gdbtypes.h (TYPE_ALLOC): Parenthesize result to avoid problems
John Gilmore [Sat, 29 Aug 1992 00:31:10 +0000 (00:31 +0000)]
* gdbtypes.h (TYPE_ALLOC):  Parenthesize result to avoid problems
for callers.

32 years agoRS/6000 portability changes (for hosting cross-debuggers).
John Gilmore [Sat, 29 Aug 1992 00:28:56 +0000 (00:28 +0000)]
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.

32 years agoFri Aug 28 16:29:15 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Sat, 29 Aug 1992 00:17:55 +0000 (00:17 +0000)]
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.

32 years agoUpdate ChangeLog, removing yesterday's 960 change and putting in
Ian Lance Taylor [Sat, 29 Aug 1992 00:17:29 +0000 (00:17 +0000)]
Update ChangeLog, removing yesterday's 960 change and putting in
todays (960 now always uses little endian ordering).

32 years agoFri Aug 28 16:25:22 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Sat, 29 Aug 1992 00:16:47 +0000 (00:16 +0000)]
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).

32 years agoBack out the HOST_BIG_ENDIAN_P changes I put in yesterday.
Ian Lance Taylor [Fri, 28 Aug 1992 22:54:13 +0000 (22:54 +0000)]
Back out the HOST_BIG_ENDIAN_P changes I put in yesterday.

32 years agoMissed one...
Ken Raeburn [Fri, 28 Aug 1992 22:44:19 +0000 (22:44 +0000)]
Missed one...

32 years agoRenamed opc-sparc.c to sparc-opc.c for more significant characters in cpu
Ken Raeburn [Fri, 28 Aug 1992 22:42:58 +0000 (22:42 +0000)]
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").

32 years ago-S flag is no longer supported (nor needed) with flex.
Sean Eric Fagan [Fri, 28 Aug 1992 21:27:32 +0000 (21:27 +0000)]
-S flag is no longer supported (nor needed) with flex.

32 years agoBack out yesterday's change for using host endian order in 960 bout files.
Ian Lance Taylor [Fri, 28 Aug 1992 21:10:36 +0000 (21:10 +0000)]
Back out yesterday's change for using host endian order in 960 bout files.

32 years agoForgot to add we32k.h.
Brendan Kehoe [Fri, 28 Aug 1992 21:01:47 +0000 (21:01 +0000)]
Forgot to add we32k.h.

32 years agoForgot to list the we32k files in .Sanitize.
Brendan Kehoe [Fri, 28 Aug 1992 21:01:11 +0000 (21:01 +0000)]
Forgot to list the we32k files in .Sanitize.

32 years ago* vx-share/README, nindy-share/README: New files describing
John Gilmore [Fri, 28 Aug 1992 20:16:45 +0000 (20:16 +0000)]
* vx-share/README, nindy-share/README:  New files describing
how these directories' code is shared, and with whom.
(also 29k-share)

32 years ago* vx-share/README, nindy-share/README: New files describing
John Gilmore [Fri, 28 Aug 1992 20:16:23 +0000 (20:16 +0000)]
* vx-share/README, nindy-share/README:  New files describing
how these directories' code is shared, and with whom.

32 years agoLast file for preliminary support of the we32k (AT&T 3b2 family).
Brendan Kehoe [Fri, 28 Aug 1992 17:17:33 +0000 (17:17 +0000)]
Last file for preliminary support of the we32k (AT&T 3b2 family).

32 years agoAccept i486 where i386 ok.
John Gilmore [Fri, 28 Aug 1992 05:00:36 +0000 (05:00 +0000)]
Accept i486 where i386 ok.

32 years ago* tm-altosgas.h, tm-i386v-g.h: Remove ancient coff encap configs.
John Gilmore [Fri, 28 Aug 1992 04:59:03 +0000 (04:59 +0000)]
* 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.

32 years ago* configure.in (target configurations): Reformat into table.
John Gilmore [Fri, 28 Aug 1992 04:58:27 +0000 (04:58 +0000)]
* 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/*.

32 years agoRemove -gas variants; GDB doesn't care. Cross-check with config/*.mh
John Gilmore [Fri, 28 Aug 1992 02:00:26 +0000 (02:00 +0000)]
Remove -gas variants; GDB doesn't care.  Cross-check with config/*.mh
to make sure all .mh files are represented and vice verse.

32 years agoThu Aug 27 16:38:42 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 28 Aug 1992 00:08:35 +0000 (00:08 +0000)]
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.

32 years agoThu Aug 27 17:01:04 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 28 Aug 1992 00:08:13 +0000 (00:08 +0000)]
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).

32 years ago * config.sub: add we32k
Brendan Kehoe [Thu, 27 Aug 1992 22:19:51 +0000 (22:19 +0000)]
* config.sub: add we32k

32 years agoAdd preliminary support for the we32k (AT&T 3b2).
Brendan Kehoe [Thu, 27 Aug 1992 22:11:48 +0000 (22:11 +0000)]
Add preliminary support for the we32k (AT&T 3b2).

32 years agoAdd preliminary support for the we32k (AT&T 3b2 family).
Brendan Kehoe [Thu, 27 Aug 1992 22:09:30 +0000 (22:09 +0000)]
Add preliminary support for the we32k (AT&T 3b2 family).

32 years agoAdd preliminary support for the we32k (AT&T 3b2 and family).
Brendan Kehoe [Thu, 27 Aug 1992 22:08:01 +0000 (22:08 +0000)]
Add preliminary support for the we32k (AT&T 3b2 and family).

32 years ago * configure.in: add we32k
Brendan Kehoe [Thu, 27 Aug 1992 22:04:34 +0000 (22:04 +0000)]
    * configure.in: add we32k

32 years agocorrect use of bfd symbols
Mark Eichin [Thu, 27 Aug 1992 21:19:27 +0000 (21:19 +0000)]
correct use of bfd symbols

32 years ago* configure.in (host configurations): Reformat nested cases into
John Gilmore [Thu, 27 Aug 1992 04:15:42 +0000 (04:15 +0000)]
* configure.in (host configurations):  Reformat nested cases into
easy-to-maintain table.
(altos-*-gas):  Use -gas flag instead of OS "gas".

32 years ago * bout.c: added support for relaxable alignment relocs.
Steve Chamberlain [Thu, 27 Aug 1992 00:35:09 +0000 (00:35 +0000)]
* 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