binutils-gdb.git
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).

31 years agoDon't let netbsd386.c get sanitized out.
Sean Eric Fagan [Mon, 23 Aug 1993 07:43:25 +0000 (07:43 +0000)]
Don't let netbsd386.c get sanitized out.

31 years ago * stabs.texinfo (XCOFF-differences): Remove references to
Jim Kingdon [Sun, 22 Aug 1993 19:53:21 +0000 (19:53 +0000)]
* stabs.texinfo (XCOFF-differences): Remove references to
non-existent types N_DECL and N_RPSYM.

* stabs.texinfo (String Field): Say that type attributes bug is
fixed in GDB 4.10, since it is.

* stabs.texinfo: Clean up djm cleanups, and more cleanups of my own.

31 years agomore formatting cleanups
David MacKenzie [Sat, 21 Aug 1993 05:09:09 +0000 (05:09 +0000)]
more formatting cleanups

31 years agoformatting cleanups
David MacKenzie [Sat, 21 Aug 1993 04:32:28 +0000 (04:32 +0000)]
formatting cleanups

31 years ago* remote-nindy.c: Remove unused include of sys/ioctl.h.
Jim Kingdon [Sat, 21 Aug 1993 03:26:21 +0000 (03:26 +0000)]
* remote-nindy.c: Remove unused include of sys/ioctl.h.

31 years ago* config.guess: Deal with OSF/1 1.3 on alpha.
Jim Kingdon [Sat, 21 Aug 1993 02:56:06 +0000 (02:56 +0000)]
* config.guess: Deal with OSF/1 1.3 on alpha.

31 years agoRearrange comments regarding Things-to-los
Jim Kingdon [Sat, 21 Aug 1993 02:55:03 +0000 (02:55 +0000)]
Rearrange comments regarding Things-to-los

31 years ago* frame.h, symtab.h: Revise comments regarding baseregs.
Jim Kingdon [Sat, 21 Aug 1993 02:54:33 +0000 (02:54 +0000)]
* frame.h, symtab.h: Revise comments regarding baseregs.

31 years ago * stabs.texinfo: When explaining the n_type of a stab, standardize
Jim Kingdon [Sat, 21 Aug 1993 02:14:30 +0000 (02:14 +0000)]
* stabs.texinfo: When explaining the n_type of a stab, standardize
how we do it ('#' as a comment indicator, "36 is N_FUN" as text,
no tabs, use @r).
(Global Variables): Clean up.

31 years agoa4rc.sed is distributable.
Roland Pesch [Sat, 21 Aug 1993 01:34:13 +0000 (01:34 +0000)]
a4rc.sed is distributable.

31 years agoAdd comments about files in Things-to-lose
Jim Kingdon [Sat, 21 Aug 1993 01:10:17 +0000 (01:10 +0000)]
Add comments about files in Things-to-lose

31 years ago * config/m88k-elf.mt: New file.
Jim Kingdon [Sat, 21 Aug 1993 00:52:58 +0000 (00:52 +0000)]
* config/m88k-elf.mt: New file.
* config.bfd: Use it for m88*-*-sysv4*.

31 years agocomments for tc-m88k.h change
K. Richard Pixley [Fri, 20 Aug 1993 23:52:35 +0000 (23:52 +0000)]
comments for tc-m88k.h change

31 years agoupdated copyrights, declare TC_CONS_RELOC
K. Richard Pixley [Fri, 20 Aug 1993 23:52:10 +0000 (23:52 +0000)]
updated copyrights, declare TC_CONS_RELOC

31 years ago* elfcode.h (elf_build_phdrs): Unused function deleted.
Ken Raeburn [Fri, 20 Aug 1993 22:21:49 +0000 (22:21 +0000)]
* elfcode.h (elf_build_phdrs): Unused function deleted.
(bfd_shdr_from_section): Ditto.
(write_relocs): Don't change section contents for addend.
(elf_locate_sh): Return type is now always elf_internal_shdr, since the other
types were really aliases for this type anyways.  Don't compile this function,
since it is static and doesn't appear to be used in this file.
(sym_is_global): Return non-zero for weak symbols.  Abort if sec ptr is null.
(swap_out_syms): Reorder tests so function symbols can be weak.
(elf_slurp_symbol_table): Don't use BSF_EXPORT.
(elf_slurp_reloca_table): Make RELOC_PROCESSING section smaller by
extracting out some common code.  Abort if BFD section symbol has null name.
(elf_slurp_reloc_table): Translate ELF section symbols into BFD section
symbols.  Don't read section contents to fill in addend field.

