external/binutils.git
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.

31 years agobump VERSION to 4.10.2
David D. Zuhn [Fri, 27 Aug 1993 02:37:22 +0000 (02:37 +0000)]
bump VERSION to 4.10.2

31 years ago* gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
Jim Kingdon [Fri, 27 Aug 1993 02:26:25 +0000 (02:26 +0000)]
* gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).

31 years ago * config/mips/tm-mips.h (EXTRACT_STRUCT_VALUE_ADDRESS):
Jim Kingdon [Fri, 27 Aug 1993 00:33:20 +0000 (00:33 +0000)]
* config/mips/tm-mips.h (EXTRACT_STRUCT_VALUE_ADDRESS):
Get struct return address from v0, not a0.

31 years ago * config/unix-gdb.exp: Remove this version of gdb_exit
Jim Kingdon [Thu, 26 Aug 1993 23:04:07 +0000 (23:04 +0000)]
* config/unix-gdb.exp: Remove this version of gdb_exit
* lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
Rob says he'll look at it when he gets back to testing boards.

31 years ago * ld.h (BYTE_SIZE, SHORT_SIZE, LONG_SIZE): Define as suggested by
David Edelsohn [Thu, 26 Aug 1993 22:22:36 +0000 (22:22 +0000)]
  * ld.h (BYTE_SIZE, SHORT_SIZE, LONG_SIZE): Define as suggested by
        Steve.

31 years ago * config/mips/tm-mips.h (EXTRACT_STRUCT_VALUE_ADDRESS):
Jim Kingdon [Thu, 26 Aug 1993 21:49:40 +0000 (21:49 +0000)]
* config/mips/tm-mips.h (EXTRACT_STRUCT_VALUE_ADDRESS):
Get struct return address from v0, not a0.

31 years ago * infrun.c (restore_inferior_status): Use catch_errors when
Jim Kingdon [Thu, 26 Aug 1993 21:38:34 +0000 (21:38 +0000)]
* infrun.c (restore_inferior_status): Use catch_errors when
restoring selected frame.

31 years agomake config.bfd executable
Ken Raeburn [Thu, 26 Aug 1993 20:29:28 +0000 (20:29 +0000)]
make config.bfd executable

31 years ago * gdb.t22/virtfunc.exp: Accept missing struct/class names as
Fred Fish [Thu, 26 Aug 1993 18:35:26 +0000 (18:35 +0000)]
* gdb.t22/virtfunc.exp:  Accept missing struct/class names as
an expected fail for certain ptype commands.

31 years agoadd comments re stub types
Jim Kingdon [Thu, 26 Aug 1993 15:37:03 +0000 (15:37 +0000)]
add comments re stub types

31 years ago * gdb.texinfo: Change typo "Two two" to "The two".
Fred Fish [Thu, 26 Aug 1993 13:37:22 +0000 (13:37 +0000)]
* gdb.texinfo:  Change typo "Two two" to "The two".

