Commit Graph

3134 Commits

Author SHA1 Message Date
Steve Chamberlain
30d1a3904f * h8300hms.em, h8300hms.sc-sh: do the right thing for -r
* ldexp.c:  lint
	* ldlang.c(open_output): set the target arch and machine as soon
	as we can. (lang_size_sections): use new macros for setting vma
	* ldwrite.c: lint
1992-06-18 16:42:46 +00:00
Stu Grossman
7634ebc804 * xm-rs6000.h: Fix decls for malloc, realloc, and free. 1992-06-18 00:10:11 +00:00
Stu Grossman
abde386585 * tm-rs6000.h: Remove #include of inferior.h. Fixes many
compilation errors.
1992-06-17 23:57:40 +00:00
Stu Grossman
826f73d0cf * xm-rs6000.h: Add decl for strdup(). 1992-06-17 23:56:30 +00:00
Stu Grossman
65c36045d3 * xm-rs6000.h: Remove #include of inferior.h. Fixes many
compilation errors.
1992-06-17 23:44:37 +00:00
Stu Grossman
423e96646b * breakpoint.c (enable_command, disable_command): Without args,
should only affect normal breakpoints and watchpoints.
1992-06-17 21:53:28 +00:00
Stu Grossman
547c0cb55c * libaout.h (aout_backend_data): Change defs of two bitfields to
be unsigned chars instead to get around rs6000 compiler problem.
1992-06-17 21:05:49 +00:00
Fred Fish
91f781ffbb * elf.c (bfd_section_from_shdr, elf_slurp_symbol_table):
Correct misconception that there can be only one symbol table.
	Only call elf_slurp_symbol_table on the full symbol table, not
	the dynamic one which is only a subset of the full one.

	(The bfd library was slurping in the first ELF symbol table it
	found and then ignoring any others.  For dynamically linked
	executables, this happened to be the dynamic symbol table, which
	is a subset of the full symbol table and only contains the
	symbols that need to be used in dynamic linking.)
1992-06-17 20:58:46 +00:00
Stu Grossman
2304d9a5f1 * m68k-pinsn.c (print_insn_arg): Make register be const. 1992-06-17 20:24:32 +00:00
Stu Grossman
427d778c2c * xcoffexec.c: Remove ' from comment.
* xm-sun3os4.h:  Define MALLOC_INCOMPATIBLE to avoid conflicts
with decls of malloc in c-exp.tab.c (as produced by yacc).
There's got to be a better way to do this...
1992-06-17 20:15:03 +00:00
Ken Raeburn
5e16788678 Don't align sections in I960 coff files.
(I know there's a GDB freeze on, but this only affects writing i960
coff files, and Steve needs it ASAP.)
1992-06-17 20:06:33 +00:00
Fred Fish
323227fefa * partial-stab.h: Convert single rindex use to strrchr.
* mipsread.c, dbxread.c:  Remove troublesome inclusion of non-
	standard <strings.h> file, now that the only single use of
	rindex in the gdb source files is gone.
1992-06-17 18:14:22 +00:00
Fred Fish
fa0bcaa3a5 * mipsread.c: Undo ill effects from including <strings.h>,
which #defines index to be strchr.  Unfortunately, index is
	a member of a symbol table structure that can't be changed.
	* mipsread.c:  tm-mips.h includes coff/symconst.h and coff/sym.h,
	remove redundant #include's.
