Steve Chamberlain [Tue, 3 Mar 1992 07:07:26 +0000 (07:07 +0000)]
* printcmd.c (print_address): if ADDR_BITS_REMOVE is defined, use
it before printing out the hex shape of an address.
Steve Chamberlain [Tue, 3 Mar 1992 07:05:23 +0000 (07:05 +0000)]
* gdbtypes.c (lookup_pointer_type): initialize the TYPE_LENGTH of
a ptype to reflect the setting of TARGET_PTR_BIT. Set the
TYPE_FLAGS of a ptype to TYPE_FLAG_UNSIGNED.
* tm-h8300.h, h8300-tdep.c, remote-hms.c: personal checkpoint
* printcmd.c (print_address): if ADDR_BITS_REMOVE is defined, use
it before printing out the hex shape of an address.
Fred Fish [Mon, 2 Mar 1992 23:38:23 +0000 (23:38 +0000)]
Check in ChangeLog entries for the recent massive changes for prototypes,
objfile changes, etc.
Steve Chamberlain [Mon, 2 Mar 1992 22:22:59 +0000 (22:22 +0000)]
Modifed to care about semi colons again, newlines are ignored - sorry
Per.
Per Bothner [Mon, 2 Mar 1992 06:46:32 +0000 (06:46 +0000)]
* rs6000-xdep.c (frame_initial_stack_address): Move
code to set frame->cache_fsr into new separate function
frame_get_cacahe_fsr. This allows fixing a fatal error.
* xcoffexec.c: Turn previously suppressed error
message back on, after cleaning up BFD.
Per Bothner [Mon, 2 Mar 1992 06:39:32 +0000 (06:39 +0000)]
New file: rs6000-core.c.
Per Bothner [Mon, 2 Mar 1992 01:55:31 +0000 (01:55 +0000)]
More changes, mostly from IBM for rs6000. (See ChangeLog.)
Fred Fish [Sun, 1 Mar 1992 21:20:04 +0000 (21:20 +0000)]
xm-sysv4.h: Provide definitions/prototypes for host environment
functions for which no definitions or prototypes are provided in
any currently included gdb or host environment header files.
For SVR4, this currently includes malloc and realloc, which cannot
be portably prototyped in any gdb include file.
Michael Tiemann [Sun, 1 Mar 1992 12:45:17 +0000 (12:45 +0000)]
Make the declarations of fix_new consistent under __STDC__. It might
be better to #define NEED_FX_R_TYPE in TC_A29K and TC_SPARC instead of
having this complicated conditional, but that's not my call.
Per Bothner [Sun, 1 Mar 1992 01:08:35 +0000 (01:08 +0000)]
Forgot these two from previous check-in of rs6000 stuff.
Per Bothner [Sun, 1 Mar 1992 01:04:13 +0000 (01:04 +0000)]
More changes, mostly from IBM, for the rs6000. See ChangeLog.
Michael Tiemann [Sat, 29 Feb 1992 21:59:47 +0000 (21:59 +0000)]
* Makefile.in (strerror.o): Add rule so that broken Sun make can
work in subdirs.
Per Bothner [Sat, 29 Feb 1992 06:03:43 +0000 (06:03 +0000)]
Mostly rs6000 changes from IBM.
Per Bothner [Sat, 29 Feb 1992 04:44:27 +0000 (04:44 +0000)]
* aoutx.h (NAME(aout,print_symbol)): Don't print
symbol addresss for undefined symbols.
* coff-rs6000.c: Various updates (due to target-
independent changes).
* libbfd.h: Ditto (tdata field is now a union).
* hosts/h-sparc.h: Removed prototype for bogus function
'emset' (presumably should have been 'memset' - which is there).
Per Bothner [Fri, 28 Feb 1992 06:07:16 +0000 (06:07 +0000)]
* wait.h (WIFSTOPPED): Add IBM rs6000-specific version.
Stu Grossman [Fri, 28 Feb 1992 04:10:02 +0000 (04:10 +0000)]
* breakpoint.c (breakpoint_re_set_one): Don't reset breakpoint
unless symbol table indicates that something has changed.
John Gilmore [Fri, 28 Feb 1992 03:26:45 +0000 (03:26 +0000)]
* remote.c: Make it work for embedded MIPS. Increase buffer
size, and use throughout. Round buffer size up if too many regs.
Support baud rate setting and try for an 8-bit path. If
interrupted while waiting for target, send a ^C down the wire.
Avoid single-byte reads.
* tm-mips.h: Add more embedded-system registers to REGISTER_NAMES
and NUM_REGS.
* mips-xdep.h: Avoid the embedded regs when on Unix.
Roland Pesch [Fri, 28 Feb 1992 01:01:24 +0000 (01:01 +0000)]
Hard-code "@appendix" instead of "@chapter" at the beginning of each of these.
This will eventually be supported with a trivial macro, but those aren't
standard texinfo yet; in the meantime, I think GDB is the only manual we
print that uses these---and it wants appendices.
Roland Pesch [Fri, 28 Feb 1992 00:42:40 +0000 (00:42 +0000)]
* Phrasing of "disassemble" description improved (less wordy, avoids widow in
small format)
* typo in index entry type fixed
* example of nonexistent configuration, in config appendix, slightly more
far-fetched
Roland Pesch [Fri, 28 Feb 1992 00:39:11 +0000 (00:39 +0000)]
Added disclaimer (requested by WRS) on how procedures described for
connecting to VxWorks may change in future releases of VxWorks.
John Gilmore [Fri, 28 Feb 1992 00:37:03 +0000 (00:37 +0000)]
* mipsread.c: Byte-swap the symbol table structures, using
routines from ecoff.c, to read a symbol table written in any
of the four possible byte orders.
John Gilmore [Thu, 27 Feb 1992 19:56:52 +0000 (19:56 +0000)]
* config/mt-bigmips, config/mt-littlemips: Add ecoff.o.
John Gilmore [Thu, 27 Feb 1992 19:56:28 +0000 (19:56 +0000)]
* configure.in (mips-big-* target): Same as Sony News.
* config/mt-bigmips, config/mt-littlemips: Add ecoff.o.
* ecoff.c: New file for symbol swapping routines.
John Gilmore [Thu, 27 Feb 1992 19:53:49 +0000 (19:53 +0000)]
Initial revision
Steve Chamberlain [Thu, 27 Feb 1992 19:22:41 +0000 (19:22 +0000)]
Don't core dump if no output section available for a symbol
Steve Chamberlain [Thu, 27 Feb 1992 18:52:18 +0000 (18:52 +0000)]
Dos File renaming
Stu Grossman [Thu, 27 Feb 1992 17:50:06 +0000 (17:50 +0000)]
Fix cvs merge fuckup.
Stu Grossman [Thu, 27 Feb 1992 17:45:02 +0000 (17:45 +0000)]
* breakpoint.c (all_breakpoints_info, breakpoint_1): Add 'info
all-breakpoints' command.
* (get_number): Allow users to enter negative breakpoint numbers.
* (breakpoint_1): Reformat display of 'info break' to show new
fields.
* (create_longjmp_breakpoint, breakpoint_re_set,
breakpoint_re_set_one, enable/disable_longjmp_breakpoint),
symfile.c (syms_from_objfile): Re-do
insertion of longjmp breakpoints. Move all code into
breakpoint_re_set, and call that instead of
create_longjmp_breakpoint in symfile.c.
Steve Chamberlain [Thu, 27 Feb 1992 17:26:08 +0000 (17:26 +0000)]
* aoutx.h (translate_from_native_sym_flags): when creating an alias symbol, fill in the section as undefined, rather than leaving it blank
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.