binutils-gdb.git
33 years agoMore changes for objfiles.
John Gilmore [Sat, 9 Nov 1991 11:01:08 +0000 (11:01 +0000)]
More changes for objfiles.

33 years agoAdd tracking of object files (that contain symbols) to gdb.
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.

33 years agoLint and some rs/6000 port.
John Gilmore [Sat, 9 Nov 1991 07:45:36 +0000 (07:45 +0000)]
Lint and some rs/6000 port.

33 years agoNow runs write_armap, even when listing contents.
Steve Chamberlain [Sat, 9 Nov 1991 01:07:40 +0000 (01:07 +0000)]
Now runs write_armap, even when listing contents.

33 years agoFixed bug printing 29050 instructions.
Steve Chamberlain [Sat, 9 Nov 1991 00:13:31 +0000 (00:13 +0000)]
Fixed bug printing 29050 instructions.

33 years agoFormat improvements, mostly for @smallbook (including reformatted table
Roland Pesch [Fri, 8 Nov 1991 20:57:43 +0000 (20:57 +0000)]
Format improvements, mostly for @smallbook (including reformatted table
of config options).

33 years agoRemove spurious echo
Steve Chamberlain [Fri, 8 Nov 1991 05:59:52 +0000 (05:59 +0000)]
Remove spurious echo

33 years agoPut .comments into .data section, otherwise 88k can't exec the image.
Steve Chamberlain [Fri, 8 Nov 1991 05:55:19 +0000 (05:55 +0000)]
Put .comments into .data section, otherwise 88k can't exec the image.

33 years ago * Makefile.in: link with libiberty after libreadline, since
Steve Chamberlain [Fri, 8 Nov 1991 02:58:01 +0000 (02:58 +0000)]
* Makefile.in: link with libiberty after libreadline, since
readline might want something in libiberty.

33 years agoOnly has -DSYSV now
Steve Chamberlain [Fri, 8 Nov 1991 02:51:27 +0000 (02:51 +0000)]
Only has -DSYSV now

33 years ago * m88k-xdep.c: Fixed the register offsets in the ptrace_user
Steve Chamberlain [Fri, 8 Nov 1991 02:28:35 +0000 (02:28 +0000)]
* m88k-xdep.c: Fixed the register offsets in the ptrace_user
struct for BCS 88k machines.
* xm-m88k.h: don't define USIZE if already defined.
* configure.in: Added delta88 target.

33 years agoFixed S?IP_OFFSETs for the Motorola Delta 88.
Steve Chamberlain [Fri, 8 Nov 1991 02:22:46 +0000 (02:22 +0000)]
Fixed S?IP_OFFSETs for the Motorola Delta 88.

33 years agoAdded delta88 cases
Steve Chamberlain [Fri, 8 Nov 1991 02:20:29 +0000 (02:20 +0000)]
Added delta88 cases

33 years ago#ifndef USIZE
Steve Chamberlain [Fri, 8 Nov 1991 02:18:49 +0000 (02:18 +0000)]
#ifndef USIZE
around #define USIZE

33 years agoInclude coff-m88k.h rather than m88kbcs.h
Steve Chamberlain [Fri, 8 Nov 1991 02:17:43 +0000 (02:17 +0000)]
Include coff-m88k.h rather than m88kbcs.h

33 years agoInstall ld into ddestdir/bin.
Steve Chamberlain [Fri, 8 Nov 1991 02:16:19 +0000 (02:16 +0000)]
Install ld into ddestdir/bin.

33 years agoFix decoding of mtacc, dmac, fmac. These files should really get merged
John Gilmore [Fri, 8 Nov 1991 01:50:51 +0000 (01:50 +0000)]
Fix decoding of mtacc, dmac, fmac.  These files should really get merged
with the ones in BFD and the assembler, but c'est la vie.

33 years agoSmallbook format fixes.
Roland Pesch [Fri, 8 Nov 1991 01:46:38 +0000 (01:46 +0000)]
Smallbook format fixes.

33 years agoInitial revision
Sean Eric Fagan [Fri, 8 Nov 1991 01:17:18 +0000 (01:17 +0000)]
Initial revision

33 years agofixed for objdir/subdirs
K. Richard Pixley [Fri, 8 Nov 1991 00:54:27 +0000 (00:54 +0000)]
fixed for objdir/subdirs

33 years agoFix missing brackets, parens, discovered during man-page conversion.
Roland Pesch [Fri, 8 Nov 1991 00:31:44 +0000 (00:31 +0000)]
Fix missing brackets, parens, discovered during man-page conversion.

33 years agoinstall man pages too
K. Richard Pixley [Fri, 8 Nov 1991 00:14:07 +0000 (00:14 +0000)]
install man pages too

33 years agoget version from the right place
K. Richard Pixley [Fri, 8 Nov 1991 00:13:45 +0000 (00:13 +0000)]
get version from the right place

33 years agorework install-dirs, add install-no-fixinclude
K. Richard Pixley [Fri, 8 Nov 1991 00:08:14 +0000 (00:08 +0000)]
rework install-dirs, add install-no-fixinclude

33 years agoInitial revision
Steve Chamberlain [Thu, 7 Nov 1991 23:37:54 +0000 (23:37 +0000)]
Initial revision

33 years agoThu Nov 7 08:58:26 1991 Steve Chamberlain (sac at cygnus.com)
Steve Chamberlain [Thu, 7 Nov 1991 19:08:56 +0000 (19:08 +0000)]
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

33 years agoThu Nov 7 11:03:55 1991 Steve Chamberlain (sac at rtl.cygnus.com)
Steve Chamberlain [Thu, 7 Nov 1991 19:06:38 +0000 (19:06 +0000)]
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.

33 years agoFixed encoding of mtacc instruction.
Steve Chamberlain [Thu, 7 Nov 1991 16:59:19 +0000 (16:59 +0000)]
Fixed encoding of mtacc instruction.

33 years ago*** empty log message ***
Steve Chamberlain [Thu, 7 Nov 1991 16:57:21 +0000 (16:57 +0000)]
*** empty log message ***

33 years ago* tm-*.h: Remove READ_DBX_FORMAT, COFF_FORMAT, and
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.

33 years agofix a three-stage typo, build better install-dirs
K. Richard Pixley [Thu, 7 Nov 1991 10:16:37 +0000 (10:16 +0000)]
fix a three-stage typo, build better install-dirs

33 years agoonly build a link if it isn't there already
K. Richard Pixley [Thu, 7 Nov 1991 10:14:32 +0000 (10:14 +0000)]
only build a link if it isn't there already

33 years agofixed some comments, removed the "in /giga/auto-tests/devo" line
K. Richard Pixley [Thu, 7 Nov 1991 07:25:27 +0000 (07:25 +0000)]
fixed some comments, removed the "in /giga/auto-tests/devo" line

33 years ago* coffread.c: Eliminate c_nsyms in favor of c_naux.
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.

33 years agoWouldn't it be nice if Sanitize ignored spaces ?
Steve Chamberlain [Wed, 6 Nov 1991 11:53:16 +0000 (11:53 +0000)]
Wouldn't it be nice if Sanitize ignored spaces ?

33 years agoInitial revision
K. Richard Pixley [Wed, 6 Nov 1991 09:48:32 +0000 (09:48 +0000)]
Initial revision

33 years agoUse the right AR
Steve Chamberlain [Wed, 6 Nov 1991 09:29:36 +0000 (09:29 +0000)]
Use the right AR

33 years agoAdded three files which had been forgotten
Steve Chamberlain [Wed, 6 Nov 1991 09:26:59 +0000 (09:26 +0000)]
Added three files which had been forgotten

33 years agoAdded gdb.1
Steve Chamberlain [Wed, 6 Nov 1991 09:24:57 +0000 (09:24 +0000)]
Added gdb.1

33 years agoUniq contents, since configure gets confused if the same file is in more than once.
Steve Chamberlain [Wed, 6 Nov 1991 09:14:33 +0000 (09:14 +0000)]
Uniq contents, since configure gets confused if the same file is in more than once.

33 years agoAdded nm.1, objdump.1, ranlib.1, size.1 and strip.1
Steve Chamberlain [Wed, 6 Nov 1991 09:06:02 +0000 (09:06 +0000)]
Added nm.1, objdump.1, ranlib.1, size.1 and strip.1

33 years agoAdded $(INSTALL_FIXED_INCLUDES) so devo/config dir can chose not to create
Steve Chamberlain [Wed, 6 Nov 1991 08:12:56 +0000 (08:12 +0000)]
Added $(INSTALL_FIXED_INCLUDES) so devo/config dir can chose not to create
all the /usr/include stuff if it wants to.

Steve

33 years ago*** empty log message ***
Steve Chamberlain [Wed, 6 Nov 1991 08:01:00 +0000 (08:01 +0000)]
*** empty log message ***

33 years ago*** empty log message ***
Steve Chamberlain [Wed, 6 Nov 1991 07:38:18 +0000 (07:38 +0000)]
*** empty log message ***

33 years agowith bison's help, call it in such a way that any configuration type can find it
K. Richard Pixley [Wed, 6 Nov 1991 07:34:54 +0000 (07:34 +0000)]
with bison's help, call it in such a way that any configuration type can find it

33 years ago * Makefile.in: put a - infront of the mv y.tab.c c-exp.tab.c and
Steve Chamberlain [Wed, 6 Nov 1991 06:49:20 +0000 (06:49 +0000)]
* 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.

33 years agoHi, I've fixed this twice now.
Steve Chamberlain [Wed, 6 Nov 1991 06:07:13 +0000 (06:07 +0000)]
Hi, I've fixed this twice now.

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)/ ; \

