Jim Kingdon [Thu, 9 Sep 1993 16:09:37 +0000 (16:09 +0000)]
* config/m68k/{tm-m68k-nofp.h,m68k-nofp.mt}: Remove.
* config/m68k/{tm-m68k-fp.h,m68k-fp.mt}: Rename to
{tm-m68k-em.h,m68k-em.mt}.
Peter Schauer [Thu, 9 Sep 1993 12:02:59 +0000 (12:02 +0000)]
* mipsread.c (cross_ref): Allow SGI extended symbol types as cross
reference targets.
* symmisc.c (print_symbol): Use TYP_TAG_NAME not TYPE_NAME to avoid
printing of identities.
Rob Savoye [Thu, 9 Sep 1993 05:12:46 +0000 (05:12 +0000)]
Made cross testing work better.
Jim Kingdon [Thu, 9 Sep 1993 01:53:36 +0000 (01:53 +0000)]
* gdb.texinfo: Clarify how well it works with Fortran.
Jim Kingdon [Thu, 9 Sep 1993 00:33:22 +0000 (00:33 +0000)]
* breakpoint.c (breakpoint_1): Deal with step resume breakpoint.
Jim Kingdon [Wed, 8 Sep 1993 23:05:46 +0000 (23:05 +0000)]
* stabs.texinfo (Stabs In ELF, Statics, ELF Transformations):
More on relocating stabs in ELF files.
K. Richard Pixley [Wed, 8 Sep 1993 21:45:46 +0000 (21:45 +0000)]
gcc lint
K. Richard Pixley [Wed, 8 Sep 1993 21:45:17 +0000 (21:45 +0000)]
gcc lint
K. Richard Pixley [Wed, 8 Sep 1993 21:30:33 +0000 (21:30 +0000)]
gcc lint
K. Richard Pixley [Wed, 8 Sep 1993 21:23:41 +0000 (21:23 +0000)]
gcc lint
K. Richard Pixley [Wed, 8 Sep 1993 21:16:23 +0000 (21:16 +0000)]
gcc lint
K. Richard Pixley [Wed, 8 Sep 1993 21:04:59 +0000 (21:04 +0000)]
gcc lint
K. Richard Pixley [Wed, 8 Sep 1993 20:57:08 +0000 (20:57 +0000)]
gcc lint
K. Richard Pixley [Wed, 8 Sep 1993 20:15:34 +0000 (20:15 +0000)]
some gcc lint
Ian Lance Taylor [Wed, 8 Sep 1993 19:11:47 +0000 (19:11 +0000)]
* config/obj-elf.c (obj_elf_section): Set SEC_LOAD when using
default flag values.
Jim Kingdon [Wed, 8 Sep 1993 19:03:21 +0000 (19:03 +0000)]
Back out this change; it doesn't work.
Tue Sep 7 13:06:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* dbxread.c (process_one_symbol): If the value of an N_FUN for a
function is zero, use minimal symbols to get the address.
Jim Kingdon [Wed, 8 Sep 1993 18:30:25 +0000 (18:30 +0000)]
* stabs.texinfo (Stabs In ELF, Statics): More on relocating stabs
in ELF files.
Jim Kingdon [Wed, 8 Sep 1993 17:26:31 +0000 (17:26 +0000)]
Revert previous change. It doesn't work because it neglects to
consider there may be a file compiled without -g screwing things up
(e.g. we are looking for the minimal symbol for "main" and we get the
one for "start" instead).
This is the change I mean:
* minsyms.c, symtab.h (lookup_next_minimal_symbol): New function.
* dbxread.c (process_one_symbol): Use it.
Jim Kingdon [Wed, 8 Sep 1993 15:51:39 +0000 (15:51 +0000)]
* minsyms.c, symtab.h (lookup_next_minimal_symbol): New function.
* dbxread.c (process_one_symbol): Use it.
Jim Kingdon [Wed, 8 Sep 1993 15:48:03 +0000 (15:48 +0000)]
* Makefile.in (mipsread.o): Depend on $(bfd_h).
Jim Kingdon [Wed, 8 Sep 1993 14:47:10 +0000 (14:47 +0000)]
add comment
Jim Kingdon [Wed, 8 Sep 1993 14:15:35 +0000 (14:15 +0000)]
* stabs.texinfo (Stabs In ELF, Statics): More on relocating stabs
in ELF files.
Jim Kingdon [Wed, 8 Sep 1993 14:08:43 +0000 (14:08 +0000)]
revise comment
Jeffrey Osier [Wed, 8 Sep 1993 01:08:26 +0000 (01:08 +0000)]
* Makefile.in: add TEXINPUTS variable and use it in ld.dvi target
David D. Zuhn [Wed, 8 Sep 1993 00:31:08 +0000 (00:31 +0000)]
support for --host HOST
Stan Shebs [Wed, 8 Sep 1993 00:20:59 +0000 (00:20 +0000)]
Add missing ifdef to make m68k-aout targets happy.
Jim Kingdon [Tue, 7 Sep 1993 22:17:47 +0000 (22:17 +0000)]
* configure.in (m88k-*-sysvr4*): Comment out previous change.
Ian Lance Taylor [Tue, 7 Sep 1993 22:15:15 +0000 (22:15 +0000)]
* remote.c (remote_wait): Don't call error. Instead, call warning
inside a loop. User can ^C to get out.
Jim Kingdon [Tue, 7 Sep 1993 21:39:47 +0000 (21:39 +0000)]
* gdbserver/Makefile.in (TAGS): config files are in
$(srcdir)/../config, not $(srcdir)/config.
Jim Kingdon [Tue, 7 Sep 1993 19:57:45 +0000 (19:57 +0000)]
* config/pa/tm-hppa.h: Declare target_read_pc and target_write_pc.
(STORE_RETURN_VAULE): Pass the correct offset of the return
register to write_register_bytes.
* hppa-tdep.c: Use target_write_pc if PCOQ_TAIL_REGNUM was not saved.
Jim Kingdon [Tue, 7 Sep 1993 19:21:12 +0000 (19:21 +0000)]
* gdb.t15/{return.c,return.exp,Makefile.in}:
New test, currently commented out.
David Edelsohn [Tue, 7 Sep 1993 19:00:48 +0000 (19:00 +0000)]
* config.sub: Remove h8300hhms alias.
Jim Kingdon [Tue, 7 Sep 1993 18:49:45 +0000 (18:49 +0000)]
* stabs.texinfo (Stabs In ELF): Talk about N_FUN value.
Ian Lance Taylor [Tue, 7 Sep 1993 18:36:47 +0000 (18:36 +0000)]
* config/m68k/tm-m68k.h (FIX_CALL_DUMMY): Changed name of swapping
routine to match BFD name change.
* config/z8k/tm-z8k.h (FIX_CALL_DUMMY): Likewise.
Ian Lance Taylor [Tue, 7 Sep 1993 18:32:33 +0000 (18:32 +0000)]
* libbfd-in.h: Removed swapping routines declarations.
* bfd-in.h: Added swapping routine declarations, and renamed them
from _do_* to bfd_*.
* libbfd.c: Renamed swapping routines from _do_* to _bfd_*.
* Changed all callers.
* libbfd.h, bfd-in2.h: Rebuilt.
Ian Lance Taylor [Tue, 7 Sep 1993 18:27:18 +0000 (18:27 +0000)]
* mips-dis.c, m88k-dis.c: Don't include libbfd.h. Changed calls
to BFD swapping routines to correspond to BFD name changes.
Ian Lance Taylor [Tue, 7 Sep 1993 18:24:31 +0000 (18:24 +0000)]
* ecoff.h (AUX_GET_ANY, AUX_PUT_ANY): Changed to reflect further
change in bfd swapping routine names.
Jim Kingdon [Tue, 7 Sep 1993 18:12:26 +0000 (18:12 +0000)]
* dbxread.c (process_one_symbol): If the value of an N_FUN for a
function is zero, use minimal symbols to get the address.
Stan Shebs [Tue, 7 Sep 1993 17:39:56 +0000 (17:39 +0000)]
Changes to support stabs-in-coff
Ian Lance Taylor [Tue, 7 Sep 1993 15:45:42 +0000 (15:45 +0000)]
* elf32-i386.c (elf_howto_table): Set pcrel_offset to true for
R_386_PC32.
Jim Kingdon [Tue, 7 Sep 1993 15:25:31 +0000 (15:25 +0000)]
* ecoff.h (AUX_GET_ANY): Change name of _do_getb32 to reflect bfd
changes.
Jim Kingdon [Tue, 7 Sep 1993 00:26:57 +0000 (00:26 +0000)]
* stabs.texinfo (Local Variable Parameters): Talk about nameless
parameters on VAX.
Jeffrey Wheat [Mon, 6 Sep 1993 22:08:31 +0000 (22:08 +0000)]
Changed elf32_symbol_type to elf_symbol_type
Ian Lance Taylor [Mon, 6 Sep 1993 19:48:43 +0000 (19:48 +0000)]
Snapshot of stand alone i386 NLM debugging stub. Currently sanitized
out because it contains Novell proprietary code.
Ian Lance Taylor [Mon, 6 Sep 1993 19:46:43 +0000 (19:46 +0000)]
* remote.c (remote_wait): Added 'W' and 'N' responses.
Ian Lance Taylor [Mon, 6 Sep 1993 19:42:12 +0000 (19:42 +0000)]
* nlmconv.c (total_bss_size): Removed.
(main): Set the bss vma to always follow the data section. Move
symbols into new sections, and adjust values by output_offset.
(setup_sections): Don't copy all sections, but instead point all
text sections to .text, all data sections to .data, and all bss
sections to .bss.
(copy_sections): Adjust accordingly.
Roland Pesch [Sat, 4 Sep 1993 00:07:46 +0000 (00:07 +0000)]
@up/@down -> @raisesections/@lowersections
Roland Pesch [Fri, 3 Sep 1993 23:48:59 +0000 (23:48 +0000)]
* ld.texinfo: re-enable included config file; conditionalize doc
for -oformat to interact properly with SingleFormat doc config
var; rename @up/@down to @raisesections/@lowersections.
Jim Kingdon [Fri, 3 Sep 1993 22:53:45 +0000 (22:53 +0000)]
* main.c, utils.c: Add comments about immediate_quit.
David MacKenzie [Fri, 3 Sep 1993 22:47:04 +0000 (22:47 +0000)]
tiny additions & fixes
Ken Raeburn [Fri, 3 Sep 1993 22:38:18 +0000 (22:38 +0000)]
PA and ELF changes
Ken Raeburn [Fri, 3 Sep 1993 22:37:03 +0000 (22:37 +0000)]
obj-elf.h change
Ken Raeburn [Fri, 3 Sep 1993 22:36:26 +0000 (22:36 +0000)]
more Utah changes, some cleanup of mine
Ken Raeburn [Fri, 3 Sep 1993 22:19:09 +0000 (22:19 +0000)]
(elf_symbol): Fixed name of elf_symbol_type.
No longer conditionalized on sparcv9.
Jim Kingdon [Fri, 3 Sep 1993 22:02:59 +0000 (22:02 +0000)]
* elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
to minimal symbols.
Ken Raeburn [Fri, 3 Sep 1993 20:24:07 +0000 (20:24 +0000)]
configure.in, libbfd, elf, elf-hppa (utah) changes
Ken Raeburn [Fri, 3 Sep 1993 20:13:31 +0000 (20:13 +0000)]
Reorganized setting of makefile variables so 64-bit stuff works again.
Ken Raeburn [Fri, 3 Sep 1993 20:12:51 +0000 (20:12 +0000)]
more changes from Utah, see log for details
Ken Raeburn [Fri, 3 Sep 1993 20:12:05 +0000 (20:12 +0000)]
Deleted some fields of elf*_symbol_type and elf_obj_tdata that were getting
set but not used. Merged elf*_symbol_type into a single elf_symbol_type.
Ken Raeburn [Fri, 3 Sep 1993 20:09:31 +0000 (20:09 +0000)]
regenerated after doc fix
Ken Raeburn [Fri, 3 Sep 1993 20:04:52 +0000 (20:04 +0000)]
(_do_get*, _do_put*): Renamed via macros to clean up namespace.
Jim Kingdon [Fri, 3 Sep 1993 17:12:22 +0000 (17:12 +0000)]
* stabs.texinfo: Make info author notice match the TeX author notice.
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.
Jim Kingdon [Fri, 3 Sep 1993 16:15:13 +0000 (16:15 +0000)]
* stabs.texinfo: Many minor cleanups.
Jim Kingdon [Fri, 3 Sep 1993 16:04:27 +0000 (16:04 +0000)]
* stabs.texinfo: Many minor cleanups.
Jim Kingdon [Fri, 3 Sep 1993 15:56:00 +0000 (15:56 +0000)]
remove obsolete comment about call function stuff being duplicated
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.
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.
Jim Kingdon [Thu, 2 Sep 1993 21:23:16 +0000 (21:23 +0000)]
* m88k-tdep.c: Remove a bunch of unused #includes.
Jim Kingdon [Thu, 2 Sep 1993 19:24:33 +0000 (19:24 +0000)]
* libhppa.h (hppa_field_adjust): Remove unused `init_value' variable.
Jim Kingdon [Thu, 2 Sep 1993 19:12:37 +0000 (19:12 +0000)]
* language.h: Add comment about current_language.
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.
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).
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.
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).
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.
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.
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.
Jim Kingdon [Thu, 2 Sep 1993 06:13:28 +0000 (06:13 +0000)]
* config/m88k/delta88v4.h (NATDEPFILES): Remove infptrace.o inftarg.o.
Jim Kingdon [Thu, 2 Sep 1993 06:06:40 +0000 (06:06 +0000)]
* hosts/delta88v4.h: New for SVR4.
* configure.hosts: Use it.
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.
Jim Kingdon [Thu, 2 Sep 1993 05:57:31 +0000 (05:57 +0000)]
new for /proc support on svr4 delta88
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.
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.
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.
Jim Kingdon [Thu, 2 Sep 1993 05:06:30 +0000 (05:06 +0000)]
renamed from xm-m88k.h
Jim Kingdon [Thu, 2 Sep 1993 05:00:48 +0000 (05:00 +0000)]
* 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'.
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.
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.
Rob Savoye [Thu, 2 Sep 1993 01:12:20 +0000 (01:12 +0000)]
Load the udi library procedures.
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.
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".
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".
K. Richard Pixley [Wed, 1 Sep 1993 22:24:34 +0000 (22:24 +0000)]
index -> strchr
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.
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.
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.
K. Richard Pixley [Wed, 1 Sep 1993 21:56:42 +0000 (21:56 +0000)]
bzero -> memset
K. Richard Pixley [Wed, 1 Sep 1993 21:43:56 +0000 (21:43 +0000)]
bcmp -> memcmp