binutils-gdb.git
31 years ago * elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
Jim Kingdon [Fri, 3 Sep 1993 16:27:35 +0000 (16:27 +0000)]
* elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
to minimal symbols.

31 years ago* stabs.texinfo: Many minor cleanups.
Jim Kingdon [Fri, 3 Sep 1993 16:15:13 +0000 (16:15 +0000)]
* stabs.texinfo: Many minor cleanups.

31 years ago* stabs.texinfo: Many minor cleanups.
Jim Kingdon [Fri, 3 Sep 1993 16:04:27 +0000 (16:04 +0000)]
* stabs.texinfo: Many minor cleanups.

31 years agoremove obsolete comment about call function stuff being duplicated
Jim Kingdon [Fri, 3 Sep 1993 15:56:00 +0000 (15:56 +0000)]
remove obsolete comment about call function stuff being duplicated

31 years ago * target.c (pop_target): Don't try to deal with the stack becoming
Jim Kingdon [Fri, 3 Sep 1993 15:34:13 +0000 (15:34 +0000)]
* target.c (pop_target): Don't try to deal with the stack becoming
empty.  Shouldn't happen and the code that tried was broken.

31 years ago * dcache.c: Cast return value from xmalloc.
Jim Kingdon [Fri, 3 Sep 1993 14:26:29 +0000 (14:26 +0000)]
* dcache.c: Cast return value from xmalloc.

* remote.c: Move setting of immediate_quit from remote_open to
remote_start_dummy and set it back to zero when done.

31 years ago* m88k-tdep.c: Remove a bunch of unused #includes.
Jim Kingdon [Thu, 2 Sep 1993 21:23:16 +0000 (21:23 +0000)]
* m88k-tdep.c: Remove a bunch of unused #includes.

31 years ago* libhppa.h (hppa_field_adjust): Remove unused `init_value' variable.
Jim Kingdon [Thu, 2 Sep 1993 19:24:33 +0000 (19:24 +0000)]
* libhppa.h (hppa_field_adjust): Remove unused `init_value' variable.

31 years ago* language.h: Add comment about current_language.
Jim Kingdon [Thu, 2 Sep 1993 19:12:37 +0000 (19:12 +0000)]
* language.h: Add comment about current_language.

31 years agoReverted previous change, and added this one instead:
Ian Lance Taylor [Thu, 2 Sep 1993 17:19:14 +0000 (17:19 +0000)]
Reverted previous change, and added this one instead:
* config/tc-mips.c (macro_build): Accept 'z', and ignore it.
(macro): Use "z,s,t" for div instructions to match corresponding
change in opcode table.
(mips_ip): Added 'z'--must be zero register.

31 years ago * mips-opc.c: Change div machine instruction to be z,s,t rather
Ian Lance Taylor [Thu, 2 Sep 1993 17:14:10 +0000 (17:14 +0000)]
* mips-opc.c: Change div machine instruction to be z,s,t rather
than s,t.  Change div macro to be d,v,t rather than d,s,t.
Likewise for divu, ddiv, ddivu.  Added z,s,t case for drem, dremu,
rem and remu which generates only the corresponding div
instruction.  This is for compatibility with the MIPS assembler,
which only generates the simple machine instruction when an
explicit destination of $0 is used.
* mips-dis.c (print_insn_arg): Handle 'z' (always register zero).

31 years ago * mips-tdep.c (_initialize_mips_tdep): Change heuristic-fence-post
Jim Kingdon [Thu, 2 Sep 1993 16:50:45 +0000 (16:50 +0000)]
* mips-tdep.c (_initialize_mips_tdep): Change heuristic-fence-post
from var_uinteger to var_zinteger.

31 years ago Only build nlmconv if configured for a NetWare target.
Ian Lance Taylor [Thu, 2 Sep 1993 16:36:36 +0000 (16:36 +0000)]
Only build nlmconv if configured for a NetWare target.
* configure.in: If we have some *-*-netware* target, or are using
all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile.
* Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than
$(NLMCONV_PROG).

31 years ago * config/tc-mips.c (macro): If $0 is destination of divide, just
Ian Lance Taylor [Thu, 2 Sep 1993 14:46:54 +0000 (14:46 +0000)]
* config/tc-mips.c (macro): If $0 is destination of divide, just
generate the simple machine instruction, for compatibility with
the MIPS assembler.