works.

33 years agoget bison library path right
K. Richard Pixley [Wed, 6 Nov 1991 05:18:14 +0000 (05:18 +0000)]
get bison library path right

33 years agoget bison library path right
K. Richard Pixley [Wed, 6 Nov 1991 05:15:52 +0000 (05:15 +0000)]
get bison library path right

33 years agooops, syntax error
K. Richard Pixley [Wed, 6 Nov 1991 02:30:51 +0000 (02:30 +0000)]
oops, syntax error

33 years agoadjust STRIP_UNDERSCORE
K. Richard Pixley [Wed, 6 Nov 1991 02:27:02 +0000 (02:27 +0000)]
adjust STRIP_UNDERSCORE

33 years agoadjust STRIP_UNDERSCORE, polish te-files
K. Richard Pixley [Wed, 6 Nov 1991 02:23:49 +0000 (02:23 +0000)]
adjust STRIP_UNDERSCORE, polish te-files

33 years agoInitial revision
K. Richard Pixley [Wed, 6 Nov 1991 02:23:45 +0000 (02:23 +0000)]
Initial revision

33 years ago*** empty log message ***
Steve Chamberlain [Wed, 6 Nov 1991 01:53:55 +0000 (01:53 +0000)]
*** empty log message ***

33 years agoNew prototype from sectino.c
Steve Chamberlain [Wed, 6 Nov 1991 01:23:48 +0000 (01:23 +0000)]
New prototype from sectino.c

