Steve Chamberlain [Thu, 27 Feb 1992 17:24:13 +0000 (17:24 +0000)]
Why didn't it start emacs
John Gilmore [Thu, 27 Feb 1992 16:28:59 +0000 (16:28 +0000)]
* breakpoint.h (ALL_BREAKPOINTS_SAFE): Add.
* breakpoint.c (breakpoint_re_set): Use ALL_BREAKPOINTS_SAFE.
* symtab.c (find_pc_symtab): Handle having no objfiles.
* infcmd.c: Fix comment.
* objfiles.c (free_all_objfiles): Add.
* symfile.h (ALL_OBJFILES, ALL_OBJFILES_SAFE): Add.
* symfile.c (symbol_file_command): free all objfiles when
specifying a new symbol file.
(reread_symbols): Stat the file name, don't fstat the descriptor.
John Gilmore [Thu, 27 Feb 1992 14:24:36 +0000 (14:24 +0000)]
Update `dependency' files so that Make will build the right things at
the right times.
John Gilmore [Thu, 27 Feb 1992 14:15:41 +0000 (14:15 +0000)]
Remove running log from .Sanitize.
Steve Chamberlain [Thu, 27 Feb 1992 03:52:15 +0000 (03:52 +0000)]
Wed Feb 26 19:40:59 1992 Steve Chamberlain (sac at thepub.cygnus.com)
* bfd.c: lint
* coff-h8300.c: fix stupid reloc subtraction bug
* coffcode.h (coff_swap_aux_out): only swap a tvndx by 2 bytes,
since that's how wide it is. (coff_slurp_symbol_table): always zero out
the symbol.flags and done_lineno fields.
Steve Chamberlain [Thu, 27 Feb 1992 03:37:37 +0000 (03:37 +0000)]
H8 bitrot fixes
Michael Tiemann [Wed, 26 Feb 1992 08:54:09 +0000 (08:54 +0000)]
Keep a.out.gnu.h, not a.out.h (which no longer exists).
Michael Tiemann [Wed, 26 Feb 1992 07:49:24 +0000 (07:49 +0000)]
If we're going to keep gnulib, we might as well keep libgcc.
Michael Tiemann [Wed, 26 Feb 1992 07:04:57 +0000 (07:04 +0000)]
Don't clobber newlib.
Steve Chamberlain [Wed, 26 Feb 1992 06:11:47 +0000 (06:11 +0000)]
* expr.c: If an expression is single comma, then return with
SEG_ABSENT rather than an error - since the sparc front end does
really strange things with things like fbge,a
Heinz G. Seidl [Wed, 26 Feb 1992 02:20:45 +0000 (02:20 +0000)]
changed prms to send_pr
Roland Pesch [Tue, 25 Feb 1992 23:49:22 +0000 (23:49 +0000)]
Fix one overlooked instance of "+" option prefix in configure appendix.
Steve Chamberlain [Tue, 25 Feb 1992 22:27:44 +0000 (22:27 +0000)]
* as.h: include bfd.h if using many sections
* expr.c: LOCAL_LABELS_FB had been changed to lower case - so
local labels didn't work.
* listing.c (list_symbol_table): don't core dump when there's no
symbol there.
* write.c, write.h: call fix_new with the right number of args on
the H8.
* config/tc-h8300.[ch] : fix bugs reported by HMSI, and make
errors nicer
K. Richard Pixley [Tue, 25 Feb 1992 01:08:38 +0000 (01:08 +0000)]
mkdir $(infodir) on install-info.
Steve Chamberlain [Mon, 24 Feb 1992 18:25:19 +0000 (18:25 +0000)]
Don't remove underlines
Michael Tiemann [Mon, 24 Feb 1992 13:54:45 +0000 (13:54 +0000)]
Keep Makefile.in and configure.in. Don't keep Makefile.
Fred Fish [Sun, 23 Feb 1992 05:25:21 +0000 (05:25 +0000)]
Add gdbtypes.c gdbtypes.h minsyms.c mmap-alloc.c mmap-sbrk.c objfiles.c
solib.h state.c and state.h
Steve Chamberlain [Sat, 22 Feb 1992 20:45:24 +0000 (20:45 +0000)]
* app.c: MRI compatibility - allow single quote to start a string.
* as.c: fix typo recently introduced.
* as.h : Don't include aout/reloc.h - it's not right for COFF!
* expr.c: Much rewriting, to accomodate MRI syntax for
expressions. Also easier to read now.
* listing.c: Put back defuns
* read.c: modified to accept MRI syntax, put back listing pseudo
ops so that an assembler built with NO_LISTING ignores list ops
rather than pukes.
* write.c, write.h: fixs - only keep a reloc type in a fix if the target
machine is a SPARC or a 29K.
* config/obj-aout.c: added s_sect pseudo op
* config/obj-coffbfd.c: lints, set the filehdr flags right and
fill in the timestamp.
* config/obj-coffbfd.h: Since we don't include aout/reloc.h
anymore, define all the relocs which the tc-<x> bit will use so we
can translate from them to the coff types.
* config/tc-a29k.c: reloc_type isn't ane enum any more
* config/tc-m68k.c: Added NO_RELOC definition.
Now compiles for sparc aout, 68k aout (MRI and MIT syntax),
29k coff.
So far works as replacement for sparc and 68k /bin/as.
Steve Chamberlain [Sat, 22 Feb 1992 17:30:50 +0000 (17:30 +0000)]
Made less things defined by default, now builds on sun3 and sun4.
John Gilmore [Sat, 22 Feb 1992 10:17:37 +0000 (10:17 +0000)]
Roll VERSION to 4.4.4 for post-Stu changes.
John Gilmore [Sat, 22 Feb 1992 10:04:50 +0000 (10:04 +0000)]
* symfile.c (symbol_file_command): strcmp => !strcmp.
* breakpoint.h: Move prototypes to follow enum definition they need.
* breakpoint.c, infrun.c: Lint.
* printcmd.c: Use `enum enable' rather than `enum
display_status'.
* mipsread.c: First pass at making it compile with the new
objfile changes. Probably seriously broken still, but it
compiles. FIXME.
John Gilmore [Sat, 22 Feb 1992 09:16:11 +0000 (09:16 +0000)]
Saberlint.
* symmisc.c, xcoffread.c: Move debug functions to symmisc.c.
Stu Grossman [Sat, 22 Feb 1992 09:06:58 +0000 (09:06 +0000)]
* infrun.c, infcmd.c, breakpoint.c, main.c, symfile.c,
breakpoint.h, tm-sun4os4.h, tm-sparc.h, sparc-tdep.c, tm-mips.h,
mips-tdep.h, tm-sun3.h, tm-68k.h, m68k-tdep.h: Add support for
stepping (and nexting) through longjmp(). Also, cleanup
breakpoint handling quite a bit by creating explicit breakpoint
types instead of using magic breakpoint numbers.
Makefile.in: Update version to 4.4.3
John Gilmore [Sat, 22 Feb 1992 08:17:01 +0000 (08:17 +0000)]
* xm-sun3os4.h, xm-sun4os4.h: Enable HAVE_MMAP.
* minsyms.c (install_minimal_symbols): Add bunches to any
existing minsyms in the objfile. Avoid extra mallocation
by working directly in the obstack. Remove ignored `mainline' parm.
* coffread.c, dbxread.c, elfread.c, mipsread.c, solib.c, symtab.h,
xcoffread.c: Change all callers.
* FIXME: We should be able to eliminate MAINLINE from all the
symbol readers now, with a small bit of work.
* valops.c, value.h: Lint.
* remote-vx.c: Add missing break; statement. Bugfix by
Michael Sclafani, <sclafani@src.dec.com>.
John Gilmore [Sat, 22 Feb 1992 05:48:27 +0000 (05:48 +0000)]
* obstack.h: Add obstack_full_begin.
* bfd.h, obstack.h: Protolint.
Steve Chamberlain [Sat, 22 Feb 1992 03:06:02 +0000 (03:06 +0000)]
Tandem/MRI syntax bit rot
John Gilmore [Sat, 22 Feb 1992 01:46:16 +0000 (01:46 +0000)]
* Check in Fred Fish's changes in these modules. Fred
will make ChangeLog entries for all of them.
Steve Chamberlain [Sat, 22 Feb 1992 00:25:24 +0000 (00:25 +0000)]
More dos scripts
Steve Chamberlain [Sat, 22 Feb 1992 00:24:13 +0000 (00:24 +0000)]
How to compile gas on a PC
Steve Chamberlain [Sat, 22 Feb 1992 00:23:03 +0000 (00:23 +0000)]
More renames from DJ the DOS martyr
Steve Chamberlain [Sat, 22 Feb 1992 00:18:39 +0000 (00:18 +0000)]
Increase the dososity
Steve Chamberlain [Sat, 22 Feb 1992 00:17:21 +0000 (00:17 +0000)]
Remeber this one too!
Steve Chamberlain [Sat, 22 Feb 1992 00:14:17 +0000 (00:14 +0000)]
New files for DOSness
Steve Chamberlain [Sat, 22 Feb 1992 00:11:39 +0000 (00:11 +0000)]
DJ naming change
Steve Chamberlain [Fri, 21 Feb 1992 23:06:42 +0000 (23:06 +0000)]
Dj renaming
Steve Chamberlain [Fri, 21 Feb 1992 23:06:30 +0000 (23:06 +0000)]
DJ renaming
Steve Chamberlain [Fri, 21 Feb 1992 22:55:08 +0000 (22:55 +0000)]
DOS file name change
Steve Chamberlain [Fri, 21 Feb 1992 22:54:39 +0000 (22:54 +0000)]
Name change for DJ
Steve Chamberlain [Fri, 21 Feb 1992 22:39:54 +0000 (22:39 +0000)]
* readline.c, examples/fileman.c: patches from DJ to support
DOS
Steve Chamberlain [Fri, 21 Feb 1992 19:06:34 +0000 (19:06 +0000)]
* coffcode.h (coff_swap_aux_in): lint, (coff_print_symbol): prints
out tagndx too.
* aoutx.h (swap_std_reloc_out, swap_ext_reloc_out): use the output
section of a symbol rather than the section of a reffed symbol to
determine the r_index of an emmitted reloc.
K. Richard Pixley [Fri, 21 Feb 1992 14:28:34 +0000 (14:28 +0000)]
cvs bug, these files should not have been checked in.
K. Richard Pixley [Fri, 21 Feb 1992 14:21:54 +0000 (14:21 +0000)]
be more cautious with tranle's patches
K. Richard Pixley [Fri, 21 Feb 1992 11:58:52 +0000 (11:58 +0000)]
moved from gas/a.out.gnu.h to gas/config/a.out.gnu.h
K. Richard Pixley [Fri, 21 Feb 1992 11:37:01 +0000 (11:37 +0000)]
minor reorg of tranlee's stuff
K. Richard Pixley [Fri, 21 Feb 1992 11:06:41 +0000 (11:06 +0000)]
new files from tranlee
K. Richard Pixley [Fri, 21 Feb 1992 11:04:51 +0000 (11:04 +0000)]
changes from Minh Tran-Le <TRANLE@INTELLICORP.COM> to support i386
coff as it appears to be used on aix386.
K. Richard Pixley [Fri, 21 Feb 1992 09:10:45 +0000 (09:10 +0000)]
from hack's unfinished work
K. Richard Pixley [Fri, 21 Feb 1992 09:09:51 +0000 (09:09 +0000)]
tell about using doc
K. Richard Pixley [Fri, 21 Feb 1992 09:08:37 +0000 (09:08 +0000)]
don't keep *.dvi
K. Richard Pixley [Fri, 21 Feb 1992 09:05:26 +0000 (09:05 +0000)]
doc. bring it in, use it.
Stu Grossman [Fri, 21 Feb 1992 07:28:31 +0000 (07:28 +0000)]
* readline.c (rl_read_init_file): Make sure that null filename is
not passed to open() or else we end up opening the directory, and
read a bunch of garbage into keymap[].
Per Bothner [Fri, 21 Feb 1992 05:56:57 +0000 (05:56 +0000)]
* PORTING: New (preliminary) porting guide.
John Gilmore [Fri, 21 Feb 1992 03:35:37 +0000 (03:35 +0000)]
* tm-sparc.h, tm-sysv4.h, solib.h: Move shared lib definitions
into solib.h.
* sparc-pinsn.c, sparc-tdep.c, standalonec, sun3-xdep.c,
sun386-xdep.c, symm-xdep.c, target.c, ultra3-xdep.c, utils.c,
value.h: Prototypes for static functions; lint.
* gdbtypes.h: Empty file to ease transition.
Per Bothner [Fri, 21 Feb 1992 01:59:57 +0000 (01:59 +0000)]
* Makefile.in: Change mkscript rule into one for ./mkscript
(for the sake of makes that don't realize they're the same).
* PORTING: Add more details.
* genscripts.sh: Add more tailorability of DATA_ALIGNMENT.
John Gilmore [Fri, 21 Feb 1992 01:40:57 +0000 (01:40 +0000)]
* xm-amix.h, xm-i386v4.h, xm-stratus.h: Define NORETURN to avoid
complaints about volatile functions.
* xm-sysv4.h (HAVE_MMAP): Define.
John Gilmore [Fri, 21 Feb 1992 01:35:32 +0000 (01:35 +0000)]
* core.c, exec.c, solib.c: Rename target_ops sections =>
to_sections, etc.
* infcmd.c, inflow.c, infptrace.c, infrun.c, main.c, target.c,
target.h: target_kill takes no args.
John Gilmore [Fri, 21 Feb 1992 01:34:46 +0000 (01:34 +0000)]
* core.c, eval.c, exec.c, inftarg.c, remote-adapt.c, remote-eb.c,
remote-hms.c, remote-mm.c, remote-nindy.c, remote-vx.c, remote.c,
target.c, target.h, valarith.c, valops.c, value.h, xcoffexec.c:
Remove to_call_function and target_call_function, since it
always calls the same thing (call_function_by_hand).
John Gilmore [Fri, 21 Feb 1992 01:33:14 +0000 (01:33 +0000)]
* core.c, exec.c, infrun.c, inftarg.c, language.c, remote.c,
signame.c, sparc-xdep.c: Prototypes for all static functions. Lint.
John Gilmore [Fri, 21 Feb 1992 01:31:56 +0000 (01:31 +0000)]
* environ.h, expression.h, frame.h, gdbcmd.h, gdbcore.h,
inferior.h, language.h, signame.h, target.h, terminal.h,
tm-68k.h, tm-i386v.h, tm-sparc.h, tm-sun386.h, tm-symmetry.h,
xm-i386v.h, xm-sparc.h: Prototypes for all external functions.
Lint.
John Gilmore [Thu, 20 Feb 1992 19:23:42 +0000 (19:23 +0000)]
* defs.h: Include ansidecl.h and PARAMS macro. Use PARAMS
to make prototypes for all functions declared here.
* cplus-dem.c: Avoid declaring xmalloc and xrealloc.
* c-exp.y: Rename SIGNED, OR, and AND to avoid conflict.
* environ.c: Include <stdio.h> before defs.h. Minor cleanup.
* ieee-float.h: Use PARAMS for prototypes; make some params const.
* ieee-float.c, valarith.c: Include <stdio.h>. Lint. b*=>mem*.
* m2-exp.y: Remove unused CONST; Rename OR and AND.
* utils.c: Avoid declaring malloc and realloc. Lint.
(request_quit): Accept signal-number parameter.
John Gilmore [Thu, 20 Feb 1992 16:31:21 +0000 (16:31 +0000)]
* bout.c (callj_callback), coff-a29k.c (a29k_reloc), coff-m88k.c
(howto_hvrt16): lint.
John Gilmore [Thu, 20 Feb 1992 05:25:34 +0000 (05:25 +0000)]
* coffread.c (decode_base_type): Pass long, not union.
Fix by Eric Valette, ev@chorus.fr.
John Gilmore [Wed, 19 Feb 1992 23:59:37 +0000 (23:59 +0000)]
Mention the "dir" commands in the .gdbinit file, too.
John Gilmore [Wed, 19 Feb 1992 23:42:09 +0000 (23:42 +0000)]
* configure.texi: Explain better about .gdbinit and about
the environment that configure.in sections run in.
K. Richard Pixley [Tue, 18 Feb 1992 11:27:34 +0000 (11:27 +0000)]
pulled in from hack's unfinished work
K. Richard Pixley [Tue, 18 Feb 1992 11:25:11 +0000 (11:25 +0000)]
prepping for configure
K. Richard Pixley [Tue, 18 Feb 1992 10:24:13 +0000 (10:24 +0000)]
white space and comments only
K. Richard Pixley [Tue, 18 Feb 1992 10:23:18 +0000 (10:23 +0000)]
add note about i860 relocation types
K. Richard Pixley [Tue, 18 Feb 1992 10:22:46 +0000 (10:22 +0000)]
use the new atof-ns32.c for ns32k.
K. Richard Pixley [Tue, 18 Feb 1992 10:21:45 +0000 (10:21 +0000)]
comment change only
K. Richard Pixley [Tue, 18 Feb 1992 10:20:20 +0000 (10:20 +0000)]
tc-i860.[hc]: blew off the dust. Something must still be done about
conflicting relocation types.
K. Richard Pixley [Tue, 18 Feb 1992 10:18:32 +0000 (10:18 +0000)]
keep ChangeLog
K. Richard Pixley [Tue, 18 Feb 1992 10:18:05 +0000 (10:18 +0000)]
Replaced previous tc_aout_fix_to_chars stub with the real thing.
K. Richard Pixley [Tue, 18 Feb 1992 10:13:57 +0000 (10:13 +0000)]
keep the new file
K. Richard Pixley [Tue, 18 Feb 1992 10:13:09 +0000 (10:13 +0000)]
delete duplicate macro definition
K. Richard Pixley [Tue, 18 Feb 1992 10:11:07 +0000 (10:11 +0000)]
copied from hack's last unreleased gas
Fred Fish [Tue, 18 Feb 1992 01:20:46 +0000 (01:20 +0000)]
* readline.c (readline_default_bindings): Only make use of VLNEXT
when both VLNEXT and TERMIOS_TTY_DRIVER is defined. On SVR4
<termio.h> includes <termios.h>, so VLNEXT is always defined.
* sysdep-norm.h (_POSIX_VERSION): Define this for all SVR4
systems so that <termios.h> gets used, instead of <termio.h>.
Fred Fish [Mon, 17 Feb 1992 23:26:54 +0000 (23:26 +0000)]
Add code to handle TAG_pointer_type DIE's (DWARF Information Entries)
that are produced by the i486/SVR4 MetaWare compiler, but not by the
AT&T or GCC compilers.
Per Bothner [Mon, 17 Feb 1992 20:08:20 +0000 (20:08 +0000)]
New hp300bsd port.
Per Bothner [Mon, 17 Feb 1992 20:04:21 +0000 (20:04 +0000)]
* hp300bsd.c (new), config/mt-hp300bsd: Make hp300bsd
a full configuration (with possible cross-development),
instead of using host-aout.c.
K. Richard Pixley [Mon, 17 Feb 1992 16:02:58 +0000 (16:02 +0000)]
record that files were removed
K. Richard Pixley [Mon, 17 Feb 1992 15:54:49 +0000 (15:54 +0000)]
fighting bitrot in a major way
Fred Fish [Mon, 17 Feb 1992 15:23:05 +0000 (15:23 +0000)]
When creating user defined types for subroutine and array types, check
first to see if a partial type already exists due to a forward reference,
and if so, bash it to fit.
Per Bothner [Sun, 16 Feb 1992 22:42:44 +0000 (22:42 +0000)]
Hack so it Sanitizes cleanly.
Per Bothner [Sun, 16 Feb 1992 21:05:54 +0000 (21:05 +0000)]
* aout-target.h (MY(write_object_contents):
Set obj_reloc_entry_size (abfd).
* gen-aout.c: Change to emit a .c files, not a .h file.
Per Bothner [Sun, 16 Feb 1992 20:58:45 +0000 (20:58 +0000)]
* Makefile.in: Bump version to 1.96, and remove -beta
suffix from distribution name.
* m68k-pinsn.c: New macro COERCE_SIGNED_CHAR to extract
the signed value of a character (even if chars are unsigned).
* sparc-pinsn.c: Add new operand types.
Per Bothner [Sun, 16 Feb 1992 20:49:26 +0000 (20:49 +0000)]
*** empty log message ***
Roland Pesch [Sun, 16 Feb 1992 01:46:59 +0000 (01:46 +0000)]
Two typos fixed, spotted by Jim Irwin of WRS
Roland Pesch [Sun, 16 Feb 1992 01:39:35 +0000 (01:39 +0000)]
Fix missing user-font lines in introductory example (spotted by J Irwin,
WRS).
Per Bothner [Sat, 15 Feb 1992 23:13:00 +0000 (23:13 +0000)]
* Makefile.in: Major changes. Removed some the sed
magic to converts scripts, since that is now handled
by genscripts.sh and the *.sc-sh scipt generators.
* config.h: Remove a bunch of macros defining emulations
and targets. This becomes one less file to edit when
adding emulations or targets.
* ldemul.h (struct ld_emulation_xfer_struct): Add
emulation_name and target_name fields.
* ldemul.c, ldemul.h: Define some default functions used
by most emulations (and remove from the *.em scripts).
* ldemul.c (ldemul_choose_target): Search the new
ld_emulations array using a loop (instead of a hardwired
nested if statement).
Define the ld_emulation from the automatically-geenrated
ldemul-list.h. This means you no longer have to edit ldemul.c
to add a new emulation.
* ldmain.c: Replace {GLD,LNK}960_EMULATION_NAME by
their expansions, since the former no longer exist.
* PORTING: A very rough first draft of a porting guide.
Per Bothner [Sat, 15 Feb 1992 22:21:43 +0000 (22:21 +0000)]
* config/mt-foo: Changed EMUL=GLDFOO_EMULATION_NAME
to EMUL=foo. (The GLDFOO_EMULATION_NAMEs have bee removed.)
* config/mh-foo: Rename LDEMULATION names as appropriate
(usually 'gldfoo' -> plain 'foo').
Per Bothner [Sat, 15 Feb 1992 22:13:53 +0000 (22:13 +0000)]
Major rewrite of how ld is configured. The major idea
is to use shell scripts to generate everything.
* Each emulation is defined by a short shell script with
extension *.sh that specifies the emulation-specific
parameters (such as the name of the *.sh-sc and *.em
files to use).
* genscript.sh is the master shell script used to generate
an emulation. It is passed various argument, including
the name a the emulation-speciic *.sh file that it
"sources" to set variables to emulation-specifc parameters.
Per Bothner [Sat, 15 Feb 1992 22:07:15 +0000 (22:07 +0000)]
Major rewrite of how ld is configured. The major idea
is to use shell scripts to generate everything.
* generic.em replaces ldtemplate.
* Other *.em files replace various *.c files.
A *.em file is a shell script that generates the corresponding
ld__*.c file that implements an emulation. This is usually
a straight 'cat' of a here-document, possibly with substitutions.
* Script files (*.sc) are places by *.sc-sh scripts.
Again, these are simple shell scripts that 'cat'
here-documents, usually with some substitutions.
The output a *.sc-sh is a script file.
K. Richard Pixley [Sat, 15 Feb 1992 21:13:03 +0000 (21:13 +0000)]
White space and comment changes. #ifdef __STDC__ becomes #if __STDC__
== 1. Get the declarations right in listing.[hc].
K. Richard Pixley [Sat, 15 Feb 1992 21:09:34 +0000 (21:09 +0000)]
White space and comment changes, and #ifdef __STDC__ becomes #if
__STDC__ == 1.
Fred Fish [Fri, 14 Feb 1992 04:13:53 +0000 (04:13 +0000)]
Remove obsolete use of BSF_ABSOLUTE and replace with bfd_abs_section ref.
Steve Chamberlain [Fri, 14 Feb 1992 02:29:39 +0000 (02:29 +0000)]
pointer lint and tandem target.
Steve Chamberlain [Fri, 14 Feb 1992 01:48:00 +0000 (01:48 +0000)]
Fix typeo which crept in between compiling and checking in
Steve Chamberlain [Fri, 14 Feb 1992 01:37:56 +0000 (01:37 +0000)]
* coffcode.h (get_normalized_symtab): fixed bug where symbols
with more than one auxent can cause nasty core dumps.
Fred Fish [Fri, 14 Feb 1992 01:22:12 +0000 (01:22 +0000)]
Fix code in elf_symtab_read which attempts to read the standard ELF
symbol table and add symbol information to the misc function vector.
This allows minimum functionality with non -g compiled code, and is
vital for use with shared libraries (non of which are currently
compiled with -g).
Note to anyone doing any SVR4/gdb work. This bug was introduced into
gdb just prior to the gdb 4.4 release, thus any versions currently
in the field will have broken shared library support since no symbol
information at all will be available for the shared library. This
fix, along with one about to go into bfd's elf.c should fix that
problem.