Fred Fish [Mon, 2 Aug 1993 23:29:32 +0000 (23:29 +0000)]
Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitly
added to the list by Sanitize, unless Sanitize knows it needs to keep it.
Jim Kingdon [Mon, 2 Aug 1993 22:41:50 +0000 (22:41 +0000)]
* valops.c (typecmp): If we are passing a non-reference to a function
which takes a reference, pass the address.
(value_arg_coerce): Don't use COERCE_ENUM; we don't want to dereference
references here.
Fred Fish [Mon, 2 Aug 1993 19:03:15 +0000 (19:03 +0000)]
(I could have sworn I checked this change in a couple days ago, but it
showed up in a cvs diff, so here it is again...)
* README: Elaborate on gdb C++ support and cfront support.
Jim Kingdon [Mon, 2 Aug 1993 17:38:08 +0000 (17:38 +0000)]
* gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
Stu Grossman [Mon, 2 Aug 1993 15:48:42 +0000 (15:48 +0000)]
Mon Aug 2 08:42:50 1993 Stu Grossman (grossman at cygnus.com)
* gdbserver/remote-inflow.c (create_inferior): Fix comments, and
error msg. Setup seperate process group for child.
* (write_inferior_memory): Sleep for 1 second and retry on ptrace
failure.
Stu Grossman [Mon, 2 Aug 1993 06:25:36 +0000 (06:25 +0000)]
Sun Aug 1 22:58:18 1993 Stu Grossman (grossman at cygnus.com)
* Makefile.in (CLIBS): Reorder to make Lynx ld happy.
* (HFILES): New file thread.h.
* (OBS): New file thread.c.
* configure.in: Host config for Lynx/386.
* fork-child.c (fork_inferior): Call init_thread_list().
* infrun.c (resume): Add pid to invocation of target_resume().
* (wait_for_inferior): Pay attention to pid from target_wait().
Multi-threading code now uses this to determine what to do.
* inftarg.c (child_wait): Conditionalize based on CHILD_WAIT macro.
Use target_pid_to_str() macro throughout when printing pid.
* inferior.h (child_resume): Add pid to prototype.
* hppab-nat.c hppah-nat.c infptrace.c (child_resume): Pass in pid as
argument, instead of using inferior_pid.
* procfs.c (procfs_resume): Pass in pid as argument. Ignored for
now. Use target_pid_to_str() macro throughout for printing process id.
* remote-adapt.c (adapt_resume): Pass in pid as argument.
* remote-eb.c (eb_resume): Pass in pid as argument.
* remote-es.c (es1800_resume): Pass in pid as argument.
* remote-hms.c (hms_resume): Pass in pid as argument.
* remote-mips.c (mips_resume): Pass in pid as argument.
* remote-mm.c (mm_resume): Pass in pid as argument.
* remote-monitor.c (monitor_resume): Pass in pid as argument.
* remote-nindy.c (nindy_resume): Pass in pid as argument.
* remote-sa.sparc.c (remote_resume): Pass in pid as argument.
* remote-sim.c (rem_resume): Pass in pid as argument.
* remote-sp64sim.c (simif_resume): Pass in pid as argument.
* remote-st.c (st2000_resume): Pass in pid as argument.
* remote-udi.c (udi_resume): Pass in pid as argument.
* remote-vx.c (vx_resume): Pass in pid as argument.
* remote-z8k.c (rem_resume): Pass in pid as argument.
* remote.c (remote_resume): Pass in pid as argument.
* solib.c (solid_create_inferior_hook): Pass inferior_pid to
target_resume().
* target.c (normal_pid_to_str): New routine to print out process
ID normally.
* target.h (struct target_ops): Add pid to prototype at
to_resume(). (target_resume): Add pid argument.
* (target_pid_to_str): Default definition for normal type pids.
* thread.c, thread.c: New modules for multi thread/process control.
Fred Fish [Sun, 1 Aug 1993 18:39:32 +0000 (18:39 +0000)]
* Makefile.in (COMPRESS): Remove def.
* Makefile.in (gdb.tar.gz, make-gdb.tar.gz): Renamed from
gdb.tar.Z and make-gdb.tar.Z respectively.
* Makefile.in (make-gdb.tar.gz): Now only build gzip'd archive.
* Makefile.in (make-gdb.tar.gz): Minor changes to move closer
to convergence with 'taz' target in Makefile.in.
John Gilmore [Sat, 31 Jul 1993 01:40:26 +0000 (01:40 +0000)]
* dis-asm.h: Add new fields insn_info_valid, branch_delay_insns,
data_size, insn_type, target, target2. These are used to return
information from the instruction decoders back to the calling
program. Add comments, make more readable.
Ian Lance Taylor [Fri, 30 Jul 1993 22:32:09 +0000 (22:32 +0000)]
* nlm32-i386.c: New file. First cut at i386 NLM code.
* libnlm.h: Added some more prototypes.
(struct nlm_relent): New structure.
(nlmNAME(symbol_type)): Added rcnt and relocs fields.
(struct nlm_obj_tdata): Added new fields: nlm_symbols,
nlm_text_low, nlm_data_low, nlm_reloc_fixups,
nlm_reloc_fixup_secs.
(struct nlm_backend_data): New structure, with accessor macros.
* nlmcode.h: Use NLM_HIBIT rather than MSB.
(nlm_object_p): Set SEC_RELOC for .text and .data. Don't set
SEC_DATA for .bss. Set HAS_RELOC and HAS_SYMS for abfd. Set the
architecture.
(nlm_swap_fixed_header_out, nlm_swap_variable_header_out,
find_nonzero, nlm_swap_auxiliary_headers_out): New outbound
swapping functions.
(nlm_get_symtab_upper_bound, nlm_slurp_symbol_table): Include
external references in symbol table as undefined symbols.
(nlm_get_symtab, nlm_slurp_symbol_table): Fill in alocation
argument in get_symtab rather than in slurp_symbol_table.
(nlm_slurp_symbol_table): Save symbol information in tdata.
(nlm_print_symbol): New function.
(nlm_slurp_reloc_fixups, nlm_get_reloc_upper_bound,
nlm_canonicalize_reloc): New functions to read relocs.
(nlm_compute_section_file_positions, nlm_set_section_contents,
nlm_external_reloc_compare, nlm_write_object_contents): New
functions to create NLM files.
* nlm-target.h: Define all the nlm functions here either as
default values or in terms of nlmNAME. Use JUMP_TABLE(nlm). Set
the backend_data field to TARGET_BACKEND_DATA.
* nlm32-gen.c, nlm64-gen.c: Don't define function macros here;
they are now in nlm-target.h.
(TARGET_BACKEND_DATA): Define as NULL.
* nlm.c (nlm_mkobject): Do allocate the tdata field.
(nlm_set_arch_mach): New function.
* targets.c: Added nlm32_i386_vec.
* Makefile.in (BFD32_BACKENDS): Added nlm32-i386.o.
(CFILES): Added nlm32-i386.c.
(nlm32-gen.o, nlm64-gen.o): Depend on nlm-target.h.
(nlm32-i386.o): New target.
Jim Kingdon [Fri, 30 Jul 1993 20:49:52 +0000 (20:49 +0000)]
From Jeffrey Law:
* tm-hppa.h (TARGET_WRITE_PC): Define.
* hppa-tdep.c (hppa_fix_call_dummy): If in a syscall,
then return the address of the dummy itself rather than
the address of $$dyncall.
(target_write_pc): New function to store a new PC.
Peter Schauer [Fri, 30 Jul 1993 20:04:34 +0000 (20:04 +0000)]
* gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
* gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
to determine signed-ness of bitfields and use the result to setup
the xfail.
* gdb.t13/gdbme.c: Add comment to the two indirect call0a lines.
* gdb.t13/funcargs.exp: Use it to step until the second indirect call
line is reached if necessary.
Jim Kingdon [Fri, 30 Jul 1993 15:52:26 +0000 (15:52 +0000)]
* paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.
* hppa-tdep.c (frame_chain_valid): Check that our function has the
same address as _start, not that it must be the same symbol.
Jim Kingdon [Fri, 30 Jul 1993 01:42:09 +0000 (01:42 +0000)]
* cp-valprint.c (cplus_print_value): Don't dump core if the
baseclass doesn't have a name.
* values.c (vb_match): New function, which finds the virtual
base class pointer even if the types are nameless.
(baseclass_{addr,offset}): Use it.
Jim Kingdon [Thu, 29 Jul 1993 20:23:09 +0000 (20:23 +0000)]
* remote-udi.c: Remove udi_timer, call to siginterrupt, and associated
obsolete junk which apparently had been copied from the
pre-serial.h remote.c, but which is no longer used.
Roland Pesch [Thu, 29 Jul 1993 00:53:58 +0000 (00:53 +0000)]
* h8-cfg.texi, all-cfg.texi: new flag GDBSERVER
* Makefile.in: depend on remote.texi rather than gdbinv-s.texi
* remote.texi: (Server) New node on gdbserver. (Remote Serial,
ST2000 Remote, MIPS Remote): mention `host:port' syntax for TCP.
* remote.texi: new name for former gdbinv-s.texi
* gdb.texinfo: use remote.texi rather than gdbinv-s.texi
Ian Lance Taylor [Wed, 28 Jul 1993 15:36:45 +0000 (15:36 +0000)]
* config/tc-m68k.c (m68k_ip): If we have a normal constant when we
expect a bignum, turn it into a bignum. Output extra zeroes
before a short bignum, rather than after.