binutils-gdb.git
31 years ago * README: Remove comment about SunOS 5.x programs leaving
Fred Fish [Tue, 19 Oct 1993 13:19:25 +0000 (13:19 +0000)]
* README:  Remove comment about SunOS 5.x programs leaving
coredumps.  Info from Sun is that this was not in customer
releases.

31 years ago * snapshots.readme: Reword paragraph about not publicising
Fred Fish [Tue, 19 Oct 1993 13:15:42 +0000 (13:15 +0000)]
* snapshots.readme:  Reword paragraph about not publicising
location of gdb snapshots.

31 years ago* gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
Jim Kingdon [Tue, 19 Oct 1993 02:56:08 +0000 (02:56 +0000)]
* gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.

31 years ago* Makefile.in: Add dependancy for elf.o to make Sun make happy
Stu Grossman [Tue, 19 Oct 1993 01:17:42 +0000 (01:17 +0000)]
* Makefile.in:  Add dependancy for elf.o to make Sun make happy
when using VPATH.

31 years ago * hppa-tdep.c (restore_pc_queue): Call target_terminal_ours after
Jim Kingdon [Mon, 18 Oct 1993 23:06:19 +0000 (23:06 +0000)]
* hppa-tdep.c (restore_pc_queue): Call target_terminal_ours after
done stepping the inferior.

31 years agohandle unixware & hp emacs, textutils on rs6000
David D. Zuhn [Mon, 18 Oct 1993 22:28:18 +0000 (22:28 +0000)]
handle unixware & hp emacs, textutils on rs6000

31 years ago * c-exp.y: Remove never-used (because of shift/reduce conflicts)
Jim Kingdon [Mon, 18 Oct 1993 18:01:51 +0000 (18:01 +0000)]
* c-exp.y: Remove never-used (because of shift/reduce conflicts)
rules for pointers to members.
* Makefile.in: Remove notice about expected shift/reduce conflicts.

31 years ago * buildsym.c (finish_block): If we pop the context stack and it is
Jim Kingdon [Mon, 18 Oct 1993 15:40:04 +0000 (15:40 +0000)]
* buildsym.c (finish_block): If we pop the context stack and it is
not empty, complain () instead of abort ().

31 years ago * parse.c, parser-defs.h (follow_types): New function.
Jim Kingdon [Mon, 18 Oct 1993 01:10:25 +0000 (01:10 +0000)]
* parse.c, parser-defs.h (follow_types): New function.
* c-exp.y (ptype : typebase abs_decl): Use it.
* c-exp.y (ptype): Add support for type qualifiers after the
typebase.  The typebase rule already has support for them before
the typebase.
* Makefile.in: Change the expected number of shift/reduce
conflicts to 6.  This is OK--the 2 new conflicts are basically the
same as one of the old ones.

31 years agoBump version to 4.10.3 in main trunk after branch for gdb 4.11
Fred Fish [Sun, 17 Oct 1993 20:08:10 +0000 (20:08 +0000)]
Bump version to 4.10.3 in main trunk after branch for gdb 4.11

31 years ago * infrun.c (wait_for_inferior): Clean up comments which were at
Jim Kingdon [Sun, 17 Oct 1993 14:30:20 +0000 (14:30 +0000)]
* infrun.c (wait_for_inferior): Clean up comments which were at
the top of the file, making them more concise and moving them with
the code (Sorry, Randy, but these stream-of-consciousness comments
really have to go).  Switch the order of the "&&", which makes
things clearer and turns out to be an improvement with respect to
side effects and speed.

31 years ago* procfs.c: Handle process exits more elegantly by trapping on
Stu Grossman [Sun, 17 Oct 1993 09:12:58 +0000 (09:12 +0000)]
* procfs.c:  Handle process exits more elegantly by trapping on
entry to _exit.  Also, cleanup procinfo list when process dies of
it's own accord (as opposed to being killed).

31 years ago* infrun.c: Add comment about signals.
Jim Kingdon [Sun, 17 Oct 1993 02:21:12 +0000 (02:21 +0000)]
* infrun.c: Add comment about signals.

31 years ago* config/m88k/xm-dgux.h: Define NO_PTRACE_H.
Jim Kingdon [Sun, 17 Oct 1993 02:19:59 +0000 (02:19 +0000)]
* config/m88k/xm-dgux.h: Define NO_PTRACE_H.

31 years ago* gdb.disasm: New directory for GDB disassembler tests.
Jim Kingdon [Sun, 17 Oct 1993 02:09:07 +0000 (02:09 +0000)]
* gdb.disasm: New directory for GDB disassembler tests.

