Fred Fish [Thu, 24 Oct 1991 10:38:56 +0000 (10:38 +0000)]
Add new function warning() which behaves the same as error() but returns
rather than jumping back to command level. Modules that want to print
their own warnings without calling warning() can call warning_setup() to
handle the terminal compatibly with warning() and error().
Fred Fish [Thu, 24 Oct 1991 10:29:07 +0000 (10:29 +0000)]
Make internal errors produce more useful messages.
Fred Fish [Thu, 24 Oct 1991 10:26:26 +0000 (10:26 +0000)]
Add partial support for ELF format corefiles. Still needs code to extract
register values from corefiles and make them available to bfd clients.
Fred Fish [Thu, 24 Oct 1991 10:21:41 +0000 (10:21 +0000)]
Move code duplicated in almost every single m68k based machine to the
common target file tm-68k.h. Duplications still need to be removed (FIXME).
Fred Fish [Thu, 24 Oct 1991 09:26:05 +0000 (09:26 +0000)]
System V versions must call setpgrp() with no arguments, to comply with
prototyping typically in <unistd.h>. Otherwise the compile fails, at
least with gcc.
Fred Fish [Thu, 24 Oct 1991 09:16:41 +0000 (09:16 +0000)]
In config/t-m68k-elf, set DEFAULT_VECTOR to elf_big_vec.
Fred Fish [Thu, 24 Oct 1991 09:10:41 +0000 (09:10 +0000)]
Document change to config/hmake-sysv to send RANLIB (echo) output to /dev/null.
Fred Fish [Thu, 24 Oct 1991 09:06:06 +0000 (09:06 +0000)]
Document changes to some bfd config files.
Fred Fish [Thu, 24 Oct 1991 09:00:51 +0000 (09:00 +0000)]
For systems where RANLIB is defined as echo, send the output to /dev/null
to help reduce clutter in the output from doing a make.
Fred Fish [Thu, 24 Oct 1991 08:54:58 +0000 (08:54 +0000)]
Add support for SVR4 style nm output. Not claimed to be optimal, I'm not
a sed hacker. It does seem to work fine.
Fred Fish [Thu, 24 Oct 1991 08:42:20 +0000 (08:42 +0000)]
Remove the object file specific fields from the partial symbol table
structure and replace them with a pointer to private data for each
different flavor of object file reader to initialize appropriately.
Heinz G. Seidl [Thu, 24 Oct 1991 00:23:59 +0000 (00:23 +0000)]
Allow for using tmake-sun4
K. Richard Pixley [Wed, 23 Oct 1991 21:48:28 +0000 (21:48 +0000)]
Makefiles should include the makefile frag names even if the makefile
frag doesn't exist in *this* directory. Otherwise we inherit the
variable setting from our parent Makefile.
John Gilmore [Wed, 23 Oct 1991 18:12:20 +0000 (18:12 +0000)]
Add note about strstr botch on sunos4.0.3c and previous.
K. Richard Pixley [Wed, 23 Oct 1991 05:35:13 +0000 (05:35 +0000)]
BISONPATH is now unused. remove it.
K. Richard Pixley [Wed, 23 Oct 1991 05:32:55 +0000 (05:32 +0000)]
add clib
K. Richard Pixley [Wed, 23 Oct 1991 05:00:45 +0000 (05:00 +0000)]
removed unused CC and CFLAGS lines
Stu Grossman [Wed, 23 Oct 1991 01:06:36 +0000 (01:06 +0000)]
* infrun.c (wait_for_inferior): Check return value from
find_pc_line.
Stu Grossman [Wed, 23 Oct 1991 01:05:57 +0000 (01:05 +0000)]
*** empty log message ***
Steve Chamberlain [Tue, 22 Oct 1991 03:26:06 +0000 (03:26 +0000)]
tmake-ebmon
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.