Commit Graph

1947 Commits

Author SHA1 Message Date
K. Richard Pixley
bf7708dad5 find sysdep.h 1991-12-07 22:35:46 +00:00
John Gilmore
fbda4193fd Update for 4.3. 1991-12-07 15:52:36 +00:00
John Gilmore
9898b92969 Lint (detected on hp300bsd & sconix) 1991-12-07 15:37:42 +00:00
John Gilmore
1d0709e2a5 * gmalloc.c: Fix bug that causes malloc & free to
fail on systems where pointers have the high bit set (0x800efcf0
for example).  The problem is that the difference between two
pointers is a signed integer, so the computation

	(char *) 0x800efcf0 - (char *) 0

yields a negative value.  The sign of the result of the modulus
operator is machine dependent for negative operands, thus it is
possible for it to end up negative.  From Fred Fish.
1991-12-07 12:16:13 +00:00
K. Richard Pixley
0e0643c7a6 * configure: \{1,2\} appears to be a sysv'ism. Use a different
regexp.
1991-12-07 10:32:08 +00:00
K. Richard Pixley
93e17940c1 If you're going to nroff the man page, at least do it from the right place. 1991-12-07 08:54:17 +00:00
K. Richard Pixley
098676c9d9 Initial revision 1991-12-07 08:34:52 +00:00
K. Richard Pixley
4d714963c5 Sat Dec 7 00:17:01 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: unwrapped some for loops so that parallel makes
	  work again and so one can focus one's attention on a particular
	  package.

Fri Dec  6 00:22:08 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* configure: added PWD as a stand in for `pwd` (for speed). use
	  elif wherever possible.  make -srcdir work without -objdir.
	  -objdir= commented out.

Thu Dec  5 22:46:52 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* configure: +options become --options.  -subdirs commented out.
	  added -host, -datadir.  Renamed -destdir to -prefix.  Comment in
	  Makefile now at top of generated Makefile.  Removed cvs log
	  entries.  added -srcdir.  create .gdbinit only if there is one
	  in ${srcdir}.

	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
	  and mandir now keyed off datadir by default.

Fri Nov 22 07:38:11 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Freshly created ChangeLog.
1991-12-07 08:20:18 +00:00
K. Richard Pixley
bc02876616 Sat Dec 7 00:00:15 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: install using INSTALL_PROGRAM and INSTALL_DATA.
	  added clean-info.  added some standards.text support and made it
	  look like our other Makefiles.

	* configure.in: mark this directory target dependent.  configure
	  now runs entirely in objdir so make existence tests and
	  references against ${srcdir}.

Thu Dec  5 22:46:13 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
	  and mandir now keyed off datadir by default.
1991-12-07 08:03:27 +00:00
K. Richard Pixley
570e17331e Fri Dec 6 23:57:34 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: remove spaces following hyphens, bsd make can't
	  cope.  install using INSTALL_DATA.  added clean-info.  added
	  standards.text support.

Thu Dec  5 22:46:12 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
	  and mandir now keyed off datadir by default.
1991-12-07 07:58:50 +00:00
K. Richard Pixley
818a192aae Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: punt "fundamental" mode because it breaks my emacs
	  macros.  install using INSTALL_PROGRAM and INSTALL_DATA.  remove
	  spaces following hyphens, bsd make can't cope.  added
	  standards.text support and made it look like all the other
	  makefiles.

	* configure.in: configure now runs entirely in objdir so make file
	  existence checks against ${srcdir}.  Mark this directory as
	  target dependent.

Thu Dec  5 22:46:16 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
	  and mandir now keyed off datadir by default.
1991-12-07 07:35:43 +00:00
K. Richard Pixley
92bb90afdc Fri Dec 6 23:23:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: remove spaces following hyphens, bsd make can't
	  cope. added clean-info.  added standards.text support.  Don't
	  know how to make info anymore.

	* configure.in: commontargets is no longer a recognized hook, so
	  remove it.  new subdir called doc.

Thu Dec  5 22:46:10 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
	  and mandir now keyed off datadir by default.
1991-12-07 07:25:57 +00:00
K. Richard Pixley
1058238c60 Fri Dec 6 23:16:43 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: install using INSTALL_DATA and INSTALL_PROGRAM.
	  correct include directory locations. added standards.text
	  support.

	* configure.in: mark this directory as target dependent.

Thu Dec  5 22:46:23 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Makefile.in: idestdir and ddestdir go away.  Added
	  copyrights and shift gpl to v2.  Added ChangeLog if it
	  didn't exist. docdir and mandir now keyed off datadir by
	  default.
1991-12-07 07:19:08 +00:00
K. Richard Pixley
5d845d3707 Fri Dec 6 23:02:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: added standards.text support.  install using
	  INSTALL_PROGRAM and INSTALL_DATA.

	* configure.in: configure now does all of it's work from objdir so
	  make file existence tests against ${srcdir}.

Thu Dec  5 22:46:22 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
	  and mandir now keyed off datadir by default.
1991-12-07 07:04:11 +00:00
K. Richard Pixley
fde8212edc Fri Dec 6 22:58:48 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: install using INSTALL_DATA, added standards.text
	  support.

	* configure.in: mark directory as target dependent.  configure
	  nows works in objdir always so make file existence checks
	  against ${srcdir}.