31 years ago * mips-opc.c: Move div machine instruction after macro forms.
Ian Lance Taylor [Thu, 2 Sep 1993 14:42:31 +0000 (14:42 +0000)]
* mips-opc.c: Move div machine instruction after macro forms.
Change d,s,t form to d,v,t.  Likewise for divu, ddiv and ddivu.
This is for compatibility with the MIPS assembler, which only
generates the simple machine instruction when an explicit
destination of $0 is used.

31 years ago * m88k-tdep.c: Include sys/dir.h before sys/user.h.
Jim Kingdon [Thu, 2 Sep 1993 06:20:20 +0000 (06:20 +0000)]
* m88k-tdep.c: Include sys/dir.h before sys/user.h.
Include sys/types.h regardless of USG.

* configure.in: Fix typo (delta88r4 -> delta88v4).

* config/m88k/xm-delta88.h: Don't include sys/siginfo.h.  It was
to make this work on SVR4 before SVR4 had its own configuration,
and it breaks SVR3.

31 years ago* config/m88k/delta88v4.h (NATDEPFILES): Remove infptrace.o inftarg.o.
Jim Kingdon [Thu, 2 Sep 1993 06:13:28 +0000 (06:13 +0000)]
* config/m88k/delta88v4.h (NATDEPFILES): Remove infptrace.o inftarg.o.

31 years ago * hosts/delta88v4.h: New for SVR4.
Jim Kingdon [Thu, 2 Sep 1993 06:06:40 +0000 (06:06 +0000)]
* hosts/delta88v4.h: New for SVR4.
* configure.hosts: Use it.

31 years ago * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
Jim Kingdon [Thu, 2 Sep 1993 05:57:33 +0000 (05:57 +0000)]
* config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
* config/m88k/m88k.mh: Use xm-dgux.h.
* config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER,
MAKEVA_END and MAKEVA_ARG.
* config/m88k/xm-*.h: Include m88k/xm-m88k.h.
* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.

31 years agonew for /proc support on svr4 delta88
Jim Kingdon [Thu, 2 Sep 1993 05:57:31 +0000 (05:57 +0000)]
new for /proc support on svr4 delta88

31 years ago* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
Jim Kingdon [Thu, 2 Sep 1993 05:46:57 +0000 (05:46 +0000)]
* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.

31 years ago* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
Jim Kingdon [Thu, 2 Sep 1993 05:45:11 +0000 (05:45 +0000)]
* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.

31 years ago * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
Jim Kingdon [Thu, 2 Sep 1993 05:35:49 +0000 (05:35 +0000)]
* config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
* config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER,
MAKEVA_END and MAKEVA_ARG.
* config/m88k/xm-*.h: Include m88k/xm-m88k.h.
* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.

31 years agorenamed from xm-m88k.h
Jim Kingdon [Thu, 2 Sep 1993 05:06:30 +0000 (05:06 +0000)]
renamed from xm-m88k.h

31 years ago* remote-udi.c (udi_wait): Call `warning' not `error'.
Jim Kingdon [Thu, 2 Sep 1993 05:00:48 +0000 (05:00 +0000)]
* remote-udi.c (udi_wait): Call `warning' not `error'.

31 years ago* remote-udi.c (udi_wait): Call `warning' not `error'.
Jim Kingdon [Thu, 2 Sep 1993 04:39:59 +0000 (04:39 +0000)]
* remote-udi.c (udi_wait): Call `warning' not `error'.

31 years ago * symtab.c (COMPLETION_LIST_ADD_SYMBOL): If the symbol has a
Jim Kingdon [Thu, 2 Sep 1993 02:25:34 +0000 (02:25 +0000)]
* symtab.c (COMPLETION_LIST_ADD_SYMBOL): If the symbol has a
demangling, don't put the mangled form in the completion list.