1992-06-17 05:23:00 +00:00
K. Richard Pixley
0cfe5e69da gratuitous white space changes merged from other prep releases 1992-06-17 04:31:33 +00:00
Stu Grossman
4358b91151 Keep mh-solaris 1992-06-17 01:37:46 +00:00
Stu Grossman
be2becc736 Add move-if-change to DEVO_SUPPORT_FILES. 1992-06-17 00:27:12 +00:00
Stu Grossman
b50a958c14 Add demangle.h to HFILES. 1992-06-16 23:15:05 +00:00
Stu Grossman
33cf356ae1 Unscrew this file... (Been up too long I think...) 1992-06-16 23:14:01 +00:00
Stu Grossman
6995fe83a5 More cleanup in gdb packaging... 1992-06-16 22:53:09 +00:00
Stu Grossman
fa33785d13 Keep sun4sol2.m{th}. 1992-06-16 22:47:40 +00:00
Stu Grossman
5c0445593a Keep tm-sun4sol2.h and xm-sun4sol2.h. 1992-06-16 22:46:45 +00:00
Stu Grossman
933e7c9c8d More 29k crap to remove! 1992-06-16 22:39:37 +00:00
Stu Grossman
93c6c6c190 One mo time... 1992-06-16 22:37:12 +00:00
Stu Grossman
d941d8c341 Fixup install.all target so that install-texinfo can be removed properly by GDB
packaging procedures.
1992-06-16 22:36:08 +00:00
Stu Grossman
09fc8ec35a Remove 29k/UDI stuff for now. For the time being, the original Makefile is
called Makefile.in-29k-UDI.
1992-06-16 21:58:53 +00:00
Stu Grossman
b98f3e2098 Save Makefile with 29k stuff for later. 1992-06-16 21:56:24 +00:00
Stu Grossman
2403c16456 Save scripts. 1992-06-16 21:49:08 +00:00
Stu Grossman
09fd6b7778 Remove 29k/UDI for now. 1992-06-16 21:45:01 +00:00
Stu Grossman
b303297ad8 * mipsread.c: #include <strings.h> for rindex(). 1992-06-16 21:17:43 +00:00
K. Richard Pixley
916330207c typo 1992-06-16 17:44:51 +00:00
Steve Chamberlain
833ff6f0f7 hitachi bug gix 1992-06-16 17:12:59 +00:00
Steve Chamberlain
305d9b19c8 Bug fixes for Hitachi 1992-06-16 17:12:51 +00:00
Fred Fish
d1140eb5e3 * xcoffexec.c (map_vmap): Turn comment into a real C comment. 1992-06-16 16:03:54 +00:00
Ken Raeburn
9a51287f1a Changes reflecting recent changes in BFD library sources. 1992-06-16 13:35:55 +00:00
Ken Raeburn
458c48278a * hosts/sparc.h (abort, exit): Hide these names if compiling with
gcc version 2, to avoid warnings.
1992-06-16 12:05:52 +00:00
Ken Raeburn
ce07dd7c0c [time to file a PR on cvs...]
Various changes to get linker working again for a.out:
 * don't set/adjust section file positions or vmas more than once
 * use correct page size and segment size when calculating them
 * deal with some variations in a.out implementations
Tested on sun4 and sun4->sun3 so far, will be testing further but
needed to get wider exposure&testing.  See ChangeLog for details.

Also:
* coffcode.h (coff_write_relocs): Write out swapped reloc, not
pre-swapped version.
* hosts/sparc.h (abort, exit): Hide these names if compiling with
gcc version 2, to avoid warnings.
1992-06-16 12:04:03 +00:00
Ken Raeburn
41729eb4b0 Various changes to get linker working again for a.out:
* don't set/adjust section file positions or vmas more than once
 * use correct page size and segment size when calculating them
 * deal with some variations in a.out implementations
Tested on sun4 and sun4->sun3 so far, will be testing further but
needed to get wider exposure&testing.  See ChangeLog for details.

Also:
* coffcode.h (coff_write_relocs): Write out swapped reloc, not
pre-swapped version.
* hosts/sparc.h (abort, exit): Hide these names if compiling with
gcc version 2, to avoid warnings.
1992-06-16 11:34:07 +00:00
Stu Grossman
c72af08913 * dbxread.c (process_one_symbol), partial-stab.h: Ignore
extraneous SO stabs from busted C++ compilers.
1992-06-16 01:43:35 +00:00
Fred Fish
65f14e33aa * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
it is broken on ncr 3000's.
1992-06-15 19:32:53 +00:00
Fred Fish
d962d591ea * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
it is broken on ncr 3000's.
	* config/mh-ncr3000 (RANLIB):  Use RANLIB=true.