Thu Dec  5 22:46:19 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
	  and mandir now keyed off datadir by default.
1991-12-07 07:01:15 +00:00
K. Richard Pixley
a7571b1797 Fri Dec 6 22:57:12 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: added standards.text support, host/site/target
	  inclusion hooks, install using INSTALL_DATA rather than cp,
	  don't echo on install.

Thu Dec  5 22:46:17 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
	  and mandir now keyed off datadir by default.
1991-12-07 06:58:04 +00:00
Roland Pesch
29a2b7448c About 40% of changes sugg. by Bob Chassell 1991-12-07 04:19:03 +00:00
Michael Tiemann
aa09fc9b6b Fix backward i/f bit in movcc insns. 1991-12-07 01:46:52 +00:00
Roland Pesch
338e7aa401 *** empty log message *** 1991-12-07 00:23:52 +00:00
Roland Pesch
1c270bfdbf *** empty log message *** 1991-12-06 22:00:58 +00:00
Fred Fish
84ce6717b0 More fixes for opaque and anonymous enumerations, structures, and unions.
Now passes all current gdb test suite tests.
1991-12-06 19:51:01 +00:00
Steve Chamberlain
d33598ee28 Change from m88kbcs to m88k-coff 1991-12-06 17:56:02 +00:00
Fred Fish
5edf98d7a2 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...)
1991-12-06 16:37:20 +00:00
John Gilmore
7b2a87cab2 * symtab.c (decode_line_1): If SKIP_PROLOGUE leaves us in
mid-line, be more careful about possibly advancing to the next line.
1991-12-06 09:22:33 +00:00
Michael Tiemann
1cca172985 Fix off-by-one error in cplus name demangling. 1991-12-06 03:01:12 +00:00
Fred Fish
715cafcbde Several changes to fix misc problems with enums, structs, and unions,
including building symbol table entries for enumeration members.
1991-12-06 02:22:10 +00:00
John Gilmore
a0a6174ae3 * symtab.c (check_stub_method): Must allocate two extra argument
slots (one for `this', one for arglist terminator).
1991-12-06 01:32:34 +00:00
Fred Fish
817b8c46f8 Supply missing '"' character. 1991-12-05 19:34:08 +00:00
Fred Fish
c8d9eb8e43 Supply missing parenthesis (~line 1269). 1991-12-05 18:53:46 +00:00
John Gilmore
299ee4e6c7 Fencepost error in reporting regs we can't find in core file. 1991-12-05 12:20:18 +00:00
John Gilmore
2a5ec41d88 Fix things pointed up by Fred Fish's test suite; see ChangeLog. 1991-12-05 11:56:20 +00:00
Fred Fish
98618bf78a Arrange for enumeration members to be manipulated in source code order,
since they are stored in the Dwarf info in reverse order.
1991-12-05 05:09:20 +00:00
John Gilmore
3c7cc3b70e * main.c (input_from_terminal_p): Check whether GDB has a terminal at all.
(initialize_main):  Revise doc for `set editing'.
1991-12-05 02:26:45 +00:00
Fred Fish
8b5b6fae67 Handle structures and unions which contain DIE's other than just member
DIE's.
1991-12-04 23:40:07 +00:00
Steve Chamberlain
43857158b5 Reflect changes in archures.c 1991-12-04 18:33:32 +00:00
Steve Chamberlain
431b442200 * 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
1991-12-04 18:30:12 +00:00
Steve Chamberlain
4fed881829 *** empty log message *** 1991-12-04 18:25:37 +00:00
Steve Chamberlain
4e41b5aa40 *** empty log message *** 1991-12-04 18:16:41 +00:00
Steve Chamberlain
8bcad1b5b7 Don't ignore .line directives 1991-12-04 15:32:22 +00:00
John Gilmore
40985bbf13 * 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).
1991-12-04 10:01:45 +00:00
John Gilmore
6470e9c375 * symfile.c (reread_symbols): Avoid kludging mtime_set, now that BFD is fixed. 1991-12-04 09:59:52 +00:00
John Gilmore
34a160569a Improve installation doc slightly, by Mark Sirota's request. 1991-12-04 08:59:57 +00:00
John Gilmore
4369a1406f * 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.
1991-12-04 08:36:17 +00:00
John Gilmore
01a8219f15 * 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.
1991-12-04 07:39:57 +00:00
John Gilmore
7a6093e880 * 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.
1991-12-04 03:24:36 +00:00
John Gilmore
2e00f40a38 Make it compile for cross-debugging. 1991-12-04 01:26:05 +00:00
Steve Chamberlain
f7c1f9e194 Don't ignore .file pseudos! 1991-12-04 00:18:18 +00:00
Per Bothner
7a5f996269 * 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.
1991-12-03 22:25:01 +00:00
Steve Chamberlain
242bfe8791 Removed usage of alloca, lint. 1991-12-03 22:16:29 +00:00
Steve Chamberlain
706e58f11b * 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.
1991-12-03 18:54:50 +00:00