31 years ago * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
Fred Fish [Thu, 26 Aug 1993 00:36:15 +0000 (00:36 +0000)]
* config/{udi-gdb.exp, gdb-unix.exp}:  Replace calls to obsolete
"alldone" proc with call to cleanup and exit.
* {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
"alldone" proc with simple returns that suppress remaining
tests.  The alldone proc went away many months ago.

31 years agorecognize m88110
K. Richard Pixley [Wed, 25 Aug 1993 23:16:39 +0000 (23:16 +0000)]
recognize m88110

31 years agomore hppa elf support from utah
Ken Raeburn [Wed, 25 Aug 1993 20:15:17 +0000 (20:15 +0000)]
more hppa elf support from utah

31 years agoMerged in changes from Jeff Law and Pete Hoogenboom at Utah for PA ELF
Ken Raeburn [Wed, 25 Aug 1993 01:15:07 +0000 (01:15 +0000)]
Merged in changes from Jeff Law and Pete Hoogenboom at Utah for PA ELF
support.  Compiles, not particularly well tested.  See ChangeLog for details.

31 years agoFrom Peter Hoogenboom <hoogen@shafer.cs.utah.edu>:
Ken Raeburn [Tue, 24 Aug 1993 23:45:26 +0000 (23:45 +0000)]
From Peter Hoogenboom <hoogen@shafer.cs.utah.edu>:

* emultempl/hppaosf.em (ld_hppaosf_emulation): Correct name for PA
ELF emulation is "elf32-hppa" not "elf-big".
(hppaosf_before_parse): Remove unneeded processing of environment variables.
* scripttempl/hppaosf.sc: Include .hppa_linker_stubs sections in
.text segment of output file.
* emulparams/hppaosf.sh (OUTPUT_FORMAT): Use elf32-hppa.

31 years agomove BYTE_SIZE, SHORT_SIZE, LONG_SIZE from ldlang.c into ld.h
K. Richard Pixley [Tue, 24 Aug 1993 23:34:32 +0000 (23:34 +0000)]
move BYTE_SIZE, SHORT_SIZE, LONG_SIZE from ldlang.c into ld.h

31 years agodefine BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no longer in bfd.h.
K. Richard Pixley [Tue, 24 Aug 1993 23:17:52 +0000 (23:17 +0000)]
define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no longer in bfd.h.

31 years ago * frame.h, symtab.h, findvar.c (read_var_value): Change basereg
Jim Kingdon [Tue, 24 Aug 1993 21:38:24 +0000 (21:38 +0000)]
* frame.h, symtab.h, findvar.c (read_var_value):  Change basereg
support to use LOC_BASEREG rather than SYMBOL_BASEREG_VALID.
* dwarfread.c: Use LOC_BASEREG where appropriate.
* Various: Support LOC_BASEREG and LOC_BASEREG_ARG.

31 years ago* dbxread.c (end_psymtab): Clean up comment.
Jim Kingdon [Tue, 24 Aug 1993 21:13:37 +0000 (21:13 +0000)]
* dbxread.c (end_psymtab): Clean up comment.

31 years ago * coffread.c (init_lineno, init_stringtab): Don't check whether
Jim Kingdon [Tue, 24 Aug 1993 18:59:50 +0000 (18:59 +0000)]
* coffread.c (init_lineno, init_stringtab): Don't check whether
xmalloc returned NULL.

31 years ago* gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
Jim Kingdon [Tue, 24 Aug 1993 16:46:53 +0000 (16:46 +0000)]
* gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.

31 years ago* gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
Jim Kingdon [Tue, 24 Aug 1993 16:26:06 +0000 (16:26 +0000)]
* gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.

31 years ago* config/vax/xm-vaxult.h: Define NO_PTRACE_H.
Jim Kingdon [Tue, 24 Aug 1993 15:23:23 +0000 (15:23 +0000)]
* config/vax/xm-vaxult.h: Define NO_PTRACE_H.

31 years agoundo last change
Jim Kingdon [Tue, 24 Aug 1993 15:07:05 +0000 (15:07 +0000)]
undo last change

31 years ago* configure.in: vax-*-ultrix3* is like vax-*-ultrix2*.
Jim Kingdon [Tue, 24 Aug 1993 14:35:54 +0000 (14:35 +0000)]
* configure.in: vax-*-ultrix3* is like vax-*-ultrix2*.

31 years ago * target.c, target.h: Add "set remotedebug" command.
Jim Kingdon [Tue, 24 Aug 1993 06:55:35 +0000 (06:55 +0000)]
* target.c, target.h: Add "set remotedebug" command.
* remote-bug.c, remote.c, remote-mips.c: Remove "set remotedebug" and
"set m88ksnoop" options and use generic "set remotedebug" instead.
* NEWS: Describe this change.

31 years ago * target.c, target.h: Add "set remotedebug" command.
Jim Kingdon [Tue, 24 Aug 1993 06:47:03 +0000 (06:47 +0000)]
* target.c, target.h: Add "set remotedebug" command.

* remote-bug.c, remote.c, remote-mips.c: Remove "set remotedebug" and
"set m88ksnoop" options and use generic "set remotedebug" instead.

31 years ago * buildsym.h: Remove declaration of dbxread.c functions.
Jim Kingdon [Tue, 24 Aug 1993 01:43:59 +0000 (01:43 +0000)]
* buildsym.h: Remove declaration of dbxread.c functions.
* stabsread.h: Group together dbxread.c functions.
Move elfstab_build_psymtabs here from symfile.h.
Declare pastab_build_psymtabs.
* elfread.c, paread.c: Include stabsread.h (for stabsread_new_init
declaration, etc).

31 years ago * snapshots.readme: Update policy for daily full snapshots and
Fred Fish [Tue, 24 Aug 1993 01:35:33 +0000 (01:35 +0000)]
* snapshots.readme:  Update policy for daily full snapshots and
daily diffs.  General reformatting of paragraphs.

31 years ago* remote-bug.c: rename quiet to bug88k_snoop.
K. Richard Pixley [Tue, 24 Aug 1993 00:25:16 +0000 (00:25 +0000)]
* remote-bug.c: rename quiet to bug88k_snoop.
(double_scan, multi_scan): generalize double_scan into a scan
for multiple patterns.  Rename to multi_scan.
(bug_wait, bug_write_inferior_memory): adapt to use the new
multi_scan in order to catch and represent target bus errors.
(bug_scan): currently unused, so comment out.
(bug_quiet): removed.  Replaced with a standard user settable boolean.

31 years agoremove include of sys/dir.h. Appears unnecessary and isn't available
K. Richard Pixley [Tue, 24 Aug 1993 00:18:04 +0000 (00:18 +0000)]
remove include of sys/dir.h.  Appears unnecessary and isn't available
on solaris.

31 years ago * config/m88k/{delta88v4.mt,delta88v4.mh}: New files
Jim Kingdon [Mon, 23 Aug 1993 21:14:31 +0000 (21:14 +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.
* configure.in: Recognize m88*-motorola-sysv4*.
* m88k-nat.c: Always include sys/types.h; don't depend on USG.

31 years agoadd ChangeLog entry for sef change to aoutx.h
Jim Kingdon [Mon, 23 Aug 1993 20:29:54 +0000 (20:29 +0000)]
add ChangeLog entry for sef change to aoutx.h

31 years ago * mipsread.c (parse_symbol, parse_type, cross_ref): Pass name of symbol
Peter Schauer [Mon, 23 Aug 1993 20:01:20 +0000 (20:01 +0000)]
* mipsread.c (parse_symbol, parse_type, cross_ref):  Pass name of symbol
as an argument and use it in complaints.
* symmisc.c (dump_psymtab):  Dump filenames of dependencies.

31 years agoremove netbsd386.mt; the file was checked in by sef but isn't used
Jim Kingdon [Mon, 23 Aug 1993 19:51:08 +0000 (19:51 +0000)]
remove netbsd386.mt; the file was checked in by sef but isn't used

31 years agonuke chill stuff from Makefile
David D. Zuhn [Mon, 23 Aug 1993 19:46:22 +0000 (19:46 +0000)]
nuke chill stuff from Makefile

31 years agoWrite ChangeLog entry for sef changes.
Jim Kingdon [Mon, 23 Aug 1993 19:46:03 +0000 (19:46 +0000)]
Write ChangeLog entry for sef changes.

Remove dbxread.c change; I handle this in BFD by making the name start
with "a.out".

31 years agoconfig.sub also has v9 code
David D. Zuhn [Mon, 23 Aug 1993 19:41:49 +0000 (19:41 +0000)]
config.sub also has v9 code

31 years agoremove Sanitize markers
David D. Zuhn [Mon, 23 Aug 1993 19:39:56 +0000 (19:39 +0000)]
remove Sanitize markers

31 years agoWrite (half-assed) ChangeLog entry for sef changes.
Jim Kingdon [Mon, 23 Aug 1993 19:35:33 +0000 (19:35 +0000)]
Write (half-assed) ChangeLog entry for sef changes.

Change name of target from netbsd-386 to a.out-netbsd-386 so that GDB
can recognize it as an a.out variant.

31 years agoRemove unused file netbsd386.mt
Jim Kingdon [Mon, 23 Aug 1993 19:28:09 +0000 (19:28 +0000)]
Remove unused file netbsd386.mt

31 years agonew for svr4 on delta 88k
Jim Kingdon [Mon, 23 Aug 1993 18:29:21 +0000 (18:29 +0000)]
new for svr4 on delta 88k

31 years ago * config/tc-mips.c (set_at): Added unsignedp argument. Use
Ian Lance Taylor [Mon, 23 Aug 1993 17:04:49 +0000 (17:04 +0000)]
* config/tc-mips.c (set_at): Added unsignedp argument.  Use
load_register.
(set_at_unsigned): Removed; changed callers to use set_at.
(load_register): Removed unused ip argument.  Changed callers.
(append_insn): Don't swap branch and branch likely.
(macro_build): Handle 'u'.
(load_register): Handle 64 bit constants.
(macro): Added M_DABS, removed M_ABSU.  Numerous changes to
support 64 bit constants.
(mips_ip): Use hex constants in range checks for clarity.
(md_number_to_chars): Support 8 byte values.

31 years ago * mips-opc.c ("absu"): Removed.
Ian Lance Taylor [Mon, 23 Aug 1993 17:02:50 +0000 (17:02 +0000)]
* mips-opc.c ("absu"): Removed.
("dabs"): Added.

31 years ago * mips.h (M_ABSU): Removed (absolute value of unsigned number??).
Ian Lance Taylor [Mon, 23 Aug 1993 17:02:38 +0000 (17:02 +0000)]
* mips.h (M_ABSU): Removed (absolute value of unsigned number??).
(M_DABS): Added.

31 years agoAdded support for netbsd386 (almost-but-not-quite 386bsd).
Sean Eric Fagan [Mon, 23 Aug 1993 07:46:47 +0000 (07:46 +0000)]
Added support for netbsd386 (almost-but-not-quite 386bsd).

31 years agoAdd support for netbsd386 (almost-but-not-quite 386bsd).
Sean Eric Fagan [Mon, 23 Aug 1993 07:45:32 +0000 (07:45 +0000)]
Add support for netbsd386 (almost-but-not-quite 386bsd).