Commit Graph

4466 Commits

Author SHA1 Message Date
K. Richard Pixley
e367cb3b50 added nm-m88k.h to HFILES 1992-10-16 20:56:05 +00:00
K. Richard Pixley
173a4f1bda m88k native support 1992-10-16 20:53:46 +00:00
John Gilmore
ab29288c1f * nm-i386bsd.h, xm-i386bsd.h: Split native dependent pieces out
into new nm-file.
* config/i386bsd.mh (NAT_FILE):  Point to new nm-file.
1992-10-16 11:38:38 +00:00
John Gilmore
f4cc0e9b3c * i386b-nat.c: Comment changes.
* nm-i386bsd.h, xm-i386bsd.h:  Split native dependent pieces out
into new nm-file.
* config/i386bsd.mh (NAT_FILE):  Point to new nm-file.
1992-10-16 11:37:58 +00:00
John Gilmore
ede9d8a7ea Split native dependent pieces out into new nm-file. 1992-10-16 11:35:02 +00:00
John Gilmore
2268d61946 Avoid longjmp()-catching compilation errors in cross-ports.
* doc/gdbint.texinfo:  Update GET_LONGJMP_TARGET, L_SET doc.
* irix4-nat.c, mips-nat.c (JB_ELEMENT_SIZE, get_longjmp_target):
Move from mips-tdep.c and tm-{irix3,mips}.h.
* mips-nat.c:  Remove a bunch of code that was ifdef'd out of
native MIPS ports.
* nm-irix3.h, nm-mips.h (GET_LONGJMP_TARGET):  Move from tm-irix3.h
and tm-mips.h.

* ultra3-nat.c (register_addr):  Move from ultra3-xdep.c.
(fetch_core_registers):  Fix bfd_seek arguments.
1992-10-16 10:47:34 +00:00
John Gilmore
c3bbca3aad Update GET_LONGJMP_TARGET, L_SET doc. 1992-10-16 10:45:20 +00:00
John Gilmore
0a9266896a * getopt.h (struct option): RMS decided we should do it the other way. 1992-10-16 10:20:52 +00:00
John Gilmore
5a56198d68 Make core files work again on most hosts, by adding corelow.o. 1992-10-16 10:15:32 +00:00
John Gilmore
d5a66a8d05 Make core files work again on most hosts. 1992-10-16 10:14:47 +00:00
John Gilmore
62aa17e322 * config/decstation.mh, news.mh (NATDEPFILES): Add corelow.o.
* config/delta88.mt, m88k.mt (TDEPFILES):  Remove coredep.o, it's
native dependent.
1992-10-16 10:04:46 +00:00
K. Richard Pixley
6bf98ac01d ultra3 split 1992-10-16 06:05:36 +00:00
K. Richard Pixley
4100543aee use the provided enum for has_arg 1992-10-16 05:49:54 +00:00
K. Richard Pixley
b396595a9c add MEM_FNS_DECLARED 1992-10-16 04:55:14 +00:00
K. Richard Pixley
ae0f48c2ed casts for ultrix compiler 1992-10-16 04:44:36 +00:00
Steve Chamberlain
ba2c2b1c42 * ldlang.c (size_input_section): count the sizes of all sections
we allocate.
1992-10-15 22:22:08 +00:00
Per Bothner
58c319d00b Document changes to hosts directory. 1992-10-15 22:16:07 +00:00
Per Bothner
1067cb773a * apollo68.h, apollov68.h, hp300.h, i386v.h, irix3.h: Remove
no-longer-used definitions of L_SET and L_INCR.
	* i386linux.h:  Tweaks to smooth Linux build.
1992-10-15 22:15:14 +00:00
Per Bothner
918c2f61e5 * binutils.tex: Document yesterday's changes to strip and copy. 1992-10-15 20:59:17 +00:00
John Gilmore
327f7197b0 * Makefile.in (VERSION): Roll to 4.6.8.
(OBS):  Put version.o first, so Makefile rebuild happens early.

* command.h:  Publicize prototype for not_just_help_class_command.
* command.c:  Remove proto.
* maint.c:  Mark "mt" as an abbrev, to avoid duplicated help
output.  Move "maint info" from class info to class maintenance,
and improve text.
* infrun.c:  Move "stop" to class_obscure, and give it a
function so it will not be seen as a global help topic.  FIXME,
it should be possible to set these attributes independently.