* Merged from OSF:

Tue Jun 15 14:38:32 1993  Michael Meissner  (meissner@osf.org)

* libelf.h (struct Elf_Sym_Extra): New structure to contain ELF
specific information for a symbol.  Put in elf_sym_num, which
gives the external symbol number in the elf object file, since
local symbols must come before global symbols.
(elf_sym_extra): New macro.
(elf_symtab_map): Delete, in favor of using Elf_Sym_Extra.
* elfcode.h (elf_map_symbols): Use Elf_Sym_Extra to map internal
symbol number to external number.  Store the address of the
Elf_Sym_Extra field for the symbol in the udata field.
(elf_write_object_contents): Use Elf_Sym_Extra to map out symbols.

Sun Jun 20 16:30:11 1993  Michael Meissner  (meissner@osf.org)

* elfcode.h (elf_obj_tdata): Add field to count the size of the
array of pointers to section symbols.
(elf_map_symbols): Bump the max index of the section symbols so
that we don't overwrite memory.  Store the max index into the
elf_obj_tdata field.

Sat Jun 19 10:12:27 1993  Michael Meissner  (meissner@osf.org)

* elfcode.h (elf_obj_tdata): Add pointer to an array of pointers
to the section symbols we created.  Remove unused field internal_syms.
(elf_map_symbols): Fill in array of pointers to section symbols.  Only create
section symbols for sections that have SEC_ALLOC set, and have non-zero size.
(elf_symbol_from_bfd_symbol): If udata is NULL, and this is a section symbol,
look up the section in the list of section symbols, and set the udata pointer
appropriately.  Otherwise, if udata is still NULL, fail an assertion, and use
0, instead of dropping core.

31 years ago * mipsread.c (parse_partial_symbols, psymtab_to_symtab_1):
Peter Schauer [Fri, 20 Aug 1993 22:10:15 +0000 (22:10 +0000)]
* mipsread.c (parse_partial_symbols, psymtab_to_symtab_1):
Set language for psymtab and symtab.
* mipsread.c (new_symbol):  Set language and initialize demangled
name for symbol.
* symmisc.c (print_symbol):  Use SYMBOL_SOURCE_NAME when printing
the symbol type.
* symtab.c (decode_line_1):  Inhibit coredumps with cfront executables.

31 years ago * Move KERNEL_U_ADDR from xm-hp300bsd.h to nm-hp300bsd.h and make
Jim Kingdon [Fri, 20 Aug 1993 21:59:05 +0000 (21:59 +0000)]
* Move KERNEL_U_ADDR from xm-hp300bsd.h to nm-hp300bsd.h and make
it conditionalized on 4.3 vs. 4.4.
* config/m68k/nm-hp300bsd.h: Move REGISTER_U_ADDR out of 4.3 and
4.4 sections; it was identical and now works for 4.4.

31 years ago* elf32-i386.c (elf_howto_table): All partial_inplace fields should be "true".
Ken Raeburn [Fri, 20 Aug 1993 21:18:56 +0000 (21:18 +0000)]
* elf32-i386.c (elf_howto_table): All partial_inplace fields should be "true".

31 years agoremove univel from unixware build config name
David D. Zuhn [Fri, 20 Aug 1993 21:14:17 +0000 (21:14 +0000)]
remove univel from unixware build config name

31 years ago* mips-tdep.c (is_delayed): Use INSN*BRANCH* not ANY_DELAY.
Jim Kingdon [Fri, 20 Aug 1993 19:26:21 +0000 (19:26 +0000)]
* mips-tdep.c (is_delayed): Use INSN*BRANCH* not ANY_DELAY.

31 years ago * config.bfd (mips-*-elfl*, mips-*-elf*): New targets, using
Ian Lance Taylor [Fri, 20 Aug 1993 19:19:51 +0000 (19:19 +0000)]
* config.bfd (mips-*-elfl*, mips-*-elf*): New targets, using
mipslelf and mipsbelf respectively.
* config/mipslelf.mt, config/mipsbelf.mt: New files.
* elf32-mips.c: Added some reloc information.
* configure.in: Fixed error message.

31 years agominor doc tweaks
Ken Raeburn [Fri, 20 Aug 1993 19:10:58 +0000 (19:10 +0000)]
minor doc tweaks