31 years ago * symtab.c, symfile.c, c-exp.y, ch-exp.y, m2-exp.y, buildsym.c,
Jim Kingdon [Thu, 2 Sep 1993 01:41:40 +0000 (01:41 +0000)]
* symtab.c, symfile.c, c-exp.y, ch-exp.y, m2-exp.y, buildsym.c,
symfile.h, stabsread.c, minsyms.c, solib.c, nlmread.c, dwarfread.c
partial-stab.h, symmisc.c, gdbtypes.c: Lint.  Remove (or put
inside #if) unused variables and labels.  Fix unclosed comment.
Deal with enumeration values unhandled in switch statements.  Make
sure non-void functions return values.  Include appropriate
headers.
* dbxread.c (elfstab_build_psymtabs): Don't check for unsigned
value < 0.

31 years agoLoad the udi library procedures.
Rob Savoye [Thu, 2 Sep 1993 01:12:20 +0000 (01:12 +0000)]
Load the udi library procedures.

31 years ago * symtab.c (find_pc_line, find_line_common),
Jim Kingdon [Thu, 2 Sep 1993 00:24:46 +0000 (00:24 +0000)]
* 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.

* 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.

31 years ago * coffread.c: Re-work a lot of the coff-specific stuff to use stuff
Jim Kingdon [Wed, 1 Sep 1993 23:43:07 +0000 (23:43 +0000)]
* 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".

31 years ago * coffread.c: Re-work a lot of the coff-specific stuff to use stuff
Jim Kingdon [Wed, 1 Sep 1993 23:11:30 +0000 (23:11 +0000)]
* 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".

31 years agoindex -> strchr
K. Richard Pixley [Wed, 1 Sep 1993 22:24:34 +0000 (22:24 +0000)]
index -> strchr

31 years ago * remote.c: Add comment explaining why dcache is disabled.
Jim Kingdon [Wed, 1 Sep 1993 22:15:01 +0000 (22:15 +0000)]
* 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.

31 years ago * remote.c: Add comment explaining why dcache is disabled.
Jim Kingdon [Wed, 1 Sep 1993 22:10:37 +0000 (22:10 +0000)]
* 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.

31 years ago * symtab.c (find_pc_line, find_line_common),
Jim Kingdon [Wed, 1 Sep 1993 22:08:13 +0000 (22:08 +0000)]
* 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.

31 years agobzero -> memset
K. Richard Pixley [Wed, 1 Sep 1993 21:56:42 +0000 (21:56 +0000)]
bzero -> memset

31 years agobcmp -> memcmp
K. Richard Pixley [Wed, 1 Sep 1993 21:43:56 +0000 (21:43 +0000)]
bcmp -> memcmp

31 years ago * symtab.h (struct linetable), xcoffread.c (arrange_linetable):
Jim Kingdon [Wed, 1 Sep 1993 21:15:27 +0000 (21:15 +0000)]
* 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.

31 years agobcopy -> memcpy
K. Richard Pixley [Wed, 1 Sep 1993 20:37:15 +0000 (20:37 +0000)]
bcopy -> memcpy

31 years agowrite.c, configure.in changes
Ken Raeburn [Wed, 1 Sep 1993 19:58:44 +0000 (19:58 +0000)]
write.c, configure.in changes

31 years ago(write_relocs) [RELOC_EXPANSION_POSSIBLE]: Declare tc_gen_reloc correctly.
Ken Raeburn [Wed, 1 Sep 1993 19:32:36 +0000 (19:32 +0000)]
(write_relocs) [RELOC_EXPANSION_POSSIBLE]: Declare tc_gen_reloc correctly.

31 years agoDeleted explicit "return" statements without values at the ends of functions.
Ken Raeburn [Wed, 1 Sep 1993 19:29:02 +0000 (19:29 +0000)]
Deleted explicit "return" statements without values at the ends of functions.

31 years ago * libaout.h, netbsd386.c: Change M_I386 to M_386_NETBSD. M_I386
Jim Kingdon [Wed, 1 Sep 1993 19:28:53 +0000 (19:28 +0000)]
* libaout.h, netbsd386.c: Change M_I386 to M_386_NETBSD.  M_I386
is an SCO pre-define.

31 years agoadd an alias for data section type
K. Richard Pixley [Wed, 1 Sep 1993 19:20:54 +0000 (19:20 +0000)]
add an alias for data section type

31 years agobreak dcache out of remote-nindy.c
K. Richard Pixley [Wed, 1 Sep 1993 19:16:57 +0000 (19:16 +0000)]
break dcache out of remote-nindy.c

31 years ago * mipsread.c (parse_partial_symbols): Use language from FDR if it
Peter Schauer [Wed, 1 Sep 1993 12:10:55 +0000 (12:10 +0000)]
* 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.

31 years agobreak dcache code out of remote.c
K. Richard Pixley [Wed, 1 Sep 1993 00:43:09 +0000 (00:43 +0000)]
break dcache code out of remote.c

31 years agopulling dcache code out of remote.c
K. Richard Pixley [Wed, 1 Sep 1993 00:37:53 +0000 (00:37 +0000)]
pulling dcache code out of remote.c

31 years ago * config/udi-gdb.exp: gdb_exit now kills any isstip processes
Rob Savoye [Tue, 31 Aug 1993 22:53:40 +0000 (22:53 +0000)]
* 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.

31 years agoJust a little cleanup. Made gdb_exit "kill" any isstip's still running
Rob Savoye [Tue, 31 Aug 1993 22:50:11 +0000 (22:50 +0000)]
Just a little cleanup. Made gdb_exit "kill" any isstip's still running
and blow away the socket. GDB now restarts beautifully.

31 years agocomment change
K. Richard Pixley [Tue, 31 Aug 1993 22:26:48 +0000 (22:26 +0000)]
comment change

31 years agobreak dcache code out of remote-bug.c
K. Richard Pixley [Tue, 31 Aug 1993 22:13:29 +0000 (22:13 +0000)]
break dcache code out of remote-bug.c

31 years ago * stabs.texinfo: Initial-caps all words in node names and
David MacKenzie [Tue, 31 Aug 1993 20:26:16 +0000 (20:26 +0000)]
* stabs.texinfo: Initial-caps all words in node names and
non-trivial words in section names.

31 years ago* objdump.c (ARCH_all): Define ARCH_hppa too.
Ken Raeburn [Tue, 31 Aug 1993 18:15:50 +0000 (18:15 +0000)]
* 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.)