* core.c (core_command):  Make nicer error message for no core support.
1992-10-15 13:42:10 +00:00
John Gilmore
d5931d797d Lint around file_ptr's (bfd's off_t's) and bfd_seek.
* dbxread.c (read_dbx_symtab):  Use L_SET as bfd_seek arg.
(elfstab_build_psymtabs):  staboffset and stabstroffset args are
file_ptr's.
* dwarfread.c (struct dwfinfo):  Convert dbfoff, lnfoff to file_ptr.
(scan_compilation_units):  Punt unused filename arg.  dbfoff,
lnoffset, and curlnoffset are file_ptr's now.
(dwarf_build_psymtabs):  Drop desc and filename args; use
objfile.  dbfoff and lnoffset are file_ptr's now.
(read_ofile_symtab):  foffset is now file_ptr.  Use L_SET in bfd_seek.
* elfread.c (struct elfinfo):  dboffset and lnoffset are file_ptr's.
(elf_symfile_read):  Skip desc and filename args to
dwarf_build_psymtabs.  Pass file_ptr's to elfstab_build_psymtabs.
* gdb-stabs.h:  Use file_ptr rather than off_t.
* mipsread.c (fixup_symtab): f_ptr is a file_ptr.  Re-enable
compile-time debug check that someone turned off as "unused".
(read_the_mips_symtab):  st_filptr is a file_ptr.  Fix bfd_seek call.
* symfile.h:  Update dwarf_build_psymtabs and
elfstab_build_psymtabs prototypes.
* xcoffread.c (init_stringtab, init_lineno, xcoff_symfile_read):
Use file_ptr offsets.  bfd_seeks use L_SET.
1992-10-15 13:40:40 +00:00
John Gilmore
6803d8186f Now update it in the *right* place... 1992-10-15 11:39:56 +00:00
John Gilmore
c98d03eacf Update after comment changes. 1992-10-15 11:36:46 +00:00
John Gilmore
4a8db3300d Insert copyright notices in all BFD files that need them.
Update copyrights on recently changed files to 1992.
Regularize first-line comments somewhat.
1992-10-15 10:59:13 +00:00
John Gilmore
b1b819bdc7 * bfd-in.h (file_ptr): Update comments, make FIXME re off_t. 1992-10-15 10:34:13 +00:00
John Gilmore
5f9ca96038 * aout-adobe.c, aoutf1.h, aoutx.h, bout.c coff-m68k.c, coff-z8k.c,
coffcode.h, elf.c, libaout.h, libbfd.h, srec.c:  Lint.
1992-10-15 09:44:59 +00:00
John Gilmore
f8e0194018 * aout-adobe.c, aoutf1.h, archive.c, bout.c, coff-rs6000.c,
coffcode.h, elf.c, ieee.c, libaout.h, libbfd.c, oasys.c,
sco-core.c:  Lint:  Second argument of bfd_seek is always file_ptr.
Third argument is SEEK_SET or SEEK_CUR.  Result is always 0 or -1.
1992-10-15 09:00:09 +00:00
Stu Grossman
dac4929a6d * mips-tdep.c, mipsread.c, tm-mips.h: Get rid of ".gdbinfo."
symbol.  #define MIPS_EFI_SYMBOL_NAME instead.  Use different
value so that demangler won't be invoked.  This greatly speeds up
stepping.
* mips-tdep.c (mips_pop_frame):  Rewrite handling of
linked_proc_info so that it properly deallocates the appropriate
item after it is done with it instead of before.
* Don't pass bogus frame pointer to create_new_frame().  Just
leave it as zero so that lower level code will figure out the
correct value.
1992-10-15 08:36:30 +00:00
K. Richard Pixley
7536558918 sony news native support 1992-10-15 06:47:31 +00:00
K. Richard Pixley
170d4f55ba remove redundant include of sys/time.h. 1992-10-15 06:38:03 +00:00
K. Richard Pixley
a6b98cb90a include ctype.h 1992-10-15 01:57:45 +00:00
Per Bothner
cc8787efe1 * copy.c: Re-do command-line parsing to use getopt_long().
Add long option names.  Re-think option letters to be more
	consistent.
	* copy.c:  New function filter_symbols() for stripping only
	debug-symbols and/or local symbols.  Use these to support
	the previously-missing options of the old FSF strip.
