Ken Raeburn [Wed, 21 Apr 1993 04:54:05 +0000 (04:54 +0000)]
Get version string from config.h now.
Fix several functions to compile under traditional C. Deleted _doprnt.
Moved some VMS-specific code here from ../symbols.c.
Rob Savoye [Wed, 21 Apr 1993 04:18:11 +0000 (04:18 +0000)]
Fixed typos so paths for executables works again.
Roland Pesch [Wed, 21 Apr 1993 01:01:14 +0000 (01:01 +0000)]
adhere to "start-sanitize-FOO" and "end-sanitize-FOO" convention
Roland Pesch [Wed, 21 Apr 1993 00:29:58 +0000 (00:29 +0000)]
(1) reduce the amount of text highlighted in warning at end of
"Program variables" section
(2) introduce a few blank lines in menus to work around remaining makeinfo bugs
Roland Pesch [Wed, 21 Apr 1993 00:09:38 +0000 (00:09 +0000)]
This is the real generic configuration. Earlier versions checked in
seem to be copies of H8 config.
Stu Grossman [Tue, 20 Apr 1993 23:00:58 +0000 (23:00 +0000)]
* aoutf1.h (sunos4_core_file_p): Don't default bfd_error to
system_error anymore. It confuses bfd_check_format().
David D. Zuhn [Tue, 20 Apr 1993 21:26:00 +0000 (21:26 +0000)]
don't try to keep old mt-* targets
Fred Fish [Tue, 20 Apr 1993 20:41:42 +0000 (20:41 +0000)]
* gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
in explicit rules. Apparently this is not supported by some makes.
Jim Kingdon [Tue, 20 Apr 1993 20:21:40 +0000 (20:21 +0000)]
* xcoffexec.c (xcoff_relocate_core): If no exec file, error()
rather than dumping core.
Fred Fish [Tue, 20 Apr 1993 20:20:35 +0000 (20:20 +0000)]
Remove chill sanitizations.
Steve Chamberlain [Tue, 20 Apr 1993 19:39:51 +0000 (19:39 +0000)]
Sanitize out empty direcories
Jim Kingdon [Tue, 20 Apr 1993 19:29:06 +0000 (19:29 +0000)]
* Makefile.in: Add ${srcdir}/ to all source files.
(alldeps.mak): Add "${srcdir}/" to files in alldeps.mak.
(TAGS): Deal with srcdir and new config directory scheme.
createtags: Remove.
Makefile.in (NONSRC): Remove createtags.
alldeps.mak: Updated.
Jim Kingdon [Tue, 20 Apr 1993 18:02:54 +0000 (18:02 +0000)]
* rs6000-tdep.c: Delete unused function print_frame.
* frame.h (struct frame_info): Doc fix for next_frame.
New field signal_handler_caller.
blockframe.c (create_new_frame, get_prev_frame_info),
config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO): Set it (needs
INIT_FRAME_PC_FIRST).
stack.c (print_frame_info), rs6000-tdep.c (rs6000_frame_chain):
Check it.
Stu Grossman [Tue, 20 Apr 1993 17:06:36 +0000 (17:06 +0000)]
* irix4-nat.c (fetch_core_registers): Special version of this for
Irix 4.x, which stores regs a bit differently from other /proc
based systems.
* procfs.c, core-svr4.c: Move fetch_core_registers from procfs.c
to new file core-svr4.c.
* config/i386/i386sol2.mh, config/i386/i386v4.mh, config/m68k/amix.mh,
config/i386/ncr3000.mh, config/sparc/sun4sol2.mh: Add core-svr4.o
to NATDEPFILES.
* config/mips/irix4.mh: Add corelow.o to NATDEPFILES.
Fred Fish [Tue, 20 Apr 1993 16:49:33 +0000 (16:49 +0000)]
Remove CVS directory from list of things to keep.
Stu Grossman [Tue, 20 Apr 1993 06:12:28 +0000 (06:12 +0000)]
Update to reflect changes in bfd directory.
Stu Grossman [Tue, 20 Apr 1993 06:11:51 +0000 (06:11 +0000)]
* bfd.c: Add sgi_core_data to tdata union.
* coff-mips.c: Add Irix 4.x core file support.
* hosts/irix4.h: #define HOST_IRIX4.
Stu Grossman [Tue, 20 Apr 1993 06:01:56 +0000 (06:01 +0000)]
* irix4-nat.c (fetch_core_registers): Special version of this for
Irix 4.x, which stores regs a bit differently from other /proc
based systems.
* procfs.c, core-svr4.c: Move fetch_core_registers from procfs.c
to new file core-svr4.c.
* config/i386/i386sol2.mh, config/i386/i386v4.mh, config/m68k/amix.mh,
config/i386/ncr3000.mh, config/sparc/sun4sol2.mh: Add core-svr4.o
to NATDEPFILES.
* config/mips/irix4.mh: Add corelow.o to NATDEPFILES.
Ken Raeburn [Tue, 20 Apr 1993 02:00:01 +0000 (02:00 +0000)]
a.out string table reduction code, take two.
Also fixed a bug in reading symbol tables on some systems...
Fred Fish [Mon, 19 Apr 1993 23:56:57 +0000 (23:56 +0000)]
* trad-core.c (trad_core_vec): Add 6 new initializers to match
new signed get/put fields. Minor reformatting to label
some fields.
Rob Savoye [Mon, 19 Apr 1993 21:08:32 +0000 (21:08 +0000)]
* Makefile.in: Added FLAGS_TO_PASS so tests get run on freshly
built binaries if they exist. (otherwise the path)
Rob Savoye [Mon, 19 Apr 1993 21:05:03 +0000 (21:05 +0000)]
Mostly cleanup. Doesn't prints it's own pass/fail message anymore.
Rob Savoye [Mon, 19 Apr 1993 20:55:11 +0000 (20:55 +0000)]
Gets names to test from higher level makefile.
Jim Kingdon [Mon, 19 Apr 1993 18:34:55 +0000 (18:34 +0000)]
changes for SVR3.2
Jim Kingdon [Mon, 19 Apr 1993 17:39:24 +0000 (17:39 +0000)]
* xcoffread.c: Nuke NO_DEFINE_SYMBOL code. There is no going back.
* stabsread.c (define_symbol): 'R' is synonym for 'P', not 'r'.
xcoffread.c (process_xcoff_symbol, case C_RPSYM):
Don't muck with SYMBOL_CLASS.
Jim Kingdon [Mon, 19 Apr 1993 15:02:51 +0000 (15:02 +0000)]
* stabs.texinfo (Parameters): Re-do "local parameters" section.
Jim Kingdon [Mon, 19 Apr 1993 13:35:48 +0000 (13:35 +0000)]
* libbfd.c: bfd_put*: Remove casts to bfd_vma.
John Gilmore [Mon, 19 Apr 1993 08:56:05 +0000 (08:56 +0000)]
* gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
Rob Savoye [Mon, 19 Apr 1993 05:04:41 +0000 (05:04 +0000)]
Back to creating a local config fil to be safe. Pass --target for "make
check"
Rob Savoye [Mon, 19 Apr 1993 05:03:42 +0000 (05:03 +0000)]
Minor indenting changes.
Jim Kingdon [Sun, 18 Apr 1993 17:38:35 +0000 (17:38 +0000)]
* stabs.texinfo (Symbol descriptors): Re-do using @table and @xref.
(Parameters): Rewrite.
(xcoff-differences, Sun-differences): Minor changes.
David D. Zuhn [Sun, 18 Apr 1993 00:35:25 +0000 (00:35 +0000)]
add all-emacs target
David D. Zuhn [Sun, 18 Apr 1993 00:21:36 +0000 (00:21 +0000)]
* config/mh-delta88: remove extraneous GCC references
David D. Zuhn [Sun, 18 Apr 1993 00:21:14 +0000 (00:21 +0000)]
* configure.in: rename m88k-motorola-m88kbcs to m88k-motorola-sysv
* config/mh-delta88: remove extraneous GCC references
Jim Kingdon [Sat, 17 Apr 1993 01:44:18 +0000 (01:44 +0000)]
* aoutf1.h (internal_sunos_core): Make c_stacktop a bfd_vma.
(swapcore_sparc): Make sp a bfd_vma.
Stu Grossman [Sat, 17 Apr 1993 00:39:55 +0000 (00:39 +0000)]
* munch: Don't use head command. It doesn't exist everywhere.
Jim Kingdon [Sat, 17 Apr 1993 00:39:36 +0000 (00:39 +0000)]
* libbfd.c: Add signed versions of bfd_{h_,}{get,put}_signed_<size>.
libbfd.c, libbfd-in.h: Add _do*signed*.
targets.c, all targets: Add bfd*signed*.
bfd-in.h: Add bfd_signed_vma. Add comments.
Fred Fish [Fri, 16 Apr 1993 23:22:41 +0000 (23:22 +0000)]
Remove chill sanitizations, which are no longer necessary.
Fred Fish [Fri, 16 Apr 1993 22:26:21 +0000 (22:26 +0000)]
Remove chill sanitization stuff and add chill files to keep list.
Fred Fish [Fri, 16 Apr 1993 22:21:33 +0000 (22:21 +0000)]
Remove chill sanitize lines that are no longer needed.
Fred Fish [Fri, 16 Apr 1993 22:15:26 +0000 (22:15 +0000)]
* inflow.c (new_tty): Remove spurious 'o' character at end
of #endif line.
Peter Schauer [Fri, 16 Apr 1993 19:29:14 +0000 (19:29 +0000)]
* mips-tdep.c (mips_skip_prologue): Always skip the typical prologue
instructions and nothing more.
* mipsread.c (add_line): Add comment why we have to combine line number
entries for the same line number.
Jim Kingdon [Fri, 16 Apr 1993 17:46:01 +0000 (17:46 +0000)]
More doc fixes
Jim Kingdon [Fri, 16 Apr 1993 17:36:49 +0000 (17:36 +0000)]
* symtab.{c,h}: Doc fixes (remove symseg references, last relevant
in gdb 2.8!).
Peter Schauer [Fri, 16 Apr 1993 16:39:49 +0000 (16:39 +0000)]
* config/unix-gdb.exp: Add back missing return 0 which mysteriously
disappeared.
Fred Fish [Fri, 16 Apr 1993 04:19:09 +0000 (04:19 +0000)]
* depend, alldeps.mak: Update, now that gcc -MM bug is fixed.
Roland Pesch [Thu, 15 Apr 1993 23:55:45 +0000 (23:55 +0000)]
Add h8.texi to things-to-keep
Roland Pesch [Thu, 15 Apr 1993 23:27:39 +0000 (23:27 +0000)]
as.texinfo, Makefile.in
Roland Pesch [Thu, 15 Apr 1993 23:23:21 +0000 (23:23 +0000)]
(1) Hitachi SH material (sanitizable)
(2) remove smallbook/cropmarks comments; switching to smallbook is now
automatic w/house style
(3) use `|' alternative convention for SPARC dependent options.
UnGNUish, but the convention is used for other machines in this book.
(4) cease eliding paragraph about purpose of assembler in Hitachi configuration
(5) use SPECIAL-SYMS switch more consistently
(6) formatting improvements from Q1 release
(7) use explicit @page instead of @group in long examples listing
instruction-set summaries (because some new texinfo bug leads to
double-spacing with @group in this context)
(8) rearrange H8/500 instruction-set summary into two cols
(9) include GPL from texinfo directory rather than duplicating here
Roland Pesch [Thu, 15 Apr 1993 23:10:28 +0000 (23:10 +0000)]
Include Hitachi SH (sanitizably); remove MACH-DEP setting, no longer used
Roland Pesch [Thu, 15 Apr 1993 23:06:08 +0000 (23:06 +0000)]
Arrange to clean out references to Hitachi SH.
Roland Pesch [Thu, 15 Apr 1993 23:04:25 +0000 (23:04 +0000)]
Configuration for Hitachi chips, recast for current conditionals.
Jim Kingdon [Thu, 15 Apr 1993 20:11:01 +0000 (20:11 +0000)]
* source.c (select_source_symtab): Clean up comment. Also, if
we have a current_source_symtab, and s is NULL, return without
doing anything.
xcoffread.c (xcoff_symfile_read): Don't call select_source_symtab.
breakpoint.c (breakpoint_re_set): Don't call select_source_symtab.
Jim Kingdon [Thu, 15 Apr 1993 19:30:42 +0000 (19:30 +0000)]
Check in new generated bfd.h to go with:
Thu Apr 15 09:09:18 1993 Jim Kingdon (kingdon@cygnus.com)
* bfd-in.h (bfd_error), bfd.c (bfd_errmsgs): Add file_truncated.
* format.c (bfd_check_error): Check error return from
_bfd_check_format routines.
Wed Apr 14 23:48:25 1993 Jim Kingdon (kingdon@cygnus.com)
* rs6000-core.c (rs6000coff_core_p): Improve error checking and
recognize .data section if present.
Jim Kingdon [Thu, 15 Apr 1993 19:29:51 +0000 (19:29 +0000)]
Thu Apr 15 09:09:18 1993 Jim Kingdon (kingdon@cygnus.com)
* bfd-in.h (bfd_error), bfd.c (bfd_errmsgs): Add file_truncated.
* format.c (bfd_check_error): Check error return from
_bfd_check_format routines.
Wed Apr 14 23:48:25 1993 Jim Kingdon (kingdon@cygnus.com)
* rs6000-core.c (rs6000coff_core_p): Improve error checking and
recognize .data section if present.
John Gilmore [Thu, 15 Apr 1993 09:43:33 +0000 (09:43 +0000)]
* dbxread.c (unknown_symchar_complaint): Add new complaint.
* stabsread.h: Declare it.
* partial-stab.h: Use it.
John Gilmore [Thu, 15 Apr 1993 09:41:59 +0000 (09:41 +0000)]
* dbxread.c (unknown_symchar_complaint): Add new complaint.
* stabsread.c: Declare it.
* partial-stab.h: Use it.
* utils.c (malloc_botch): Don't forward-declare if NO_MMALLOC.
John Gilmore [Thu, 15 Apr 1993 09:35:54 +0000 (09:35 +0000)]
Minor cleanup.
John Gilmore [Thu, 15 Apr 1993 09:28:58 +0000 (09:28 +0000)]
Avoid $< in explicit rule.
John Gilmore [Thu, 15 Apr 1993 08:44:58 +0000 (08:44 +0000)]
* aoutx.h (aout_*_adjust_sizes_and_vmas): Avoid `sanity'
check for the case where the user sets the address of the BSS
section (and the file header can't specify this). Let the user
set it wherever they want, regardless of what goes in the header.
Fixes #ld/1826 (the fix was never checked in by Steve or Ken).
John Gilmore [Thu, 15 Apr 1993 08:19:43 +0000 (08:19 +0000)]
Fix minor merge botch in prev change.
John Gilmore [Thu, 15 Apr 1993 08:05:31 +0000 (08:05 +0000)]
* ieee.c (ieee_slurp_sections): Pass all ieee section names
straight through into BFD sections. Add comments.
John Gilmore [Thu, 15 Apr 1993 04:53:14 +0000 (04:53 +0000)]
Cleanup in preparation for better 64-bit host support.
* bfd-in.h (bfd_64_type): Remove.
* libbfd.c (_do_getb64, _do_putb64): Use bfd_vma, not bfd_64_type.
* bfd-in.h (bfd_size): Remove.
* bfd-in.h (bfd_offset): Remove, after fixing ld/ldlang.[ch].
* bfd-in.h (bfd_word): Remove.
* reloc.c (reloc_howto_type): Replace bfd_word with bfd_vma.
* bfd-in.h (rawdata_offset): Remove.
* reloc.c (arelent): Replace rawdata_offset with bfd_size_type.
(bfd_perform_relocation): Lint.
(enum bfd_reloc_status): Comment cleanup.
John Gilmore [Thu, 15 Apr 1993 04:52:32 +0000 (04:52 +0000)]
* aout-adobe.c, cpu-h8300.c, mipsbsd.c, srec.c: lint -Wall.
Jim Kingdon [Thu, 15 Apr 1993 03:36:02 +0000 (03:36 +0000)]
* stack.c (print_frame_info): Print specially if dummy frame.
Jim Kingdon [Thu, 15 Apr 1993 01:45:35 +0000 (01:45 +0000)]
* breakpoint.c: Add comments regarding within_scope future direction.
Jim Kingdon [Thu, 15 Apr 1993 01:13:52 +0000 (01:13 +0000)]
Version 4.8.3
Jim Kingdon [Thu, 15 Apr 1993 00:33:51 +0000 (00:33 +0000)]
minor xcoff changes
Jim Kingdon [Thu, 15 Apr 1993 00:14:37 +0000 (00:14 +0000)]
* xcoffread.c (record_include_{begin,end}): Change fatal to complain.
Fred Fish [Wed, 14 Apr 1993 23:43:51 +0000 (23:43 +0000)]
* gdb.t07/watchpoint.exp: Remove setup_xfail for i486
watchpoint problem that is now fixed.
* gdb.t30/chexp.exp: Remove setup_xfail for printing
uninitialized convenience variables.
* gdb.t31/chillvars.exp: Fix expected patterns for printing
structures.
Per Bothner [Wed, 14 Apr 1993 21:04:50 +0000 (21:04 +0000)]
* ch-exp.y: Fix thinko that broke parsing of FALSE.
Peter Schauer [Wed, 14 Apr 1993 19:53:11 +0000 (19:53 +0000)]
* stabsread.c (read_member_functions): Initialize domain for stubbed
member functions to avoid gdb core dumps when printing pointers
to member functions.
* cp-valprint.c (cp_print_class_method): Check for stubbed member
functions.
Per Bothner [Wed, 14 Apr 1993 06:21:34 +0000 (06:21 +0000)]
Note changes to gdb.t31/chillvars.exp.
Sean Eric Fagan [Wed, 14 Apr 1993 00:04:18 +0000 (00:04 +0000)]
gprof(1) can have more than one profile data file, so have the usage
message reflect that.
Per Bothner [Tue, 13 Apr 1993 23:20:14 +0000 (23:20 +0000)]
* M Makefile.in: Add -g to CFLAGS.
Ads LDFLAGS and use in place of CFLAGS where appropriate.
* configure.in: Make a sysdep.hlink in the same way other
bfd-based directories do.
* gprof.h (UNIT): Replace non-standard 'u_short' by 'unsigned
short'.
* gprof.h: #include sysdep.h instead of a bunch of stuff.
* gprof.c (main): Fix typo gproff->gprof.
Jim Kingdon [Tue, 13 Apr 1993 19:18:37 +0000 (19:18 +0000)]
* expprint.c (print_subexp): If opcode not found in op_print_tab,
stop with an error().
eval.c (evaluate_subexp): Change error message.
Jim Kingdon [Tue, 13 Apr 1993 15:31:29 +0000 (15:31 +0000)]
* objfiles.c (build_objfile_section_table): Cast return value
from obstack_finish.
Jim Kingdon [Tue, 13 Apr 1993 06:15:14 +0000 (06:15 +0000)]
* config/rs6000/tm-rs6000.h, rs6000-tdep.c: Move FRAME_CHAIN
to rs6000_frame_chain and deal with it if we're in a signal handler.
(FRAME_SAVED_PC): Use rs6000_frame_chain.
Ken Raeburn [Tue, 13 Apr 1993 05:32:52 +0000 (05:32 +0000)]
kill it dead
Rob Savoye [Mon, 12 Apr 1993 22:27:06 +0000 (22:27 +0000)]
* config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
Rob Savoye [Mon, 12 Apr 1993 22:15:10 +0000 (22:15 +0000)]
Make sure $GDB contains a real program.
Jim Kingdon [Mon, 12 Apr 1993 21:22:46 +0000 (21:22 +0000)]
* breakpoint.c (within_scope): New function.
(enable_breakpoint, watchpoint_check): Use it.
John Gilmore [Mon, 12 Apr 1993 21:18:31 +0000 (21:18 +0000)]
Clean up old comments
Jim Kingdon [Mon, 12 Apr 1993 18:21:25 +0000 (18:21 +0000)]
source.c (openp): Handle "exec-file ./ls" correctly.
Jim Kingdon [Mon, 12 Apr 1993 17:56:35 +0000 (17:56 +0000)]
(breakpoint_1): use wrap_here before "at"
Ian Lance Taylor [Sat, 10 Apr 1993 20:25:54 +0000 (20:25 +0000)]
Fix typo, change appropriate instances of -2 to SERIAL_TIMEOUT, add
explicit != 0 tests, improve comments.
Ian Lance Taylor [Sat, 10 Apr 1993 19:05:18 +0000 (19:05 +0000)]
* test-build.mk: Pass -with-gnu-as for known MIPS native and MIPS
targets, rather than for MIPS hosts.
Per Bothner [Sat, 10 Apr 1993 08:35:32 +0000 (08:35 +0000)]
* ch-exp.y: Clean up lexing of identifiers and
reserved words. (E.g. don't recognize FALSEXXX as the
keyword FALSE followed by the identifier XXX.)
Also, convert identifiers to lower case.
Stu Grossman [Fri, 9 Apr 1993 22:55:00 +0000 (22:55 +0000)]
* remote-mips.c, remote-monitor.c, remote-st2000.c: Convert to
new serial interface.
Stu Grossman [Fri, 9 Apr 1993 22:14:04 +0000 (22:14 +0000)]
* remote.c (remote_open): Use SERIAL_OPEN instead of serial_open.
(putpkt, getpkt): Use new return codes for SERIAL_READCHAR.
* ser-go32.c: Return -1 on most failures, 0 on most successes,
and use new return codes for go32_readchar().
* ser-unix.c: Ditto. Also, move error handling up to caller for
SERIAL_SETBAUDRATE().
* serial.c (serial_open): Internal call, not SERIAL_OPEN to get
to specific routine.
(serial_close): New routine to wrap around device close routine.
serial.h: Clean & document return values more clearly.
David D. Zuhn [Fri, 9 Apr 1993 20:58:44 +0000 (20:58 +0000)]
* configure.in: add comment for --with-x default values
* config.guess: handle Motorola Delta88 box for SVR3 and SVR4.
* Makefile.in: add check-* targets for each of the directories in
the tree. Add a definition of RUNTEST that will use the one we
just built, if it exists. Pass this down via FLAGS_TO_PASS.
Jim Kingdon [Fri, 9 Apr 1993 20:54:02 +0000 (20:54 +0000)]
* rs6000-pinsn.c (print_operand): Deal with no operand instructions.
* rs6000-pinsn.c (print_operand, case LI): Print condition register
operand in decimal rather than wrong textual versions.
Jim Kingdon [Fri, 9 Apr 1993 20:52:04 +0000 (20:52 +0000)]
* rs6k.h: Clean up instructions for primary opcode 19 (many were
simply wrong, ics, rfi, & rfsvc were missing).
Add "a" to opr_ext for "bb". Doc fix.
Ian Lance Taylor [Fri, 9 Apr 1993 18:50:36 +0000 (18:50 +0000)]
* config/sun3.h: String argument to fprintf is const.
Ian Lance Taylor [Fri, 9 Apr 1993 18:22:57 +0000 (18:22 +0000)]
Please don't add declarations of random system functions to general
source files if you can possibly avoid it. They inevitably fail on
some system somewhere.
* objdump.c: Removed useless fprintf declaration.
Jim Kingdon [Fri, 9 Apr 1993 18:06:45 +0000 (18:06 +0000)]
* printcmd.c (_initialize_printcmd): Clean up docstring for "x"
(mention 't', remove false thing about 'g' only good with 'f').
Jim Kingdon [Fri, 9 Apr 1993 17:51:40 +0000 (17:51 +0000)]
* breakpoint.h: move "struct breakpoint" and friends to top of
file so that bpstat_find_breakpoint prototype works.
Ian Lance Taylor [Fri, 9 Apr 1993 17:48:10 +0000 (17:48 +0000)]
* coff-mips.c: Renamed PAGE_SIZE to ROUND_SIZE, to avoid confusion
on systems which define PAGE_SIZE in <limits.h>.
Steve Chamberlain [Fri, 9 Apr 1993 17:46:13 +0000 (17:46 +0000)]
Support for the H8/500
Jim Kingdon [Fri, 9 Apr 1993 17:43:59 +0000 (17:43 +0000)]
* solib.c (struct so_list): Add bfd field.
(solib_map_sections): Leave bfd open and scratch_pathname allocated.
Put the bfd in bfd field of the so_list.
(clear_solib): Free bfd name and close_bfd on the bfd.