Commit Graph

7155 Commits

Author SHA1 Message Date
K. Richard Pixley c398de0cdd index -> strchr 1993-09-01 22:24:34 +00:00
Jim Kingdon 98105ba26f * remote.c: Add comment explaining why dcache is disabled.
(remote_fetch_word, remote_store_word): Make static and #if 0.
	They are not called from anywhere.

Wed Sep  1 11:35:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)

	* symtab.c (find_pc_line, find_line_common),
	symtab.h (struct linetable), xcoffread.c (arrange_linetable):
	Revise comments re linetable sorting.
	* buildsym.c (compare_line_numbers): Sort by pc, not by line.
	* coffread.c: Tell end_symtab to sort the line table.
1993-09-01 22:15:01 +00:00
Jim Kingdon b43e0347b7 * remote.c: Add comment explaining why dcache is disabled.
(remote_fetch_word, remote_store_word): Make static and #if 0.
	They are not called from anywhere.
1993-09-01 22:10:37 +00:00
Jim Kingdon d34d6f7533 * symtab.c (find_pc_line, find_line_common),
symtab.h (struct linetable), xcoffread.c (arrange_linetable):
	Revise comments re linetable sorting.
	* buildsym.c (compare_line_numbers): Sort by pc, not by line.
	* coffread.c: Tell end_symtab to sort the line table.
1993-09-01 22:08:13 +00:00
K. Richard Pixley 4ed97c9a83 bzero -> memset 1993-09-01 21:56:42 +00:00
K. Richard Pixley 9823e3f4c9 bcmp -> memcmp 1993-09-01 21:43:56 +00:00
Jim Kingdon c438b3af2a * symtab.h (struct linetable), xcoffread.c (arrange_linetable):
Revise comments re linetable sorting.
	* buildsym.c (compare_line_numbers): Sort by pc, not by line.
	* coffread.c: Tell end_symtab to sort the line table.

	* coffread.c: Re-work a lot of the coff-specific stuff to use stuff
	in buildsym.c.  This includes coff_finish_block, coff_context_stack,
	coff_local_symbols, coff_file_symbols, coff_global_symbols,
	coff_end_symtab and coff_add_symbol_to_list.
	(read_enum_type): Deal with it now that we have a "struct pending"
	not a "struct coff_pending".

	* buildsym.c (end_symtab): Don't realloc subfile->linetable.
1993-09-01 21:15:27 +00:00
K. Richard Pixley ade40d3153 bcopy -> memcpy 1993-09-01 20:37:15 +00:00
Ken Raeburn e96d50d03c write.c, configure.in changes 1993-09-01 19:58:44 +00:00
Ken Raeburn 13e9182dd6 (write_relocs) [RELOC_EXPANSION_POSSIBLE]: Declare tc_gen_reloc correctly. 1993-09-01 19:32:36 +00:00
Ken Raeburn 1ecd6c4ad4 Deleted explicit "return" statements without values at the ends of functions. 1993-09-01 19:29:02 +00:00
Jim Kingdon f6fcc08262 * libaout.h, netbsd386.c: Change M_I386 to M_386_NETBSD. M_I386
is an SCO pre-define.
1993-09-01 19:28:53 +00:00
K. Richard Pixley 56607c4e13 add an alias for data section type 1993-09-01 19:20:54 +00:00
K. Richard Pixley 5a0a463feb break dcache out of remote-nindy.c 1993-09-01 19:16:57 +00:00
Peter Schauer e7e02420a7 * mipsread.c (parse_partial_symbols): Use language from FDR if it
is unambigous.  Patch from ptf@delcam.co.uk (Paul Flinders).
	* mipsread.c (ecoff_symfile_info):  New struct to hold the global
	pending_list.
	* mipsread.c (mipscoff_symfile_init, parse_partial_symbols):
	Allocate the global pending list and link it to the objfile.
	* mipsread.c (is_pending_symbol, add_pending):  Use global pending
	list from objfile. Allocate pending list entries from the
	psymbol_obstack.
	* mipsread.c (free_pending):  Remove. The pending list is now
	freed when the psymbol_obstack is freed.
	* mipsread.c (psymtab_to_symtab1):  Remove pending list allocation,
	the global pending list is used now.
	* mipsread.c (parse_partial_symbols):  Skip only the first
	file indirect entry when building the dependency list.