31 years ago * nlmconv.c (main): Force creation of .bss section. Set up the
Ian Lance Taylor [Tue, 31 Aug 1993 17:47:58 +0000 (17:47 +0000)]
* 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.

31 years ago * Makefile.in (objdump.o): Depend upon config.status to notice
Ian Lance Taylor [Tue, 31 Aug 1993 17:46:56 +0000 (17:46 +0000)]
* Makefile.in (objdump.o): Depend upon config.status to notice
--with-targets changes.
(nlmconv.o): Depend upon bucomm.h.

31 years ago * nlmcode.h (nlm_object_p): Set HAS_SYMS if there are external
Ian Lance Taylor [Tue, 31 Aug 1993 17:28:03 +0000 (17:28 +0000)]
* 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.

31 years ago* libhppa.h: Restore #undefs of e_fsel and other e_* symbols.
Jim Kingdon [Tue, 31 Aug 1993 17:11:46 +0000 (17:11 +0000)]
* libhppa.h: Restore #undefs of e_fsel and other e_* symbols.

31 years ago* configure.in: Match *-*-solaris2* not *-sun-solaris2*.
Jim Kingdon [Tue, 31 Aug 1993 16:03:04 +0000 (16:03 +0000)]
* configure.in: Match *-*-solaris2* not *-sun-solaris2*.

31 years ago * c-typeprint.c (c_print_type_base): Treat show = 0 just like
Jim Kingdon [Tue, 31 Aug 1993 15:44:44 +0000 (15:44 +0000)]
* 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.

31 years ago* stabs.texinfo: Many minor cleanups.
Jim Kingdon [Tue, 31 Aug 1993 04:47:33 +0000 (04:47 +0000)]
* stabs.texinfo: Many minor cleanups.

31 years ago* stabs.texinfo: Many minor cleanups.
Jim Kingdon [Tue, 31 Aug 1993 04:33:50 +0000 (04:33 +0000)]
* stabs.texinfo: Many minor cleanups.

31 years agodon't run fixproto on gcc-no-fixedincludes
David D. Zuhn [Tue, 31 Aug 1993 01:30:23 +0000 (01:30 +0000)]
don't run fixproto on gcc-no-fixedincludes

31 years agorecognize m88110
K. Richard Pixley [Tue, 31 Aug 1993 00:52:48 +0000 (00:52 +0000)]
recognize m88110

