Jim Kingdon [Fri, 22 Oct 1993 13:36:28 +0000 (13:36 +0000)]
* configure.host, config.bfd: Add * to end of all OS names.
Jim Kingdon [Fri, 22 Oct 1993 13:32:12 +0000 (13:32 +0000)]
* configure.in: Add * to end of all OS names.
Fred Fish [Fri, 22 Oct 1993 13:24:55 +0000 (13:24 +0000)]
* Makefile.in (ALLPARAM): Add config/m88k/xm-delta88v4.h
Jim Kingdon [Fri, 22 Oct 1993 06:08:04 +0000 (06:08 +0000)]
* munch: Removed.
Jim Kingdon [Fri, 22 Oct 1993 06:03:50 +0000 (06:03 +0000)]
* Makefile.in (init.c): Generate using the source, not munch. This
cleans up all kinds of hassles (which nm to use in munch, etc). The
new formatting conventions (mostly already followed) are that
the name of the _initialize_* routines must start in column zero,
and must not be inside #if.
* munch: Removed.
* Makefile.in: Remove references to munch.
* serial.c, remote.c, infptrace.c, maint.c, convex-tdep.c,
alpha-tdep.c, hp300ux-nat.c, hppab-nat.c, osfsolib.c, remote-es.c,
procfs.c, remote-udi.c, ser-go32.c, ultra3-xdep.c, sh-tdep.c,
i960-tdep.c, hppa-tdep.c, h8500-tdep.c, dpx2-nat.c, delta68-nat.c,
z8k-tdep.c: Make sure the above conventions are followed. Make
sure they are all declared as returning void. Clean up
miscellaneous comments and such.
Jim Kingdon [Fri, 22 Oct 1993 05:55:58 +0000 (05:55 +0000)]
* Makefile.in (init.c): Generate using the source, not munch. This
cleans up all kinds of hassles (which nm to use in munch, etc). The
new formatting conventions (mostly already followed) are that
the name of the _initialize_* routines must start in column zero,
and must not be inside #if.
* munch: Removed.
* Makefile.in: Remove references to munch.
* serial.c, remote.c, infptrace.c, maint.c, convex-tdep.c,
alpha-tdep.c, hp300ux-nat.c, hppab-nat.c, osfsolib.c, remote-es.c,
procfs.c, remote-udi.c, ser-go32.c, ultra3-xdep.c, sh-tdep.c,
i960-tdep.c, hppa-tdep.c, h8500-tdep.c, dpx2-nat.c, delta68-nat.c,
z8k-tdep.c: Make sure the above conventions are followed. Make
sure they are all declared as returning void. Clean up
miscellaneous comments and such.
Roland Pesch [Fri, 22 Oct 1993 04:58:26 +0000 (04:58 +0000)]
Man page for "run" simulator, and install-man target for it.
Jim Kingdon [Fri, 22 Oct 1993 01:49:27 +0000 (01:49 +0000)]
* Makefile.in: Update dependencies to reflect all these new includes.
Jim Kingdon [Fri, 22 Oct 1993 00:53:32 +0000 (00:53 +0000)]
* sh-tdep.c (sim_load): Add function.
David D. Zuhn [Thu, 21 Oct 1993 23:02:40 +0000 (23:02 +0000)]
add pid argument to mips_wait
Jim Kingdon [Thu, 21 Oct 1993 20:41:50 +0000 (20:41 +0000)]
* Makefile.in (c-exp.tab.o): Remove notice about shift/reduce conflicts
which no longer occur.
gcc -Wall lint:
* findvar.c (symbol_read_needs_frame), corelow.c (ignore),
inflow.c (gdb_has_a_terminal): Make sure to return a value.
* regex.h: Declare re_set_syntax.
* printcmd.c: Include valprint.h.
* infcmd.c, exec.c, maint.c, core.c: Include language.h.
* maint.c: Include expression.h.
* infrun.c, fork-child.c, corelow.c, inflow.c: Include thread.h.
* inftarg.c: Include command.h.
* coredep.c: Include value.h.
* c-exp.y, m2-exp.y, ch-exp.y: Include bfd.h, symfile.h and objfiles.h.
* ch-typeprint.c: Include typeprint.h.
* ch-valprint.c: Include c-lang.h.
* nlmread.c: Include buildsym.h.
* environ.c: Include gdbcore.h. Only include defs.h once.
(set_in_environ): Cast const char * to char * when passing to
set_gnutarget.
Remove unused variables:
* printcmd.c (printf_command): args_to_vprintf.
* coffread.c (coff_symfile_init): strsection.
Move variables to within the #ifdefs where they are used:
* symtab.c (gdb_mangle_name): opname.
* inftarg.c (child_attach): pid and exec_file.
* inftarg.c (child_detach): siggnal.
* objfiles.c (allocate_objfile): mapto, md, and fd.
* objfiles.c (free_objfile): mmfd.
* infrun.c (wait_for_inferior): Include BPSTAT_WHAT_LAST in switch.
* infrun.c (wait_for_inferior): Remove unused same_pid label.
* inferior.h: Declare set_sigint_trap and clear_sigint_trap.
* parser-defs.h: Declare write_exp_elt_block.
* stabsread.h: Declare elfstab_offset_sections and
coffstab_build_psymtabs.
Ken Raeburn [Thu, 21 Oct 1993 20:03:19 +0000 (20:03 +0000)]
Various arious PA changes from Utah.
V9 bugfix.
See changelog...
Ken Raeburn [Thu, 21 Oct 1993 19:55:01 +0000 (19:55 +0000)]
delete some code in "#if 0"
Ian Lance Taylor [Thu, 21 Oct 1993 19:50:57 +0000 (19:50 +0000)]
* config/tc-sparc.c (md_parse_option): Accept and ignore -sparc
option, which is used by the SunOS make default .s.o rule.
Ken Raeburn [Thu, 21 Oct 1993 19:50:06 +0000 (19:50 +0000)]
Set bfd_gas for all sparc targets. Added facility for keeping or rejecting
configurations still under development; default is to assume production
environment, and reject configs still being worked on. Mark Elf configurations
(except sparc and i386) as developmental. Deleted cases matching some generic
names in favor of more specific names. (E.g., when we get Alpha
support, we'll still only support VMS for Vax.)
Ken Raeburn [Thu, 21 Oct 1993 19:28:54 +0000 (19:28 +0000)]
Patch from Jeff Law:
* paread.c: Fix references to "hppa" that should now be "som".
Ken Raeburn [Thu, 21 Oct 1993 19:22:42 +0000 (19:22 +0000)]
elfcode.h (FILE_ALIGN_: Renamed from EALIGN, to avoid conflict with Ultrix
header files.
Also, lots of changes for PA elf and som support from Utah; see ChangeLog
for details.
Jim Kingdon [Thu, 21 Oct 1993 19:11:15 +0000 (19:11 +0000)]
gcc -Wall lint:
* coff-h8300.c, coffcode.h: Change shrink parameter
in *_reloc16_estimate to unsigned to match prototype.
* archive.c: Avoid "/*" in comment.
Stan Shebs [Thu, 21 Oct 1993 18:40:48 +0000 (18:40 +0000)]
Always build newlib for native Lynx.
Ian Lance Taylor [Thu, 21 Oct 1993 18:30:12 +0000 (18:30 +0000)]
* dep-in.sed: Create our own line breaks for a more aesthetic
Makefile.
* Makefile.in: Rebuilt dependencies.
Jim Kingdon [Thu, 21 Oct 1993 17:32:52 +0000 (17:32 +0000)]
* symtab.c (decode_line_1): Don't use SYMBOL_LINE for functions.
Ian Lance Taylor [Thu, 21 Oct 1993 17:13:38 +0000 (17:13 +0000)]
* elf32-mips.c: Include "seclet.h".
(mips_elf_fake_sections): Force size of .reginfo section to sizeof
Elf32_External_RegInfo.
(mips_elf_seclet_link): New function. Link the .reginfo section
specially, and pass everything else to the generic routine.
(bfd_elf32_bfd_seclet_link): Define macro.
* elf32-target.h: If bfd_elf32_bfd_seclet_link is already defined,
don't override it.
Jim Kingdon [Thu, 21 Oct 1993 14:20:50 +0000 (14:20 +0000)]
* stabs.texinfo (Local Variable Parameters): Re-write paragraph on
floats passed as doubles (to improve clarity).
Jim Kingdon [Thu, 21 Oct 1993 13:32:51 +0000 (13:32 +0000)]
* gdb.t09/corefile.exp: At end of test, use "core" command with
no arguments.
Stu Grossman [Thu, 21 Oct 1993 10:10:21 +0000 (10:10 +0000)]
* remote-udi.c (udi_store_registers, store_register): Use
UDI29KPC address space when modifying PC. It seems that you can't
modify the PC directly (at least in the isstip simulator).
Jim Kingdon [Thu, 21 Oct 1993 05:30:47 +0000 (05:30 +0000)]
* Move "set remotebaud" from remote-utils.c to main.c to it applies
to remote.c as well.
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.
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.
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.
Jim Kingdon [Thu, 21 Oct 1993 01:37:55 +0000 (01:37 +0000)]
* mh-hp300: Revert yesterday's change, but add comment explaining.
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.
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.
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.
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.
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).
K. Richard Pixley [Wed, 20 Oct 1993 21:36:06 +0000 (21:36 +0000)]
define some signals
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.
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.
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.
Stu Grossman [Wed, 20 Oct 1993 16:51:41 +0000 (16:51 +0000)]
* Makefile.in: Add $(srcdir) to all refs to 29k-share
directories.
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.
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.
Ken Raeburn [Wed, 20 Oct 1993 15:51:24 +0000 (15:51 +0000)]
new test m68k/pic1.s - simple pic code generation
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)
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.
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.
Jim Kingdon [Wed, 20 Oct 1993 15:33:40 +0000 (15:33 +0000)]
* hosts/i386bsd.h [__bsdi__]: Define HOST_DATA_START_ADDR.
Jim Kingdon [Wed, 20 Oct 1993 15:01:15 +0000 (15:01 +0000)]
* configure.in: Add comment about HP compiler vs. emacs.
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).
Roland Pesch [Wed, 20 Oct 1993 02:03:50 +0000 (02:03 +0000)]
fix one bad date, credits
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
David D. Zuhn [Tue, 19 Oct 1993 23:04:39 +0000 (23:04 +0000)]
don't build ld on solaris2
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.
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.
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.
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!).
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.
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.
Ian Lance Taylor [Tue, 19 Oct 1993 19:59:16 +0000 (19:59 +0000)]
* configure.in: Build linker and binutils for alpha-dec-osf1.
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.
Ian Lance Taylor [Tue, 19 Oct 1993 19:52:33 +0000 (19:52 +0000)]
New files for Alpha linker.
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.
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.
David D. Zuhn [Tue, 19 Oct 1993 17:44:57 +0000 (17:44 +0000)]
remove debugging echo
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.
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.
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.
Jim Kingdon [Tue, 19 Oct 1993 16:26:06 +0000 (16:26 +0000)]
* gdb.texinfo (Symbols): Add class NAME to doc for ptype.
Jim Kingdon [Tue, 19 Oct 1993 16:05:23 +0000 (16:05 +0000)]
* breakpoint.h (struct bpstat_what): Don't use bitfields.
Jim Kingdon [Tue, 19 Oct 1993 15:56:20 +0000 (15:56 +0000)]
* typeprint.c: Add "class CLASS-NAME" to docstring for ptype.
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}.
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.
Fred Fish [Tue, 19 Oct 1993 13:15:42 +0000 (13:15 +0000)]
* snapshots.readme: Reword paragraph about not publicising
location of gdb snapshots.
Jim Kingdon [Tue, 19 Oct 1993 02:56:08 +0000 (02:56 +0000)]
* gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
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.
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.
David D. Zuhn [Mon, 18 Oct 1993 22:28:18 +0000 (22:28 +0000)]
handle unixware & hp emacs, textutils on rs6000
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.
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 ().
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.
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
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.
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).
Jim Kingdon [Sun, 17 Oct 1993 02:21:12 +0000 (02:21 +0000)]
* infrun.c: Add comment about signals.
Jim Kingdon [Sun, 17 Oct 1993 02:19:59 +0000 (02:19 +0000)]
* config/m88k/xm-dgux.h: Define NO_PTRACE_H.
Jim Kingdon [Sun, 17 Oct 1993 02:09:07 +0000 (02:09 +0000)]
* 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.
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 *.
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).
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.
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.
Stu Grossman [Sat, 16 Oct 1993 22:31:07 +0000 (22:31 +0000)]
*** empty log message ***
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.
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.
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.
Jim Kingdon [Sat, 16 Oct 1993 04:58:20 +0000 (04:58 +0000)]
x
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.
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.
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.
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.