binutils-gdb.git
31 years ago * Clean up xcoff relocation.
Jim Kingdon [Fri, 26 Mar 1993 14:59:43 +0000 (14:59 +0000)]
* Clean up xcoff relocation.
objfiles.h (struct objfiles): Add section_offsets, num_sections.
symfile.c (syms_from_objfile), xcoffread.c (xcoff_symfile_offsets):
Set them.
symtab.h (struct general_symbol_info): Add section field.
minsyms.c (prim_record_minimal_symbol{,_and_info}): Set it.
xcoffread.c: Set section for symbols and msymbols.
(struct symtab): Add block_line_section field.
buildsym.c (end_symtab): Set it.
(end_symtab and callers): Add section parameter.
objfiles.c (objfile_relocate): New funciton.
xcoffexec.c (vmap_symtab): Use it.
xcoffsolib.h (struct vmap): Remove unused fields.
config/rs6000/tm-rs6000.h, stack.c, xcoffexec.c: Remove
CORE_NEEDS_RELOCATION, symtab_relocated.
config/rs6000/tm-rs6000.h: Remove use of loadinfotext.
rs6000-tdep.c: Make loadinfotext static.
breakpoint.c (fixup_breakpoints): Doc fix.
symtab.h (struct symtab), config/rs6000/tm-rs6000.h, buildsym.c
(end_symtab): primary field replaces nonreloc.

31 years agoadd missing z8000 define
Ken Raeburn [Fri, 26 Mar 1993 13:35:15 +0000 (13:35 +0000)]
add missing z8000 define

31 years agoIf $(srcdir) isn't ., create links to all predefined as-*.texinfo files that
Ken Raeburn [Fri, 26 Mar 1993 13:16:57 +0000 (13:16 +0000)]
If $(srcdir) isn't ., create links to all predefined as-*.texinfo files that
are found in $(srcdir).

31 years ago * gdb.t15/funcargs.exp: Fix expected outputs to include
Fred Fish [Fri, 26 Mar 1993 05:07:08 +0000 (05:07 +0000)]
* gdb.t15/funcargs.exp:  Fix expected outputs to include
"backtrace 100\r" rather than just "backtrace\r", to match last
change.

31 years agoadd INFO-DIR-ENTRY
David D. Zuhn [Fri, 26 Mar 1993 03:01:46 +0000 (03:01 +0000)]
add INFO-DIR-ENTRY

31 years agoCVS botch. Add MACHTYPE_OK to mipsbsd.c; re-remove aout-mipsbsd.c.
Per Bothner [Fri, 26 Mar 1993 00:38:09 +0000 (00:38 +0000)]
CVS botch.  Add MACHTYPE_OK to mipsbsd.c;  re-remove aout-mipsbsd.c.

