Fred Fish [Fri, 6 Dec 1991 16:37:20 +0000 (16:37 +0000)]
Fixes to improve opaque struct/union handling. Still fails to find the
complete definition for files outside the one containing the complete
definition, if that file has not yet been read in. (Working on it...)
John Gilmore [Fri, 6 Dec 1991 09:22:33 +0000 (09:22 +0000)]
* symtab.c (decode_line_1): If SKIP_PROLOGUE leaves us in
mid-line, be more careful about possibly advancing to the next line.
Michael Tiemann [Fri, 6 Dec 1991 03:01:12 +0000 (03:01 +0000)]
Fix off-by-one error in cplus name demangling.
Fred Fish [Fri, 6 Dec 1991 02:22:10 +0000 (02:22 +0000)]
Several changes to fix misc problems with enums, structs, and unions,
including building symbol table entries for enumeration members.
John Gilmore [Fri, 6 Dec 1991 01:32:34 +0000 (01:32 +0000)]
* symtab.c (check_stub_method): Must allocate two extra argument
slots (one for `this', one for arglist terminator).
Fred Fish [Thu, 5 Dec 1991 19:34:08 +0000 (19:34 +0000)]
Supply missing '"' character.
Fred Fish [Thu, 5 Dec 1991 18:53:46 +0000 (18:53 +0000)]
Supply missing parenthesis (~line 1269).
John Gilmore [Thu, 5 Dec 1991 12:20:18 +0000 (12:20 +0000)]
Fencepost error in reporting regs we can't find in core file.
John Gilmore [Thu, 5 Dec 1991 11:56:20 +0000 (11:56 +0000)]
Fix things pointed up by Fred Fish's test suite; see ChangeLog.
Fred Fish [Thu, 5 Dec 1991 05:09:20 +0000 (05:09 +0000)]
Arrange for enumeration members to be manipulated in source code order,
since they are stored in the Dwarf info in reverse order.
John Gilmore [Thu, 5 Dec 1991 02:26:45 +0000 (02:26 +0000)]
* main.c (input_from_terminal_p): Check whether GDB has a terminal at all.
(initialize_main): Revise doc for `set editing'.
Fred Fish [Wed, 4 Dec 1991 23:40:07 +0000 (23:40 +0000)]
Handle structures and unions which contain DIE's other than just member
DIE's.
Steve Chamberlain [Wed, 4 Dec 1991 18:33:32 +0000 (18:33 +0000)]
Reflect changes in archures.c
Steve Chamberlain [Wed, 4 Dec 1991 18:30:12 +0000 (18:30 +0000)]
* aoutf1.h (sunos_<size>_object_p, sunos4_callback): moved the
computation of arch and machine type so it's worked out before
some_aout_object_p is called.
* aoutx.h: (some_aout_object_p): don't set arch and mach to
unknown.
* archures.c: add extra field 'section_align_power' to hold
default section alignment in object files.
* cpu-a29k.c, cpu-h8300.c, cpu-i386.c, cpu-i960.c, cpu-m68k.c,
cpu-m88k.c, cpu-mips.c, cpu-rs6000.c, cpu-sparc.c, cpu-vax.c:
initialize the new field.
* bout.c (b_out_callback): replace the text size, since aout
fries them.
* aoutx.h: Documentation in the new style
Steve Chamberlain [Wed, 4 Dec 1991 18:25:37 +0000 (18:25 +0000)]
*** empty log message ***
Steve Chamberlain [Wed, 4 Dec 1991 18:16:41 +0000 (18:16 +0000)]
*** empty log message ***
Steve Chamberlain [Wed, 4 Dec 1991 15:32:22 +0000 (15:32 +0000)]
Don't ignore .line directives
John Gilmore [Wed, 4 Dec 1991 10:01:45 +0000 (10:01 +0000)]
* bfd.c (bfd_get_mtime): Don't cache mtime any more; only
use the saved value if mtime_set is already set (intended
for archive files, though apparently not used yet).
John Gilmore [Wed, 4 Dec 1991 09:59:52 +0000 (09:59 +0000)]
* symfile.c (reread_symbols): Avoid kludging mtime_set, now that BFD is fixed.
John Gilmore [Wed, 4 Dec 1991 08:59:57 +0000 (08:59 +0000)]
Improve installation doc slightly, by Mark Sirota's request.
John Gilmore [Wed, 4 Dec 1991 08:36:17 +0000 (08:36 +0000)]
* Makefile.in: VERSION 4.2.96.
* main.c (initialize_main): Revise command descriptions.
* command.c (show_user): `info user' -> `show user'.
* symtab.c (_initialize_symtab): Typo in `info types' desc.
* coffread.c (coff_symfile_read): Avoid select_source_symtab,
since it is not needed and can cause errors when examining ".o"s.
(read_coff_symtab, decode_base_type): Use complain, not printf.
Print symbol name, not its number.
Remove "#if defined(clipper) #define BELIEVE_PCC_PROMOTION", which
someday should go in a clipper target config file.
* symfile.c (compact_misc_function_vector): Handle empty vector.
(complain, clear_complaints, syms_from_objfile): Fix complaint
formatting.
* xcoffexec.c: Change syms_from_objfile caller.
John Gilmore [Wed, 4 Dec 1991 07:39:57 +0000 (07:39 +0000)]
* targets.c: Revise comments about how to configure the target
vector, to match reality. Remove mention of obsolete methods.
Remove long lists of capitalized macros that turn into the same
thing in lowercase. Normal vector simply lists all known
lowercase xvec names; all other cases are handled by SELECT_VECS.
John Gilmore [Wed, 4 Dec 1991 03:24:36 +0000 (03:24 +0000)]
* coffread.c (coff_symfile_read): Avoid select_source_symtab,
since it is not needed and can cause errors when examining ".o"
files.
* symfile.c (compact_misc_function_vector): Handle empty vector.
John Gilmore [Wed, 4 Dec 1991 01:26:05 +0000 (01:26 +0000)]
Make it compile for cross-debugging.
Steve Chamberlain [Wed, 4 Dec 1991 00:18:18 +0000 (00:18 +0000)]
Don't ignore .file pseudos!
Per Bothner [Tue, 3 Dec 1991 22:25:01 +0000 (22:25 +0000)]
* archive.c (bsd_write_armap): The pad byte sometimes added to
the string table in a __.SYMDEF member is now
counted as part of the size of the string table.
This is compatible with the old ranlib, as well as Sun's.
Steve Chamberlain [Tue, 3 Dec 1991 22:16:29 +0000 (22:16 +0000)]
Removed usage of alloca, lint.
Steve Chamberlain [Tue, 3 Dec 1991 18:54:50 +0000 (18:54 +0000)]
* srec.c: Rewrote to fix many bugs; now gets the record type
right, doesn't choke on input, sets the start address in an S9 and
fills in the filename on an S0.
Per Bothner [Mon, 2 Dec 1991 19:08:31 +0000 (19:08 +0000)]
Two small mips-specific fixes (see ChangeLog).
Steve Chamberlain [Sun, 1 Dec 1991 07:54:41 +0000 (07:54 +0000)]
HOSTING_LIBS now reflects where libgnu lives
Steve Chamberlain [Sun, 1 Dec 1991 07:53:50 +0000 (07:53 +0000)]
* cpu-h8300.c: Add support for MEMIND addressing mode
Steve Chamberlain [Sun, 1 Dec 1991 07:37:33 +0000 (07:37 +0000)]
* coff-a29k.c: defined RELOC_PROCESSING to take the #ifdef out of
coffcode.h
* coffcode.h: use the new macro if available
Steve Chamberlain [Sun, 1 Dec 1991 07:14:34 +0000 (07:14 +0000)]
Fix comment.
Steve Chamberlain [Sun, 1 Dec 1991 07:11:25 +0000 (07:11 +0000)]
More filename renaming.
Steve Chamberlain [Sun, 1 Dec 1991 07:06:30 +0000 (07:06 +0000)]
Filename renaming
Steve Chamberlain [Sun, 1 Dec 1991 06:47:23 +0000 (06:47 +0000)]
Changes due to include file renaming:
* xcoffread.c: internalcoff.h ->coff/internal.c,
coff-rs6000.h ->coff/rs6000.h
* mipsread.c: coff-mips.h ->coff/mips.h
* elfread.c: elf-common.h ->elf/common.h
elf-external.h ->elf/external.h,
elf-internal.h ->elf/internal.h
* dwarfread.c dwarf.h ->elf/dwarf.h
* dbxread.c: aout64.h ->aout/aout64.h
stab.gnu.h ->aout/stab_gnu.h
* coffread.c: internalcoff.h ->coff/internal.h
* buildsym.c: stab.gnu.h ->aout/stab_gnu.h
* depend Updated to take the above into account.
Steve Chamberlain [Sun, 1 Dec 1991 06:28:28 +0000 (06:28 +0000)]
* elf.c (elf_corefile_note): cast malloc to avoid warning.
* Makefile.in: Fixed dependencies due to file rename
Steve Chamberlain [Sun, 1 Dec 1991 06:03:28 +0000 (06:03 +0000)]
Fixed dependencies
Steve Chamberlain [Sun, 1 Dec 1991 05:24:02 +0000 (05:24 +0000)]
* aout-encap.c, aoutf1.h, aoutx.h, archive.c, bout.c, coff-a29k.c,
coff-h8300.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c,
coff-mips.c, coff-rs6000.c, cpu-h300.c, elf.c, i386aout.c,
newos3.c, stab-syms.c, syms.c: All these files have had their
#includes altered to point to the new places.
Steve Chamberlain [Sun, 1 Dec 1991 04:56:32 +0000 (04:56 +0000)]
* bfd.h: change the documentation format.
* created coff, elf and opcode and aout directories. Moved:
aout64.h ==> aout/aout64.h
ar.h ==> aout/ar.h
a.out.encap.h ==> aout/encap.h
a.out.host.h ==> aout/host.h
a.out.hp.h ==> aout/hp.h
a.out.sun4.h ==> aout/sun4.h
ranlib.h ==> aout/ranlib.h
reloc.h ==> aout/reloc.h
stab.def ==> aout/stab.def
stab.gnu.h ==> aout/stab_gnu.h
coff-a29k.h ==> coff/a29k.h
coff-h8300.h ==> coff/h8300.h
coff-i386.h ==> coff/i386.h
coff-i960.h ==> coff/i960.h
internalcoff.h ==> coff/internal.h
coff-m68k.h ==> coff/m68k.h
coff-m88k.h ==> coff/m88k.h
coff-mips.h ==> coff/mips.h
coff-rs6000.h ==> coff/rs6000.h
elf-common.h ==> elf/common.h
dwarf.h ==> elf/dwarf.h
elf-external.h ==> elf/external.h
elf-internal.h ==> elf/internal.h
a29k-opcode.h ==> opcode/a29k.h
arm-opcode.h ==> opcode/arm.h
h8300-opcode.h ==> opcode/h8300.h
i386-opcode.h ==> opcode/i386.h
i860-opcode.h ==> opcode/i860.h
i960-opcode.h ==> opcode/i960.h
m68k-opcode.h ==> opcode/m68k.h
m88k-opcode.h ==> opcode/m88k.h
mips-opcode.h ==> opcode/mips.h
np1-opcode.h ==> opcode/np1.h
ns32k-opcode.h ==> opcode/ns32k.h
pn-opcode.h ==> opcode/pn.h
pyr-opcode.h ==> opcode/pyr.h
sparc-opcode.h ==> opcode/sparc.h
tahoe-opcode.h ==> opcode/tahoe.h
vax-opcode.h ==> opcode/vax.h
Steve Chamberlain [Sun, 1 Dec 1991 04:45:47 +0000 (04:45 +0000)]
Initial revision
Steve Chamberlain [Sun, 1 Dec 1991 04:26:38 +0000 (04:26 +0000)]
Initial revision
Steve Chamberlain [Sun, 1 Dec 1991 02:59:19 +0000 (02:59 +0000)]
Sat Nov 30 18:58:40 1991 Steve Chamberlain (sac at cygnus.com)
* am29k-pinsn.c m68k-pinsn.c nm.c sparc-pinsn.c: now point to where
the header files have moved to.
Steve Chamberlain [Sun, 1 Dec 1991 02:58:37 +0000 (02:58 +0000)]
Updated to point to where the header files are now
Steve Chamberlain [Sun, 1 Dec 1991 02:46:04 +0000 (02:46 +0000)]
Initial revision
Steve Chamberlain [Sun, 1 Dec 1991 02:29:45 +0000 (02:29 +0000)]
Initial revision
Steve Chamberlain [Sun, 1 Dec 1991 02:12:42 +0000 (02:12 +0000)]
Reflect the new scheme
Steve Chamberlain [Sun, 1 Dec 1991 01:43:03 +0000 (01:43 +0000)]
*** empty log message ***
Steve Chamberlain [Sun, 1 Dec 1991 01:32:27 +0000 (01:32 +0000)]
Changed all prototypes from PROTO to EXFUN
Steve Chamberlain [Sun, 1 Dec 1991 01:31:03 +0000 (01:31 +0000)]
Fix typo in dependencies
Steve Chamberlain [Sun, 1 Dec 1991 01:28:32 +0000 (01:28 +0000)]
bfd.texinfo
use fsf-texi.tex rather than texinfo
Makefile.in
various bugfixes
Steve Chamberlain [Sun, 1 Dec 1991 01:27:19 +0000 (01:27 +0000)]
New order documentation
Steve Chamberlain [Sun, 1 Dec 1991 01:16:56 +0000 (01:16 +0000)]
Now reflect the new documentation order
Steve Chamberlain [Sun, 1 Dec 1991 00:40:39 +0000 (00:40 +0000)]
Moved the position of the #### lines so that the makefile fragments
can override the BFD_{LIBS,MACHINES,BACKENDS} make variables.
Steve Chamberlain [Sun, 1 Dec 1991 00:39:12 +0000 (00:39 +0000)]
New documentation style
Steve Chamberlain [Sat, 30 Nov 1991 22:33:57 +0000 (22:33 +0000)]
Even more documentation
Steve Chamberlain [Sat, 30 Nov 1991 21:41:22 +0000 (21:41 +0000)]
New documentation style
Fred Fish [Sat, 30 Nov 1991 04:49:48 +0000 (04:49 +0000)]
Add new files mh-i386v4 and mt-i386v4 to .Sanitize, check in the new
files.
Fred Fish [Sat, 30 Nov 1991 04:49:47 +0000 (04:49 +0000)]
Initial revision
Fred Fish [Sat, 30 Nov 1991 04:46:50 +0000 (04:46 +0000)]
Add tm-i386v4.h and xm-i386v4.h to Sanitize, add i386/SVR4 to configuration
file, recognize names beginning with '.' as compiler generated "fake" tags
for anonymous structures, unions and enums. Add target dependent functions
for SVR4 /proc register interface (i386-tdep.c).
Fred Fish [Sat, 30 Nov 1991 04:22:57 +0000 (04:22 +0000)]
Add h-i386v4.h to Sanitize file. Check in new h-i386v4.h.
Fred Fish [Sat, 30 Nov 1991 04:22:56 +0000 (04:22 +0000)]
Initial revision
Fred Fish [Sat, 30 Nov 1991 04:20:07 +0000 (04:20 +0000)]
Fix bug in elf.c (missing "break" statements in cases), add ncr and
SVR4 i386 support to configuration.
Fred Fish [Sat, 30 Nov 1991 04:03:50 +0000 (04:03 +0000)]
Change comments on svr4/amiga entries. Add ncr3000 as a recognized
configuration abbreviation.
Fred Fish [Sat, 30 Nov 1991 01:02:03 +0000 (01:02 +0000)]
Change simple call to printf of error message to a call to error(). Output
was not getting flushed and was not being newline terminated.
Roland Pesch [Sat, 30 Nov 1991 00:06:36 +0000 (00:06 +0000)]
*** empty log message ***
Roland Pesch [Sat, 30 Nov 1991 00:01:01 +0000 (00:01 +0000)]
(1) At Bob Chassell's request, remove leading comments that used to
survive M4 filtering but still tell people the original source was
M4'd;
(2) Also for B.C., include one more emphasis font in @colophon at end;
(3) Thanks to J Gilmore, strengthen wording about unsupported
combinations of host-manufacturer-OS in config Appendix.
Per Bothner [Fri, 29 Nov 1991 20:31:57 +0000 (20:31 +0000)]
Two small bug-fixes (affecting ar and nm).
Steve Chamberlain [Fri, 29 Nov 1991 01:09:30 +0000 (01:09 +0000)]
Uses something which will actuall work on an ebmon system
Steve Chamberlain [Fri, 29 Nov 1991 01:05:58 +0000 (01:05 +0000)]
Massive changes to generalize coff-bfd support enough to get 29k
working as well as it did before.
This means that 29k now supports multiple sections
Steve Chamberlain [Fri, 29 Nov 1991 01:03:25 +0000 (01:03 +0000)]
Made ebmon29k use coff-bfd backend
Michael Tiemann [Fri, 29 Nov 1991 00:43:02 +0000 (00:43 +0000)]
Updated movc and fmovc patterns to reflect the latest encodings in the
0.3.1 Sparc V9 manual.
Steve Chamberlain [Thu, 28 Nov 1991 21:24:07 +0000 (21:24 +0000)]
* config/obj-coff-bfd: made multiple sections with subsections
work.
* config/tc-h8300.c: made $ statement sep, and int alloc 2 bytes.
Steve Chamberlain [Thu, 28 Nov 1991 21:23:52 +0000 (21:23 +0000)]
*** empty log message ***
Steve Chamberlain [Thu, 28 Nov 1991 21:23:39 +0000 (21:23 +0000)]
* config/tc-h8300.c: made $ statement sep, and int alloc 2 bytes.
Steve Chamberlain [Thu, 28 Nov 1991 21:22:41 +0000 (21:22 +0000)]
Made multiple sections with subsections work.
John Gilmore [Thu, 28 Nov 1991 00:51:48 +0000 (00:51 +0000)]
Make structs work on DECstation (sigh)
John Gilmore [Wed, 27 Nov 1991 23:32:47 +0000 (23:32 +0000)]
Fix syntax errors.
Steve Chamberlain [Wed, 27 Nov 1991 22:28:57 +0000 (22:28 +0000)]
Added obj-coff-bfd* and mt-h8300hds
Steve Chamberlain [Wed, 27 Nov 1991 22:25:34 +0000 (22:25 +0000)]
Added coff-h8300.h
John Gilmore [Wed, 27 Nov 1991 22:05:28 +0000 (22:05 +0000)]
Add COFF_SWAP_TABLE to it (oops)
Steve Chamberlain [Wed, 27 Nov 1991 21:57:48 +0000 (21:57 +0000)]
coff-i386.c
Fixed the RTYPETOHOWTO -> TYPE2HOWTO
coff-mips.c coff-rs6000.c
Can't read relocs, so provide empty macro
Roland Pesch [Wed, 27 Nov 1991 21:32:15 +0000 (21:32 +0000)]
Hitachi h8/300 config of GAS manual (first draft), and a few config
spinoffs in the direction of feature-based config rather than entirely
machine-dep.
Roland Pesch [Wed, 27 Nov 1991 21:32:00 +0000 (21:32 +0000)]
Initial revision
John Gilmore [Wed, 27 Nov 1991 19:28:39 +0000 (19:28 +0000)]
Fiddle diddle descriptor
Steve Chamberlain [Wed, 27 Nov 1991 18:40:40 +0000 (18:40 +0000)]
* internalcoff.h: (internal_scnhdr) took out #def dependency, now
s_nreloc and s_nlnno are always long. (internal_reloc): allways
has an offset field now.
Steve Chamberlain [Wed, 27 Nov 1991 18:35:48 +0000 (18:35 +0000)]
Initial revision
Steve Chamberlain [Wed, 27 Nov 1991 16:58:22 +0000 (16:58 +0000)]
Added h8
Steve Chamberlain [Wed, 27 Nov 1991 16:56:08 +0000 (16:56 +0000)]
* Makefile.in: added coff-h8300
* configure.in: now h8 is a coff target
* cpu-h8300.c: fix various disassembly problems
* libcoff.h: took out some code which has been #0ed for a long
time.
* targets.c: added h8 coff
* coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c
added new macro RTYPE2HOWTO to take a load of #ifdefs out of
coffcode.h
* coffcode.h: Started to change the way machine dependencies are
handled, from the nest of #ifdefs to macros defined in the
including coff-<foo>.c
Michael Tiemann [Wed, 27 Nov 1991 12:22:35 +0000 (12:22 +0000)]
readline/sysdep.h no longer exists, so main.o does not depend on it.
John Gilmore [Wed, 27 Nov 1991 09:43:59 +0000 (09:43 +0000)]
Improve G++ debugging support.
Roland Pesch [Tue, 26 Nov 1991 19:41:08 +0000 (19:41 +0000)]
Switch to _A29K__ (from _AMD29K__).
Steve Chamberlain [Tue, 26 Nov 1991 02:30:24 +0000 (02:30 +0000)]
Renamed static function to avoid conflict with header file
Steve Chamberlain [Tue, 26 Nov 1991 02:29:18 +0000 (02:29 +0000)]
Mon Nov 25 18:28:40 1991 Steve Chamberlain (sac at cygnus.com)
* config.h: h8 is now coff, not ieee
* h8300hds.sc: reflect the same
Steve Chamberlain [Tue, 26 Nov 1991 02:16:59 +0000 (02:16 +0000)]
obj-coff-bfd:
bfd support gets deeper into gas
*h8*
fixed numerous bugs in instruction encoding
Steve Chamberlain [Tue, 26 Nov 1991 02:16:53 +0000 (02:16 +0000)]
Initial revision
Steve Chamberlain [Tue, 26 Nov 1991 02:15:13 +0000 (02:15 +0000)]
Mon Nov 25 17:26:22 1991 Steve Chamberlain (sac at cygnus.com)
* as.c: (perform_an_assembly_pass): moved declaration of i to
avoid a syntax error. Now always create the three default
sections when in MANY_SEGMENTS mode.
* as.h: New improved way of specifying MANY_SEGMENTS
* configure.in: hds object format is now coff-bfd
* subsegs.h: add line numbers and section stuff to the
segment_info structure. (But go back later and fix.. this is
COFF specific)
Stu Grossman [Mon, 25 Nov 1991 20:33:19 +0000 (20:33 +0000)]
Add -lbsd to XM_CLIBS so that we get the right version of setpgrp.
Michael Tiemann [Sun, 24 Nov 1991 17:24:52 +0000 (17:24 +0000)]
Ensure we null-terminate the string we copy at the start of
m68k_reg_parse.
Michael Tiemann [Sun, 24 Nov 1991 17:23:10 +0000 (17:23 +0000)]
Resync reloc_type and RELOC_TYPE_NAMES.