Ken Raeburn [Thu, 5 Aug 1993 21:21:30 +0000 (21:21 +0000)]
(write_object_file): Test DEBUG_SYMS instead of DEBUG for verifying sym chain.
(merge_data_into_text, relax_and_size_all_segments): New fns, split out from
write_object_file.
Ken Raeburn [Thu, 5 Aug 1993 19:23:43 +0000 (19:23 +0000)]
Makefile.in, bfd-in.h, reloc, elf32-i386, elfcode changes
Jim Kingdon [Thu, 5 Aug 1993 19:06:24 +0000 (19:06 +0000)]
* 29k-share/udi/udip2soc.c: Include sys/types.h before sys/file.h.
Ken Raeburn [Thu, 5 Aug 1993 18:36:19 +0000 (18:36 +0000)]
regenerated
Ken Raeburn [Thu, 5 Aug 1993 18:32:50 +0000 (18:32 +0000)]
Wed Jun 23 06:05:58 1993 Michael Meissner (meissner@osf.org)
* elfcode.h (elf_write_object_contents): Don't drop core if
elf_symbol_from returns a NULL pointer when processing a non-elf
symbol, use a 0 size instead.
Tue Jun 15 14:38:32 1993 Michael Meissner (meissner@osf.org)
* elfcode.h (elf_hash): Delete macro mapping elf_hash to
bfd_elf32_hash, since the hash table is independent of the 32/64
bit system.
Ken Raeburn [Thu, 5 Aug 1993 18:27:16 +0000 (18:27 +0000)]
rewrite comment -- bfd-in2.h is generated too
Ken Raeburn [Thu, 5 Aug 1993 18:24:21 +0000 (18:24 +0000)]
add i386-elf relocs (from Meissner)
Ken Raeburn [Thu, 5 Aug 1993 18:20:20 +0000 (18:20 +0000)]
(BFD_LIBS): Always include elf.o.
(BFD32_BACKENDS): Don't include elf.o here.
(ofiles): Delete references to ofiles2 and ofiles3.
(do_clean): Delete ofiles.
(BFDIN_H): Changed references to $(srcdir)/bfd-in2.h.
(stmp-bfd.h): Use bfd.h-new as temporary name, not bfd.h2.
(headers): Use bfd-in2.h-new as temporary name, not bfd.h-new.
Jim Kingdon [Thu, 5 Aug 1993 17:53:42 +0000 (17:53 +0000)]
* config/i386/tm-i386bsd.h (NUM_REGS): There are only 10, not 11.
Fred Fish [Thu, 5 Aug 1993 17:22:58 +0000 (17:22 +0000)]
* nlmcode.h (nlm_get_reloc_upper_bound): Test return value
of nlm_slurp_symbol_table as boolean, not pointer.
* nlmcode.h (nlm_canonicalize_reloc): Test return value
of nlm_slurp_reloc_fixups as boolean, not pointer.
Jim Kingdon [Thu, 5 Aug 1993 17:21:51 +0000 (17:21 +0000)]
* config/unix-gdb.exp (gdb_exit): Add "wait".
Ken Raeburn [Thu, 5 Aug 1993 17:14:11 +0000 (17:14 +0000)]
read.c change; yesterdays elf/sparc changes
Ken Raeburn [Thu, 5 Aug 1993 17:07:22 +0000 (17:07 +0000)]
(emit_expr): Use BFD_RELOC_64 fr 8-byte expressions.
Jim Kingdon [Thu, 5 Aug 1993 16:08:22 +0000 (16:08 +0000)]
* inflow.c: Put all uses of F_GETFL and F_SETFL in #ifdef F_GETFL.
Mark Eichin [Thu, 5 Aug 1993 15:03:45 +0000 (15:03 +0000)]
don't use $$(CC_FOR_TARGET) because that ends up being bash execute command
syntax; use $(CC_FOR_TARGET) instead.
Jim Kingdon [Thu, 5 Aug 1993 14:28:32 +0000 (14:28 +0000)]
* 29k-share/udi/udip2soc.c: Include fcntl.h not sys/fcntl.h.
Jeffrey Wheat [Thu, 5 Aug 1993 04:16:43 +0000 (04:16 +0000)]
Changes to add dejagnu testsuite support
Jeffrey Wheat [Thu, 5 Aug 1993 04:14:51 +0000 (04:14 +0000)]
New files for ld testsuites
David MacKenzie [Thu, 5 Aug 1993 02:52:17 +0000 (02:52 +0000)]
add missing newlines in messages
David MacKenzie [Thu, 5 Aug 1993 02:47:20 +0000 (02:47 +0000)]
fix line numbers
Fred Fish [Thu, 5 Aug 1993 01:36:43 +0000 (01:36 +0000)]
* gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
compilers don't grok it.
* gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
with small octal ints rather than character constants, which
are signed and might not fit if first promoted to int.
Fred Fish [Thu, 5 Aug 1993 01:33:45 +0000 (01:33 +0000)]
* inflow.c (pass_signal): Signal handlers take one int arg;
supply an unused one to make it type compatible as an arg to
signal().
David MacKenzie [Thu, 5 Aug 1993 00:20:27 +0000 (00:20 +0000)]
make failure nonfatal
Ken Raeburn [Wed, 4 Aug 1993 23:11:31 +0000 (23:11 +0000)]
v9 changes
Ken Raeburn [Wed, 4 Aug 1993 23:10:43 +0000 (23:10 +0000)]
* obj-elf.c (obj_elf_stab_generic, in disabled code): If
debug section is new, allocate an extra 12 bytes at its start. If
".stabs" type is N_SO, fill in filename symbol field of that first
entry. Return early if "goof", to simplify later code slightly.
(adjust_stab_sections): New function.
(elf_frob_file): Apply adjust_stab_sections to each section.
* obj-elf.c (obj_elf_section, obj_elf_previous): No longer static.
* obj-elf.h (obj_elf_section, obj_elf_previous): Declare.
* tc-sparc.c (md_pseudo_table): Call them for "pushsection"
and "popsection", and call cons for "uaword" and "uahalf".
* obj-elf.c (obj_elf_version): Use English in error messages.
* tc-sparc.c (md_apply_fix, case BFD_RELOC_64): New case,
parallel to BFD_RELOC_32.
(tc_gen_reloc): Accept BFD_RELOC_64.
Ian Lance Taylor [Wed, 4 Aug 1993 20:25:53 +0000 (20:25 +0000)]
* libnlm.h (nlm_backend_data): Added nlm_mangle_relocs.
(nlm_mangle_relocs_func): New macro.
* nlm32-i386.c (nlm_i386_write_reloc): Rewrote correctly.
(nlm_i386_mangle_relocs): New function.
* nlmcode.h (nlm_compute_section_file_positions): Move all common
symbols into the .bss section.
(nlm_set_section_contents): Call the mangle_relocs function.
(nlm_write_object_contents): Treat a reloc against any defined
symbol as an internal reloc. Fix bug in external reloc counting.
Get the offset and debugging type right for .bss symbols. Only
output debugging symbols for defined symbols.
Steve Chamberlain [Wed, 4 Aug 1993 17:24:11 +0000 (17:24 +0000)]
Keep h8300h.sc
Steve Chamberlain [Wed, 4 Aug 1993 17:23:30 +0000 (17:23 +0000)]
Keep h8300h.em
Steve Chamberlain [Wed, 4 Aug 1993 17:19:22 +0000 (17:19 +0000)]
Keep m88kbcs.em
Ian Lance Taylor [Wed, 4 Aug 1993 16:36:10 +0000 (16:36 +0000)]
* coff-h8500.c (rtype2howto): Do an fprintf to stderr rather than
using printf.
* coff-z8k.c (rtype2howto): Likewise.
* coffcode.h (dummy_reloc16_extra_cases): Likewise.
* elf32-i386.c (TRACE): Likewise.
* hp300hpux.c (convert_sym_type, swap_std_reloc_in): Likewise.
* rs6000-core.c (rs6000coff_get_section_contents): Likewise.
* coffgen.c (coff_print_symbol): Do an fprintf to the file
argument rather than using printf.
David Edelsohn [Wed, 4 Aug 1993 05:12:50 +0000 (05:12 +0000)]
Rename sigm insn to sir.
Change impdep insn from [1+2],d to 1,2,d.
Ian Lance Taylor [Wed, 4 Aug 1993 01:37:25 +0000 (01:37 +0000)]
With these changes, the binutils mostly work on the Alpha, except for
objdump -r.
* coffswap.h: Added macros used when accessing several fields;
default is the same as before.
(coff_swap_aouthdr_{in,out}): Handle the Alpha ECOFF fields.
* coff-alpha.c: Defined macros to use the right sizes in
coffswap.h.
* libecoff.h: Backend information is now in target vector, not
BFD. Start of backend information is COFF backend information.
* coff-alpha.c, coff-mips.c: Changed accordingly.
* ecoff.c (ecoff_mkobject): New function.
(ARMAP_START): Changed into backend information, since Alpha uses
a different name.
(ecoff_slurp_armap): Don't overlay archive header.
* bfd.c: Include libcoff.h.
Ian Lance Taylor [Wed, 4 Aug 1993 01:35:35 +0000 (01:35 +0000)]
* config/mips/tm-mips.h: Include bfd.h before coff/sym.h.
Fred Fish [Wed, 4 Aug 1993 01:29:26 +0000 (01:29 +0000)]
* gdb.t09/Makefile.in (clean): Remove corefile.
Fred Fish [Wed, 4 Aug 1993 01:17:30 +0000 (01:17 +0000)]
* Makefile.in (ALLCONFIG): Add config/i386/i386nw.mt,
config/m68k/delta68.mh, config/m68k/delta68.mt,
config/m68k/dpx2.mh, config/m68k/dpx2.mt, config/mips/riscos.mh,
config/mips/news-mips.mh.
* Makefile.in (ALLPARAM): Add config/i386/nm-symmetry.h,
config/i386/tm-i386nw.h, config/m68k/nm-delta68.h,
config/m68k/tm-delta68.h, config/m68k/xm-delta68.h,
config/m68k/nm-dpx2.h, config/m68k/tm-dpx2.h,
config/m68k/xm-dpx2.h, config/mips/xm-makeva.h.
* Makefile.in (ALLDEPFILES): Add dpx2-nat.c.
David MacKenzie [Wed, 4 Aug 1993 00:39:19 +0000 (00:39 +0000)]
fix doc bug
David MacKenzie [Wed, 4 Aug 1993 00:28:19 +0000 (00:28 +0000)]
fix syntax error
David MacKenzie [Tue, 3 Aug 1993 23:37:45 +0000 (23:37 +0000)]
make a common extern
David MacKenzie [Tue, 3 Aug 1993 23:09:03 +0000 (23:09 +0000)]
add more info about -warn-common
David MacKenzie [Tue, 3 Aug 1993 22:47:28 +0000 (22:47 +0000)]
add -warn-common option
Fred Fish [Tue, 3 Aug 1993 22:22:13 +0000 (22:22 +0000)]
* nlm_slurp_symbol_table: Don't use '&' on arrays.
Ian Lance Taylor [Tue, 3 Aug 1993 20:27:06 +0000 (20:27 +0000)]
* mipsread.c: Updated for BFD ECOFF changes. Now gets the
swapping routines and external structure sizes via the
ecoff_backend information. No longer includes coff/mips.h.
Ian Lance Taylor [Tue, 3 Aug 1993 20:25:58 +0000 (20:25 +0000)]
* config/obj-ecoff.c: Updated for BFD ECOFF changes. Now gets the
swapping routines and external structure sizes via the
ecoff_backend information. No longer includes coff/mips.h.
Ian Lance Taylor [Tue, 3 Aug 1993 20:24:54 +0000 (20:24 +0000)]
* ecoff.h: New file.
* alpha.h, mips.h: Moved common information into ecoff.h. Moved
external structure definitions in from ecoff-ext.h.
* ecoff-ext.h: Removed; information now in alpha.h and mips.h.
Ian Lance Taylor [Tue, 3 Aug 1993 20:22:47 +0000 (20:22 +0000)]
* ecoff.c: New file for generic ECOFF functions.
* ecoffswap.h: New file for ECOFF swapping functions which differ
only slightly for different targets.
* libecoff.h: Added prototypes for ecoff.c functions.
(ecoff_backend_data): New structure.
(ecoff_tdata): Added backend_data field. Changed external data
pointers to be PTR rather than to a particular struct.
(ecoff_symbol_struct): Moved in from coff-mips.c.
* coff-alpha.c, coff-mips.c: Moved common functions into ecoff.c.
Added ECOFF backend structures. Include ecoffswap.h.
* coff-msym.c: Removed; superseded by ecoffswap.h.
* bfd.c: Include coff/internal.h.
* Makefile.in (BFD_LIBS): Removed coff-mips.o and coff-msym.o.
Added ecoff.o.
(BFD64_BACKENDS): Added coff-alpha.o.
(CFILES): Removed coff-msym.c. Added ecoff.c.
(bfd.o): Added dependency on $(INCDIR)/coff/sym.h.
(coff-mips.o): Added dependency on ecoffswap.h and coff/ecoff.h.
(ecoff.o, coff-alpha.o): New targets.
(coff-msym.o): Removed target.
Fred Fish [Tue, 3 Aug 1993 18:02:19 +0000 (18:02 +0000)]
* Makefile.in (SFILES): Add thread.c
David Edelsohn [Tue, 3 Aug 1993 17:25:23 +0000 (17:25 +0000)]
* remote-sp64sim.c (simif_create_inferior): Add FIXME regarding
sim_set_args return code.
Stu Grossman [Tue, 3 Aug 1993 08:51:51 +0000 (08:51 +0000)]
Keep server.h.
John Gilmore [Tue, 3 Aug 1993 06:36:30 +0000 (06:36 +0000)]
* elf32-hppa.h, hosts/*: Remove (one more time) all occurrances
of EXFUN in the BFD sources. Heave ho!
K. Richard Pixley [Tue, 3 Aug 1993 00:59:45 +0000 (00:59 +0000)]
Bumped version to 4.9.4.
K. Richard Pixley [Tue, 3 Aug 1993 00:55:55 +0000 (00:55 +0000)]
Added remote-bug.c.
David MacKenzie [Tue, 3 Aug 1993 00:33:38 +0000 (00:33 +0000)]
don't list objfiles... as an option
K. Richard Pixley [Mon, 2 Aug 1993 23:54:27 +0000 (23:54 +0000)]
* remote-monitor.c: updated copyright.
(bug_ops, monitor_desc): now static.
(monitor_desc): in several places, check and/or set to NULL.
* remote-hms.c (hms_files_info): Add the appropriate items where
missing in the printf call.
* remote-bug.c: new file for m88k bug support.
* config/m88k/m88k.mt (TDEPFILES): added remote-bug.o.
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.
Steve Chamberlain [Mon, 2 Aug 1993 22:54:01 +0000 (22:54 +0000)]
* h8300-tdep.c: Use new variable h8300hmode.
Steve Chamberlain [Mon, 2 Aug 1993 22:52:34 +0000 (22:52 +0000)]
Use variable h8300hmode.
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.
Ian Lance Taylor [Mon, 2 Aug 1993 22:28:25 +0000 (22:28 +0000)]
* config/obj-ecoff.c (get_tag): Save tag name in permanent memory
and in hash_ptr->string.
Jim Kingdon [Mon, 2 Aug 1993 22:13:32 +0000 (22:13 +0000)]
* thread.c (thread_switch): Define as static.
(add_thread): Cast return value from xmalloc.
John Gilmore [Mon, 2 Aug 1993 21:46:23 +0000 (21:46 +0000)]
Move enum outside of struct defn to avoid warnings.
Ian Lance Taylor [Mon, 2 Aug 1993 21:39:05 +0000 (21:39 +0000)]
* app.c (do_scrub_next_char): Reset state to 0 after .appline if
file name is not seen.
Steve Chamberlain [Mon, 2 Aug 1993 21:19:38 +0000 (21:19 +0000)]
Configure for h8300h too.
Jim Kingdon [Mon, 2 Aug 1993 19:21:04 +0000 (19:21 +0000)]
* gdbtypes.c (fill_in_vptr_fieldno): Call check_stub_type.
* gdbtypes.{c,h}: Improve comments on vptr_fieldno.
David D. Zuhn [Mon, 2 Aug 1993 19:18:38 +0000 (19:18 +0000)]
remove some conflicting decls
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.
David D. Zuhn [Mon, 2 Aug 1993 18:58:17 +0000 (18:58 +0000)]
add support for CONFIG_SHELL
David D. Zuhn [Mon, 2 Aug 1993 18:52:12 +0000 (18:52 +0000)]
add a trap to ensure tmp files are removed
Stu Grossman [Mon, 2 Aug 1993 18:50:02 +0000 (18:50 +0000)]
Mon Aug 2 11:48:23 1993 Stu Grossman (grossman at cygnus.com)
* i386lynx.c: Remove unnecessary def of N_HEADER_IN_TEXT,
redefine TEXT_START_ADDR to be 0.
David MacKenzie [Mon, 2 Aug 1993 18:41:14 +0000 (18:41 +0000)]
add nm -B
Stu Grossman [Mon, 2 Aug 1993 18:33:21 +0000 (18:33 +0000)]
Mon Aug 2 11:30:57 1993 Stu Grossman (grossman at cygnus.com)
* i386lynx-nat.c, thread.c, thread.h: Update copyrights.
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).
Jim Kingdon [Mon, 2 Aug 1993 17:22:13 +0000 (17:22 +0000)]
* Makefile.in (ALLDEPFILES): Add i386lynx-nat.c.
Ken Raeburn [Mon, 2 Aug 1993 16:52:10 +0000 (16:52 +0000)]
* scripttempl/elf.sc: Add hooks for .sdata, .sbss, and
target-specific sections, and for changing data section vma.
Jim Kingdon [Mon, 2 Aug 1993 16:44:11 +0000 (16:44 +0000)]
Fix sanitization
Stu Grossman [Mon, 2 Aug 1993 16:21:30 +0000 (16:21 +0000)]
Add i386lynx-nat.c.
Stu Grossman [Mon, 2 Aug 1993 15:58:36 +0000 (15:58 +0000)]
Add thread.c and thread.h.
Stu Grossman [Mon, 2 Aug 1993 15:57:14 +0000 (15:57 +0000)]
Add i386lynx.h.
Stu Grossman [Mon, 2 Aug 1993 15:55:05 +0000 (15:55 +0000)]
Mon Aug 2 08:49:30 1993 Stu Grossman (grossman at cygnus.com)
* wait.h (WEXITSTATUS, WSTOPSIG): Mask down to 8 bits. This is
for systems that store stuff into the high 16 bits of a wait
status.
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 15:41:49 +0000 (15:41 +0000)]
Sun Aug 1 22:58:18 1993 Stu Grossman (grossman at cygnus.com)
* config/i386/i386lynx.mh (NATDEPFILES): Drop coredep (for now).
* config/i386/nm-i386bsd.h: Protect from multiple inclusion.
* config/i386/nm-i386lynx.h: Lotsa new host porting stuff.
* config/i386/tm-i386lynx.h: Define SAVED_PC_AFTER_CALL and
target_pid_to_str.
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.
Stu Grossman [Mon, 2 Aug 1993 05:57:29 +0000 (05:57 +0000)]
Sun Aug 1 22:54:08 1993 Stu Grossman (grossman at cygnus.com)
* configure.host, configure.in, hosts/i386lynx.h: Lynx/386
host and target info.
Fred Fish [Mon, 2 Aug 1993 01:36:13 +0000 (01:36 +0000)]
* Makefile.in (make-gdb.tar.gz): Sed bug reporting address
in configure script to bug-gdb@prep.ai.mit.edu when building
distribution archive.
John Gilmore [Sun, 1 Aug 1993 20:03:51 +0000 (20:03 +0000)]
Say that bug-gdb is also the place to send requests for help with GDB.
Fred Fish [Sun, 1 Aug 1993 19:31:56 +0000 (19:31 +0000)]
* Makefile.in (make-proto-gdb-1): Use -f opt on rm of Makefile.
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.
Fred Fish [Sun, 1 Aug 1993 16:43:32 +0000 (16:43 +0000)]
* h8500-tdep.c: Add parens around a few macro args.
Jim Kingdon [Sat, 31 Jul 1993 03:28:27 +0000 (03:28 +0000)]
* TODO: Remove items about unix-to-unix/rapp debugging (now we
have gdbserver), moving xm files to subdirectory, ptype yylval,
and file-local symbols.
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.
Jim Kingdon [Sat, 31 Jul 1993 00:56:26 +0000 (00:56 +0000)]
* gdb.t17/interrupt.exp: Add xfail for hppa.
Jim Kingdon [Fri, 30 Jul 1993 23:31:14 +0000 (23:31 +0000)]
* stabs.texinfo (Procedures): Improve stuff on nested functions.
Jim Kingdon [Fri, 30 Jul 1993 23:06:37 +0000 (23:06 +0000)]
* gdbtypes.h: Improve comments about C++ methods.
David MacKenzie [Fri, 30 Jul 1993 22:45:04 +0000 (22:45 +0000)]
common section fix
Ken Raeburn [Fri, 30 Jul 1993 22:38:38 +0000 (22:38 +0000)]
keep ho-hppaosf.h; m88k.patches is gone
Ian Lance Taylor [Fri, 30 Jul 1993 22:32:45 +0000 (22:32 +0000)]
First cut at i386 specific NLM backend.
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.
Ken Raeburn [Fri, 30 Jul 1993 22:30:29 +0000 (22:30 +0000)]
elf files changed names; keep i386linux.sh
Fred Fish [Fri, 30 Jul 1993 21:20:56 +0000 (21:20 +0000)]
* c-exp.y: Add missing 5th arg for one call to lookup_symbol, cast
NULL in all other calls to correct pointer types.
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:12:28 +0000 (20:12 +0000)]
Fix typo in previous ChangeLog entry.