Fred Fish [Sat, 9 Nov 1991 21:43:47 +0000 (21:43 +0000)]
Re-enable compilation of register_addr() stub whenever it is not supplied
by coredep.c, since it is referenced by fetch_core_registers(). This is
still a temporary kludge.
John Gilmore [Sat, 9 Nov 1991 11:24:36 +0000 (11:24 +0000)]
* configure.in: Make a link for sysdep.h. Specify commontargets.
* sysdep-norm.h: The usual alloca declarations.
* sysdep-aix.h: What AIX 3.1 on RS/6000 needs for alloca.
* history.c, readline.c: Use sysdep.h.
John Gilmore [Sat, 9 Nov 1991 11:13:02 +0000 (11:13 +0000)]
* coff-rs6000.c, config/mh-rs6000: Make it work on archive and
core files, when compiling native.
* hosts/h-rs6000.h: Define FASCIST_FDOPEN for bfd_fdopenr.
John Gilmore [Sat, 9 Nov 1991 10:50:07 +0000 (10:50 +0000)]
Add tracking of object files (that contain symbols) to gdb.
This includes a "struct objfile" that owns symtabs and psymtabs
that were read in from that binary file. See ChangeLog.
Thu Nov 7 08:58:26 1991 Steve Chamberlain (sac at cygnus.com)
* internalcoff.h: took out the M88 dependency in the lineno
struct.
* coff-m88k.h: defines GET_LINENO_LNNO and PUT_LINENO_LNNO to use
32bit linno entries.
* a29k-opcode.h: fixed encoding of mtacc
Thu Nov 7 11:03:55 1991 Steve Chamberlain (sac at rtl.cygnus.com)
* coffcode.h: Defined new macros [PUT|GET]LINENO_LNNO for
manipulation of lnno fields in lineno structs in a coff-<f>.h
independent way. Override it in coff-<f>.h to your favourite
number if you don't have a 16bit lnno field. (coff_swap_lineno_in)
(coff_swap_lineno_out): modified to use the new macros.
John Gilmore [Thu, 7 Nov 1991 13:14:59 +0000 (13:14 +0000)]
* tm-*.h: Remove READ_DBX_FORMAT, COFF_FORMAT, and
READ_MIPS_FORMAT, which have been unused since BFD. Still
remaining is COFF_NO_LONG_FILE_NAMES.
* tm-sun3.h, tm-altos.h: Remove detritus accidentally left from
function calling code moved to m68k-tdep.c.
John Gilmore [Thu, 7 Nov 1991 01:27:46 +0000 (01:27 +0000)]
* coffread.c: Eliminate c_nsyms in favor of c_naux.
Complain if no auxents on .bf and .ef FCN symbols, and assume
lots of line numbers.
(init_linenos, enter_linenos): Use a sentinel at the end of the
read-in linenos, to make for a fast, safe loop-end test.
* Makefile.in: put a - infront of the mv y.tab.c c-exp.tab.c and
mv y.tab.c m2-exp.tab.c, so that if bison is used, and the files
are created in place, so the mv fails, then the make continues.
the old solution:
then echo \`pwd\`/$(unsubdir)/../bison$(subdir)/bison -L $(srcdir)/bison/ ; \
is wrong: proof:
[stuff]
>> /limbo/steve/devo/gcc/./../bison/bison -L ./bison/ -v ./c-parse.y -o c-parse.tab.c
>> /limbo/steve/devo/gcc/./../bison/bison: ./bison/bison.simple: No such file or directory
This solution:
then echo \`pwd\`/$(unsubdir)/../bison$(subdir)/bison -L \`pwd\`/$(unsubdir)/../bison$(subdir)/ ; \
Per Bothner [Mon, 4 Nov 1991 23:15:31 +0000 (23:15 +0000)]
* infrun.c: Fixed typo in comment.
* utils.c: All the v*fprintf emulation is now in libiberty,
so we can get rid of some junk.
* xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco,
xconfig/sun3os4, xconfig/sun4os4: Don`t need HAVE_STRSTR any more.
* m68k-pinsn.c (print_insn_arg): Support BB/BW/BL
type operands, as used by branch instructions.
* gmalloc.c: Fix prototype of memcpy.
* elfread.c: Comment out register_addr, since it conflicts
with the one in coredep.c.
* buildsym.h: Remove extern declarations of two functions
that are really static in buildsym.c.
* tm-mips.h: Add symbolic names for more registers.
* mips-xdep.c (store_inferior_registers): Use new register names.
* xm-mips.h: Simplify REGISTER_U_ADDR, since it is now
only used for core files, not ptrace. Therefore,
the KERNEL_U_ADDR hack is no longer needed.
The mapping to ptrace number is now in in mips-xdep.c.
* mips-xdep.c: Define REGISTER_PTRACE_ADDR (using the
mapping from the old REGISTER_U_ADDR), and use it
in {fetch,store}_inferior_registers.
* mipsread.c: Rename #include ecoff.h to new name coff-mips.h.
* mips-tdep.c (mips_push_dummy_frame, mips_pop_frame):
Save/restore FP regs correctly (?).
* dbxread.c: Remove duplicate define_symbol and type_synonym_name
(these had been previously moved to buildsym.c).
Hence, define_symbol becomes extern instead of static.
* buildsym.c (read_struct_type): Comment out bogus handling
of C++ operator methods. Minor hacking of reading of class
contexts. Make define_symbol non-static, so dbxread.c can call it.