1993-09-01 12:10:55 +00:00
K. Richard Pixley d538b510a0 break dcache code out of remote.c 1993-09-01 00:43:09 +00:00
K. Richard Pixley 46cf424778 pulling dcache code out of remote.c 1993-09-01 00:37:53 +00:00
Rob Savoye 2fd77dab11 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
still running and removes the leftover named socket so GDb can do
	clean restarts.
1993-08-31 22:53:40 +00:00
Rob Savoye 41a85720e0 Just a little cleanup. Made gdb_exit "kill" any isstip's still running
and blow away the socket. GDB now restarts beautifully.
1993-08-31 22:50:11 +00:00
K. Richard Pixley 9e58280a94 comment change 1993-08-31 22:26:48 +00:00
K. Richard Pixley 755892d6ff break dcache code out of remote-bug.c 1993-08-31 22:13:29 +00:00
David MacKenzie bf9d25378e * stabs.texinfo: Initial-caps all words in node names and
non-trivial words in section names.
1993-08-31 20:26:16 +00:00
Ken Raeburn 195d1adff1 * objdump.c (ARCH_all): Define ARCH_hppa too.
(dump_headers): Don't test for SEC_BALIGN if it's not defined by bfd.h.

(The latter is done with #ifdef in case it turns out SEC_BALIGN has to be
put back.  I didn't *see* any uses of it besides this one, though.)
1993-08-31 18:15:50 +00:00
Ian Lance Taylor ef5b53687b * nlmconv.c (main): Force creation of .bss section. Set up the
sections before looking at the symbols.  Move all common symbols
	into .bss section.  Automatically define _edata and _end.  Only
	export symbols in the export list, with multiple prefixes if
	necessary.  Warn if no version.  Always create extended header.
	Set date automatically if not already set.
	(setup_sections): Count size of bss sections.
	(mangle_relocs, i386_mangle_relocs): Accept section argument, and
	take reloc_count as a changeable pointer; changed callers.
	(i386_mangle_relocs): Remove PC relative relocs within a section,
	as they require no adjustment.
	* nlmheader.y: Fixed memory allocation throughout: token STRING is
	now allocated on the heap, and freed if not needed.  Null
	terminated copyright message.  Accept version with only two
	strings.
	(symbol_list_opt): New nonterminal, either symbol_list or empty.
	(symbol_list): Use left recursion to avoid overflowing parser
	stack.
	(yylex): Rearranged beginning of line check.  Accept quoted
	strings using single quotes.  End generic argument at comment
	character or parentheses.
	(string_list_append): Fixed.
	(string_list_append1): New function.
1993-08-31 17:47:58 +00:00
Ian Lance Taylor f993f087da * Makefile.in (objdump.o): Depend upon config.status to notice
--with-targets changes.
	(nlmconv.o): Depend upon bucomm.h.
1993-08-31 17:46:56 +00:00
Ian Lance Taylor 45a78ebbfb * nlmcode.h (nlm_object_p): Set HAS_SYMS if there are external
references.
	(nlm_swap_auxiliary_headers_{in,out}): The copyright length is
	only one byte.
	(nlm_get_symtab_upper_bound): Include debugging symbols in symbol
	count.
	(nlm_slurp_symbol_table): Make symlength unsigned.  Read debugging
	symbols as BFD local symbols.
	(nlm_write_object_contents): Don't bother writing out exported
	symbols more than once; they now appear in the symbol table more
	than once (with and without a prefix) if necessary.  Set offset
	values to be non-zero as NLMLINK does.
1993-08-31 17:28:03 +00:00
Jim Kingdon aef3ae9a8f * libhppa.h: Restore #undefs of e_fsel and other e_* symbols. 1993-08-31 17:11:46 +00:00
Jim Kingdon 54fdaa7bbb * configure.in: Match *-*-solaris2* not *-sun-solaris2*. 1993-08-31 16:03:04 +00:00
Jim Kingdon 875fc229ff * c-typeprint.c (c_print_type_base): Treat show = 0 just like
show < 0.  The only case where we had been distinguishing is that
	show = 0 used to print "struct  " or "enum  " instead of
	"struct {...}" or "enum {...}" which seems clearly wrong.
1993-08-31 15:44:44 +00:00
Jim Kingdon ac31351a62 * stabs.texinfo: Many minor cleanups. 1993-08-31 04:47:33 +00:00
Jim Kingdon 0a95c18c48 * stabs.texinfo: Many minor cleanups. 1993-08-31 04:33:50 +00:00
David D. Zuhn ddbec1c86f don't run fixproto on gcc-no-fixedincludes 1993-08-31 01:30:23 +00:00
K. Richard Pixley df42979881 recognize m88110 1993-08-31 00:52:48 +00:00
Rob Savoye f6c8cae6b9 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
console, not GDB.
	* config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
	cross testing works better with "make check"
	* config/unix-gdb: Use default procedures for exit and version.
	* config/vx-gdb.exp: Cleaned up and massaged back to working order
	with the newest VxWorks.
1993-08-31 00:01:56 +00:00
Rob Savoye 1c65406fef Use default version procedure. 1993-08-30 23:28:57 +00:00
Rob Savoye 5019a2755a Add default gdb version so it can be shared. 1993-08-30 23:12:28 +00:00
Rob Savoye c79f61db34 Make gdb_exit into default_gdb_exit so it can be shared. 1993-08-30 23:08:02 +00:00
Rob Savoye 006f1ea2a4 Use default_gdb_exit now. 1993-08-30 23:06:57 +00:00
Rob Savoye fd69a916ab Works again. 1993-08-30 23:06:03 +00:00
Rob Savoye 7e7cb02f81 Add values for RUNTEST and RUNTESTFLAGS so cross testing works better. 1993-08-30 22:26:03 +00:00
Jim Kingdon b556573de3 * valops.c (call_function_by_hand): If we discard cleanups, call
bpstat_clear (&inf_status.stop_bpstat).
1993-08-30 21:12:50 +00:00
Peter Schauer cbba020f3f * stabsread.h, dbxread.c (end_psymtab): Return NULL if the psymtab
was empty and thrown away.
	* mipsread.c (parse_partial_symbols):  Do not add empty psymtabs to
	dependency list, skip self dependencies.
	* mipsread.c (parse_fdr):  Removed, obsolete.
	* mipsread.c (parse_lines):  Check for cbLine being zero, not
	cbLineOffset.
	* mipsread.c (struct symloc):  Add pst_language.
	* mipsread.c (parse_partial_symbols):  Set up proper language for header
	files, save it in pst_language for psymtab_to_symtab_1.
	* mipsread.c (psymtab_to_symtab_1):  Use pst_language.
1993-08-30 19:50:47 +00:00
Jim Kingdon 4360308809 * stabs.texinfo: Many minor cleanups.
* stabs.texinfo: Remove @deffn except from Expanded Reference node.
1993-08-30 18:36:03 +00:00
Jim Kingdon 08534dc84e * config/m88k/{delta88v4.mt,delta88v4.mh}: New files
* config/m88k/delta88.mh: Fix comment.
	* config/m88k/tm-delta88.h: Remove unused BCS define.
	* config/m88k/{tm-delta88v4.h,xm-delta88v4.h,nm-delta88v4.h}:
	New files.
1993-08-30 16:00:13 +00:00
Jim Kingdon d86a7c5737 * configure.in: Fix typo m88*-motorola-svr4* -> sysv4*. 1993-08-30 15:58:18 +00:00
Rob Savoye d4d56ed1ac Correctly a spelling mistake. 1993-08-30 04:53:24 +00:00
David MacKenzie 811ca938d5 fix caps in menu entries 1993-08-28 16:55:32 +00:00
David MacKenzie 3aca2b9559 * stabs.texinfo:
Use consistent capitalization style in node and section names.
1993-08-28 16:43:47 +00:00
David MacKenzie 685a5e8651 Sat Aug 28 12:08:09 1993 David J. MacKenzie (djm@edison.eng.umd.edu)
* stabs.texinfo: Remove full description of big example.
	It's not really helpful; just use pieces of it where appropriate.
	Add more Texinfo formatting directives (@samp, etc.).
	Use @deffn to define stab types.
	Eliminate some wordiness.  Break up some nodes.
	Add an (alphabetized) index of symbol types.
1993-08-28 16:22:11 +00:00
Ken Raeburn 61a2965923 From Utah, part of BFD HPPA cleanup:
* paread.c: Include som.h instead of libhppa.h.
1993-08-28 00:58:17 +00:00