31 years ago* gdb.disasm: New directory for GDB disassembler tests.
Jim Kingdon [Sun, 17 Oct 1993 02:09:06 +0000 (02:09 +0000)]
* gdb.disasm: New directory for GDB disassembler tests.

31 years ago * corelow.c (add_to_thread_list): Need a cast to go from PTR to
Jim Kingdon [Sun, 17 Oct 1993 02:05:58 +0000 (02:05 +0000)]
* corelow.c (add_to_thread_list): Need a cast to go from PTR to
asection *.

31 years ago * infrun.c: Add comment about signals.
Jim Kingdon [Sun, 17 Oct 1993 01:56:01 +0000 (01:56 +0000)]
* infrun.c: Add comment about signals.

* fork-child.c (fork_inferior): Remove CREATE_INFERIOR_HOOK again.
Stu reinstated it (accidently I assume).

31 years ago* procfs.c (procfs_wait): Losing Unixware can't do poll on /proc
Stu Grossman [Sun, 17 Oct 1993 01:02:57 +0000 (01:02 +0000)]
* procfs.c (procfs_wait):  Losing Unixware can't do poll on /proc
files.  Use PIOCWSTOP instead.
* corelow.c (add_to_thread_list):  Fix arg to match prototype.

31 years ago* procfs.c (procfs_set_sproc_trap): Don't use this if sproc
Stu Grossman [Sat, 16 Oct 1993 22:32:04 +0000 (22:32 +0000)]
* procfs.c (procfs_set_sproc_trap):  Don't use this if sproc
isn't available.
* (procfs_notice_signals):  Fix prototype.

31 years ago*** empty log message ***
Stu Grossman [Sat, 16 Oct 1993 22:31:07 +0000 (22:31 +0000)]
*** empty log message ***

31 years ago* breakpoint.c (breakpoint_thread_match break_command_1):
Stu Grossman [Sat, 16 Oct 1993 06:42:02 +0000 (06:42 +0000)]
* breakpoint.c (breakpoint_thread_match break_command_1):
Thread-specific breakpoint support.
* breakpoint.h (struct breakpoint):  Add thread id field.
* fork-child.c (fork_inferior):  Move call to init_thread_list()
back a bit so that init_trace_fun can do thread functions.
* hppa-tdep.c (restore_pc_queue):  Add pid to call to target_wait.
* hppab-nat.c (child_resume):  Handle default pid.
* hppah-nat.c (child_resume):  Handle default pid.
* i386lynx-nat.c (child_wait):  New arg pid.
* inflow.c (kill_command):  Reset thread list.
* infptrace.c (child_resume):  Handle default pid.
* infrun.c:  Thread-specific breakpoint support.
* inftarg.c (child_wait):  Add pid arg.
* osfsolib.c (solib_create_inferior_hook):  Add pid to call to
target_resume.
* procfs.c:  Multi-thread support.
* remote-bug.c (bug_wait):  Add pid arg.
* remote-hms.c (hms_wait):  Add pid arg.
* remote-mips.c (mips_wait):  Add pid arg.
* remote-mon.c (monitor_wait):  Add pid arg.
* remote-nindy.c (nindy_wait):  Add pid arg.
* remote-sim.c (gdbsim_wait):  Add pid arg.
* remote-udi.c (udi_wait):  Add pid arg.
* remote-vx.c (vx_wait):  Add pid arg.
* remote-z8k.c (sim_wait):  Add pid arg.
* remote.c (remote_wait):  Add pid arg.
* solib.c (solib_create_inferior_hook):  Add pid to call to
target_resume.
* target.h (struct target_ops):  Add pid arg to to_wait and
to_notice_signals.
* thread.c (valid_thread_id):  New func to validate thread #s.
* (pid_to_thread_id):  New func to do the obvious.
* thread.h:  Prototypes for above.

* coff-solib.c (coff_solib_add):  Use nameoffset field to locate
filename.

31 years ago * h8300-tdep.c, h8500-tdep.c: Define sim_load only, but not
Jim Kingdon [Sat, 16 Oct 1993 05:07:31 +0000 (05:07 +0000)]
* h8300-tdep.c, h8500-tdep.c: Define sim_load only, but not
sim_kill, sim_open, or sim_set_args.

31 years ago * h8300-tdep.c, h8500-tdep.c: Define sim_load only, but not
Jim Kingdon [Sat, 16 Oct 1993 04:59:47 +0000 (04:59 +0000)]
* h8300-tdep.c, h8500-tdep.c: Define sim_load only, but not
sim_kill, sim_open, or sim_set_args.