31 years ago* printcmd.c (MAKEVA_END): Update this version to use "aligner".
Jim Kingdon [Fri, 20 Aug 1993 19:09:12 +0000 (19:09 +0000)]
* printcmd.c (MAKEVA_END): Update this version to use "aligner".

31 years ago * ecoff.c (ECOFF_LONG_SIZE): Removed. Just use constants.
Ian Lance Taylor [Fri, 20 Aug 1993 16:21:45 +0000 (16:21 +0000)]
* ecoff.c (ECOFF_LONG_SIZE): Removed.  Just use constants.

31 years ago * config/tc-mips.c (mips_isa): New static variable.
Ian Lance Taylor [Fri, 20 Aug 1993 15:45:50 +0000 (15:45 +0000)]
* config/tc-mips.c (mips_isa): New static variable.
(md_begin): Initialize mips_isa based on TARGET_CPU.  Don't sanity
check macros.  Set text alignment and GP size here.
(md_assemble): Don't set text alignment and GP size here.
(append_insn): Don't insert NOPs for load delays if mips_isa >= 2.
Use the right mask and shift for WRITE_FPR_T and WRITE_FPR_S.  Add
a NOP after a branch likely.
(mips_emit_delays): Don't insert NOPS for load delays if mips_isa
>= 2.
(macro): Support r6000 and r4000 macros.
(mips_ip): Check insn ISA level against mips_isa before using it.
Added 'x' case for ignored register.
(md_parse_option): Handle -mipsN and -mcpu=XX.

31 years ago * mips-opc.c: Added r6000 and r4000 instructions and macros.
Ian Lance Taylor [Fri, 20 Aug 1993 15:40:51 +0000 (15:40 +0000)]
* mips-opc.c: Added r6000 and r4000 instructions and macros.
Changed hazard information to distinguish between memory load
delays and coprocessor load delays.

31 years ago * mips.h (INSN_*): Changed values. Removed unused definitions.
Ian Lance Taylor [Fri, 20 Aug 1993 15:40:00 +0000 (15:40 +0000)]
* mips.h (INSN_*): Changed values.  Removed unused definitions.
Added INSN_COND_BRANCH_LIKELY, INSN_ISA2 and INSN_ISA3.  Split
INSN_LOAD_DELAY into INSN_LOAD_MEMORY_DELAY and
INSN_LOAD_COPROC_DELAY.  Split INSN_COPROC_DELAY into
INSN_COPROC_MOVE_DELAY and INSN_COPROC_MEMORY_DELAY.
(M_*): Added new values for r6000 and r4000 macros.
(ANY_DELAY): Removed.

31 years agotc-i386, tc-sparc, obj-elf, tc.h changes
Ken Raeburn [Fri, 20 Aug 1993 05:29:56 +0000 (05:29 +0000)]
tc-i386, tc-sparc, obj-elf, tc.h changes

31 years ago* tc-sparc.c (s_local): Function moved and renamed...
Ken Raeburn [Fri, 20 Aug 1993 05:29:24 +0000 (05:29 +0000)]
* tc-sparc.c (s_local): Function moved and renamed...
* obj-elf.c (obj_elf_local): ...to here.
* tc-sparc.c (md_pseudo_table), obj-elf.c (obj_pseudo_table): Move handling of ".local".

31 years ago * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
Peter Schauer [Fri, 20 Aug 1993 05:13:13 +0000 (05:13 +0000)]
* gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
as vax gdb will display them.

31 years ago * config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION): Define.
Peter Schauer [Fri, 20 Aug 1993 05:12:14 +0000 (05:12 +0000)]
* config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION):  Define.
* mipsread.c (parse_symbol, parse_type, cross_ref):  Handle corrupt
file indirect entries with complaints instead of core dumps. Remove
complaint for stTypedef within aggregates.

31 years ago * config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION): Define.
Peter Schauer [Fri, 20 Aug 1993 05:10:48 +0000 (05:10 +0000)]
* config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION):  Define.

31 years ago * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
Jim Kingdon [Fri, 20 Aug 1993 01:10:51 +0000 (01:10 +0000)]
* gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
optimizers.

31 years ago * scope.exp: Change "bad value for localval" messages so each one
Jim Kingdon [Fri, 20 Aug 1993 00:42:19 +0000 (00:42 +0000)]
* scope.exp: Change "bad value for localval" messages so each one
is unique.

31 years agofix install.sh on DECstation; handle lack of c++ on h8[35]00 for libio
David D. Zuhn [Fri, 20 Aug 1993 00:37:33 +0000 (00:37 +0000)]
fix install.sh on DECstation; handle lack of c++ on h8[35]00 for libio

