Stu Grossman [Tue, 22 Oct 1991 00:51:28 +0000 (00:51 +0000)]
*** empty log message ***
Stu Grossman [Tue, 22 Oct 1991 00:50:58 +0000 (00:50 +0000)]
* infrun.c (wait_for_inferior): fix stepi/nexti that was broken
by my last edit to this routine.
John Gilmore [Tue, 22 Oct 1991 00:49:54 +0000 (00:49 +0000)]
Remove malloc/free decls covered in stdlib.h. From David Taylor.
Steve Chamberlain [Mon, 21 Oct 1991 23:58:49 +0000 (23:58 +0000)]
* coffcode.h (coff_compute_section_file_positions): make it pad
section size out if there are alignment restrictions so that the
image will be ok on a system where section positions are worked
out by accumulating sizes rather than from the section headers.
Steve Chamberlain [Mon, 21 Oct 1991 22:57:31 +0000 (22:57 +0000)]
Make sure that 29k relocs are done right.
Steve Chamberlain [Mon, 21 Oct 1991 22:55:06 +0000 (22:55 +0000)]
Changed minimum section alignment
John Gilmore [Mon, 21 Oct 1991 22:15:19 +0000 (22:15 +0000)]
Check for any remaining mentions of "sanitize" in files at this level,
after completing a Sanitize run.
John Gilmore [Mon, 21 Oct 1991 22:10:13 +0000 (22:10 +0000)]
Handle "life" sanity, which Tiemann half-implemented in config.sub.
Steve Chamberlain [Mon, 21 Oct 1991 19:56:47 +0000 (19:56 +0000)]
*** empty log message ***
Steve Chamberlain [Mon, 21 Oct 1991 19:53:31 +0000 (19:53 +0000)]
ebmon stuff
Steve Chamberlain [Mon, 21 Oct 1991 17:06:59 +0000 (17:06 +0000)]
* configure.in: added ebmon target.
Steve Chamberlain [Mon, 21 Oct 1991 16:48:10 +0000 (16:48 +0000)]
* nm.c: now doesn't crash if a symbol with no section and no
SEC_ABS appears.
Steve Chamberlain [Mon, 21 Oct 1991 16:46:41 +0000 (16:46 +0000)]
*** empty log message ***
Steve Chamberlain [Mon, 21 Oct 1991 16:42:54 +0000 (16:42 +0000)]
* targets.c (proto write_armap). Changed orl_count to unsigned.
* opncls.c (bfd_close_all_done). Added so that generative
programs like gas can close a bfd without causing bfd confusion.
* libbfd.h (changed becuase of protos)
* amdcoff.c: messed with the way that jmp displacements are
calcualated. This may not yet be totally correct.
* archive.c (coff_write_armap): rewrote the way that ranlibs are
written out.
* coffcode.h (fixup_symbol_value): now doesn't core dump if a non
abs symbol has no section (like a register symbol).
(coff_write_symbol) now zeros auxent before filling it up to help
with sensitive applications.
* libbfd.c (bfd_write_bigendian_4byte_int): added.
Steve Chamberlain [Mon, 21 Oct 1991 16:32:10 +0000 (16:32 +0000)]
* configure.in: added ebmon entry.
* output-file.c (output_file_create, output_file_close) added
stuff to use bfd.
* write.c: more bfd support
* config/obj-coff.c config/obj-coff.h use bfd for swapping
header info.
* tc-a29k: added the reloc types we support now
Steve Chamberlain [Mon, 21 Oct 1991 16:31:47 +0000 (16:31 +0000)]
* configure.in: added ebmon entry.
* output-file.c (output_file_create, output_file_close) added
stuff to use bfd.
* write.c: more bfd support
* config/obj-coff.c config/obj-coff.h use bfd for swapping
header info.
* tc-a29k: added the reloc types we support now.
Steve Chamberlain [Mon, 21 Oct 1991 16:31:43 +0000 (16:31 +0000)]
Initial revision
Steve Chamberlain [Mon, 21 Oct 1991 16:29:54 +0000 (16:29 +0000)]
* configure.in: added ebmon entry.
* output-file.c (output_file_create, output_file_close) added
stuff to use bfd.
* write.c: more bfd support
* config/obj-coff.c config/obj-coff.h use bfd for swapping
header info.
* config/tc-a29k: added the reloc types we support now
Per Bothner [Thu, 17 Oct 1991 22:31:26 +0000 (22:31 +0000)]
Make perror arg be CONST to avoid warning,
and remove duplicate declaration of perror.
John Gilmore [Thu, 17 Oct 1991 06:51:00 +0000 (06:51 +0000)]
Final touchups for release
John Gilmore [Thu, 17 Oct 1991 06:04:35 +0000 (06:04 +0000)]
* hosts/h-tahoe.h: Add FASCIST_FDOPEN and NO_CORE_COMMAND; revamp HOST_*, etc.
* hosts/h-i386v.h: Use <utime.h>, not <sys/utime.h>, unlike POSIX.
John Gilmore [Thu, 17 Oct 1991 05:58:34 +0000 (05:58 +0000)]
More last minute gdb-4.2 changes.
John Gilmore [Thu, 17 Oct 1991 05:57:51 +0000 (05:57 +0000)]
* coredep.c: Add <sys/types.h> for SCOnix.
* dbxread.c (read_dbx_symntab): Avoid coredump on malformed file.
* printcmd.c (print_formatted): Flush output before disassembly.
* xm-mips.h: Update KERNEL_U_ADDR for new scheme. Cleanup a bit.
John Gilmore [Thu, 17 Oct 1991 05:57:02 +0000 (05:57 +0000)]
* xconfig/i386sco: Add HAVE_STRSTR to avoid ANSI bdeath.
* xconfig/tahoe: Add REGEX, which seems to be missing.
Roland Pesch [Wed, 16 Oct 1991 22:11:28 +0000 (22:11 +0000)]
*** empty log message ***
Roland Pesch [Wed, 16 Oct 1991 22:08:33 +0000 (22:08 +0000)]
More updates due to Picard refcard comments.
John Gilmore [Wed, 16 Oct 1991 21:41:27 +0000 (21:41 +0000)]
sparc-64 to sparc-ll
John Gilmore [Wed, 16 Oct 1991 21:02:31 +0000 (21:02 +0000)]
GDB-4.2 release!
* Makefile.in: Roll VERSION to 4.2.
* tm-i386v.h: #endif guck.
* xconfig/i386*: Remove -Dgetpagesize()=4096 kludge.
John Gilmore [Wed, 16 Oct 1991 20:35:06 +0000 (20:35 +0000)]
* aout64.h: Remove PAGE_SIZE defines; they are target-dependent.
Add N_FN_SEQ for N_FN symbol type used on Sequent machines.
* stab.def: Include N_FN_SEQ in table.
* bout.h: External formats of structures use unsigned chars.
Roland Pesch [Wed, 16 Oct 1991 20:00:20 +0000 (20:00 +0000)]
Clarifications and rephrasings, largely due to Pinard's comments on
refcard.
Per Bothner [Wed, 16 Oct 1991 19:50:08 +0000 (19:50 +0000)]
* archive.c (bsd_write_argmap): The size of the ranlib structures
should not include teh size field itself.
* aoutx.h, libaout.h (NAME(aout, sizeof_headers)): Use
adata(abfd)->exec_bytes_size field instead of constant macro,
because aoutx.h compiles to a simple .o file shared by
all 32-bits a.out targets.
John Gilmore [Wed, 16 Oct 1991 19:42:05 +0000 (19:42 +0000)]
* core.c (core_open): Improve error message for bad file.
Pass .reg virtual memory address to fetch_core_registers to help
it find the registers in the core-file header.
* coredep.c (fetch_core_registers): Take new argument, use it,
and pass it to register_addr to locate the block of registers.
John Gilmore [Wed, 16 Oct 1991 19:41:34 +0000 (19:41 +0000)]
Remove -Dgetpagesize()=4096 kludge.
Per Bothner [Wed, 16 Oct 1991 19:41:33 +0000 (19:41 +0000)]
Add copright notice to mkscript.c as well.
Per Bothner [Wed, 16 Oct 1991 19:39:40 +0000 (19:39 +0000)]
Add or update copyright notices.
John Gilmore [Wed, 16 Oct 1991 19:38:56 +0000 (19:38 +0000)]
* dbxread.c (read_dbx_symtab, process_one_symbol): Handle
Sequent N_FN_SEQ like everybody else's N_FN.
John Gilmore [Wed, 16 Oct 1991 18:59:59 +0000 (18:59 +0000)]
Allow i386-sco-sysv.
Updates from my internet testing for gdb-4.2.
John Gilmore [Wed, 16 Oct 1991 18:57:16 +0000 (18:57 +0000)]
* host-aout.c: New strategy. We use common code, include files,
and data structures to handle the file, but set a few parameters
from the host's config file (page size, text start addr, etc).
* libaout.h: Define HP BSD machine types.
Per Bothner [Wed, 16 Oct 1991 18:57:08 +0000 (18:57 +0000)]
* Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
* strip.c: Add or update Copyright notice.
* TODO: Add note on 'nm -a'.
* version.c: Update version number to 1.90.
* Makefile.in: Fix making of documentation for dist.
John Gilmore [Wed, 16 Oct 1991 18:56:07 +0000 (18:56 +0000)]
* trad-core.c: Pass the u.u_ar0 value as the negative of the
virtual-memory-address of the .reg section. We can't just make a
section for "all the regs and nothing else" because only GDB knows
exactly where the regs are (scattered around the upage and stack).
Clean up memory allocation. Remove big- and little-endian
vectors, replace with single vector; this only runs on the host,
in host byte order. Replace byteswap routines with aborts in case
anyone calls them.
* targets.c: There's only one trad_core_vec now.
* aoutf1.h (sunos_core_file_p): VMA of .reg* now needs to be 0.
K. Richard Pixley [Wed, 16 Oct 1991 09:15:29 +0000 (09:15 +0000)]
bumped to 1.90.1
K. Richard Pixley [Wed, 16 Oct 1991 08:56:25 +0000 (08:56 +0000)]
Shift positions on memory.h. Seems gcc has changed.
Roland Pesch [Wed, 16 Oct 1991 06:35:14 +0000 (06:35 +0000)]
* doc/refcard.tex (sec "Working Files"): consistent metavars, due
to Franc,ois Pinard (pinard@iro.umontreal.ca)
Roland Pesch [Wed, 16 Oct 1991 06:32:57 +0000 (06:32 +0000)]
Fix error spotted by Francois Pinard (pinard@iro.umontreal.ca): several
instances of *name* in "Working Files" s.b. *file*.
Roland Pesch [Wed, 16 Oct 1991 06:27:06 +0000 (06:27 +0000)]
Another revision of "Installing" appendix, for GDB 4.2. Table of config
name segments now updated.
K. Richard Pixley [Wed, 16 Oct 1991 04:19:14 +0000 (04:19 +0000)]
typo in a comment.
Roland Pesch [Wed, 16 Oct 1991 03:13:36 +0000 (03:13 +0000)]
* doc/gdb.texinfo (appendix "Installing GDB"): changes in configure.
Roland Pesch [Wed, 16 Oct 1991 03:11:28 +0000 (03:11 +0000)]
Update appendix "Installing GDB". (not yet updated: list of host-vendor-os).
John Gilmore [Wed, 16 Oct 1991 02:14:39 +0000 (02:14 +0000)]
Further evolution. Remove hp-include pending real HP support.
John Gilmore [Wed, 16 Oct 1991 01:54:31 +0000 (01:54 +0000)]
Configure isn't here any more.
John Gilmore [Wed, 16 Oct 1991 01:45:32 +0000 (01:45 +0000)]
sparc-64 to sparc-ll
John Gilmore [Wed, 16 Oct 1991 01:42:56 +0000 (01:42 +0000)]
Remove configure and config.sub to ../
John Gilmore [Wed, 16 Oct 1991 01:10:42 +0000 (01:10 +0000)]
Convert
dec3100 to decstation.
John Gilmore [Wed, 16 Oct 1991 01:08:08 +0000 (01:08 +0000)]
Remove include files to bfd/hosts.
John Gilmore [Wed, 16 Oct 1991 01:06:01 +0000 (01:06 +0000)]
* configure.in, tconfig/decstation, xconfig/decstation: Rename
dec3100 to decstation.
John Gilmore [Tue, 15 Oct 1991 23:41:17 +0000 (23:41 +0000)]
* hosts/h-amix.h (free): Fix prototype.
* aoutx.h: Don't use NULL as an integer, for braindead systems
that declare it as (void *)0. (From Peter Schauer.)
John Gilmore [Tue, 15 Oct 1991 23:29:34 +0000 (23:29 +0000)]
Changes from Fred Fish:
* tm-68k.h (FPI_REGNUM): Add.
* infrun.c (child_create_inferior): flush stdout and stderr
before forking.
* configure.in: Handle amigados, amix hosts and targets.
* inflow.c: Handle TIOCGLTC_BROKEN for Amiga.
From Andreas Schwab:
* values.c (show_convenience): Use printf_filtered.
* main.c (define_command): Check result of lookup_command for
exact match.
(echo_command): Use printf_filtered, and force output out.
* dbxread.c (read_enum_type): Avoid Modula-2 kludge that breaks C
programs.
* i387-tdep.c (double_to_i387): Fix typo for double_to_ieee_extended.
* utils.c (_initialize_utils): If !ISATTY, don't paginate.
John Gilmore [Tue, 15 Oct 1991 21:52:18 +0000 (21:52 +0000)]
* hosts/h-amix.h (free): Fix prototype.
Per Bothner [Tue, 15 Oct 1991 07:29:13 +0000 (07:29 +0000)]
Add hosts directory.
Per Bothner [Tue, 15 Oct 1991 06:57:32 +0000 (06:57 +0000)]
Initial revision
Roland Pesch [Tue, 15 Oct 1991 00:46:39 +0000 (00:46 +0000)]
* doc/gdb.texinfo
(nodes Continuing and Stepping; Memory; Targets) clarifications
due to Larry Breed
Roland Pesch [Tue, 15 Oct 1991 00:43:31 +0000 (00:43 +0000)]
Clarifications to "stepping", "Displaying Memory", and "Targets" due largely
to Larry Breed
Roland Pesch [Tue, 15 Oct 1991 00:38:11 +0000 (00:38 +0000)]
New targets as.mm, as.me
Roland Pesch [Tue, 15 Oct 1991 00:35:13 +0000 (00:35 +0000)]
New targets binutils.mm, binutils.me
Roland Pesch [Tue, 15 Oct 1991 00:31:56 +0000 (00:31 +0000)]
* Makefile.in: new targets ld.mm, ld.me
(more roff forms of doc)
Per Bothner [Tue, 15 Oct 1991 00:28:43 +0000 (00:28 +0000)]
* Makefile.in, ldtemplate: Need to use separate scripts
for -n and -N options. Yet more complication.
Per Bothner [Tue, 15 Oct 1991 00:24:03 +0000 (00:24 +0000)]
* aoutx.h (NAME(aout,set_section_contents)): Try to handle the
various kinds of alignments for the various kinds of
magic numbers.
John Gilmore [Mon, 14 Oct 1991 21:56:44 +0000 (21:56 +0000)]
Revise to match config renaming.
John Gilmore [Mon, 14 Oct 1991 21:23:05 +0000 (21:23 +0000)]
Don't assume . is on the path.
Roland Pesch [Mon, 14 Oct 1991 20:36:50 +0000 (20:36 +0000)]
Catch up to changes recorded in GDB ChangeLog, to wit:
1) "show copying" and "show warranty" in sample output (instead of obs. "info")
2) new command "printpsyms"
3) Complaint "const/volatile indicator missing" re-enabled
4) Complaint "C++ type mismatch..." now "info mismatch..."
Roland Pesch [Mon, 14 Oct 1991 18:44:58 +0000 (18:44 +0000)]
Mon Oct 14 11:44:03 1991 Roland H. Pesch (pesch at cygnus.com)
* doc/Makefile (as.ms): one more sed workaround for texi2roff
Roland Pesch [Mon, 14 Oct 1991 18:43:52 +0000 (18:43 +0000)]
as.ms (roff form of documentation) target in Makefile: add one more
sed editing pass, to preprocess the more elaborate form of xref now
used in this manual into the simpler form that texi2roff can deal
with.
John Gilmore [Sat, 12 Oct 1991 07:38:07 +0000 (07:38 +0000)]
Update for new bfd/hosts.
John Gilmore [Sat, 12 Oct 1991 07:19:13 +0000 (07:19 +0000)]
Assorted patches from Fred Fish, Peter Schauer.
John Gilmore [Sat, 12 Oct 1991 07:11:48 +0000 (07:11 +0000)]
* tm-{irix3,mips,nindy960,pn,symmetry,vx960}.h: Move
REGISTER_U_ADDR to corresponding xm- file. Sugg. by Peter Schauer.
Per Bothner [Sat, 12 Oct 1991 06:43:01 +0000 (06:43 +0000)]
Fixed typo.
John Gilmore [Sat, 12 Oct 1991 06:28:15 +0000 (06:28 +0000)]
* copying.awk: Filter formfeeds out of copying & warrantee.
Make them available as `show copying' and `show warrantee' also.
John Gilmore [Sat, 12 Oct 1991 05:45:57 +0000 (05:45 +0000)]
* Makefile.in: Avoid Sun Make VPATH bugs.
* targets.c: Declare trad_core vectors extern.
John Gilmore [Sat, 12 Oct 1991 05:44:58 +0000 (05:44 +0000)]
Avoid Sun Make VPATH bugs by adding dependencies.
John Gilmore [Sat, 12 Oct 1991 05:42:05 +0000 (05:42 +0000)]
* Makefile.in: Avoid using $< in explicit Make rules (it doesn't
work). Add some lines to avoid Sun Make VPATH bugs.
Roland Pesch [Sat, 12 Oct 1991 01:20:38 +0000 (01:20 +0000)]
doc/as.texinfo: minor changes for texi2roff-2
Makefile.in: revise 'doc' target.
Roland Pesch [Sat, 12 Oct 1991 01:18:13 +0000 (01:18 +0000)]
*** empty log message ***
Roland Pesch [Sat, 12 Oct 1991 00:49:50 +0000 (00:49 +0000)]
Makefile: (1) include TEXINPUTS defn to point to texinfo.tex when calling tex
(2) new target as.ms (roff)
as.texinfo: sed-markers to make roff output pick up less-fancy form of
tables and illustrations (otherwise used by info, not TeX);
slight text chgs as workarounds for texi2roff bugs
Per Bothner [Fri, 11 Oct 1991 23:47:05 +0000 (23:47 +0000)]
* news.sc: Add alignment for data segment.
* ldtemplate: Add (yet another) script to get for -n or -N
options. (These need different alignment than ZMAGIC files.)
* Makefile.in: Add stuff for new foo.xn scripts.
These are generated by replacing "ALIGN(0x...00)" by ".".
Roland Pesch [Fri, 11 Oct 1991 23:11:17 +0000 (23:11 +0000)]
* Makefile.in: add target "binutils.ms"
Roland Pesch [Fri, 11 Oct 1991 22:51:31 +0000 (22:51 +0000)]
Slightly better comments (re doc targets).
Roland Pesch [Fri, 11 Oct 1991 22:44:11 +0000 (22:44 +0000)]
* Makefile.in: new targets ld.ms, ld-index.ms
ld.texinfo: remove tabs, other cleanups for texi2roff
Roland Pesch [Fri, 11 Oct 1991 22:42:57 +0000 (22:42 +0000)]
Support for "ld.ms", "ld-index.ms" ROFF-style doc targets.
Per Bothner [Fri, 11 Oct 1991 21:02:22 +0000 (21:02 +0000)]
* ldmain.c (main): Make config.magic_demand_paged be true
by default. Don't the WP_TEXT and D_PAGED flags of
output_bfd here; it's too late, so set it when output_bfd
is created (in ldlang.c). Also fix setting of EXEC_P flag
* ldlang.c (ldlang_open_output): Set output_bfd->flags here.
* ldlang.c: Remove some duplicate extern declarations.
* ldgram.y: Fixes to -N and -n options.
* Makefile.in: Recognize upper case letters in sed script
to remove assignments from script files.
* ldtemplate: Don't assukme that -N or -n options
imply use of -r script.
* mkscript.c: Tweaking to correctly handle \n and \\ in input.
Per Bothner [Fri, 11 Oct 1991 20:45:29 +0000 (20:45 +0000)]
* coffcode.h: Moved ALIGN macro to libbfd.h. Removed i960_align.
* libbfd.h: Moved ALIGN macro here.
* bout.c (b_out_callback): Replace i960_align by align_power.
* libaout.h (struct aoutdata): Added fields page_size,
segment_size and exec_bytes_size. These help generic code
(in aoutx.h and libaout.h) to figure out where to align
the various segments in a demand paged file.
* libaout.h (WRITE_HEADER): Use new (struct aoutdata) fields
to decide if the exec header counts in a_text (text segment size).
Also, assume D_PAGED flag is set; don't set it here.
* bout.c (b_out_callback): Add initialization of
adata fields page_size, segment_size, and exec_bytes_size.
* host-aout.c (NAME(host_aout, callback) and
NAME(host_aout,mkobject): Ditto.
* i386aout.c (aout386_callback) and new aout386_mkobject): Ditto.
* newos3.c (newsos3_callback) and new newsos_mkobject): Ditto.
* aoutf1.c (sunos4_callback) and new sunos_mkobject): Ditto.
* aoutx.h (NAME(aout,some_aout_object_p)): Don't subtract
EXEC_BYTES_SIZE from the a_test size; this is only appropriate
for some systems (mainly sunos), so do it in the callback instead.
Same routine: Add stuff to the THIS_IS_ONLY_DOCUMENTATION comment.
* aoutx.h (NAME(aout,set_section_contents): Change the way
filepos and size of sections are carried out to support
older styles of demand paged executables.
Roland Pesch [Fri, 11 Oct 1991 19:52:56 +0000 (19:52 +0000)]
* binutils.texinfo: minor restructuring for texi2roff comfort.
(said "makeinfo" rather than "texi2roff" by mistake in CVS log for binutils.
This one's right. Good thing, since this one's the distributed log...
Roland Pesch [Fri, 11 Oct 1991 19:50:14 +0000 (19:50 +0000)]
More literal adherence to "standard" texinfo usage of @tex, @title, @author,
etc., for makeinfo's comfort.
Steve Chamberlain [Fri, 11 Oct 1991 19:44:01 +0000 (19:44 +0000)]
* bfd.h:upgrade from bfd.c
* internalcoff.h: add n_name, n_zeroes and n_offset macros
* amdcoff.h: Define OMAGIC and AOUTHDRSZ.
Steve Chamberlain [Fri, 11 Oct 1991 19:39:29 +0000 (19:39 +0000)]
* bfd-in.h: Added more macros to COFF_SWAP_TABLE.
* bfd.c: Added macros to enable gas to swap coff records.
* coffcode.h: Make the coff_swap_*_out routines return the number
of bytes swapped, and cleaned up their prototypes.
* configure.in: Added ebmon/coff support
* ecoff.c: Changed null definitions of coff_swap_*_out to conform
to new prototypes
* targets.c: Added new entry points for coff swapping
Steve Chamberlain [Fri, 11 Oct 1991 19:32:25 +0000 (19:32 +0000)]
*** empty log message ***
Steve Chamberlain [Fri, 11 Oct 1991 19:32:24 +0000 (19:32 +0000)]
Initial revision
Steve Chamberlain [Fri, 11 Oct 1991 19:31:15 +0000 (19:31 +0000)]
* Makefile.in, config.h, configure.in, ldemul.c: added ebmon29k
stuff
Per Bothner [Fri, 11 Oct 1991 18:01:05 +0000 (18:01 +0000)]
* a.out.host.h: Change SEGMENT_SIZE to 0x1000 for Sony.
* bfd.h (align_power): Add (actually move) comment.
Steve Chamberlain [Fri, 11 Oct 1991 17:30:20 +0000 (17:30 +0000)]
* ldtemplate: include bfd.h before sysdep.h.
Steve Chamberlain [Fri, 11 Oct 1991 16:50:53 +0000 (16:50 +0000)]
Added ebmon to os list