1992-10-14 20:35:29 +00:00
Ian Lance Taylor
4b77b129c6 Added #include <ctype.h> to several files. It's often more efficient,
and on some systems it's required.
1992-10-14 20:20:03 +00:00
Roland Pesch
4928b97be9 Move "@c @smallbook" and "@c @cropmarks" out of titlepage, so if someone
uncomments them they affect the whole document...
1992-10-13 23:19:05 +00:00
John Gilmore
849d81e59f * config/news1000.mt: No longer needed, same as news.mt. 1992-10-13 08:30:26 +00:00
John Gilmore
358ca35ea4 Convert m68k entries to m68* entries to handle
all the various m68xxx hosts and targets.
1992-10-13 08:28:45 +00:00
John Gilmore
1bf20983a2 * configure.in (host): Use ${srcdir}/../bfd/configure.host rather
than repeating a copy of it here.
1992-10-13 08:25:08 +00:00
John Gilmore
ee3b893b97 Replace m68kmote with plain old m68k. 1992-10-13 08:23:16 +00:00
Ian Lance Taylor
0bced705de Mon Oct 12 15:04:07 1992 Ian Lance Taylor (ian@cygnus.com)
* readline.c (init_terminal_io): if tgetent returns 0, the
	terminal type is unknown.
1992-10-12 22:05:57 +00:00
Steve Chamberlain
a385b38f00 Thu Oct 8 09:05:25 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* ldmisc.c (demangle,vfinfo): use the new underscore info in bfd to
	to demangle symbols better
1992-10-12 17:25:00 +00:00
David D. Zuhn
0f8b9790a1 use sysv config for solaris2 hosting 1992-10-12 02:10:51 +00:00
David D. Zuhn
1b87a1b27b fix typo, added @table 1992-10-11 01:06:17 +00:00
K. Richard Pixley
601f15702e remove duplicate inftarg.o 1992-10-10 01:58:10 +00:00
Stu Grossman
47b7176b22 * Makefile.in (HFILES): Add all nm-irix3.h, nm-irix4.h,
nm-sun2.h, nm-mips.h.
1992-10-10 00:32:07 +00:00
Stu Grossman
3032863605 * config/irix3.mh (NATDEPFILES): nat-mips.o => mips-nat.o. 1992-10-09 23:11:25 +00:00
Stu Grossman
a109657412 * Makefile.in (alldeps.mak): Add = sign after NATDEPFILES. 1992-10-09 23:01:11 +00:00
Stu Grossman
703bdc5b22 * config/bigmips.mh config/littlemips.mh: Remove mips-xdep.o. 1992-10-09 21:36:35 +00:00
Stu Grossman
89f1a7df70 * config/bigmips.mh config/littlemips.mh: Remove mips-xdep.o.
Also add nm-irix3.h to .Sanitize, and remove references to .Sanitize from
ChangeLog.
1992-10-09 21:23:43 +00:00
Mark Eichin
03c0866031 Eckhard Rueggeberg throught gprof didn't work because the man page was wrong.
The SYNOPSIS now matches the rest of the man page.
1992-10-09 18:34:33 +00:00
Ian Lance Taylor
b5ddc1014c Fri Oct 9 08:41:11 1992 Ian Lance Taylor (ian@cygnus.com)
* xm-hppah.h: if __STDC__ is not defined, define
	HPPA_COMPILER_BUG.
	symtab.c (decode_line_1): avoid a bug in the HP9000/700 native
	compiler; see the comment in the file.

Here's the comment from the file:
  /* FIXME: The native HP 9000/700 compiler has a bug which appears
     when optimizing this file with target i960-vxworks.  I haven't
     been able to construct a simple test case.  The problem is that
     in the second call to SKIP_PROLOGUE below, the compiler somehow
     does not realize that the statement val = find_pc_line (...) will
     change the values of the fields of val.  It extracts the elements
     into registers at the top of the block, and does not update the
     registers after the call to find_pc_line.  You can check this by
     inserting a printf at the end of find_pc_line to show what values
     it is returning for val.pc and val.end and another printf after
     the call to see what values the function actually got (remember,
     this is compiling with cc -O, with this patch removed).  You can
     also examine the assembly listing: search for the second call to
     skip_prologue; the LDO statement before the next call to
     find_pc_line loads the address of the structure which
     find_pc_line will return; if there is a LDW just before the LDO,
     which fetches an element of the structure, then the compiler
     still has the bug.  */
1992-10-09 15:49:16 +00:00