binutils-gdb.git
31 years ago * xcoffread.c (xcoff_symfile_read), coffread.c (coff_symfile_read):
Jim Kingdon [Thu, 21 Oct 1993 05:24:18 +0000 (05:24 +0000)]
* xcoffread.c (xcoff_symfile_read), coffread.c (coff_symfile_read):
Sort symtabs for this objfile only, not for all objfiles.

31 years ago * target.h: Put remote_debug declaration back here. Add baud_rate.
Jim Kingdon [Thu, 21 Oct 1993 05:22:34 +0000 (05:22 +0000)]
* target.h: Put remote_debug declaration back here.  Add baud_rate.
* remote.c, remote-udi.c, remote-utils.h: Let target.h take care of
declaring these.  Those random externs all over are error prone.
* Move "set remotebaud" from remote-utils.c to main.c to it applies
to remote.c as well.

* xcoffread.c (xcoff_symfile_read), coffread.c (coff_symfile_read):
Sort symtabs for this objfile only, not for all objfiles.
* symfile.c, symfile.h (sort_all_symtab_syms): Remove; no longer used.

31 years ago * xcoffread.c (xcoff_symfile_read), coffread.c (coff_symfile_read):
Jim Kingdon [Thu, 21 Oct 1993 04:41:56 +0000 (04:41 +0000)]
* xcoffread.c (xcoff_symfile_read), coffread.c (coff_symfile_read):
Sort symtabs for this objfile only, not for all objfiles.
* symfile.c, symfile.h (sort_all_symtab_syms): Remove; no longer used.

31 years ago* mh-hp300: Revert yesterday's change, but add comment explaining.
Jim Kingdon [Thu, 21 Oct 1993 01:37:55 +0000 (01:37 +0000)]
* mh-hp300: Revert yesterday's change, but add comment explaining.

31 years ago * mipsread.c (parse_symbol): In third-eye, a function has a block
Jim Kingdon [Thu, 21 Oct 1993 01:32:05 +0000 (01:32 +0000)]
* mipsread.c (parse_symbol): In third-eye, a function has a block
within it which represents the whole function.  Create only one
GDB block for both.

31 years ago * config/a29k/a29k-udi.mt: Define REMOTE_O as null so that we don't
Stu Grossman [Thu, 21 Oct 1993 00:58:19 +0000 (00:58 +0000)]
* config/a29k/a29k-udi.mt:  Define REMOTE_O as null so that we don't
get the default remote* modules.

31 years ago * main.c: Make baud_rate and remote_debug be global variables,
Stu Grossman [Thu, 21 Oct 1993 00:49:42 +0000 (00:49 +0000)]
* main.c:  Make baud_rate and remote_debug be global variables,
remove #include "remote-utils.h".  This makes it possible to build
GDB without remote-utils.c.  Also, move setting of remote_debug
into main, so that all remote*.c files can use it (not just the
serial line ones).  And, make baud_rate be an int.
* remote-udi.c:  Change kiodebug to remote_debug.
* remote-utils.c:  Move setting of baud rate and debug into main.c.
* remote-utils.h:  Redefine sr_{get set}_debug and sr_{get set}_baud
to use baud_rate and remote_debug globals for compatibility.
* remote.c:  Use remote_debug and baud_rate globals directly,
instead of sr_ functions, so that we don't need to load
remote-utils.c.

31 years ago * stabsread.c (define_symbol): When combining a LOC_ARG and a
Jim Kingdon [Wed, 20 Oct 1993 23:45:13 +0000 (23:45 +0000)]
* stabsread.c (define_symbol): When combining a LOC_ARG and a
LOC_REGISTER, use the type from the LOC_REGISTER, not from the
LOC_ARG.

31 years ago * stabs.texinfo (Local Variable Parameters): Re-write paragraph on
Jim Kingdon [Wed, 20 Oct 1993 23:13:46 +0000 (23:13 +0000)]
* stabs.texinfo (Local Variable Parameters): Re-write paragraph on
floats passed as doubles (to improve clarity).

31 years agodefine some signals
K. Richard Pixley [Wed, 20 Oct 1993 21:36:06 +0000 (21:36 +0000)]
define some signals

31 years ago * libnlm.h (nlm_backend_data): Added signature field.
Ian Lance Taylor [Wed, 20 Oct 1993 20:37:40 +0000 (20:37 +0000)]
* libnlm.h (nlm_backend_data): Added signature field.
(nlm_signature): New macro.
* nlmcode.h (nlm_object_p, nlm_write_object_contents): Use the NLM
signature from the backend rather than the constant NLM_SIGNATURE.
* nlm32-i386.c (nlm32_i386_backend): Initialize signature field.