1992-06-15 19:29:02 +00:00
Fred Fish
28d2c686f4 * config/ncr3000.mh (INSTALL, RANLIB): Don't use /usr/ucb/install,
it's broken on ncr 3000's.  Use simple "true" for RANLIB.
1992-06-15 19:27:49 +00:00
Fred Fish
4c07f28d77 * Makefile.in (VERSION): Bump to 4.5.5.
* symtab.c (decode_line_1):  Until C++ support stabilizes, when
	C++ lookups fail, print possibly helpful hint about completion.
	* cplus-dem.c (demangle_signature):  Fix ARM style demangling
	for static data members.
	* dbxread.c (dbx_psymtab_to_symtab_1):  Fix prototype.
	* config/ncr3000.mh (INSTALL):  Don't use /usr/ucb/install,
	it's broken on ncr3000's.
1992-06-15 19:25:13 +00:00
Michael Tiemann
5bdf878ebf Accept m680?0 for wrs as vxworks68. Also deleted an unreachable path to wrs. 1992-06-15 15:49:30 +00:00
Fred Fish
1c92ca6f3b * dwarfread.c (decode_modified_type): Change type of first arg.
Change 'modifier' to char from unsigned char.  Cast single use
that needs to be unsigned char.
* symtab.h (SYMBOL_BASEREG_VALID):  Explain disabling.
* utils.c (strdup_demangled):  Add function.
* defs.h (strdup_demangled):  Add prototype.
* stack.c (return_command):  Demangle C++ function names for query.
* infcmd.c (jump_command):  Demangle C++ function names for query.
* cplus-dem.c (consume_count):  New function and prototype.
* cplus-dem.c (demangle_class, gnu_special, demangle_func_type,
do_type):  Replace conversion code with consume_count().
* cplus-dem.c (gnu_special):  Fix demangled of static members.
* source.c (list_command):  Print demangled function names
when appropriate.  Fix supplied by Peter Schauer.
1992-06-15 14:26:57 +00:00
John Gilmore
2778e91584 * buildsym.c (define_symbol): Nameless types are now on several
platforms; generalize them and un-ifdef them to make Solaris 2
work.
1992-06-15 08:47:56 +00:00
John Gilmore
d69bba12b8 * infcmd.c: Fix typo (reported by Rob Savoye).
* xm-sun4sol2.h (gregset_t):  Thinko in register set definition.
* symtab.h:  Disable SYMBOL_BASEREG_VALID until it works.
* dbxread.c (dbx_psymtab_to_symtab_1):  Renamed from
psymtab_to_symtab_1.  Use current psymtab's sym_offset and symbol_size,
rather than the one for the first file in the dependency chain.
1992-06-15 08:42:09 +00:00
John Gilmore
87afde58f6 * readline.c: Make new SIGNALS_* macros to parameterize the
ugly changes in signal blocking macro.  Use them throughout,
reducing #ifdef HAVE_POSIX_SIGNALS and HAVE_BSD_SIGNALS clutter
significantly.  Make all such places use POSIX if available,
to avoid losing with poor `sigsetmask' emulation from libiberty.
1992-06-15 08:37:50 +00:00
Stu Grossman
7c88553a91 * readline.c (insert_some_chars): Return void. 1992-06-14 22:21:18 +00:00
John Gilmore
bcbf95597c * dbxread.c (end_psymtab): Only reset texthigh if it's not already
set.  Don't reset our own texthigh, or dependency-only pst's, in
scanning all the rest of the psymtabs.
(process_one_symbol):  Fix comments around N_OBJ, N_OPT, N_UNDF.

* buildsym.h (N_UNDF):  Improve comments.
(N_LSYM, etc):  Skip types without names (":T(0,3)=sfoob...").
1992-06-14 18:10:10 +00:00
John Gilmore
c3c93fda32 * objdump.c (dump_elf_stabs): Also dump .stab.index and .stab.excl sections.
(dump_elf_stabs_1):  Split out main body of old dump_elf_stabs.
* objdump.1, binutils.texi:  Document new sections dumped.
1992-06-14 17:52:53 +00:00