31 years agox
Jim Kingdon [Sat, 16 Oct 1993 04:58:20 +0000 (04:58 +0000)]
x

31 years ago * stack.c (print_stack_frame): Put catch_errors around
Jim Kingdon [Sat, 16 Oct 1993 04:37:45 +0000 (04:37 +0000)]
* stack.c (print_stack_frame): Put catch_errors around
print_frame_info so (for example) error printing source doesn't
cause auto-displays to get skipped in normal_stop.

31 years ago * findvar.c (value_from_register): When preparing to cast a value
Jim Kingdon [Sat, 16 Oct 1993 02:41:17 +0000 (02:41 +0000)]
* findvar.c (value_from_register): When preparing to cast a value
from REGISTER_VIRTUAL_TYPE to type, copy the REGISTER_VIRTUAL_SIZE;
the old code didn't copy the whole thing.
* valops.c (value_assign): Add comment.

31 years ago * mipsread.c (upgrade_type): Replace bitsize sanity checks and
Peter Schauer [Fri, 15 Oct 1993 19:58:39 +0000 (19:58 +0000)]
* mipsread.c (upgrade_type):  Replace bitsize sanity checks and
complaint by a comment explaining why they were useless.

31 years ago * Move comments on bypassing call dummy breakpoint from stack.c
Jim Kingdon [Fri, 15 Oct 1993 19:37:29 +0000 (19:37 +0000)]
* Move comments on bypassing call dummy breakpoint from stack.c
to breakpoint.h.

31 years ago * gdb.t06/break.exp: For "next over recursive call", fail on any
Jim Kingdon [Fri, 15 Oct 1993 18:50:29 +0000 (18:50 +0000)]
* gdb.t06/break.exp: For "next over recursive call", fail on any
incorrect output, not just on "factorial (value=2)".

31 years agoFri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Jim Kingdon [Fri, 15 Oct 1993 17:13:27 +0000 (17:13 +0000)]
Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

* gdb.t12/scope.exp:  Remove xfails, filename::var syntax should be
working now. Add an xfail if accesing a bss variable causes
a memory error if the target is not yet run.

31 years agoFri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Jim Kingdon [Fri, 15 Oct 1993 17:11:11 +0000 (17:11 +0000)]
Fri Oct 15 11:52:56 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

* symtab.c (lookup_partial_symtab):  If filename is not found and
contains no slashes, try again and compare without leading path
components.
* symtab.c (lookup_symtab_1):  Replace open coded version of
lookup_partial_symtab with a function call.

31 years ago* ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle
David Edelsohn [Fri, 15 Oct 1993 09:29:32 +0000 (09:29 +0000)]
* ldlang.c (lang_size_sections, lang_common): ALIGN_N can't handle
types of different sizes (eg: 64 and 32 bits), so coerce.
* ld.h (ALIGN_N): Add warning about usage.

31 years ago * fork-child.c (fork_inferior), remote-eb.c (eb_create_inferior),
Jim Kingdon [Fri, 15 Oct 1993 04:26:06 +0000 (04:26 +0000)]
* fork-child.c (fork_inferior), remote-eb.c (eb_create_inferior),
remote-mon.c (monitor_create_inferior), remote-nindy.c
(nindy_create_inferior), remote-st.c (st2000_create_inferior),
remote-vx.c (vx_create_inferior): Remove CREATE_INFERIOR_HOOK; it
is replaced by init_trace_fun.
* config/convex/xm-convex.h, convex-xdep.c: Add comments explaining
how to do without CREATE_INFERIOR_HOOK for whoever fixes the Convex
port.