31 years ago * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
Rob Savoye [Tue, 31 Aug 1993 00:01:56 +0000 (00:01 +0000)]
* 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.

31 years agoUse default version procedure.
Rob Savoye [Mon, 30 Aug 1993 23:28:57 +0000 (23:28 +0000)]
Use default version procedure.

31 years agoAdd default gdb version so it can be shared.
Rob Savoye [Mon, 30 Aug 1993 23:12:28 +0000 (23:12 +0000)]
Add default gdb version so it can be shared.

31 years agoMake gdb_exit into default_gdb_exit so it can be shared.
Rob Savoye [Mon, 30 Aug 1993 23:08:02 +0000 (23:08 +0000)]
Make gdb_exit into default_gdb_exit so it can be shared.

31 years agoUse default_gdb_exit now.
Rob Savoye [Mon, 30 Aug 1993 23:06:57 +0000 (23:06 +0000)]
Use default_gdb_exit now.

31 years agoWorks again.
Rob Savoye [Mon, 30 Aug 1993 23:06:03 +0000 (23:06 +0000)]
Works again.

31 years agoAdd values for RUNTEST and RUNTESTFLAGS so cross testing works better.
Rob Savoye [Mon, 30 Aug 1993 22:26:03 +0000 (22:26 +0000)]
Add values for RUNTEST and RUNTESTFLAGS so cross testing works better.

31 years ago * valops.c (call_function_by_hand): If we discard cleanups, call
Jim Kingdon [Mon, 30 Aug 1993 21:12:50 +0000 (21:12 +0000)]
* valops.c (call_function_by_hand): If we discard cleanups, call
bpstat_clear (&inf_status.stop_bpstat).

31 years ago * stabsread.h, dbxread.c (end_psymtab): Return NULL if the psymtab
Peter Schauer [Mon, 30 Aug 1993 19:50:47 +0000 (19:50 +0000)]
* 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.

31 years ago * stabs.texinfo: Many minor cleanups.
Jim Kingdon [Mon, 30 Aug 1993 18:36:03 +0000 (18:36 +0000)]
* stabs.texinfo: Many minor cleanups.

* stabs.texinfo: Remove @deffn except from Expanded Reference node.

31 years ago * config/m88k/{delta88v4.mt,delta88v4.mh}: New files
Jim Kingdon [Mon, 30 Aug 1993 16:00:13 +0000 (16:00 +0000)]
* 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.

31 years ago* configure.in: Fix typo m88*-motorola-svr4* -> sysv4*.
Jim Kingdon [Mon, 30 Aug 1993 15:58:18 +0000 (15:58 +0000)]
* configure.in: Fix typo m88*-motorola-svr4* -> sysv4*.

31 years agoCorrectly a spelling mistake.
Rob Savoye [Mon, 30 Aug 1993 04:53:24 +0000 (04:53 +0000)]
Correctly a spelling mistake.

31 years agofix caps in menu entries
David MacKenzie [Sat, 28 Aug 1993 16:55:32 +0000 (16:55 +0000)]
fix caps in menu entries

31 years ago * stabs.texinfo:
David MacKenzie [Sat, 28 Aug 1993 16:43:47 +0000 (16:43 +0000)]
* stabs.texinfo:
Use consistent capitalization style in node and section names.

31 years agoSat Aug 28 12:08:09 1993 David J. MacKenzie (djm@edison.eng.umd.edu)
David MacKenzie [Sat, 28 Aug 1993 16:22:11 +0000 (16:22 +0000)]
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.

31 years agoFrom Utah, part of BFD HPPA cleanup:
Ken Raeburn [Sat, 28 Aug 1993 00:58:17 +0000 (00:58 +0000)]
From Utah, part of BFD HPPA cleanup:

        * paread.c: Include som.h instead of libhppa.h.

31 years agoregenerated after section.c changes
Ken Raeburn [Sat, 28 Aug 1993 00:35:56 +0000 (00:35 +0000)]
regenerated after section.c changes

31 years agosection.c, hppa changes
Ken Raeburn [Sat, 28 Aug 1993 00:17:05 +0000 (00:17 +0000)]
section.c, hppa changes

31 years ago%$#@ cvs bugs
Ken Raeburn [Sat, 28 Aug 1993 00:16:15 +0000 (00:16 +0000)]
%$#@ cvs bugs