31 years ago(HFILES): New variable, for use in "make dep".
Ken Raeburn [Wed, 20 Oct 1993 20:04:17 +0000 (20:04 +0000)]
(HFILES): New variable, for use in "make dep".
(.dep): Depend on $(CFILES) and $(HFILES).  Delete .dep1 and remake it, so that
"$?" is complete.
(.dep1): Don't need to remove .dep1 first.
(dep.sed): Depend on config.status, not Makefile.
(CFILES): Add nlm.c.

31 years ago * Makefile.in (INTERNAL_LDFLAGS): New macro. The new part is
Jim Kingdon [Wed, 20 Oct 1993 17:15:45 +0000 (17:15 +0000)]
* Makefile.in (INTERNAL_LDFLAGS): New macro.  The new part is
that we use CFLAGS and PROFILE_CFLAGS to link.
(gdb, rapp, kdb): Use INTERNAL_LDFLAGS instead of
LDFLAGS and/or GLOBAL_CFLAGS.

31 years ago * Makefile.in: Add $(srcdir) to all refs to 29k-share
Stu Grossman [Wed, 20 Oct 1993 16:51:41 +0000 (16:51 +0000)]
* Makefile.in:  Add $(srcdir) to all refs to 29k-share
directories.

31 years ago * aoutf1.h (MACHTYPE_OK): Accept M_UNKNOWN.
Ian Lance Taylor [Wed, 20 Oct 1993 16:26:50 +0000 (16:26 +0000)]
* aoutf1.h (MACHTYPE_OK): Accept M_UNKNOWN.
(NAME(sunos,set_arch_mach)): Treat M_UNKNOWN as 68000, not 68020.

31 years ago * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
Stu Grossman [Wed, 20 Oct 1993 16:23:17 +0000 (16:23 +0000)]
* gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
17}/Makefile.in:  Make it possible to run the testsuite with Sun
make and CC = cross gcc by adding explicit build rules for .o
files.

31 years agonew test m68k/pic1.s - simple pic code generation
Ken Raeburn [Wed, 20 Oct 1993 15:51:24 +0000 (15:51 +0000)]
new test m68k/pic1.s - simple pic code generation

31 years agonew test diff1.s - difference of two undefined symbols (should be rejected)
Ken Raeburn [Wed, 20 Oct 1993 15:50:04 +0000 (15:50 +0000)]
new test diff1.s - difference of two undefined symbols (should be rejected)

31 years ago* Makefile.in (OBJDUMP_FOR_TARGET): Define similar to AS_FOR_TARGET.
Ken Raeburn [Wed, 20 Oct 1993 15:47:59 +0000 (15:47 +0000)]
* Makefile.in (OBJDUMP_FOR_TARGET): Define similar to AS_FOR_TARGET.
(check): Don't pass ASFLAGS variable.
(site.exp): Put ASFLAGS, OBJDUMP, OBJDUMPFLAGS into site.exp.

31 years agoMakefile.in (OBJDUMP_FOR_TARGET): Define similar to AS_FOR_TARGET.
Ken Raeburn [Wed, 20 Oct 1993 15:38:42 +0000 (15:38 +0000)]
Makefile.in (OBJDUMP_FOR_TARGET): Define similar to AS_FOR_TARGET.
(check): Don't pass ASFLAGS variable.
(site.exp): Put ASFLAGS, OBJDUMP, OBJDUMPFLAGS into site.exp.

From Jeff Law:

lib/gas-defs.exp (objdump_start, objdump_finish): New functions
so that tests can parse the output of objdump looking for errors
in relocation entires, file headers and the like.

31 years ago* hosts/i386bsd.h [__bsdi__]: Define HOST_DATA_START_ADDR.
Jim Kingdon [Wed, 20 Oct 1993 15:33:40 +0000 (15:33 +0000)]
* hosts/i386bsd.h [__bsdi__]: Define HOST_DATA_START_ADDR.

31 years ago* configure.in: Add comment about HP compiler vs. emacs.
Jim Kingdon [Wed, 20 Oct 1993 15:01:15 +0000 (15:01 +0000)]
* configure.in: Add comment about HP compiler vs. emacs.

31 years ago * mh-hp300: Don't define CFLAGS to empty. Why should hp300 be
Jim Kingdon [Wed, 20 Oct 1993 03:58:18 +0000 (03:58 +0000)]
* mh-hp300: Don't define CFLAGS to empty.  Why should hp300 be
different from anything else?  ("gdb doesn't understand the native
debug format" isn't a good enough answer because we might be using
gcc).