33 years agoCorrection in intro text re corefile arg (may also be procID); second time
Roland Pesch [Wed, 6 Nov 1991 01:22:44 +0000 (01:22 +0000)]
Correction in intro text re corefile arg (may also be procID); second time
around didn't ack two possibilities.

33 years agoCall new bfd entrypoint bfd_make_section_old_way
Steve Chamberlain [Wed, 6 Nov 1991 01:21:19 +0000 (01:21 +0000)]
Call new bfd entrypoint bfd_make_section_old_way

33 years agoAdd C++ as a separate language.
Per Bothner [Wed, 6 Nov 1991 01:08:21 +0000 (01:08 +0000)]
Add C++ as a separate language.

Also, fix a C++ problem when looking for methods in super-classes.
(There was confusion between base and derived types.)

33 years agoRecord (as comments) three FIXMEs.
Roland Pesch [Wed, 6 Nov 1991 00:36:08 +0000 (00:36 +0000)]
Record (as comments) three FIXMEs.

33 years agoInitial revision
Roland Pesch [Tue, 5 Nov 1991 23:35:16 +0000 (23:35 +0000)]
Initial revision

33 years agoInitial revision
Roland Pesch [Tue, 5 Nov 1991 23:19:25 +0000 (23:19 +0000)]
Initial revision