31 years agoMore patches from Jeff Law, plus a little cleanup of my own.
Ken Raeburn [Sat, 28 Aug 1993 00:12:52 +0000 (00:12 +0000)]
More patches from Jeff Law, plus a little cleanup of my own.
These changes separate PA-SOM support from PA-ELF support.
A sun4-x-hppaosf assembler can now be built.

Include <stdlib.h> and <unistd.h>.  Do not define malloc or free.

31 years agoMore patches from Jeff Law, plus a little cleanup of my own.
Ken Raeburn [Sat, 28 Aug 1993 00:10:54 +0000 (00:10 +0000)]
More patches from Jeff Law, plus a little cleanup of my own.
These changes separate PA-SOM support from PA-ELF support.
A sun4-x-hppaosf assembler can now be built.

* elf32-hppa.c (elf_hppa_howto_table): Now static.
(symext_rootP, symext_lastP, global_value, GOT_value, global_symbol,
global_sym_defined, symextn_contents, symextn_contents_real_size,
elf_hppa_stub_rootP, elf32_hppa_symextn_map, elf32_hppa_symextn_map_size): Rely
on default initialization.
(hppa_elf_gen_reloc_type): Macro "UNDEFINED" doesn't need a trailing semicolon.
(hppa_look_for_stubs_in_section): Introduce temporaries to make code more
readable in 80 columns.

* libhppa.h (all functions): Now inline under GNU C.