* Makefile.in: Add Mach files to ALLDEPFILES, etc.
* m3-nat.c: Clean up more hair--message(), cprocs.
* configure.in: Recognize Mach targets and hosts.
* config/ns32k/tm-umax.h: Add some #ifndef's so tm-ns32km3.h can
include this file.
* Mach headers in config/*/tm-*.h: Fix includes to match correct
locations of files.

31 years ago * remote-mon.c (general_open): Set dev_name. Minor tweaking to get
Rob Savoye [Fri, 15 Oct 1993 03:41:58 +0000 (03:41 +0000)]
* remote-mon.c (general_open): Set dev_name. Minor tweaking to get
it working again.
* config/m68k/tm-monitor.h: Remove floating point register names
as there aren't any on any of the monitors that use this code.

31 years ago * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
Jim Kingdon [Fri, 15 Oct 1993 00:36:26 +0000 (00:36 +0000)]
* gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
name of __st* demangling (2 strings).  Did Kung really get the
more than 95 others right without testing them?

31 years agoModified Files:
Kung Hsu [Thu, 14 Oct 1993 23:33:33 +0000 (23:33 +0000)]
Modified Files:
  ChangeLog

* gdb.t24/demangle.exp: clean up XFAILS, more than 100 of them.

31 years agoThu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
Jim Kingdon [Thu, 14 Oct 1993 21:58:58 +0000 (21:58 +0000)]
Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)

* configure.in (configdirs): Add gdb.disasm
* gdb.disasm: New directory for GDB disassembler tests.
* gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.

31 years ago * config/tc-mips.c (md_pseudo_table): Ignore .livereg pseudo-op.
Ian Lance Taylor [Thu, 14 Oct 1993 21:06:52 +0000 (21:06 +0000)]
* config/tc-mips.c (md_pseudo_table): Ignore .livereg pseudo-op.
(s_option): Ignore .option O* and .option pic*.
(s_ent): Skip whitespace between symbol and optional digit.

31 years agoThu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
Jim Kingdon [Thu, 14 Oct 1993 21:03:36 +0000 (21:03 +0000)]
Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)

* configure.in (configdirs): Add gdb.disasm
* gdb.disasm: New directory for GDB disassembler tests.
* gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.

31 years ago * app.c (do_scrub_next_char): Always accept 'x' and 'X' as escape
Ian Lance Taylor [Thu, 14 Oct 1993 21:03:14 +0000 (21:03 +0000)]
* app.c (do_scrub_next_char): Always accept 'x' and 'X' as escape
characters in state 6.
* read.c (next_char_of_string): Accept \Xh* and \xh* where h* are
hexidecimal digits.

31 years ago * config/tc-i386.c (md_apply_fix_1): Make cross segment calls work
Ian Lance Taylor [Thu, 14 Oct 1993 20:54:09 +0000 (20:54 +0000)]
* config/tc-i386.c (md_apply_fix_1): Make cross segment calls work
for ELF by hacking around bizarre bfd_perform_relocation behaviour
that I don't dare change.

31 years ago* gdb.t00/help.exp: Don't test "help set".
Jim Kingdon [Thu, 14 Oct 1993 18:53:31 +0000 (18:53 +0000)]
* gdb.t00/help.exp: Don't test "help set".

31 years ago * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
Jim Kingdon [Thu, 14 Oct 1993 18:40:20 +0000 (18:40 +0000)]
* gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
from within expect statements.  None of these happen anymore and
they cause regressions to be silently unnoticed.

* gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
messages) about known failures with gcc cygnus-2.4.5-930417.

31 years ago * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
Jim Kingdon [Thu, 14 Oct 1993 18:20:52 +0000 (18:20 +0000)]
* gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
from within expect statements.  None of these happen anymore and
they cause regressions to be silently unnoticed.

* gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
messages) about known failures with gcc cygnus-2.4.5-930417.

* gdb.t22/virtfunc.exp: Add notes (in comment and failure message)
about problem with gcc cygnus-2.4.5-930828.

31 years ago * gdb.t20/inherit.exp: Remove all xfails from within expect statements.
Jim Kingdon [Thu, 14 Oct 1993 17:50:24 +0000 (17:50 +0000)]
* gdb.t20/inherit.exp: Remove all xfails from within expect statements.
None of these happen anymore and they cause regressions to be silently
unnoticed.

* gdb.t20/inherit.exp: Add note (in failure message) about known
failure with gcc cygnus-2.4.5-930417.

31 years ago * gdb.t20/inherit.exp: Add note (in failure message) about known
Jim Kingdon [Thu, 14 Oct 1993 17:29:01 +0000 (17:29 +0000)]
* gdb.t20/inherit.exp: Add note (in failure message) about known
failure with gcc cygnus-2.4.5-930417.

* gdb.t22/virtfunc.exp: Add notes (in comments and failure message)
about problem with gcc cygnus-2.4.5-930828.

31 years agoRemove references to shade.
David Edelsohn [Thu, 14 Oct 1993 17:13:29 +0000 (17:13 +0000)]
Remove references to shade.

31 years ago * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
Jim Kingdon [Thu, 14 Oct 1993 16:47:34 +0000 (16:47 +0000)]
* gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
comp-info.exp so it gets built if it doesn't exist.

* gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
it is no longer used.
* gdb.t13/comp-info.c: Removed.

31 years ago * coffcode.h (styp_to_sec_flags): Don't set SEC_DEBUGGING until it
Ian Lance Taylor [Thu, 14 Oct 1993 16:04:35 +0000 (16:04 +0000)]
* coffcode.h (styp_to_sec_flags): Don't set SEC_DEBUGGING until it
is made to work.
(coff_compute_section_file_positions): Remove check for
USE_DISCARDED_SECTIONS_COUNT.
* coff-i386.c: Don't define USE_DISCARDED_SECTIONS_COUNT.  Basing
it on host defines is wrong.

31 years agoThu Oct 14 11:33:25 1993 Michael Meissner (meissner@osf.org)
Ian Lance Taylor [Thu, 14 Oct 1993 15:41:52 +0000 (15:41 +0000)]
Thu Oct 14 11:33:25 1993  Michael Meissner  (meissner@osf.org)

* config/tc-i386.c: (md_begin): Do not zero static arrays.  Don't
call strchr for each character to see if it is a special char,
instead add a second loop over special_chars.  Set alignment
of text, data and bss sections to 4.
(pi, te, pt, pe, ps): Add declarations so that DEBUG386 can be
used again.
(reloc): Don't return 8 and 16 bit non-PC relative relocations on
ELF, since the ELF object format does not have these type of
relocations.  Change the abort into as as_bad and return
BFD_RELOC_NONE to silence compiler warnings.
(md_assemble): Keep track of the instruction size.  Allow white
space between the $ and the constant for compatibility with older
gases and other assemblers.
(i386_operand): Skip spaces between $ and expression.
(tc_gen_reloc): Don't allow anything but 32 bit relocations on
ELF.  Convert abort into an as_bad and assert into as_fatal.

31 years ago* gdb.t06/signals.exp: Add xfail for sun3.
Jim Kingdon [Thu, 14 Oct 1993 06:03:23 +0000 (06:03 +0000)]
* gdb.t06/signals.exp: Add xfail for sun3.

31 years ago * ecoff.c (ecoff_bfd_seclet_link): Don't link a .reginfo section.
Ian Lance Taylor [Thu, 14 Oct 1993 05:13:43 +0000 (05:13 +0000)]
* ecoff.c (ecoff_bfd_seclet_link): Don't link a .reginfo section.
(ecoff_write_object_contents): Don't require the .reginfo section
to be a particular size.

31 years ago * inflow.c: Pass pointer to process group, not process group itself,
Jim Kingdon [Thu, 14 Oct 1993 02:48:33 +0000 (02:48 +0000)]
* inflow.c: Pass pointer to process group, not process group itself,
to TIOCSPGRP ioctl.

31 years agokeep apollo.h
Ken Raeburn [Wed, 13 Oct 1993 23:09:08 +0000 (23:09 +0000)]
keep apollo.h

31 years agoMore "make dep" fixups.
Ken Raeburn [Wed, 13 Oct 1993 23:08:10 +0000 (23:08 +0000)]
More "make dep" fixups.
Apollo 68k support from Troy Rollo <troy@cbme.unsw.edu.au>.

31 years agoOopsie.
Ken Raeburn [Wed, 13 Oct 1993 22:33:48 +0000 (22:33 +0000)]
Oopsie.
Use "[^ ]*", not ".*", in matching filename patterns.
Updated dependencies in Makefile.in.

31 years agoremove inclusion of strings.h
Ken Raeburn [Wed, 13 Oct 1993 21:42:42 +0000 (21:42 +0000)]
remove inclusion of strings.h

31 years agoobj-coffbfd change for wellfleet pic
Ken Raeburn [Wed, 13 Oct 1993 20:54:54 +0000 (20:54 +0000)]
obj-coffbfd change for wellfleet pic

31 years ago * config/obj-coffbfd.c (fixup_segment) [DIFF_EXPR_OK]: If
Ken Raeburn [Wed, 13 Oct 1993 20:54:03 +0000 (20:54 +0000)]
* config/obj-coffbfd.c (fixup_segment) [DIFF_EXPR_OK]: If
sub_symbolP is in the current segment, convert to a PC-relative
fixup and discard the symbol.
(Copied from write.c.)

31 years ago * ldmain.c (enter_global_ref): Just ignore any weak symbol for
Ian Lance Taylor [Wed, 13 Oct 1993 20:04:30 +0000 (20:04 +0000)]
* ldmain.c (enter_global_ref): Just ignore any weak symbol for
which we already have a definition, rather than checking in
several different places whether the symbol is weak.

31 years agocoff-i386.c (i3coff_object_p): Now static.
Ken Raeburn [Wed, 13 Oct 1993 19:17:05 +0000 (19:17 +0000)]
coff-i386.c (i3coff_object_p): Now static.

31 years ago68kcoff, makedep changes
Ken Raeburn [Wed, 13 Oct 1993 19:04:43 +0000 (19:04 +0000)]
68kcoff, makedep changes

31 years agoMake "make dep" easier to work with. Updated lots of dependencies.
Ken Raeburn [Wed, 13 Oct 1993 19:04:08 +0000 (19:04 +0000)]
Make "make dep" easier to work with.  Updated lots of dependencies.

Don't try "make dep" alone; use "make dep DEP=mymkdep", where "mymkdep" has
been hacked to use "gcc -MM"...

31 years agoDefine ONLY_DECLARE_RELOCS, to avoid name conflicts when "--with-targets=all".
Ken Raeburn [Wed, 13 Oct 1993 18:57:21 +0000 (18:57 +0000)]
Define ONLY_DECLARE_RELOCS, to avoid name conflicts when "--with-targets=all".

31 years agofor m68klynx_coff_vec, include coff-m68k.o for now
Ken Raeburn [Wed, 13 Oct 1993 18:56:39 +0000 (18:56 +0000)]
for m68klynx_coff_vec, include coff-m68k.o for now

31 years ago * config/obj-ecoff.c (ecoff_build_symbols): Handle st_End symbol
Ian Lance Taylor [Wed, 13 Oct 1993 18:53:03 +0000 (18:53 +0000)]
* config/obj-ecoff.c (ecoff_build_symbols): Handle st_End symbol
for st_StaticProc just like st_Proc.

31 years ago * inflow.c (terminal_ours_1): Don't print warning on failure to
Jim Kingdon [Wed, 13 Oct 1993 18:29:09 +0000 (18:29 +0000)]
* inflow.c (terminal_ours_1): Don't print warning on failure to
set process group.

31 years ago * printcmd.c (printf_command): Instead of using makeva* and
Jim Kingdon [Wed, 13 Oct 1993 18:17:49 +0000 (18:17 +0000)]
* printcmd.c (printf_command): Instead of using makeva* and
calling vprintf, just make the appropriate calls to printf.
* printcmd.c, config/pa/xm-pa.h, config/mips/xm-makeva.h,
config/alpha/xm-alpha.h, config/m88k/xm-m88k.h: Remove all
traces of makeva*.  My apologies to everyone (including me!)
who spent so much time getting it to work on various machines,
but look at the bright side, at least you won't have to do it
again in the future.

* printcmd.c (printf_command): Make a cleanup for val_args (fixes
a memory leak).

31 years ago * write.c (relax_and_size_all_segments): Moved #endif for OBJ_BOUT
Ian Lance Taylor [Wed, 13 Oct 1993 18:04:53 +0000 (18:04 +0000)]
* write.c (relax_and_size_all_segments): Moved #endif for OBJ_BOUT
so that OBJ_BOUT doesn't forget to adjust all the fragments in the
.bss section.

Fixes critical PR 3600.

31 years ago* config/mips/xm-mips.h: Remove comment about HAVE_SGTTY vs. usleep.
Jim Kingdon [Wed, 13 Oct 1993 04:00:46 +0000 (04:00 +0000)]
* config/mips/xm-mips.h: Remove comment about HAVE_SGTTY vs. usleep.

31 years agoonly configure gdbserver for native environments
David D. Zuhn [Wed, 13 Oct 1993 01:08:40 +0000 (01:08 +0000)]
only configure gdbserver for native environments

31 years ago* gdb.texinfo (Files): Say what address the load command loads it at.
Jim Kingdon [Wed, 13 Oct 1993 00:46:09 +0000 (00:46 +0000)]
* gdb.texinfo (Files): Say what address the load command loads it at.

31 years ago * stabsread.c (read_type): Treat a negative type number at the start
Jim Kingdon [Tue, 12 Oct 1993 23:55:13 +0000 (23:55 +0000)]
* stabsread.c (read_type): Treat a negative type number at the start
of a type as a type reference, not as a definition of a type with
"50=" omitted.  This makes things work on the RS/6000 again (the
14 Sep 1993 change broke it).

31 years agoadd build-latest target
David D. Zuhn [Tue, 12 Oct 1993 23:26:57 +0000 (23:26 +0000)]
add build-latest target

31 years ago * inflow.c: Use 0 (standard input) not scb->fd.
Jim Kingdon [Tue, 12 Oct 1993 23:12:17 +0000 (23:12 +0000)]
* inflow.c: Use 0 (standard input) not scb->fd.
(terminal_ours_1): If printing warning, don't claim it happened in
terminal_inferior.

31 years ago * configure.in (mips-*-elf*): New target; use mipsb-elf32.
Ian Lance Taylor [Tue, 12 Oct 1993 21:46:52 +0000 (21:46 +0000)]
* configure.in (mips-*-elf*): New target; use mipsb-elf32.
* scripttempl/elf.sc: Only use OTHER_READONLY_SECTIONS and
OTHER_READWRITE_SECTIONS if relocating.  Shell variables are not
expanded within them.
* config/mipsb-elf32.mt: New file.
* emulparams/elf32mipb.sh: New file.
* Makefile.in (em_elf32mipb.c): New target.

31 years agoelf32mipb.sh: New emulation parameter file for big endian MIPS ELF.
Ian Lance Taylor [Tue, 12 Oct 1993 21:36:05 +0000 (21:36 +0000)]
elf32mipb.sh: New emulation parameter file for big endian MIPS ELF.

31 years agomipsb-elf32.mt: New configuration file for big endian MIPS ELF.
Ian Lance Taylor [Tue, 12 Oct 1993 21:33:57 +0000 (21:33 +0000)]
mipsb-elf32.mt: New configuration file for big endian MIPS ELF.

31 years ago * config/tc-mips.c: If OBJ_ELF, include elf/mips.h.
Ian Lance Taylor [Tue, 12 Oct 1993 21:31:29 +0000 (21:31 +0000)]
* config/tc-mips.c: If OBJ_ELF, include elf/mips.h.
(mips_regmask_frag): New static variable, if OBJ_ELF.
(md_begin): If OBJ_ELF, create .reginfo section and set
mips_regmask_frag to a frag.
(mips_elf_final_processing): New function, if OBJ_ELF.  Set
mips_regmask_frag to register mask information.
* config/tc-mips.h (elf_tc_final_processing): New macro, defined
if OBJ_ELF.

31 years ago * blockframe.c (get_prev_frame_info): Don't error() if there are no
Jim Kingdon [Tue, 12 Oct 1993 21:22:03 +0000 (21:22 +0000)]
* blockframe.c (get_prev_frame_info): Don't error() if there are no
frames; just return NULL.

31 years ago * elf32-mips.c: Extensive additions to do relocations and to
Ian Lance Taylor [Tue, 12 Oct 1993 21:16:14 +0000 (21:16 +0000)]
* elf32-mips.c: Extensive additions to do relocations and to
handle MIPS specific sections.
* libelf.h (elf_backend_data): Pass fourth argument to
elf_backend_section_from_bfd_section to permit it to control the
section index to use.
(elf_obj_tdata): Add gp and gp_size fields.
(elf_gp, elf_gp_size): New accessor macros.
* elfcode.h: Removed a number of unused local variables.
(elf_fake_sections): Clear section header before calling
elf_backend_fake_sections, not after.
(prep_headers): Return true at end.
(elf_section_from_bfd_section): Pass retval argument to
elf_backend_section_from_bfd_section.
* elf32-hppa.c (elf32_hppa_backend_section_from_bfd_section):
Accept and ignore new retval argument.
* bfd.c: Include libelf.h.
(bfd_set_gp_size): Handle ELF targets.
* Makefile.in (bfd.o): Depends upon libelf.h.
(elf32-mips.o): Depends upon $(INCDIR)/elf/mips.h.

31 years agorecognize mips*- instead of mips-
David D. Zuhn [Tue, 12 Oct 1993 21:14:26 +0000 (21:14 +0000)]
recognize mips*- instead of mips-

31 years ago * xcoffsolib.h, xcoffexec.c: Undo the part of Fred's bfd->abfd
Jim Kingdon [Tue, 12 Oct 1993 20:36:37 +0000 (20:36 +0000)]
* xcoffsolib.h, xcoffexec.c: Undo the part of Fred's bfd->abfd
change which involved structure elements.  It was unnecessary and
was not consistently done.

31 years ago * stabsread.h, stabsread.c, dbxread.c (common_block*, copy_pending):
Jim Kingdon [Tue, 12 Oct 1993 20:02:11 +0000 (20:02 +0000)]
* stabsread.h, stabsread.c, dbxread.c (common_block*, copy_pending):
Move common block handling from dbxread.c to stabsread.c.
Use the name from the BCOMM instead of the ECOMM.
Allocate things on the symbol_obstack.
* xcoffread.c (process_xcoff_symbol): Process C_BCOMM, C_ECOMM,
and C_ECOML.  On unrecognized storage classes, go ahead and call
define_symbol (after the complaint).

* dbxread.c (process_one_symbol): Don't relocate 'S' symbols by
the text offset.

31 years ago * osfsolib.c (solib_create_inferior_hook): Reset stop_soon_quietly
Peter Schauer [Tue, 12 Oct 1993 19:37:14 +0000 (19:37 +0000)]
* osfsolib.c (solib_create_inferior_hook):  Reset stop_soon_quietly
after shared library symbol reading to get rid of warning from
heuristic_proc_start.

31 years agofix unterminated character string
David D. Zuhn [Tue, 12 Oct 1993 19:03:59 +0000 (19:03 +0000)]
fix unterminated character string

31 years ago* stabs.texinfo (Common Blocks): Minor cleanups.
Jim Kingdon [Tue, 12 Oct 1993 19:03:38 +0000 (19:03 +0000)]
* stabs.texinfo (Common Blocks): Minor cleanups.

31 years agomessages.c (as_fatal): use myname in printed message
Ken Raeburn [Tue, 12 Oct 1993 15:48:22 +0000 (15:48 +0000)]
messages.c (as_fatal): use myname in printed message

31 years ago * stabs.texinfo: Update ld stabs in elf relocation to reflect the fact
Jim Kingdon [Tue, 12 Oct 1993 14:59:38 +0000 (14:59 +0000)]
* stabs.texinfo: Update ld stabs in elf relocation to reflect the fact
that Sun has backed away from the linker kludge and thus the relevant
issue is changes to the SunPRO tools, not the Solaris linker.

* stabs.texinfo (Traditional Integer Types): Clean up description
of octal bounds a little bit.  Document extra leading zeroes.

31 years ago * mips.h: New file. MIPS ABI specific information.
Ian Lance Taylor [Tue, 12 Oct 1993 14:29:51 +0000 (14:29 +0000)]
* mips.h: New file.  MIPS ABI specific information.

31 years ago* stabsread.c: Fix comment about gcc 2.3.3 stab for long long int.
Jim Kingdon [Tue, 12 Oct 1993 14:05:22 +0000 (14:05 +0000)]
* stabsread.c: Fix comment about gcc 2.3.3 stab for long long int.

31 years agomore null/empty string fixups
Ken Raeburn [Tue, 12 Oct 1993 08:45:49 +0000 (08:45 +0000)]
more null/empty string fixups

31 years agoChange sp64sim.h to sp64sim.mt in keep_these_too list. Add sp64.mt,
Fred Fish [Tue, 12 Oct 1993 02:48:21 +0000 (02:48 +0000)]
Change sp64sim.h to sp64sim.mt in keep_these_too list.  Add sp64.mt,
tm-sp64.h, sp64sim.mt, tm-sp64sim.h to lose_these_too list if not added
to keep_these_too list.

31 years agoAdd sp64-tdep.c to lose_these_too if it is not added to keep_these_too.
Fred Fish [Tue, 12 Oct 1993 02:46:26 +0000 (02:46 +0000)]
Add sp64-tdep.c to lose_these_too if it is not added to keep_these_too.

31 years agoAdd elf64-sparc.c to lose_these_too if it is not added to keep_these_too.
Fred Fish [Tue, 12 Oct 1993 02:44:07 +0000 (02:44 +0000)]
Add elf64-sparc.c to lose_these_too if it is not added to keep_these_too.

31 years agoAdd chillrt test-chill release release-info to lose_these_too if they
Fred Fish [Tue, 12 Oct 1993 02:42:30 +0000 (02:42 +0000)]
Add chillrt test-chill release release-info to lose_these_too if they
are not added to keep_these_too.

31 years ago fix for pr 3571
Steve Chamberlain [Mon, 11 Oct 1993 23:48:55 +0000 (23:48 +0000)]
fix for pr 3571
* config/tc-h8300.c (get_specific): Special action if 8 bit
address seen. (check_operand): Don't complain if truncating top
bits of an 8 bit address.  (build_bytes): Allow an immediate and
an absolute in the same insn.

31 years ago * m3-nat.c, config/nm-m3.h: Add a target_ops struct and other
Jim Kingdon [Mon, 11 Oct 1993 22:39:54 +0000 (22:39 +0000)]
* m3-nat.c, config/nm-m3.h: Add a target_ops struct and other
various things to try to get this to work.

31 years ago * write.c (write_contents): Don't crash if seginfo is NULL.
Ian Lance Taylor [Mon, 11 Oct 1993 21:40:10 +0000 (21:40 +0000)]
* write.c (write_contents): Don't crash if seginfo is NULL.

* config/obj-ecoff.c (ecoff_frob_file): Write out register masks
by modifying .reginfo section, not by directly modifying BFD
backend data.