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.
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.
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.
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.
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.
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
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.
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.
Per Bothner [Fri, 19 Mar 1993 00:18:55 +0000 (00:18 +0000)]
* ieee-float.c: Moved to ../libiberty.
* ieee-float.h: Moved to ../include.
* Makefile.in: Update accordingly.
* i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn):
Convert to stubs that call disassemblers in ../opcodes/*-dis.c.
* m68k-tdep.c: Removed definition of ext_format ext_format_68881;
it is now in ../opcodes/m68881-ext.c.
* mips-tdep.c (mips_skip_prologue): Try to skip more of the
prologue (some callers _do_ care).
* mips-pinsn.c (print_insn), z8k-tdep.c (print_insn): Convert to
new interface of ../opcodes/*-dis.c.
* ch-exp.y: Add #include <ctype.h>.
Per Bothner [Fri, 19 Mar 1993 00:12:50 +0000 (00:12 +0000)]
* m68k-pinsn.c: Removed. Subsumed by ../opcodes/m68k-dis.c.
* i386-pinsn.c: Removed. Subsumed by ../opcodes/i386-dis.c.
* Makefile.in: Adjust accordingly.
* objdump.c: Support new-style disassemblers (ones that use
the interface of ../include/dis-asm.h).
Per Bothner [Fri, 19 Mar 1993 00:11:02 +0000 (00:11 +0000)]
* mips-dis.c, z8k-dis.c: Converted to use interface defined in
../include/dis-asm.h.
* m68k-dis.c: New file (merge of ../binutils/m68k-pinsn.c
and ../gdb/m68k-pinsn.c).
* i386-dis.c: New file (merge of ../binutils/i386-pinsn.c
and ../gdb/i386-pinsn.c).
* m68881-ext.c: New file. Moved definition of
ext_format ext_format_68881 from ../gdb/m68k-tdep.c.
* Makefile.in: Adjust for new files.
* i386-dis.c: Patches from John Hassey ([email protected]).
* m68k-dis.c: Recognize '9' placement code, so (say) pflush
can be dis-assembled.
Ian Lance Taylor [Thu, 18 Mar 1993 00:52:37 +0000 (00:52 +0000)]
* app.c (do_scrub_next_char): Added new state, 9, to avoid
dropping a space immediately following an identifier.
* expr.c, write.c: Rewrote assert expressions to not use multiple
lines; I don't think that can be done portably.
* config/tc-mips.c (macro): Use $AT if target register is zero in
load instruction, which it can be for a floating point load.
Also a bunch more changes to config/obj-ecoff.c, still in flux.
Fred Fish [Wed, 17 Mar 1993 19:33:19 +0000 (19:33 +0000)]
* gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
files to test gdb's calling of functions in the inferior with
the correct arguments and gdb's ability to retrieve any
result returned.
Fred Fish [Wed, 17 Mar 1993 19:28:59 +0000 (19:28 +0000)]
* valops.c (value_arg_coerce): Apply temporary patch to
fix problem with coercion of array and function types when
passed as arguments to C functions, pending a more complete
review of when and how coercion should be done, depending
upon context and language.