31 years ago * config/unix-gdb.exp (gdb_exit): Move info on this vs.
Jim Kingdon [Thu, 19 Aug 1993 23:57:21 +0000 (23:57 +0000)]
* config/unix-gdb.exp (gdb_exit): Move info on this vs.
lib/gdb.exp (gdb_exit) from ChangeLog to comments.

31 years ago * coffread.c (process_coff_symbol): Ignore tagnames like .0fake.
Jim Kingdon [Thu, 19 Aug 1993 23:33:59 +0000 (23:33 +0000)]
* coffread.c (process_coff_symbol): Ignore tagnames like .0fake.

* coffread.c (coff_read_enum_type): #if 0 out code which changes
enum {FALSE, TRUE} into boolean.

31 years ago* gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
Jim Kingdon [Thu, 19 Aug 1993 23:22:12 +0000 (23:22 +0000)]
* gdb.t06/signals.exp: Skip the whole file with xfail for delta68.

31 years ago * config/m68k/delta68.m{t,h}: Use nm-delta68.h, etc. not
Jim Kingdon [Thu, 19 Aug 1993 23:18:03 +0000 (23:18 +0000)]
* config/m68k/delta68.m{t,h}: Use nm-delta68.h, etc. not
non-existent files nm-delta.h, etc.
* config/m68k/tm-delta68.h: Define CANNOT_STORE_REGISTER.
* delta68-nat.c: Add "[0]" in offsetof argument.
* delta68-nat.c (_initialize_kernel_u_addr): Don't try to set up
nl with initializer, just assign to it.  Check n_scnum field on
return.

31 years ago * Makefile.in (BFD_LIBS, ALL_MACHINES, BFD32_BACKENDS, BFD64_BACKENDS,
David MacKenzie [Thu, 19 Aug 1993 21:07:50 +0000 (21:07 +0000)]
* Makefile.in (BFD_LIBS, ALL_MACHINES, BFD32_BACKENDS, BFD64_BACKENDS,
OPTIONAL_BACKENDS): Alphabetize entries and add a few missing ones.
* archures.c: Alphabetize decls.

31 years agoadd more missing vectors
David MacKenzie [Thu, 19 Aug 1993 19:45:23 +0000 (19:45 +0000)]
add more missing vectors

31 years agotargets.c (target_vector): Remove hp300bsd_vec due to clash with sunos_big_vec.
David MacKenzie [Thu, 19 Aug 1993 19:11:30 +0000 (19:11 +0000)]
targets.c (target_vector): Remove hp300bsd_vec due to clash with sunos_big_vec.

31 years agoThu Aug 19 09:45:51 1993 David J. Mackenzie (djm@thepub.cygnus.com)
David MacKenzie [Thu, 19 Aug 1993 18:21:58 +0000 (18:21 +0000)]
Thu Aug 19 09:45:51 1993  David J. Mackenzie  (djm@thepub.cygnus.com)

* configure.in, targets.c: Add missing vectors to the tables.
* targets.c (target_vector) [!SELECT_VECS]: Add DEFAULT_VECTOR.

31 years ago* tc-i386.h (NO_RELOC) [BFD_ASSEMBLER]: Define as BFD_RELOC_NONE.
Ken Raeburn [Thu, 19 Aug 1993 17:45:03 +0000 (17:45 +0000)]
* tc-i386.h (NO_RELOC) [BFD_ASSEMBLER]: Define as BFD_RELOC_NONE.
(md_parse_option): New macro, converted from function.

* tc-i386.c (md_parse_option): Function deleted.
(comment_chars) [OBJ_ELF]: Include "/".
(line_comment_chars) [OBJ_ELF || TE_I386AIX]: Don't include "/".
(md_assemble): Cast 0xe9 to char explicitly, to avoid compiler warning.
(md_assemble, md_estimate_size_before_relax, md_create_long_jump): Call reloc
for fix_new type, or use correct enumerator, instead of always using NO_RELOC.
(i386_operand): Change "ifndef I386COFF" to "ifdef OBJ_AOUT" for
tests for valid section.
(md_convert_frag) [BFD_ASSEMBLER]: Compensate for frag start address.
(md_apply_fix_1) [BFD_ASSEMBLER]: For pc-relative reloc with
symbol, compensate for location of reloc.
(reloc, BFD_RELOC_32, BFD_RELOC_32_PCREL) [!BFD_ASSEMBLER]: Define to return
zero.