33 years agoFix for slight formatting error discovered while converting man pages.
Roland Pesch [Tue, 5 Nov 1991 22:53:44 +0000 (22:53 +0000)]
Fix for slight formatting error discovered while converting man pages.

33 years agoInitial revision
Roland Pesch [Tue, 5 Nov 1991 22:52:54 +0000 (22:52 +0000)]
Initial revision

33 years agoInitial revision
Roland Pesch [Tue, 5 Nov 1991 22:43:50 +0000 (22:43 +0000)]
Initial revision

33 years agoInitial revision
Roland Pesch [Tue, 5 Nov 1991 22:29:15 +0000 (22:29 +0000)]
Initial revision

33 years agoAdded default_reloc_type_lookup to arch_info
Steve Chamberlain [Tue, 5 Nov 1991 22:18:59 +0000 (22:18 +0000)]
Added default_reloc_type_lookup to  arch_info

33 years agoInitial revision
Roland Pesch [Tue, 5 Nov 1991 22:18:44 +0000 (22:18 +0000)]
Initial revision

33 years agougly bug in relocation emission
K. Richard Pixley [Tue, 5 Nov 1991 22:00:51 +0000 (22:00 +0000)]
ugly bug in relocation emission

33 years ago*** empty log message ***
Steve Chamberlain [Tue, 5 Nov 1991 21:56:06 +0000 (21:56 +0000)]
*** empty log message ***

33 years agoget bison subdirs right
K. Richard Pixley [Tue, 5 Nov 1991 21:54:33 +0000 (21:54 +0000)]
get bison subdirs right

33 years agoInitial revision
Roland Pesch [Tue, 5 Nov 1991 21:54:10 +0000 (21:54 +0000)]
Initial revision

33 years agoAdded a load of mt/mh files
Steve Chamberlain [Tue, 5 Nov 1991 21:21:12 +0000 (21:21 +0000)]
Added a load of mt/mh files

33 years agoUses ddestdir instead of destdir.
Steve Chamberlain [Tue, 5 Nov 1991 21:17:49 +0000 (21:17 +0000)]
Uses ddestdir instead of destdir.

33 years agoAdded mh-rs6000
Steve Chamberlain [Tue, 5 Nov 1991 21:16:30 +0000 (21:16 +0000)]
Added mh-rs6000

33 years agorenamed to make:
Steve Chamberlain [Tue, 5 Nov 1991 20:58:27 +0000 (20:58 +0000)]
renamed to make:
mh-delta88
mh-dgux
mh-svr4
mh-sysv
mt-a29k
mt-ebmon29k

33 years agoAdded h-delta88
Steve Chamberlain [Tue, 5 Nov 1991 20:55:45 +0000 (20:55 +0000)]
Added h-delta88

33 years agoAdded README to .Sanitize
Steve Chamberlain [Tue, 5 Nov 1991 20:53:19 +0000 (20:53 +0000)]
Added README to .Sanitize
Made Makefile.in install using ddestdir

33 years ago*** empty log message ***
Steve Chamberlain [Tue, 5 Nov 1991 20:36:54 +0000 (20:36 +0000)]
*** empty log message ***

33 years agoREADME.configure is now DOC.configure
K. Richard Pixley [Tue, 5 Nov 1991 20:03:20 +0000 (20:03 +0000)]
README.configure is now DOC.configure

