Ken Raeburn [Wed, 7 Jul 1993 16:58:29 +0000 (16:58 +0000)]
(sparc_ip): Initialize `len' variable to make gcc shut up.
(md_create_short_jump, md_create_long_jump, md_number_to_chars,
md_section_align): Adjusted for new interface.
(s_reserve): Permit use for other than a.out format.
(s_common): Handle Solaris-2 version.
(s_xword): For numbers, call big_cons.
(sparc_ip, md_apply_fix, tc_gen_reloc): Handle some sparc64 reloc types.
(md_number_to_chars): Handle 8-byte values.
Ken Raeburn [Wed, 7 Jul 1993 16:56:24 +0000 (16:56 +0000)]
(md_create_short_jump, md_create_long_jump,
md_number_to_chars, md_section_align): Adjusted for new interface.
Ken Raeburn [Wed, 7 Jul 1993 16:40:30 +0000 (16:40 +0000)]
Change various calls (e.g., to symbol_new, md_number_to_chars) to cast
valueT or addressT arguments to correct types.
Ken Raeburn [Wed, 7 Jul 1993 16:39:13 +0000 (16:39 +0000)]
(struct fix): Fields fx_offset and fx_addnumber are now type valueT.
(fix_new): Argument offset is now type offsetT.
Ken Raeburn [Wed, 7 Jul 1993 16:33:38 +0000 (16:33 +0000)]
(write_object_file): Locals from_addr, to_addr, table_addr are now addressT.
Supply prototype for bfd_alloc for now.
(fixup_segment): Local add_number is now valueT. Fix some range-checking bugs.
(relax_align): Type `int' should be sufficient for the exponent.
(fix_new): Argument offset is offsetT. Locals size and newsize are valueT.
Ken Raeburn [Wed, 7 Jul 1993 16:25:37 +0000 (16:25 +0000)]
* symbols.c (symbol_new): Symbol value is type valueT.
(S_SET_VALUE, S_GET_VALUE): Likewise.
(S_IS_*): Specify int return type explicitly.
* symbols.h (symbol_new, S_GET_VALUE, S_SET_VALUE): Fixed prototypes.
Ken Raeburn [Wed, 7 Jul 1993 16:22:12 +0000 (16:22 +0000)]
(obj_elf_frob_symbol, elf_frob_file, elf_file_symbol): Declare.
(elf_symbol): For sparc v9, use 64-bit symbol type.
Ken Raeburn [Wed, 7 Jul 1993 16:19:59 +0000 (16:19 +0000)]
clean v9 from obj-elf.h
Ken Raeburn [Wed, 7 Jul 1993 16:17:29 +0000 (16:17 +0000)]
Define ENV64 for sparc v9.
Ken Raeburn [Wed, 7 Jul 1993 16:14:44 +0000 (16:14 +0000)]
(free): Returns void if __STDC__.
Ian Lance Taylor [Wed, 7 Jul 1993 15:26:14 +0000 (15:26 +0000)]
Don't crash if with_minimal_bfd is the empty string.
Ken Raeburn [Wed, 7 Jul 1993 12:37:58 +0000 (12:37 +0000)]
(s_comm): Values read are type valueT.
Ken Raeburn [Wed, 7 Jul 1993 12:36:51 +0000 (12:36 +0000)]
(expressionS): Field X_add_number is an offsetT.
Ken Raeburn [Wed, 7 Jul 1993 12:35:48 +0000 (12:35 +0000)]
(integer_constant, floating_constant): Now return void.
Ken Raeburn [Wed, 7 Jul 1993 12:33:43 +0000 (12:33 +0000)]
move valueT typedef to as.h from struc-symbol.h
Ken Raeburn [Wed, 7 Jul 1993 12:33:11 +0000 (12:33 +0000)]
localize a conditionally used variable
David D. Zuhn [Tue, 6 Jul 1993 22:00:57 +0000 (22:00 +0000)]
simplify adding gprof to sh-*-*
Ken Raeburn [Tue, 6 Jul 1993 21:14:36 +0000 (21:14 +0000)]
more prototypes, in libelf.h
Ken Raeburn [Tue, 6 Jul 1993 20:48:07 +0000 (20:48 +0000)]
Several changes: type fixes; prototypes; minimal-bfd work; elf fixes.
Ken Raeburn [Tue, 6 Jul 1993 20:46:32 +0000 (20:46 +0000)]
regenerated
Ken Raeburn [Tue, 6 Jul 1993 20:43:42 +0000 (20:43 +0000)]
* elfcode.h (elf_read): Delete static declaration, since function has moved.
(elf_map_symbols): Write out section symbols for all sections, for now.
(elf_symbol_from_bfd_symbol): Allow match if both symbols are section symbols
for the same section.
(elf_find_nearest_line): Don't print message, just return false.
Ken Raeburn [Tue, 6 Jul 1993 20:36:42 +0000 (20:36 +0000)]
fill out reloc table
Ken Raeburn [Tue, 6 Jul 1993 20:27:25 +0000 (20:27 +0000)]
Hack to cut down compilations needed for minimal-bfd:
* Makefile.in (ALL_MACHINES): Renamed from BFD_MACHINES.
(ofiles): New target. Build a list of unique file names, in case
any got duplicated.
(TARGETLIB): Use list of files from ofiles.
* configure.in: Set BFD_MACHINES and BFD_BACKENDS depending on
minimal-bfd flag and target makefile frag contents.
Ken Raeburn [Tue, 6 Jul 1993 20:20:31 +0000 (20:20 +0000)]
Stricter prototyping, to force type conversions between 64-bit target and
32-bit host values.
* libbfd.c (bfd_xmalloc_by_size_t): New function.
* opncls.c (bfd_cache_init, bfd_open_file): Add prototypes to declarations.
(obstack_chunk_alloc): Use bfd_xmalloc_by_size_t.
(new_bfd): Prototype-style definition, using DEFUN.
(bfd_alloc_grow, bfd_alloc, bfd_zalloc, bfd_realloc): Size argument is type
size_t, not bfd_size_type.
* ieee.c (obstack_chunk_alloc): Use bfd_xmalloc_by_size_t.
* bfd.c (bfd_default_error_trap, bfd_error_trap,
bfd_error_nonrepresentabltrap): Prototypes.
* libbfd-in.h (bfd_alloc, bfd_zalloc, bfd_realloc, bfd_alloc_grow): Adjusted
prototypes for arg type change.
* archive.c (get_elt_at_filepos, do_slurp_bsd_armap, normalize,
do_slurp_coff_armap, bfd_construct_extended_name_table): Prototypes.
John Gilmore [Tue, 6 Jul 1993 19:43:06 +0000 (19:43 +0000)]
* gdbint.texinfo (Target Conditionals): Remove NO_TYPEDEFS,
removed from the code by Kingdon.
Ken Raeburn [Tue, 6 Jul 1993 19:29:36 +0000 (19:29 +0000)]
(enum bfd_reloc_code_real): Put simple power-to-two relocs together, and add
64-bit versions. Also add sparc v9 reloc types.
(bfd_generic_get_relocated_section_contents): Argument to alloca is size_t.
Jim Kingdon [Tue, 6 Jul 1993 19:04:59 +0000 (19:04 +0000)]
* gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
Jim Kingdon [Tue, 6 Jul 1993 18:56:48 +0000 (18:56 +0000)]
* Makefile.in: Remove gdb before creating a new one.
Update init.c atomically.
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.