31 years agoList the known things that are currently sanitized away. (Sanitize
Fred Fish [Thu, 25 Mar 1993 23:22:52 +0000 (23:22 +0000)]
List the known things that are currently sanitized away.  (Sanitize
should support a separate list of these things and report them
differently from unknown things that are sanitized away).

31 years ago * findvar.c (read_register, write_register): Make these capable
Stu Grossman [Thu, 25 Mar 1993 23:15:31 +0000 (23:15 +0000)]
* findvar.c (read_register, write_register):  Make these capable
of reading/writing registers that are shorter than REGISTER_TYPE.
* (value_from_register):  Install H8500 specific code to return
proper value when register is being used as a pointer.
* h8500-tdep.c:  Remove extra defines of NUM_REGS.
(h8500_skip_prologue):  Use correct lengths for LINK instructions.
(FRAME_CHAIN):  Change name to h8500_frame_chain.  Rewrite code to
chain frames properly by combining frame pointer with T reg.
(init_extra_frame_info):  Delete.  It's now a macro.
(frame_args_address):  Don't add PTR_SIZE.  Stack args are already
offset by the correct amount off of the frame pointer.
(register_byte):  Delete.  It's now a macro.
(register_raw_size, register_virtual_size):  Delete.  Replaced by
common routine h8500_register_size, cuz there's no difference
between the raw & virtual sizes on this machine.
(register_convert_to_raw, register_convert_to_virtual):  Delete,
cuz there's no difference between the raw & virtual forms.
Replaced by memcpy in tm file.
(register_virtual_type):  Rename to h8500_register_virtual_type.
Get rid of pointer pseudo-regs, use _REGNUM with all reg names.
(_initialize_h8500_tdep):  Get rid of crock to ensure that GDB &
emulator have same reg offsets.  This is all handled in the
simulator code now.
(h8500_trapped_internalvar):  New routine to detect references to
convenience vars acting as pointer pseudo-regs.
(h8500_value_trapped_internalvar):  Conjure up value of pointer
pseudo-regs.
(h8500_set_trapped_internalvar):  Convert set value in real
register references.
infcmd.c (read_pc, write_pc):  Add h8500 specific code to handle
code segment register.
infrun.c (proceed):  Simplify.  Call write_pc instead of doing it
by hand.
(wait_for_inferior):  Add h8500 specific code to add stack segment
when reading SP register.
remote-sim.c (fetch_register):  Spacing.
tm-h8500.h:  #define GDB_TARGET_IS_H8500 to make it easier to
detect cruft.  Redo all register manipulation stuff.  Get rid of
pointer pseudo-regs.  (INIT_EXTRA_FRAME_INFO):  Adds stack segment
to frame pointer.  (IS_TRAPPED_INTERNALVAL,
VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR):  Use these
to create internal vars for pointer pseudo-regs.

31 years ago * alldeps.mak, configure.in, i860-break.h, i860-opcode.h,
Fred Fish [Thu, 25 Mar 1993 23:08:24 +0000 (23:08 +0000)]
* alldeps.mak, configure.in, i860-break.h, i860-opcode.h,
i860-pinsn.c, i860-tdep.c, config/i860/*:  Remove incomplete i860
support that can't be integrated anyway due to lack of clear
authorship.

31 years ago * findvar.c (read_register, write_register): Make these capable
Stu Grossman [Thu, 25 Mar 1993 22:34:26 +0000 (22:34 +0000)]
* findvar.c (read_register, write_register):  Make these capable
of reading/writing registers that are shorter than REGISTER_TYPE.
* (value_from_register):  Install H8500 specific code to return
proper value when register is being used as a pointer.
* h8500-tdep.c:  Remove extra defines of NUM_REGS.
(h8500_skip_prologue):  Use correct lengths for LINK instructions.
(FRAME_CHAIN):  Change name to h8500_frame_chain.  Rewrite code to
chain frames properly by combining frame pointer with T reg.
(init_extra_frame_info):  Delete.  It's now a macro.
(frame_args_address):  Don't add PTR_SIZE.  Stack args are already
offset by the correct amount off of the frame pointer.
(register_byte):  Delete.  It's now a macro.
(register_raw_size, register_virtual_size):  Delete.  Replaced by
common routine h8500_register_size, cuz there's no difference
between the raw & virtual sizes on this machine.
(register_convert_to_raw, register_convert_to_virtual):  Delete,
cuz there's no difference between the raw & virtual forms.
Replaced by memcpy in tm file.
(register_virtual_type):  Rename to h8500_register_virtual_type.
Get rid of pointer pseudo-regs, use _REGNUM with all reg names.
(_initialize_h8500_tdep):  Get rid of crock to ensure that GDB &
emulator have same reg offsets.  This is all handled in the
simulator code now.
(h8500_trapped_internalvar):  New routine to detect references to
convenience vars acting as pointer pseudo-regs.
(h8500_value_trapped_internalvar):  Conjure up value of pointer
pseudo-regs.
(h8500_set_trapped_internalvar):  Convert set value in real
register references.
infcmd.c (read_pc, write_pc):  Add h8500 specific code to handle
code segment register.
infrun.c (proceed):  Simplify.  Call write_pc instead of doing it
by hand.
(wait_for_inferior):  Add h8500 specific code to add stack segment
when reading SP register.
remote-sim.c (fetch_register):  Spacing.
tm-h8500.h:  #define GDB_TARGET_IS_H8500 to make it easier to
detect cruft.  Redo all register manipulation stuff.  Get rid of
pointer pseudo-regs.  (INIT_EXTRA_FRAME_INFO):  Adds stack segment
to frame pointer.  (IS_TRAPPED_INTERNALVAL,
VALUE_OF_TRAPPED_INTERNALVAR, SET_TRAPPED_INTERNALVAR):  Use these
to create internal vars for pointer pseudo-regs.

31 years ago * config/obj-coffbfd.c (do_relocs_for): Remove a29k special case.
Ian Lance Taylor [Thu, 25 Mar 1993 22:09:27 +0000 (22:09 +0000)]
* config/obj-coffbfd.c (do_relocs_for): Remove a29k special case.
(fixup_segment): Add a29k special case; the linker is not prepared
to see a segment offset here.

31 years ago * config/udi-gdb.exp (gdb_exit): Remove close command.
Ian Lance Taylor [Thu, 25 Mar 1993 20:34:44 +0000 (20:34 +0000)]
* config/udi-gdb.exp (gdb_exit): Remove close command.
(gdb_target_udi): New procedure to set the UDI target.
(gdb_start): Don't remove *_soc files.  Use gdb_target_udi.
* gdb.t00/default.exp: Added expected failures for a29k-*-udi.
Added waits for prompts after several question responses.  Added
some more responses used by a29k-amd-udi-gdb.
* gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
pass different arguments, restart UDI connection after program
completion.
* gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
* gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
after program completion.
* gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
compiled with a SELECT_VECS setting.
* gdb.t15/funcargs.exp: Use argument to backtrace to prevent
infinite recursion.

* gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
Added checks for COFF results, and made them expected failures for
all targets.  It would be better to make them expected failures
for COFF targets only.

31 years agoRemove i860 directory for list of things to keep.
Fred Fish [Thu, 25 Mar 1993 19:49:29 +0000 (19:49 +0000)]
Remove i860 directory for list of things to keep.

31 years ago * Makefile.in: Numerous small changes to macro definitions
Fred Fish [Thu, 25 Mar 1993 18:18:14 +0000 (18:18 +0000)]
* Makefile.in:  Numerous small changes to macro definitions
and rules for building gdb distribution tree.  Many macros
eliminated or merged, and rules simplified.
* alldeps.mak:  Update.
* depend:  Update.

31 years ago * app.c (do_scrub_next_char): Added new state, 10, modifying state
Ian Lance Taylor [Thu, 25 Mar 1993 17:18:23 +0000 (17:18 +0000)]
* app.c (do_scrub_next_char): Added new state, 10, modifying state
9 to only keep a space in between identifier characters.

31 years agolog for configure change
Ken Raeburn [Thu, 25 Mar 1993 14:10:06 +0000 (14:10 +0000)]
log for configure change

31 years agoSome versions of make don't like empty variable expansions on lines by
Ken Raeburn [Thu, 25 Mar 1993 14:03:34 +0000 (14:03 +0000)]
Some versions of make don't like empty variable expansions on lines by
themselves (outside of dependency rules).  Fix such Chill stuff to be
comments instead.

31 years agodoc last changes
David D. Zuhn [Thu, 25 Mar 1993 08:32:55 +0000 (08:32 +0000)]
doc last changes

31 years agolook in srcdir for texinfo source, then in objdir
David D. Zuhn [Thu, 25 Mar 1993 08:32:08 +0000 (08:32 +0000)]
look in srcdir for texinfo source, then in objdir

31 years agoDoesn't need links anymore.
Rob Savoye [Thu, 25 Mar 1993 05:07:24 +0000 (05:07 +0000)]
Doesn't need links anymore.

31 years agorename deja-gnu to dejagnu
David D. Zuhn [Thu, 25 Mar 1993 01:25:09 +0000 (01:25 +0000)]
rename deja-gnu to dejagnu

31 years agoadd dvi, fix info & install-info (no recursion)
David D. Zuhn [Wed, 24 Mar 1993 22:45:00 +0000 (22:45 +0000)]
add dvi, fix info & install-info (no recursion)

31 years agoadd dvi target
David D. Zuhn [Wed, 24 Mar 1993 22:07:34 +0000 (22:07 +0000)]
add dvi target

31 years agorecurse through SUBDIRS for dvi target
David D. Zuhn [Wed, 24 Mar 1993 21:53:48 +0000 (21:53 +0000)]
recurse through SUBDIRS for dvi target

31 years agoadd dvi target, define & use TEXI2DVI
David D. Zuhn [Wed, 24 Mar 1993 21:51:47 +0000 (21:51 +0000)]
add dvi target, define & use TEXI2DVI

31 years agoadd dvi target
David D. Zuhn [Wed, 24 Mar 1993 21:51:04 +0000 (21:51 +0000)]
add dvi target

31 years ago * aout-target.h (MY(object_p)): Fail if MACHTYPE_OK is
Per Bothner [Wed, 24 Mar 1993 21:47:14 +0000 (21:47 +0000)]
* aout-target.h (MY(object_p)):  Fail if MACHTYPE_OK is
defined, and yields false.
* aout-mipsbsd.c, i386bsd.c:  Define MACHTYPE_OK appropriately.

* archive.c (snarf_ar_hdr):  Add support for reading (only,
so far) BSD-4.4-style extended headers.
* archive.c:  Some more comments.

31 years agofix setting of target_alias when using config.guess (fixes PR config/2422)
David D. Zuhn [Wed, 24 Mar 1993 21:10:41 +0000 (21:10 +0000)]
fix setting of target_alias when using config.guess (fixes PR config/2422)

31 years ago * gdb.t31/gdbme.ch: Re-enable code that previously caused
Fred Fish [Wed, 24 Mar 1993 17:50:44 +0000 (17:50 +0000)]
* gdb.t31/gdbme.ch:  Re-enable code that previously caused
compiler to coredump.
* gdb.t31/chillvars.exp:  Re-enable tests that depend on that
code.

31 years agoadd installcheck & dvi
David D. Zuhn [Wed, 24 Mar 1993 10:37:27 +0000 (10:37 +0000)]
add installcheck & dvi

31 years agoupdate dvi & info targets
David D. Zuhn [Wed, 24 Mar 1993 10:34:02 +0000 (10:34 +0000)]
update dvi & info targets

31 years agomipsbsd renaming, libbfd optimization fixes
Ken Raeburn [Wed, 24 Mar 1993 08:18:16 +0000 (08:18 +0000)]
mipsbsd renaming, libbfd optimization fixes

31 years agoturn on file-position optimizations again
Ken Raeburn [Wed, 24 Mar 1993 08:01:07 +0000 (08:01 +0000)]
turn on file-position optimizations again

31 years agodisable position-caching code for now
Ken Raeburn [Wed, 24 Mar 1993 05:10:05 +0000 (05:10 +0000)]
disable position-caching code for now

31 years agofix some (not all) bugs in previous changes
Ken Raeburn [Wed, 24 Mar 1993 05:09:18 +0000 (05:09 +0000)]
fix some (not all) bugs in previous changes

31 years ago*** empty log message ***
Roland Pesch [Wed, 24 Mar 1993 00:04:31 +0000 (00:04 +0000)]
*** empty log message ***

31 years agoFormatting updates from progressive.
Roland Pesch [Wed, 24 Mar 1993 00:04:11 +0000 (00:04 +0000)]
Formatting updates from progressive.

31 years agoaout-mipsbsd -> mipsbsd
Ken Raeburn [Tue, 23 Mar 1993 20:21:47 +0000 (20:21 +0000)]
aout-mipsbsd -> mipsbsd

31 years agodelete non-mips-related code
Ken Raeburn [Tue, 23 Mar 1993 20:19:16 +0000 (20:19 +0000)]
delete non-mips-related code

31 years agorename for <=14 chars
Ken Raeburn [Tue, 23 Mar 1993 20:14:25 +0000 (20:14 +0000)]
rename for <=14 chars

31 years agoEek, a bug!
Ken Raeburn [Tue, 23 Mar 1993 20:11:25 +0000 (20:11 +0000)]
Eek, a bug!
Position 0 means no-movement for SEEK_CUR ... not for SEEK_SET.

31 years agooops, left some debug code in
Ken Raeburn [Tue, 23 Mar 1993 17:50:26 +0000 (17:50 +0000)]
oops, left some debug code in

31 years ago * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
Fred Fish [Tue, 23 Mar 1993 16:56:52 +0000 (16:56 +0000)]
* gdb.t31/gdbme.ch:  Comment out code that causes chill compiler
coredump.
* gdb.t31/chillvars.exp:  Comment out tests that depend on that
code.

31 years agoMoved the hacked unexport line so that it is not the first target.
Ian Lance Taylor [Tue, 23 Mar 1993 16:08:25 +0000 (16:08 +0000)]
Moved the hacked unexport line so that it is not the first target.

31 years agoMove the hacked unexport line so that it does not become the first
Ian Lance Taylor [Tue, 23 Mar 1993 16:06:39 +0000 (16:06 +0000)]
Move the hacked unexport line so that it does not become the first
target.

31 years agoFILE_OFFSET_IS_CHAR_INDEX changes to libbfd.c and hosts/sparc.h
Ken Raeburn [Tue, 23 Mar 1993 14:23:48 +0000 (14:23 +0000)]
FILE_OFFSET_IS_CHAR_INDEX changes to libbfd.c and hosts/sparc.h

31 years agolibbfd.c: Maintain `where' field of BFD with current position while BFD is
Ken Raeburn [Tue, 23 Mar 1993 13:54:41 +0000 (13:54 +0000)]
libbfd.c: Maintain `where' field of BFD with current position while BFD is
in use.  If FILE_OFFSET_IS_CHAR_INDEX, assume arithmetic can be done on it,
and ignore SEEK_SET requests that move to the current position.

hosts/sparc.h: Define FILE_OFFSET_IS_CHAR_INDEX.

31 years agoupdated for obj-bfd-sunos, ho-decst* changes
Ken Raeburn [Tue, 23 Mar 1993 13:37:15 +0000 (13:37 +0000)]
updated for obj-bfd-sunos, ho-decst* changes

31 years ago(do_relocs_for): Don't allocate storage or process relocs if there aren't any
Ken Raeburn [Tue, 23 Mar 1993 13:34:55 +0000 (13:34 +0000)]
(do_relocs_for): Don't allocate storage or process relocs if there aren't any
relocs to process.  Avoids malloc/free bug on SCO too.

31 years agorename for <=14 chars
Ken Raeburn [Tue, 23 Mar 1993 13:27:05 +0000 (13:27 +0000)]
rename for <=14 chars

31 years agounused; deleted
Ken Raeburn [Tue, 23 Mar 1993 13:25:13 +0000 (13:25 +0000)]
unused; deleted

31 years agosince bfd vers is > 2.0, make doc say so also
Ken Raeburn [Tue, 23 Mar 1993 13:10:30 +0000 (13:10 +0000)]
since bfd vers is > 2.0, make doc say so also

31 years agoadd X11 directory support
David D. Zuhn [Tue, 23 Mar 1993 08:17:50 +0000 (08:17 +0000)]
add X11 directory support

31 years agoadd dvi & installcheck
David D. Zuhn [Tue, 23 Mar 1993 08:14:13 +0000 (08:14 +0000)]
add dvi & installcheck

31 years ago* symtab.h (struct linetable_entry): Remove confusing comment.
John Gilmore [Tue, 23 Mar 1993 08:13:11 +0000 (08:13 +0000)]
* symtab.h (struct linetable_entry):  Remove confusing comment.

31 years agoadd installcheck
David D. Zuhn [Tue, 23 Mar 1993 08:03:44 +0000 (08:03 +0000)]
add installcheck

31 years agoadd installcheck target
David D. Zuhn [Tue, 23 Mar 1993 07:19:06 +0000 (07:19 +0000)]
add installcheck target

31 years agoadd installcheck
David D. Zuhn [Tue, 23 Mar 1993 07:09:24 +0000 (07:09 +0000)]
add installcheck

31 years agoAdd h8500-tdep.c.
Fred Fish [Tue, 23 Mar 1993 04:54:13 +0000 (04:54 +0000)]
Add h8500-tdep.c.

31 years agoRemove mt-unix sanitization, there is no mt-unix here.
Fred Fish [Tue, 23 Mar 1993 04:34:52 +0000 (04:34 +0000)]
Remove mt-unix sanitization, there is no mt-unix here.

31 years agoUpdate for current files.
Fred Fish [Tue, 23 Mar 1993 04:23:57 +0000 (04:23 +0000)]
Update for current files.

31 years agoTweak list of files to keep.
Fred Fish [Tue, 23 Mar 1993 04:18:41 +0000 (04:18 +0000)]
Tweak list of files to keep.

31 years agoAdd .Sanitize files for new directories.
Fred Fish [Tue, 23 Mar 1993 03:58:44 +0000 (03:58 +0000)]
Add .Sanitize files for new directories.

31 years agoUpdate to match new config directory structure.
Fred Fish [Tue, 23 Mar 1993 03:32:59 +0000 (03:32 +0000)]
Update to match new config directory structure.

31 years agoRemove files that moved to config/ and config/<cpu>.
Fred Fish [Tue, 23 Mar 1993 03:30:43 +0000 (03:30 +0000)]
Remove files that moved to config/ and config/<cpu>.

31 years agoUpdate for h8500-dis.c. (Avoid Sun Make vpath bug)
John Gilmore [Tue, 23 Mar 1993 02:55:56 +0000 (02:55 +0000)]
Update for h8500-dis.c.  (Avoid Sun Make vpath bug)

31 years ago * nm-*, xm-*, tm-*: All native, host, and target files, which
Fred Fish [Tue, 23 Mar 1993 01:57:27 +0000 (01:57 +0000)]
* nm-*, xm-*, tm-*:  All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.

31 years ago * config/{*.mt, *.mh}: All target and host makefile fragment
Fred Fish [Tue, 23 Mar 1993 01:19:58 +0000 (01:19 +0000)]
* config/{*.mt, *.mh}:  All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*:  All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.

31 years ago * config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
Fred Fish [Tue, 23 Mar 1993 01:07:36 +0000 (01:07 +0000)]
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}:  New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}:  All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.

31 years ago * config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
Fred Fish [Tue, 23 Mar 1993 01:01:49 +0000 (01:01 +0000)]
* config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
z8k}:  New directories to hold cpu specific configuration files.
Naming follows gcc convention.
* config/{*.mt, *.mh}:  All target and host makefile fragment
config files moved to an appropriate config/<cpu> subdirectory.
* nm-*, xm-*, tm-*:  All native, host, and target files, which
get linked to nm.h, xm.h, and tm.h respectively by configure,
moved to appropriate config/<cpu> subdirectory.
* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
Native, host, and target files that are common across more than
one cpu architecture and included by one of the configured
native, host, or target files, get moved to config directory.
* Makefile.in (INCLUDE_CFLAGS):  Add -I${srcdir}/config to
pick up native, host, or target include files moved to one of
the config subdirectories, and that are included by other files.
* Makefile.in (alldeps.mak):  Modify to account for new config
directory structure.
* alldeps.mak, depend:  Update for new config directory structure.
* config/*/[ntx]m-*.h:  Modify all files that include other
[ntx]m-*.h files to use path relative to gdb/config.  I.E.
"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
"tm-29k.h".
* remote-eb.c (tm-29k.h):  Include a29k/tm-29k.h.
* mipsread.c (tm-mips.h):  Include mips/tm-mips.h.
* i860-pinsn.c (tm-i860.h):  Include i860/tm-i860.h.
* configure.in:  Default gdb_host_cpu to host_cpu, and remap
the ones where the default is not unique or different than the
config subdirectory name.  Similarly, handle gdb_target_cpu.
Modify configure.in as appropriate to make use of gdb_host_cpu
and gdb_target_cpu to find makefile fragments and make links.

31 years agoUpdate to Draft D1.2.1: add membar mask names and ASI names.
Jim Wilson [Tue, 23 Mar 1993 00:27:59 +0000 (00:27 +0000)]
Update to Draft D1.2.1: add membar mask names and ASI names.

31 years agoconfigure has embedded tabs, which I accidentially nuked
David D. Zuhn [Mon, 22 Mar 1993 23:28:43 +0000 (23:28 +0000)]
configure has embedded tabs, which I accidentially nuked

31 years agofix whitespace
David D. Zuhn [Mon, 22 Mar 1993 23:25:27 +0000 (23:25 +0000)]
fix whitespace

31 years ago * coff-mips.c (ecoff_set_symbol_info): Relocate encapsulated stabs
Ian Lance Taylor [Mon, 22 Mar 1993 22:59:29 +0000 (22:59 +0000)]
* coff-mips.c (ecoff_set_symbol_info): Relocate encapsulated stabs
if the type is not stNil.

31 years ago * config/tc-mips.c (macro): Use $AT for any floating point load.
Ian Lance Taylor [Mon, 22 Mar 1993 22:18:43 +0000 (22:18 +0000)]
* config/tc-mips.c (macro): Use $AT for any floating point load.

Also get the debugging information right in obj-ecoff.c.

31 years ago * mipsread.c (compare_blocks): Sort blocks with the same start
Ian Lance Taylor [Mon, 22 Mar 1993 20:41:20 +0000 (20:41 +0000)]
* mipsread.c (compare_blocks): Sort blocks with the same start
address by decreasing ending address.

31 years ago * mipsread.c (parse_procedure, parse_partial_symbols): bug fixes.
Peter Schauer [Mon, 22 Mar 1993 20:25:25 +0000 (20:25 +0000)]
    * mipsread.c (parse_procedure, parse_partial_symbols): bug fixes.

31 years ago * mipsread.c (parse_procedure): Save cur_fdr accross call to
Peter Schauer [Mon, 22 Mar 1993 20:22:54 +0000 (20:22 +0000)]
    * mipsread.c (parse_procedure): Save cur_fdr accross call to
        lookup_symbol as it might get clobbered by the call.

        * mipsread.c (parse_partial_symbols): Use ADD_PSYMBOL_ADDR_TO_LIST.
        The previous code did not initialize the language field for the psymtab
        entry.

31 years agoSolve all config problems, make a local site.exp file.
Rob Savoye [Mon, 22 Mar 1993 05:51:13 +0000 (05:51 +0000)]
Solve all config problems, make a local site.exp file.

31 years ago * configure: add support for package_makefile_fragment, handle the
David D. Zuhn [Mon, 22 Mar 1993 05:09:22 +0000 (05:09 +0000)]
* configure: add support for package_makefile_fragment, handle the
case where a directory has a configure.in file but no Makefile.in
more gracefully (with an actual understandable error message, even);
add support for --without (and add this to the usage message); also
explicitly add a --host=${host_alias} to the command line when
config.guess is used

31 years agoFixed a bunch of missing return codes, misc bugs.
Rob Savoye [Mon, 22 Mar 1993 04:30:50 +0000 (04:30 +0000)]
Fixed a bunch of missing return codes, misc bugs.

31 years ago * gdb.t03/ptype.exp: tests for return code from gdb_test.
Rob Savoye [Mon, 22 Mar 1993 04:26:28 +0000 (04:26 +0000)]
   * gdb.t03/ptype.exp: tests for return code from gdb_test.
       * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
       which in a shell. Deletes xgdb when done.
       * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
       Tests the return from the "set height" or "set width" commands.
       Added a few return codes where needed.

31 years agohandle lack of Makefile.in in a more graceful manner
David D. Zuhn [Mon, 22 Mar 1993 01:47:59 +0000 (01:47 +0000)]
handle lack of Makefile.in in a more graceful manner

31 years agoadded package_makefile_frag support
David D. Zuhn [Mon, 22 Mar 1993 00:47:26 +0000 (00:47 +0000)]
added package_makefile_frag support

31 years agoWe must use both --host and --target options for recursion, because Cygnus and
Jim Wilson [Sun, 21 Mar 1993 20:14:04 +0000 (20:14 +0000)]
We must use both --host and --target options for recursion, because Cygnus and
FSF configure disagree about whether an unadorned machine is target or host.

31 years agofix an m68k 0r0... bug
Ken Raeburn [Sat, 20 Mar 1993 20:54:00 +0000 (20:54 +0000)]
fix an m68k 0r0... bug

31 years agoLint: * c-exp.y (parse_number): Avoid shift warning.
John Gilmore [Sat, 20 Mar 1993 08:44:42 +0000 (08:44 +0000)]
Lint:  * c-exp.y (parse_number):  Avoid shift warning.
* serial.h (struct ttystate):  Declare empty one on DOS.

31 years ago* gdbint.texinfo: Doc NO_MMALLOC and NO_MMALLOC_CHECK as host conditionals.
John Gilmore [Sat, 20 Mar 1993 06:07:16 +0000 (06:07 +0000)]
* gdbint.texinfo:  Doc NO_MMALLOC and NO_MMALLOC_CHECK as host conditionals.
* stabs.texinfo:  More array fixes inspired by Jim's.

31 years agoMake targ-cpu.o depend on config.h so gas will build from scratch.
Jim Wilson [Sat, 20 Mar 1993 05:03:31 +0000 (05:03 +0000)]
Make targ-cpu.o depend on config.h so gas will build from scratch.

31 years agobetter support for configuration with gcc
David D. Zuhn [Sat, 20 Mar 1993 04:51:42 +0000 (04:51 +0000)]
better support for configuration with gcc

31 years agoNew file
Steve Chamberlain [Fri, 19 Mar 1993 23:26:13 +0000 (23:26 +0000)]
New file

31 years agoCheckpoint for Stu
Steve Chamberlain [Fri, 19 Mar 1993 23:05:34 +0000 (23:05 +0000)]
Checkpoint for Stu

31 years agoadd h8500
Steve Chamberlain [Fri, 19 Mar 1993 22:41:15 +0000 (22:41 +0000)]
add h8500

31 years agoNew file
Steve Chamberlain [Fri, 19 Mar 1993 22:39:35 +0000 (22:39 +0000)]
New file

31 years agoOpcode file for the h8/500
Steve Chamberlain [Fri, 19 Mar 1993 22:20:43 +0000 (22:20 +0000)]
Opcode file for the h8/500

31 years ago * xm-sun4os4.h: Return type of free() should be void, not int.
Stu Grossman [Fri, 19 Mar 1993 22:13:38 +0000 (22:13 +0000)]
* xm-sun4os4.h:  Return type of free() should be void, not int.

31 years agoYes John, I haven't heard from Mark Fox yet.
Stu Grossman [Fri, 19 Mar 1993 21:03:05 +0000 (21:03 +0000)]
Yes John, I haven't heard from Mark Fox yet.
* vx-share/vxWorks.h:  Remove #def of NULL.

31 years agonuke no-op STAB_REG_TO_REGNUM
Jim Kingdon [Fri, 19 Mar 1993 19:35:39 +0000 (19:35 +0000)]
nuke no-op STAB_REG_TO_REGNUM

31 years agomention long options in usage message
Jim Kingdon [Fri, 19 Mar 1993 18:58:10 +0000 (18:58 +0000)]
mention long options in usage message

31 years agofixes re arrays and continuations
Jim Kingdon [Fri, 19 Mar 1993 18:48:45 +0000 (18:48 +0000)]
fixes re arrays and continuations