* elf32-hppa.c (AR_WARN): Give argument which caused the invalid argument
relocation.
(AR_UNIMP): Delete unused macro.
(hppa_elf_set_section_contents): Always return a value.
(elf32_hppa_backend_table_processing): Likewise.
(elf32_hppa_backend_section_processing: Likewise.

* som.c: New file containing SOM specific code extracted from hppa.c

* som.h: New file containing SOM specific code extracted from libhppa.h

* hppa.c: Deleted.

* libhppa.h: Delete SOM specific code.  Add generic PA code which can be shared
by both SOM and ELF backends.

* Makefile.in: Replace hppa.c with som.c.  elf32-hppa.o depends on libhppa.h
now.

* configure.in (hppa_vec): Needs som.o module instead of hppa.o.

* elf32-hppa.c: Include libhppa.h.  Do not define BYTES_IN_WORD.

* elf32-hppa.h (hppa_reloc_field_selector_type): Delete now lives in libhppa.h.
(hppa_reloc_field_selector_type_alt): Likewise.

* elf32-hppa.c (hppa_elf_relocate_unwind_table): Delete unused variables.
(elf_hppa_reloc_type_lookup): Likewise.
(elf_hppa_tc_make_sections): Likewise.
(hppa_elf_arg_reloc_needed_p): Likewise.
(hppa_elf_build_long_branch_stub): Likewise.
(elf_reloc_map): Delete, no longer used.
(elf_hppa_reloc_map): Likewise.
(elf32_hppa_symextn_map_max_size): Likewise.
(elf32_hppa_get_sym_extn): Abort if type is bogus.

* elf32-hppa.c (elf32_hppa_backend_fake_sections): Add processing
of the .hppa_unwind section.

31 years agoremoved some "#if 0" code
Ken Raeburn [Fri, 27 Aug 1993 23:59:37 +0000 (23:59 +0000)]
removed some "#if 0" code

31 years ago(struct sec): Move position of user_set_vma, and document it.
Ken Raeburn [Fri, 27 Aug 1993 23:56:49 +0000 (23:56 +0000)]
(struct sec): Move position of user_set_vma, and document it.
(SEC_BALIGN): Disable for now.  I don't think it's currently used.

31 years ago * Rename files for 14-character limits:
Jim Kingdon [Fri, 27 Aug 1993 23:27:02 +0000 (23:27 +0000)]
* Rename files for 14-character limits:
gdbserver/remote-gutils.c -> gdbserver/utils.c
gdbserver/remote-inflow.c -> gdbserver/low-lynx.c
gdbserver/remote-inflow-sparc.c -> gdbserver/low-sparc.c
gdbserver/remote-server.c -> gdbserver/server.c
remote-monitor.c -> remote-mon.c
* Makefile.in, gdbserver/Makefile.in, gdbserver/configure.in,
config/m68k/monitor.mt, config/i386/i386lynx.mh,
config/sparc/sun4os4.mh: Change accordingly.
* gdbserver/Makefile.in: Remove more junk inherited from gdb Makefile.

31 years ago * symmisc.c (dump_symtab): Use catch_errors around print_symbol.
Jim Kingdon [Fri, 27 Aug 1993 22:55:04 +0000 (22:55 +0000)]
* symmisc.c (dump_symtab): Use catch_errors around print_symbol.
Change calling sequence of print_symbol to fit catch_errors.

31 years agodeleted -- no longer accurate
Ken Raeburn [Fri, 27 Aug 1993 19:44:58 +0000 (19:44 +0000)]
deleted -- no longer accurate

31 years ago * mips-tdep.c: Call reinit_frame_cache every time the user does
Jim Kingdon [Fri, 27 Aug 1993 19:33:43 +0000 (19:33 +0000)]
* mips-tdep.c: Call reinit_frame_cache every time the user does
"set heuristic-fence-post".

31 years ago * gdbserver/low-sun3.c: New file.
Jim Kingdon [Fri, 27 Aug 1993 17:38:42 +0000 (17:38 +0000)]
* gdbserver/low-sun3.c: New file.
* gdbserver/Makefile.in, config/m68k/sun3.mh: Change accordingly.

* Rename files for 14-character limits:
gdbserver/remote-gutils.c -> gdbserver/utils.c
gdbserver/remote-inflow.c -> gdbserver/low-lynx.c
gdbserver/remote-inflow-sparc.c -> gdbserver/low-sparc.c
gdbserver/remote-server.c -> gdbserver/server.c
remote-monitor.c -> remote-mon.c
* Makefile.in, gdbserver/Makefile.in, config/m68k/monitor.mt,
config/i386/i386lynx.mh, config/sparc/sun4os4.mh: Change accordingly.
* gdbserver/Makefile.in: Remove more junk inherited from gdb Makefile.

31 years ago * gdbserver/low-sun3.c: New file.
Jim Kingdon [Fri, 27 Aug 1993 17:34:30 +0000 (17:34 +0000)]
* gdbserver/low-sun3.c: New file.
* gdbserver/Makefile.in, config/m68k/sun3.mh: Change accordingly.

31 years agonew for sun3 gdbserver
Jim Kingdon [Fri, 27 Aug 1993 17:23:11 +0000 (17:23 +0000)]
new for sun3 gdbserver

31 years ago * Rename files for 14-character limits:
Jim Kingdon [Fri, 27 Aug 1993 16:59:46 +0000 (16:59 +0000)]
* Rename files for 14-character limits:
gdbserver/remote-gutils.c -> gdbserver/utils.c
gdbserver/remote-inflow.c -> gdbserver/low-lynx.c
gdbserver/remote-inflow-sparc.c -> gdbserver/low-sparc.c
gdbserver/remote-server.c -> gdbserver/server.c
remote-monitor.c -> remote-mon.c
* Makefile.in, gdbserver/Makefile.in, config/m68k/monitor.mt:
Change accordingly.
* gdbserver/Makefile.in: Remove more junk inherited from gdb Makefile.

31 years ago * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Set
Ian Lance Taylor [Fri, 27 Aug 1993 14:55:22 +0000 (14:55 +0000)]
* mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Set
WR_31 hazard for bal, bgezal, bltzal.

31 years ago * infcmd.c, inferior.h (run_stack_dummy): If we stop somewhere
Jim Kingdon [Fri, 27 Aug 1993 03:22:33 +0000 (03:22 +0000)]
* infcmd.c, inferior.h (run_stack_dummy): If we stop somewhere
besides the dummy, return 1 rather than calling error().
Let caller print the error message.  Remove name argument.
* valops.c (call_function_by_hand): Deal with changes to calling
sequence of run_stack_dummy.  Discard restore_inferior_status cleanup
if run_stack_dummy returns 1.

31 years ago * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
Jim Kingdon [Fri, 27 Aug 1993 03:03:54 +0000 (03:03 +0000)]
* gdb.t20/classes.exp: For "ptype class Base1", continue to accept
old form.

* gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
name (e.g. devo gdb with gcc 2.4.5), it is still a pass.