33 years ago*** empty log message ***
Steve Chamberlain [Tue, 5 Nov 1991 18:27:31 +0000 (18:27 +0000)]
*** empty log message ***

33 years agomake coff configure properly
K. Richard Pixley [Tue, 5 Nov 1991 09:01:45 +0000 (09:01 +0000)]
make coff configure properly

33 years agoadd byacc
K. Richard Pixley [Tue, 5 Nov 1991 08:02:39 +0000 (08:02 +0000)]
add byacc

33 years agoChanged name of #include from amdcoff.h to coff-a29k.h
Steve Chamberlain [Tue, 5 Nov 1991 01:34:52 +0000 (01:34 +0000)]
Changed name of #include from amdcoff.h to coff-a29k.h

33 years agoget bison paths right
K. Richard Pixley [Tue, 5 Nov 1991 00:52:04 +0000 (00:52 +0000)]
get bison paths right

33 years agoget libiberty path right
K. Richard Pixley [Tue, 5 Nov 1991 00:48:42 +0000 (00:48 +0000)]
get libiberty path right

33 years agofind include files
K. Richard Pixley [Tue, 5 Nov 1991 00:06:29 +0000 (00:06 +0000)]
find include files

33 years ago * infrun.c: Fixed typo in comment.
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.

33 years ago * xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco,
Per Bothner [Mon, 4 Nov 1991 23:10:47 +0000 (23:10 +0000)]
* xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco,
xconfig/sun3os4, xconfig/sun4os4: Don`t need HAVE_STRSTR any more.

33 years agoChanged in line with bfd-in.h
Steve Chamberlain [Mon, 4 Nov 1991 01:47:16 +0000 (01:47 +0000)]
Changed in line with bfd-in.h

33 years agoUse new i386aout when i386-aout seen
Steve Chamberlain [Mon, 4 Nov 1991 01:27:49 +0000 (01:27 +0000)]
Use new i386aout when i386-aout seen

33 years agoNew files
Steve Chamberlain [Mon, 4 Nov 1991 01:25:43 +0000 (01:25 +0000)]
New files

33 years agoInitial revision
Steve Chamberlain [Mon, 4 Nov 1991 01:25:42 +0000 (01:25 +0000)]
Initial revision

33 years agoRenamed all the files for the new scheme
Steve Chamberlain [Mon, 4 Nov 1991 01:03:15 +0000 (01:03 +0000)]
Renamed all the files for the new scheme

33 years agoInitial revision
Steve Chamberlain [Mon, 4 Nov 1991 01:02:06 +0000 (01:02 +0000)]
Initial revision

33 years ago*** empty log message ***
Steve Chamberlain [Mon, 4 Nov 1991 00:47:16 +0000 (00:47 +0000)]
*** empty log message ***

33 years ago i386 aout changes from Bob Kukura
Steve Chamberlain [Mon, 4 Nov 1991 00:46:44 +0000 (00:46 +0000)]
 i386 aout changes from Bob Kukura

33 years agoInitial revision
Steve Chamberlain [Mon, 4 Nov 1991 00:46:42 +0000 (00:46 +0000)]
Initial revision

33 years agoSun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com)
Steve Chamberlain [Mon, 4 Nov 1991 00:45:25 +0000 (00:45 +0000)]
Sun Nov  3 16:37:37 1991  Steve Chamberlain  (steve at cygnus.com)
 i386 aout changes from Bob Kukura
* Makefile.in, config.h: added i386aout support
* configure.in: fixed /h-{myhost} typo
* ldgram.y: -MM now gives more boring map.
* ldlang.c: now does D_PAGED flag the right way.
* ldsym.c: -MM flags does the right thing.

33 years agoAdded ctor.c (I remembered this time)
Steve Chamberlain [Mon, 4 Nov 1991 00:37:06 +0000 (00:37 +0000)]
Added ctor.c (I remembered this time)

33 years agoadded ctor.c
Steve Chamberlain [Mon, 4 Nov 1991 00:36:30 +0000 (00:36 +0000)]
added ctor.c