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.
Jim Kingdon [Tue, 29 Jun 1993 14:24:36 +0000 (14:24 +0000)]
* gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
Jim Kingdon [Mon, 28 Jun 1993 22:35:18 +0000 (22:35 +0000)]
* config/pa/xm-pa.h: New file.
* config/pa/xm-hppa{b,h}.h: Include it.
Jim Kingdon [Mon, 28 Jun 1993 22:34:29 +0000 (22:34 +0000)]
x
David MacKenzie [Mon, 28 Jun 1993 19:23:35 +0000 (19:23 +0000)]
* Makefile.in (scriptdir): Base on tooldir, not datadir.
Jim Kingdon [Mon, 28 Jun 1993 19:18:56 +0000 (19:18 +0000)]
config/m88k/xm-delta88.h: Remove VPRINTF define, not needed.
Jim Kingdon [Mon, 28 Jun 1993 17:38:30 +0000 (17:38 +0000)]
* xcoffread.c: Remove obsolete NO_TYPEDEFS comment.
Steve Chamberlain [Mon, 28 Jun 1993 15:59:30 +0000 (15:59 +0000)]
Extra stuff for really broken hp compiler.
Jim Kingdon [Mon, 28 Jun 1993 15:15:23 +0000 (15:15 +0000)]
* gdb.stabs/wierd.exp: Add xfail for rs6000.
Jim Kingdon [Mon, 28 Jun 1993 15:03:27 +0000 (15:03 +0000)]
* gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
{BEGIN,END}_COMMON for common block instead of STAB.
Jim Kingdon [Mon, 28 Jun 1993 14:58:42 +0000 (14:58 +0000)]
* hosts/riscos.h: Define NBPG and UPAGES.
Jim Kingdon [Mon, 28 Jun 1993 14:34:46 +0000 (14:34 +0000)]
* gdb.stabs/wierd.def: Make value of N_GSYM's 0.
intp_var should be N_GSYM not N_LSYM.
wierd-aout.S: Use a label for the value of the N_SO.
wierd.def: Remove all backslashes.
wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
Peter Schauer [Mon, 28 Jun 1993 14:23:11 +0000 (14:23 +0000)]
* gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
get the expected next to inheritance3.
David MacKenzie [Mon, 28 Jun 1993 02:17:13 +0000 (02:17 +0000)]
* Makefile.in: Note dependencies on bucomm.h.
(cplus-dem.o): Link c++filt with version.o.
* strings.c: Include bucomm.h and add prototypes to other decls.
Remove -h option.
* bucomm.h: Declare xrealloc.
* nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add
--help option. Put "GNU" in the version message.
(usage): Take stream and exit status as args.
(main): Pass new args to usage.
Rob Savoye [Mon, 28 Jun 1993 01:43:34 +0000 (01:43 +0000)]
Works again.
Ken Raeburn [Sun, 27 Jun 1993 20:32:32 +0000 (20:32 +0000)]
elf32.c (slurp_symbol_table): fix cast-as-lvalue bug
Peter Schauer [Sun, 27 Jun 1993 19:31:36 +0000 (19:31 +0000)]
* gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
now that gcc-2.4 gets it right.
Peter Schauer [Sun, 27 Jun 1993 15:56:44 +0000 (15:56 +0000)]
* valprint.c (val_print_type_code_int): Fix off by one error with
eliminating leading zeroes for large little endian integers.
Jim Kingdon [Sun, 27 Jun 1993 14:28:30 +0000 (14:28 +0000)]
* config/mips/riscos.mh (CC): Use -systype sysv.
Jim Kingdon [Sun, 27 Jun 1993 14:16:34 +0000 (14:16 +0000)]
* ser-unix.c: Move #include of <sys/time.h> to HAVE_SGTTY section.
Jim Kingdon [Sun, 27 Jun 1993 14:06:28 +0000 (14:06 +0000)]
* Makefile.in (ALLPARAM): Add config/mips/{x,n}-{news-mips,riscos}.h.
David D. Zuhn [Sun, 27 Jun 1993 01:42:27 +0000 (01:42 +0000)]
add go32 tools to the go32 targetted toolchains
David MacKenzie [Sat, 26 Jun 1993 20:13:24 +0000 (20:13 +0000)]
* ldver.c (help): New function.
* ldver.h: Declare it.
* ldlex.l, ldgram.y: Recognize new options --help and --version.
David MacKenzie [Sat, 26 Jun 1993 15:00:47 +0000 (15:00 +0000)]
* aoutx.h (hash, compare, struct stringtab_entry, add_to_stringtab):
Use unsigned hash values for better hashing.
(hash): Hash in the string length for long strings.
* aoutx.h (compare): Replace 3 if's with a subtraction.
(translate_to_native_sym_flags, add_to_stringtab): Reorder tests
in decreasing order of success, as an optimization.
(hash): Take a length arg; ignore chars after #25, for speed.
(add_to_stringtab): Pass length to hash.
David MacKenzie [Sat, 26 Jun 1993 06:42:46 +0000 (06:42 +0000)]
* Fix a couple of typos.
David MacKenzie [Sat, 26 Jun 1993 06:38:57 +0000 (06:38 +0000)]
* Makefile.in: Add rules for strings.
David MacKenzie [Sat, 26 Jun 1993 06:37:17 +0000 (06:37 +0000)]
* strings.c, strings.1: New files.
* binutils.texi: Document strings.
Jim Kingdon [Sat, 26 Jun 1993 03:30:24 +0000 (03:30 +0000)]
* gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
Jim Kingdon [Sat, 26 Jun 1993 03:25:03 +0000 (03:25 +0000)]
revisions to just-checked-in stuff re common blocks
Jim Kingdon [Sat, 26 Jun 1993 02:39:05 +0000 (02:39 +0000)]
* stabs.texinfo (Common Blocks): Say what Sun FORTRAN does.
Jim Kingdon [Sat, 26 Jun 1993 02:05:54 +0000 (02:05 +0000)]
* config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
CALL_DUMMY between different 68k machines.
Jim Kingdon [Sat, 26 Jun 1993 01:44:56 +0000 (01:44 +0000)]
* config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
CALL_DUMMY between different 68k machines.