Steve Chamberlain [Tue, 6 Jul 1993 18:28:42 +0000 (18:28 +0000)]
New file.
Steve Chamberlain [Tue, 6 Jul 1993 18:04:05 +0000 (18:04 +0000)]
Build gprof for sh.
Jim Kingdon [Tue, 6 Jul 1993 17:43:51 +0000 (17:43 +0000)]
* gdb.texinfo (Break Commands): Remove stuff about flushing terminal
input when evaluating breakpoint conditions; the bug has been fixed.
* gdb.texinfo (Continuing and Stepping): Argument to "continue"
sets the ignore count to N-1, not to N.
Steve Chamberlain [Tue, 6 Jul 1993 17:31:34 +0000 (17:31 +0000)]
* run.c (main), interp.c (sim_set_timeout): Remove timeout
functionality.
Jim Kingdon [Tue, 6 Jul 1993 17:15:02 +0000 (17:15 +0000)]
* Makefile.in (ALLPARAM): Add config/{alpha/xm-alpha.h,pa/xm-pa.h}.
(ALLCONFIG): Add config/alpha/alpha-osf1.mh.
* infcmd.c (_initialize_infcmd): In docstring for "continue",
describe argument as setting ignore count.
Steve Chamberlain [Tue, 6 Jul 1993 17:12:20 +0000 (17:12 +0000)]
* Makefile.in: Install correctly.
David D. Zuhn [Tue, 6 Jul 1993 17:10:44 +0000 (17:10 +0000)]
remove INSTALL=cp
Jim Kingdon [Tue, 6 Jul 1993 05:23:10 +0000 (05:23 +0000)]
* gdb.t06/signals.c: Add xfails for sun3.
Jim Kingdon [Tue, 6 Jul 1993 04:05:49 +0000 (04:05 +0000)]
* gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
Jim Kingdon [Tue, 6 Jul 1993 03:50:00 +0000 (03:50 +0000)]
* gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
test_stepping tests.
David Edelsohn [Mon, 5 Jul 1993 23:50:15 +0000 (23:50 +0000)]
* cpu-h8300.c (h8300_scan): Fix parsing of architecture string.
Ian Lance Taylor [Mon, 5 Jul 1993 21:32:35 +0000 (21:32 +0000)]
* config/hp300hpux.mt: Use emulation hp3hpux rather than
hp300hpux, since the latter does not exist.
Ian Lance Taylor [Mon, 5 Jul 1993 21:32:13 +0000 (21:32 +0000)]
* ldlang.c (lang_relocate_globals): Skip indirect symbols, which
now have a non NULL srefs_chain.
Mark Eichin [Mon, 5 Jul 1993 15:06:51 +0000 (15:06 +0000)]
solaris doesn't have siginterrupt, though it has sigaction; however,
in this case siginterrupt would just be setting the default. (This was
the only patch needed to make devo build solaris-x-a29kudi...)
David Edelsohn [Sun, 4 Jul 1993 22:07:17 +0000 (22:07 +0000)]
* h8300-tdep.c (examine_prologue): Fix call to read_memory_unsigned_integer.
David Edelsohn [Sun, 4 Jul 1993 07:37:45 +0000 (07:37 +0000)]
(sim_csize): Initialize cpu.cache.
David Edelsohn [Sun, 4 Jul 1993 06:49:43 +0000 (06:49 +0000)]
(bfd_h8_disassemble): Correct fetching of instruction.
David MacKenzie [Sat, 3 Jul 1993 02:23:22 +0000 (02:23 +0000)]
Passing -L. is no longer necessary.
David MacKenzie [Sat, 3 Jul 1993 02:18:12 +0000 (02:18 +0000)]
Fix previous fix.
David MacKenzie [Sat, 3 Jul 1993 02:01:03 +0000 (02:01 +0000)]
* ldmain.c (main): Don't add scriptdir to the lib search path.
* genscripts.sh: Put the scripts in the ldscripts directory, not
emulations.
* configure.in (ldscripts): Make, instead of emulations.
* Makefile.in (scriptdir): Take off the "ld" part.
(install, clean, distclean): Use ldscripts, not emulations.
In tests, pass -L., not -Lemulations.
(ldmain.o): Don't pass -DSCRIPTDIR=....
* ldlang.c (lang_process): Add "ldscripts/" to the name of the
default script file.
Steve Chamberlain [Sat, 3 Jul 1993 01:45:45 +0000 (01:45 +0000)]
Keep writecode.c
David Edelsohn [Sat, 3 Jul 1993 00:43:59 +0000 (00:43 +0000)]
Makefile.in: Add -I../../bfd to pick up bfd.h.
David Edelsohn [Sat, 3 Jul 1993 00:40:35 +0000 (00:40 +0000)]
Fix typo.
Jim Kingdon [Sat, 3 Jul 1993 00:36:35 +0000 (00:36 +0000)]
* config/mips/{x,n}m-irix{3,4}.h: Make some definitions here
rather than including xm-bigmips.h.
Jim Kingdon [Sat, 3 Jul 1993 00:27:47 +0000 (00:27 +0000)]
* eval.c (evaluate_subexp): Improve error messages for OP_TYPE and
default cases.
Jim Kingdon [Sat, 3 Jul 1993 00:24:51 +0000 (00:24 +0000)]
* Makefile.in (distclean): Remove y.tab.h.
David Edelsohn [Sat, 3 Jul 1993 00:14:40 +0000 (00:14 +0000)]
scripttempl/h8300.sc: Add .tors section for constructor/destructors.
David MacKenzie [Sat, 3 Jul 1993 00:01:44 +0000 (00:01 +0000)]
* Doc fixes.
Jim Kingdon [Fri, 2 Jul 1993 23:57:52 +0000 (23:57 +0000)]
* Makefile.in (clean): Remove bfd.h and stmp-bfd.h.
(realclean): Remove generated headers.
Jim Kingdon [Fri, 2 Jul 1993 21:56:27 +0000 (21:56 +0000)]
* gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
Ian Lance Taylor [Fri, 2 Jul 1993 21:27:13 +0000 (21:27 +0000)]
cvs core dumped and didn't check this in last time.
* configure.in (mipos-*-riscos*): New host and target; use riscos.
Steve Chamberlain [Fri, 2 Jul 1993 21:27:09 +0000 (21:27 +0000)]
* config/h8500/tm-h8500.h: Define new macros.
Steve Chamberlain [Fri, 2 Jul 1993 21:26:05 +0000 (21:26 +0000)]
* config/alpha/xm-alpha.h: Add MAKEVA_END.
Steve Chamberlain [Fri, 2 Jul 1993 21:25:04 +0000 (21:25 +0000)]
New target macros for getting at the pc, sp and fp.
* infcmd.c (read_pc, write_pc): Modify to use new macros.
(read_sp, write_sp, read_fp, write_fp): New functions.
* blockframe.c (reinit_frame_cache, get_prev_frame_info): Use new functions.
* breakpoint.c (bpstat_alloc): ditto.
* infrun.c (wait_for_inferior): ditto.
* stack.c (print_frame_info): ditto.
* valops (call_function_by_hand): ditto.
* corelow.c (core_open): ditto.
* h8500-tdep.c: (target_read_sp, target_write_sp, target_read_pc,
target_write_pc, target_read_fp, target_write_fp): New functions.
* inferior.h (read_sp, write_sp, read_fp, write_fp): Prototypes.
Ian Lance Taylor [Fri, 2 Jul 1993 20:54:02 +0000 (20:54 +0000)]
* configure.in (mipos-*-riscos*): New host and target; use riscos.
* config/mips/nm-riscos.h: If BSD43_NBPG is not defined by
vmparam.h, include machparam.h.
(KERNEL_U_ADDR): Define to be BSD43_UADDR.
Jim Kingdon [Fri, 2 Jul 1993 20:04:02 +0000 (20:04 +0000)]
* c-exp.y (yylex): Give error if unmatched single quote.
Jim Kingdon [Fri, 2 Jul 1993 19:18:14 +0000 (19:18 +0000)]
* configure.in, config/m68k/*delta68*, delta68-nat.c: New port.
Jim Kingdon [Fri, 2 Jul 1993 19:01:48 +0000 (19:01 +0000)]
new for delta 68k
Jim Kingdon [Fri, 2 Jul 1993 18:49:14 +0000 (18:49 +0000)]
new files for Motorola delta 68k
Jim Kingdon [Fri, 2 Jul 1993 18:48:44 +0000 (18:48 +0000)]
* Remove unused STACK_END_ADDR in the following files (in other
files it is used for something): tm-mips.h, tm-sun2.h, tm-news.h,
tm-a29k, tm-i386v.h, tm-hppa.h, tm-nindy960.h, tm-amix.h,
tm-hp300hpux.h, tm-isi.h.
Jim Kingdon [Fri, 2 Jul 1993 18:26:55 +0000 (18:26 +0000)]
* gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
rather than actually putting it through cpp twice.
Jim Kingdon [Fri, 2 Jul 1993 18:11:23 +0000 (18:11 +0000)]
* gdb.t06/signals.exp: Add xfails unixware and rs6000.
Ian Lance Taylor [Fri, 2 Jul 1993 18:06:10 +0000 (18:06 +0000)]
* configure.in (*-*-riscos*): New entry; use mh-sysv.
Ian Lance Taylor [Fri, 2 Jul 1993 17:49:32 +0000 (17:49 +0000)]
* config/mips-gdb.exp (gdb_exit): Removed close statement which is
no longer needed.
Ian Lance Taylor [Fri, 2 Jul 1993 17:38:16 +0000 (17:38 +0000)]
* hosts/std-host.h: Removed declarations of printf, fprintf,
fcntl, fread and fwrite. They are all error prone for one reason
or another. Changed declaration of memchr from char * to PTR.
Jim Kingdon [Fri, 2 Jul 1993 17:00:33 +0000 (17:00 +0000)]
* gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
Ian Lance Taylor [Fri, 2 Jul 1993 16:46:48 +0000 (16:46 +0000)]
* configure.in (mips-*-riscos*): New target; use riscos.
* configure.host (mips-*-riscos*): New host; use riscos.
Ian Lance Taylor [Fri, 2 Jul 1993 16:41:14 +0000 (16:41 +0000)]
* config/riscos.mh (HDEFINES): Add -G 4.
Ian Lance Taylor [Fri, 2 Jul 1993 16:32:54 +0000 (16:32 +0000)]
* libaout.h (GET_SWORD): Use the bfd_h_get_signed entry points
rather than casting the result of bfd_h_get.
Jim Kingdon [Fri, 2 Jul 1993 15:24:17 +0000 (15:24 +0000)]
update .Sanitize for delta68
Jim Kingdon [Fri, 2 Jul 1993 15:19:18 +0000 (15:19 +0000)]
* configure.in, hosts/delta68.h, config/delta68.mh: Add stuff for
Motorola Delta 68.
Jim Kingdon [Fri, 2 Jul 1993 15:05:47 +0000 (15:05 +0000)]
new file for delta 68
Jim Kingdon [Fri, 2 Jul 1993 14:13:09 +0000 (14:13 +0000)]
* gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
C++ features prints as "struct", make it a pass, not an xfail.
Steve Chamberlain [Fri, 2 Jul 1993 03:05:30 +0000 (03:05 +0000)]
h8500hms -> h8500
Jim Kingdon [Fri, 2 Jul 1993 02:57:06 +0000 (02:57 +0000)]
* gdbtypes.h (struct type): Add field tag_name.
* gdbtypes.c (type_name_no_tag), c-typeprint.c (c_type_print_base):
Use it.
* {coff,dwarf,mips,stabs}read.c: Set it.
Jim Kingdon [Fri, 2 Jul 1993 02:50:43 +0000 (02:50 +0000)]
* ser-unix.c (hardwire_noflush_set_tty_state): Use an assignment,
not an initializer, to copy the structure.
Jim Kingdon [Fri, 2 Jul 1993 02:48:59 +0000 (02:48 +0000)]
* config/mips/nm-riscos.h: Define NBPG and UPAGES.
config/mips/xm-riscos.h: Include <sys/types.h>.
Jim Kingdon [Fri, 2 Jul 1993 01:37:50 +0000 (01:37 +0000)]
* gdb.t06/twice.exp: Don't care about the file name GDB prints.
David D. Zuhn [Fri, 2 Jul 1993 01:33:33 +0000 (01:33 +0000)]
fix decls
David D. Zuhn [Fri, 2 Jul 1993 01:32:40 +0000 (01:32 +0000)]
update for q3 matrix
David Edelsohn [Thu, 1 Jul 1993 23:38:29 +0000 (23:38 +0000)]
h8300hms -> h8300
Jim Kingdon [Thu, 1 Jul 1993 22:04:17 +0000 (22:04 +0000)]
* xm-sysv4.h: Undefine HAVE_TERMIO.
Roland Pesch [Thu, 1 Jul 1993 21:59:16 +0000 (21:59 +0000)]
* refcard.tex (\hoffset): correct longstanding error to match
intended offset; avoids cutting off edge on some printers
Jim Kingdon [Thu, 1 Jul 1993 21:07:02 +0000 (21:07 +0000)]
* mips-nat.c (fetch_core_registers): If KERNEL_U_ADDR is not defined,
we can still process "modern" core files.
Jim Kingdon [Thu, 1 Jul 1993 21:00:15 +0000 (21:00 +0000)]
miscellaneous fixes to make RISC/os work; see ChangeLog's
Jim Kingdon [Thu, 1 Jul 1993 20:45:38 +0000 (20:45 +0000)]
new file for RISC/os
Jim Kingdon [Thu, 1 Jul 1993 18:22:02 +0000 (18:22 +0000)]
* ser-unix.c (hardwire_print_tty_state) [HAVE_TERMIOS]: Don't
print c_line.
(_initialize_ser_hardwire): Just check whether _POSIX_JOB_CONTROL
is defined; don't care what it is defined to.
K. Richard Pixley [Thu, 1 Jul 1993 01:23:39 +0000 (01:23 +0000)]
* Makefile.in (.y.c): skip default .y.c rules. gnu make can now run in
parallel without colliding on yacc's static file names. Without the
stub rule, make will try to start two yacc's concurrently which
fails because of yacc's static file names.
Jim Kingdon [Thu, 1 Jul 1993 01:10:22 +0000 (01:10 +0000)]
* config/vax/xm-vaxult2.h: Define FD_SET and FD_ZERO.
Jim Kingdon [Wed, 30 Jun 1993 23:28:24 +0000 (23:28 +0000)]
* stabs.texinfo (Parameters): Say that order of stabs is significant.
Jim Kingdon [Wed, 30 Jun 1993 23:05:47 +0000 (23:05 +0000)]
* gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
K. Richard Pixley [Wed, 30 Jun 1993 22:48:51 +0000 (22:48 +0000)]
* Makefile.in (ldgram.[hc]): rewrite this rule in such a way that gnu
make can run in parallel without colliding on yacc's static file
names.
Jim Kingdon [Wed, 30 Jun 1993 22:20:53 +0000 (22:20 +0000)]
* inftarg.c: Remove unused include of terminal.h.
* signals.h: Don't undefine signals anymore.
* main.c: Use job_control from serial.h.
* fork-child.c (fork_inferior): Use gdb_setpgid.
* serial.h, ser-unix.c, ser-go32.c: Provide gdb_setpgid.
* utils.c (quit): Use current_target->to_terminal_ours to figure
out whether we care about lack of job control, rather than __GO32__.
* utils.c: Include serial.h not terminal.h
(quit): Use job_control not TIOCGPGRP.
* terminal.h: Don't undefine TIOCGPGRP.
* serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_FLUSH_OUTPUT.
* utils.c (quit): Use it.
* serial.h: Add SERIAL_UN_FDOPEN.
* utils.c (quit): Use it.
* ser-unix.c: Add process group to ttystate.
[HAVE_SGTTY]: Add tchars, ltchars, and lmode to ttystate.
* inflow.c: Include serial.h not terminal.h.
Use serial.h stuff to replace most of the maze of #ifdef's.
* inflow.c, main.c, inferior.h: make gdb_has_a_terminal a function.
* serial.h: Document SERIAL_SET_TTY_STATE as being immediate.
* ser-unix.c: Use TIOCSETN not TIOCSETP so it is true.
* serial.h, ser-unix.c, ser-go32.c, ser-tcp.c:
Add SERIAL_PRINT_TTY_STATE, SERIAL_NOFLUSH_SET_TTY_STATE, and
SERIAL_SET_PROCESS_GROUP.
* inflow.c: Use them.
* config/xm-svr4.h, config/rs6000/xm-rs6000.h, config/sparc/sun4os4.h:
Define HAVE_TERMIOS.
* Various: Remove all use of TIOC*_BROKEN.
Ken Raeburn [Wed, 30 Jun 1993 21:21:55 +0000 (21:21 +0000)]
bfd.h isn't here any more
David Edelsohn [Wed, 30 Jun 1993 20:56:07 +0000 (20:56 +0000)]
alpha-osf.mh -> alphaosf.mh
Peter Schauer [Wed, 30 Jun 1993 19:23:35 +0000 (19:23 +0000)]
* config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define.
Ian Lance Taylor [Wed, 30 Jun 1993 18:27:41 +0000 (18:27 +0000)]
* read.c (cons): Conditionalize parsing of expression. Move
putting value into object file into separate function. Separate
out MRI and WANT_BITFIELDS cases into separate functions.
(emit_expr): New function to write data into object file.
Conditionalize on TC_CONS_FIX_NEW and TC_CONS_RELOC rather than on
processor types.
(parse_bitfield_cons): New function to parse bitfield expressions
as used by i960 assemblers. Only compiled if
BITFIELD_CONS_EXPRESSIONS is defined.
(parse_mri_cons): New function to parse MRI style strings. Only
compiled if MRI is defined.
(parse_repeat_cons): New function to parse repeat counts. Only
compiled if REPEAT_CONS_EXPRESSIONS is defined.
* read.h (emit_expr): Added declaration of new function.
* config/tc-a29k.h (TC_CONS_RELOC): Define to be RELOC_32.
* config/tc-h8300.h (TC_CONS_RELOC): Define to be R_RELWORD.
* config/tc-hppa.c (parse_cons_expression_hppa): New function to
parse a HPPA expression, rather than special case in cons
function.
(cons_fix_new_hppa): New function to emit an HPPA fixup, rather
than special case in emit_expr function.
* config/tc-hppa.h (TC_PARSE_CONS_EXPRESSION, TC_CONS_FIX_NEW):
Define to use new functions from tc-hppa.c.
* config/tc-i960.h (BITFIELD_CONS_EXPRESSIONS): Define.
(WANT_BITFIELDS): Removed; now obsolete.
* config/tc-mips.h (REPEAT_CONS_EXPRESSIONS): Define.
* config/tc-ns32k.c (cons_fix_new_ns32k): New function to emit an
NS32K fixup, rather than special case in emit_expr function.
* config/tc-ns32k.h (TC_CONS_FIX_NEW): Define to be
cons_fix_new_ns32k. Also use PARAMS rather than checking
__STDC__.
* config/tc-sparc.h (TC_CONS_RELOC): Define to RELOC_32.
* write.c (relax_and_size_seg, adjust_reloc_syms, write_contents):
Don't core dump if gas has no information about a section.
Ken Raeburn [Wed, 30 Jun 1993 10:34:32 +0000 (10:34 +0000)]
sparc64 changes
Ken Raeburn [Wed, 30 Jun 1993 10:30:54 +0000 (10:30 +0000)]
New files for sparc64 cpu.
Ken Raeburn [Wed, 30 Jun 1993 10:04:58 +0000 (10:04 +0000)]
(CAT4): Added Saber-C (ANSI mode) version.
(bfd_elf64_*): New decls.
Ken Raeburn [Wed, 30 Jun 1993 09:17:06 +0000 (09:17 +0000)]
delete setting of a variable i wound up not using
Ken Raeburn [Wed, 30 Jun 1993 02:54:35 +0000 (02:54 +0000)]
list new files, new stuff to sanitize
Ken Raeburn [Wed, 30 Jun 1993 02:52:52 +0000 (02:52 +0000)]
new generic elf64 stuff
David D. Zuhn [Tue, 29 Jun 1993 20:59:01 +0000 (20:59 +0000)]
kludge around 386BSD bug
Peter Schauer [Tue, 29 Jun 1993 20:18:26 +0000 (20:18 +0000)]
* symtab.h (BLOCK_SHOULD_SORT): Do not sort blocks corresponding to
a function to avoid printing of function arguments in wrong order
due to sorting.
* symfile.c (compare_symbols): Remove code for sorting arguments
as blocks containing arguments are no longer sorted.
* symtab.c (lookup_block_symbol): Update comment accordingly.
Per Bothner [Tue, 29 Jun 1993 20:11:07 +0000 (20:11 +0000)]
* Makefile.in (taz): rm $(TOOL)-$$VER before linking.
Per Bothner [Tue, 29 Jun 1993 20:08:23 +0000 (20:08 +0000)]
* config.guess: Recognize i486-ncr-sysv4.
Ian Lance Taylor [Tue, 29 Jun 1993 19:55:24 +0000 (19:55 +0000)]
* Makefile.in (MAKEINFOFLAGS): New variable.
(FLAGS_TO_PASS): Pass MAKEINFO as MAKEINFO MAKEINFOFLAGS.
* build-all.mk, test-build.mk: Pass down --no-split as
MAKEINFOFLAGS when hosted on DOS. Compile DOS hosted without -g.
Jim Kingdon [Tue, 29 Jun 1993 18:53:40 +0000 (18:53 +0000)]
bugfix
Jim Kingdon [Tue, 29 Jun 1993 18:27:56 +0000 (18:27 +0000)]
* config/pa/tm-hppa.h: Remove unused ARGS_GROW_DOC.
(REG_STRUCT_HAS_ADDR): Add comment.
Ian Lance Taylor [Tue, 29 Jun 1993 17:51:34 +0000 (17:51 +0000)]
* coff-mips.c (ecoff_find_nearest_line): If procedure has no line
number information, return 0 for line number.
Jim Kingdon [Tue, 29 Jun 1993 17:51:19 +0000 (17:51 +0000)]
* gdb.t16/printcmds.exp: Add printf tests.
David D. Zuhn [Tue, 29 Jun 1993 17:22:03 +0000 (17:22 +0000)]
fix HPUX hosting problems
Jim Kingdon [Tue, 29 Jun 1993 17:13:28 +0000 (17:13 +0000)]
* gdb.t06/{twice.{c,exp},Makefile.in}: New test.
Jim Kingdon [Tue, 29 Jun 1993 16:55:29 +0000 (16:55 +0000)]
* symtab.h: Add comments about line numbers.
Jim Kingdon [Tue, 29 Jun 1993 16:54:23 +0000 (16:54 +0000)]
* infrun.c (wait_for_inferior): Use find_pc_line not find_pc_symtab
to check whether there is line number information.
David D. Zuhn [Tue, 29 Jun 1993 16:02:41 +0000 (16:02 +0000)]
fix docstring so that it compiles
David D. Zuhn [Tue, 29 Jun 1993 15:30:57 +0000 (15:30 +0000)]
fix include file ordering problem (bfd.h vs. symfile.h)
Jim Kingdon [Tue, 29 Jun 1993 15:25:27 +0000 (15:25 +0000)]
* dbxread.c (process_one_symbol): If we find a LOC_BLOCK where we
don't expect it, change it to LOC_STATIC so at least we don't coredump.
* c-typeprint.c (c_type_print_base): Don't error() on invalid type.
Jim Kingdon [Tue, 29 Jun 1993 14:47:17 +0000 (14:47 +0000)]
* symtab.h (struct symtab, line_charpos): Fix comment.
* source.c (identify_source_line): Fix off by one bug with line.