31 years agofix one bad date, credits
Roland Pesch [Wed, 20 Oct 1993 02:03:50 +0000 (02:03 +0000)]
fix one bad date, credits

31 years ago * Makefile.in (ALLCONFIG): Add config/i386/{i386m3.mh, i386m3.mt,
Fred Fish [Wed, 20 Oct 1993 00:30:09 +0000 (00:30 +0000)]
* Makefile.in (ALLCONFIG):  Add config/i386/{i386m3.mh, i386m3.mt,
i386/i386mk.mh i386/i386mk.mt}, config/mips/{mipsm3.mh,
mipsm3.mt}, config/ns32k/{ns32km3.mh, ns32m3.mt}
* Makefile.in (remote_utils_h):  Add remote-sim.h
* Makefile.in (NONSRC):  Add i386-nlmstub.c
* Makefile.in (HFILES):  Add coff-solib.h

31 years agodon't build ld on solaris2
David D. Zuhn [Tue, 19 Oct 1993 23:04:39 +0000 (23:04 +0000)]
don't build ld on solaris2

31 years agoconfigure.in: Accept alpha-dec-osf1* instead of just -osf1, since config.guess
Ken Raeburn [Tue, 19 Oct 1993 22:24:16 +0000 (22:24 +0000)]
configure.in: Accept alpha-dec-osf1* instead of just -osf1, since config.guess
will include the full version number.

31 years ago * config/tc-m68k.h (AOUT_MACHTYPE): Define to be external variable
Ian Lance Taylor [Tue, 19 Oct 1993 22:18:15 +0000 (22:18 +0000)]
* config/tc-m68k.h (AOUT_MACHTYPE): Define to be external variable
m68k_aout_machtype.
* config/tc-m68k.c (omagic): Remove obsolete and unused variable.
(m68k_aout_machtype): New variable, if OBJ_AOUT.
(md_assemble): Initialize m68k_aout_machtype based on
current_architecture, if OBJ_AOUT.
(md_parse_option): Remove obsolete reference to omagic.

31 years agoModified Files:
Kung Hsu [Tue, 19 Oct 1993 22:17:57 +0000 (22:17 +0000)]
Modified Files:
  ChangeLog

        * values.c (value_virtual_fn_field): Fix the offset calculation
        when calling virtual functions. (gdb.t22/virtfunc.exp).
        * eval.c (evaluate_subexp): same as above.

31 years ago * gdb.t15/funcargs.exp: Don't put comments on same line as
Jim Kingdon [Tue, 19 Oct 1993 21:40:09 +0000 (21:40 +0000)]
* gdb.t15/funcargs.exp: Don't put comments on same line as
setup_xfail (@#$*%& tcl braindamage!).

31 years agoTue Oct 19 14:21:18 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
Roland Pesch [Tue, 19 Oct 1993 21:25:32 +0000 (21:25 +0000)]
Tue Oct 19 14:21:18 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)

* a4rc.sed: update to work with Andreas Vogel papersize params

* refcard.tex: use Andreas Vogel simplifications of papersize
params; remove useless version info; update copyright date.

31 years agoModified Files:
Kung Hsu [Tue, 19 Oct 1993 21:20:37 +0000 (21:20 +0000)]
Modified Files:
values.c eval.c

        * values.c (value_virtual_fn_field): Fix the offset calculation
        when calling virtual functions. (gdb.t22/virtfunc.exp).
        * eval.c (evaluate_subexp): same as above.

31 years ago * configure.in: Build linker and binutils for alpha-dec-osf1.
Ian Lance Taylor [Tue, 19 Oct 1993 19:59:16 +0000 (19:59 +0000)]
* configure.in: Build linker and binutils for alpha-dec-osf1.

31 years ago * configure.in (alpha-*-osf*): New target; use alpha.mt.
Ian Lance Taylor [Tue, 19 Oct 1993 19:55:52 +0000 (19:55 +0000)]
* configure.in (alpha-*-osf*): New target; use alpha.mt.
* Makefile.in (ALL_EMULATIONS): Added em_alpha.o.
(em_alpha.c): New target; use alpha.sh and alpha.sc.
* config/alphaosf.mh (NATIVE_LIB_DIRS, HOSTING_CRT0): Define.
* config/alpha.mt: New file.
* emulparams/alpha.sh: New file.
* scripttempl/alpha.sc: New file.

31 years agoNew files for Alpha linker.
Ian Lance Taylor [Tue, 19 Oct 1993 19:52:33 +0000 (19:52 +0000)]
New files for Alpha linker.

31 years ago * coff-alpha.c: Implemented reloc handling for the linker, made
Ian Lance Taylor [Tue, 19 Oct 1993 19:41:44 +0000 (19:41 +0000)]
* coff-alpha.c: Implemented reloc handling for the linker, made
various other related changes.
* libecoff.h (ecoff_backend_data): Added rdata_in_text field.
Renamed finish_reloc to adjust_reloc_in.  Added adjust_reloc_out
field.
(ecoff_bfd_get_relocated_section_contents): Don't define.
* ecoff.c (ecoff_sec_to_styp_flags, ecoff_styp_to_sec_flags):
Handle .lita section.
(ecoff_slurp_reloc_table): Handle RELOC_SECTION_FINI.
finish_reloc backend field renamed to adjust_reloc_in.
(ecoff_bfd_seclet_link): Adjust number of aux entries to
debug_align boundary.
(ecoff_compute_section_file_positions): If rdata_in_text put
.rdata section in text segment, not data segment.  Put .pdata
section in text segment.
(ecoff_write_object_contents): Likewise.  Also, call
adjust_reloc_out, and handle .lita, .xdata, .pdata, .fini and
absolute sections when writing out relocs.
* coffswap.h (coff_swap_aouthdr_out): For ALPHAECOFF, output 2 for
bldrev field, as on Alpha OSF/1.  Padding field is now 2 bytes.
* coff-mips.c (mips_ecoff_swap_reloc_out): Added assertion.
(mips_adjust_reloc_in): Renamed from mips_finish_reloc.
(mips_adjust_reloc_out): New function (does nothing).
(mips_ecoff_backend_data): Initialize new fields.
(ecoff_bfd_get_relocation_section_contents): Define to be
bfd_generic_get_relocated_section_contents.

* reloc.c (bfd_perform_relocation): Added casts to avoid Alpha
OSF/1 cc bug.

31 years agoClean out all references to snapshots.readme, a file that is not
Fred Fish [Tue, 19 Oct 1993 19:38:05 +0000 (19:38 +0000)]
Clean out all references to snapshots.readme, a file that is not
distributed in gdb releases.

31 years agoremove debugging echo
David D. Zuhn [Tue, 19 Oct 1993 17:44:57 +0000 (17:44 +0000)]
remove debugging echo

31 years ago * config/rs6000/rs6000.mh (TERMCAP): Define to -lcurses.
Jim Kingdon [Tue, 19 Oct 1993 17:20:53 +0000 (17:20 +0000)]
* config/rs6000/rs6000.mh (TERMCAP): Define to -lcurses.

* Makefile.in: Define CXXFLAGS.

31 years ago * Makefile.in: Remove -O from CXXFLAGS for consistency with CFLAGS,
Jim Kingdon [Tue, 19 Oct 1993 16:47:37 +0000 (16:47 +0000)]
* Makefile.in: Remove -O from CXXFLAGS for consistency with CFLAGS,
and gdb/testsuite/Makefile.in.

31 years ago * sparclite/Makefile.in: Fixup so that this works with Sun make
Stu Grossman [Tue, 19 Oct 1993 16:34:16 +0000 (16:34 +0000)]
* sparclite/Makefile.in:  Fixup so that this works with Sun make
and VPATH.

31 years ago* gdb.texinfo (Symbols): Add class NAME to doc for ptype.
Jim Kingdon [Tue, 19 Oct 1993 16:26:06 +0000 (16:26 +0000)]
* gdb.texinfo (Symbols): Add class NAME to doc for ptype.

31 years ago* breakpoint.h (struct bpstat_what): Don't use bitfields.
Jim Kingdon [Tue, 19 Oct 1993 16:05:23 +0000 (16:05 +0000)]
* breakpoint.h (struct bpstat_what): Don't use bitfields.

31 years ago* typeprint.c: Add "class CLASS-NAME" to docstring for ptype.
Jim Kingdon [Tue, 19 Oct 1993 15:56:20 +0000 (15:56 +0000)]
* typeprint.c: Add "class CLASS-NAME" to docstring for ptype.

31 years ago * Makefile.in (ALLPARAM): Add config/m88k/{nm-delta88v4.h,
Fred Fish [Tue, 19 Oct 1993 13:27:55 +0000 (13:27 +0000)]
* Makefile.in (ALLPARAM):  Add config/m88k/{nm-delta88v4.h,
tm-delta88v4.h, xm-dgux.h}.
* Makefile.in (ALLCONFIG):  Add config/m88k/{delta88v4.mh,
delta88v4.mt}.

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