Jim Kingdon [Thu, 8 Jul 1993 19:32:03 +0000 (19:32 +0000)]
Revision to this change--use ->next != NULL, not just ->next, when
passing an integer argument to find_pc_line.
* frame.h, blockframe.c, stack.c, a29k-tdep.c,
config/gould/tmp-{pn,np1}.h,
config/{sparc/tm-sparc.h,pyr/tm-pyr.h,vax/tm-vax.h}: Remove field
next_frame from struct frame_info. It has no purpose beyond
->next->frame and is an artifact from GDB 2.8.
Jim Kingdon [Thu, 8 Jul 1993 19:29:53 +0000 (19:29 +0000)]
* gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
[0-9]*, not just [0-9].
Jim Kingdon [Thu, 8 Jul 1993 19:24:29 +0000 (19:24 +0000)]
* hosts/i386bsd.h: Conditionalize HOST_STACK_END_ADDR on __bsdi__.
i386bsd.c: Remove defines of N_TXT*; the versions in aout64.h should
be sufficient. Define TEXT_START_ADDR.
Jim Kingdon [Thu, 8 Jul 1993 19:21:21 +0000 (19:21 +0000)]
* aout64.h (N_BADMAG): Recognize QMAGIC.
N_TXTOFF, N_TXTADDR, N_TXTSIZE: Special code for QMAGIC.
N_DATOFF: Pad text size if we need to.
David D. Zuhn [Thu, 8 Jul 1993 19:19:31 +0000 (19:19 +0000)]
put CROSS definition into the Makefile
Ken Raeburn [Thu, 8 Jul 1993 19:09:19 +0000 (19:09 +0000)]
Oops, not all of the tc-sparc.c change was format-independent.
Still handles both syntaxes independent of format.
Ken Raeburn [Thu, 8 Jul 1993 18:56:54 +0000 (18:56 +0000)]
forgot to check this in yesterday
Mark Eichin [Thu, 8 Jul 1993 18:50:43 +0000 (18:50 +0000)]
changelog for tc-i960 change
Mark Eichin [Thu, 8 Jul 1993 18:44:32 +0000 (18:44 +0000)]
Thu Jul 8 14:41:43 1993 Mark Eichin (eichin@cygnus.com)
* config/tc-i960.c (md_create_short_jump, md_create_long_jump,
md_number_to_chars, md_section_align): Adjusted to use valueT,
addressT, to match tc.h.
Ken Raeburn [Thu, 8 Jul 1993 18:40:50 +0000 (18:40 +0000)]
config/tc-sparc.c (s_common): Revamp to handle both syntaxes, and not be
target-specific.
David MacKenzie [Thu, 8 Jul 1993 18:00:11 +0000 (18:00 +0000)]
* Make -v only print the version number.
Share some Texinfo documentation with BFD.
David MacKenzie [Thu, 8 Jul 1993 17:58:15 +0000 (17:58 +0000)]
New file bfdsumm.texi to share with ld.
Jim Kingdon [Thu, 8 Jul 1993 17:40:31 +0000 (17:40 +0000)]
Add filename which dje forgot to include
David Edelsohn [Thu, 8 Jul 1993 16:06:57 +0000 (16:06 +0000)]
h8/300h stuff
David Edelsohn [Thu, 8 Jul 1993 16:01:52 +0000 (16:01 +0000)]
(REGISTER_CONVERT_TO_VIRTUAL): Use REGISTER_RAW_SIZE to determine bytes to copy.
(REGISTER_CONVERT_TO_RAW): Ditto.
David Edelsohn [Thu, 8 Jul 1993 15:55:48 +0000 (15:55 +0000)]
h8/300h stuff.
David Edelsohn [Thu, 8 Jul 1993 15:53:13 +0000 (15:53 +0000)]
(REGISTER_TYPES): Adjust for h8/300h.
(REGISTER_RAW_SIZE): Ditto
(REGISTER_VIRTUAL_TYPE): Use builtin_type_unsigned_long for regs on the h8/300h
(ints may still be 16 bits).
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS):
Add FIXME's for h8/300h. Some thought needed here.
David Edelsohn [Thu, 8 Jul 1993 15:47:41 +0000 (15:47 +0000)]
(sparc_frame_chain): Handle sizeof (CORE_ADDR) != sizeof (REGISTER_TYPE).
(frame_saved_pc): Ditto.
David Edelsohn [Thu, 8 Jul 1993 15:32:38 +0000 (15:32 +0000)]
* h8300-tdep.c (print_insn): Call print_insn_h8300h if h8/300h.
(examine_prologue): reg_save_depth is 4 if h8/300h.
David Edelsohn [Thu, 8 Jul 1993 15:27:23 +0000 (15:27 +0000)]
* findvar.c (read_register): Provide some support for 64 bit regs.
(write_register): Ditto.
David Edelsohn [Thu, 8 Jul 1993 14:26:17 +0000 (14:26 +0000)]
config/tc-h8300.h (TC_CONS_RELOC): Use R_RELLONG if h8/300h.
Jim Kingdon [Thu, 8 Jul 1993 04:00:47 +0000 (04:00 +0000)]
add mh-riscos
Jim Kingdon [Thu, 8 Jul 1993 03:58:39 +0000 (03:58 +0000)]
* config/mips/nm-riscos.h: machine/machparam.h is always the right
place to look for BSD43_NBPG, not machine/vmparam.h
Jim Kingdon [Thu, 8 Jul 1993 03:34:04 +0000 (03:34 +0000)]
Fix a place in mipsread.c where I missed using tag_name; revision to
the following change.
Thu Jul 1 09:51:27 1993 Jim Kingdon (kingdon@cygnus.com)
* 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 [Thu, 8 Jul 1993 03:32:00 +0000 (03:32 +0000)]
* infcmd.c (run_stack_dummy): New argument name.
Change error message in (another) attempt to make it comprehensible.
* valops.c (call_function_by_hand): Pass name to run_stack_dummy.
* symtab.h: Declare demangle and asm_demangle since macros use them.
David Edelsohn [Thu, 8 Jul 1993 03:19:46 +0000 (03:19 +0000)]
Initial versions of sparc64 port.
Some stuff can be removed when sparc-tdep.c is upgraded.
David D. Zuhn [Thu, 8 Jul 1993 03:15:36 +0000 (03:15 +0000)]
define CROSS is cross compilation
David Edelsohn [Thu, 8 Jul 1993 03:08:49 +0000 (03:08 +0000)]
Initial versions of port to sparc64 simulators.
David D. Zuhn [Thu, 8 Jul 1993 02:55:22 +0000 (02:55 +0000)]
define CROSS is cross compilation
Jim Kingdon [Thu, 8 Jul 1993 02:04:57 +0000 (02:04 +0000)]
* eval.c (evaluate_subexp): Add comment about calling a member
function of a variable in a register.
David D. Zuhn [Thu, 8 Jul 1993 01:03:24 +0000 (01:03 +0000)]
remove install.cross and all.cross targets
David D. Zuhn [Thu, 8 Jul 1993 01:00:43 +0000 (01:00 +0000)]
remove all.cross and install.cross targets
David D. Zuhn [Thu, 8 Jul 1993 00:59:41 +0000 (00:59 +0000)]
remove another fixme
David D. Zuhn [Thu, 8 Jul 1993 00:57:49 +0000 (00:57 +0000)]
add uniq to holes, ccross changes
David D. Zuhn [Thu, 8 Jul 1993 00:57:26 +0000 (00:57 +0000)]
add sh for sun4 builds
Jim Kingdon [Wed, 7 Jul 1993 23:56:30 +0000 (23:56 +0000)]
* expression.h: Clean up comment about string in STRUCT_STRUCT etc.
Jim Kingdon [Wed, 7 Jul 1993 23:34:50 +0000 (23:34 +0000)]
misc fixes to .Sanitize files
Jim Kingdon [Wed, 7 Jul 1993 23:26:44 +0000 (23:26 +0000)]
* gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
Jim Kingdon [Wed, 7 Jul 1993 22:55:16 +0000 (22:55 +0000)]
* gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
Ken Raeburn [Wed, 7 Jul 1993 21:15:09 +0000 (21:15 +0000)]
Don't define bfd_vma here!
(Wasted at least a day tracking this damn thing down...)
Jim Kingdon [Wed, 7 Jul 1993 20:29:56 +0000 (20:29 +0000)]
* frame.h, blockframe.c, stack.c, a29k-tdep.c,
config/gould/tmp-{pn,np1}.h,
config/{sparc/tm-sparc.h,pyr/tm-pyr.h,vax/tm-vax.h}: Remove field
next_frame from struct frame_info. It has no purpose beyond
->next->frame and is an artifact from GDB 2.8.
Ian Lance Taylor [Wed, 7 Jul 1993 20:07:12 +0000 (20:07 +0000)]
* symbols.c (fb_label_instance, fb_label_instance_inc): Don't dump
core just because somebody uses a label before it is defined.
Ian Lance Taylor [Wed, 7 Jul 1993 18:36:12 +0000 (18:36 +0000)]
* Makefile.in (install): Don't install as $(tooldir)/bin/gld;
collect2 doesn't look for gld any more anyhow.
Jim Kingdon [Wed, 7 Jul 1993 18:26:03 +0000 (18:26 +0000)]
gdbtypes.h: Fix comments regarding the following change:
Thu Jul 1 09:51:27 1993 Jim Kingdon (kingdon@cygnus.com)
* gdbtypes.h (struct type): Add field tag_name.
Ian Lance Taylor [Wed, 7 Jul 1993 18:05:06 +0000 (18:05 +0000)]
* aoutx.h (translate_from_native_sym_flags): Removed statep
argument. Just let an indirect symbol point to the next symbol
without forcing the next symbol to be undefined. Changed all
callers.
* hp300hpux.c (slurp_symbol_table): Changed call to
translate_from_native_sym_flags.
* targets.c: Added hp300hpux_vec.
* Makefile.in (hp300hpux.o): Added dependencies.
Ian Lance Taylor [Wed, 7 Jul 1993 17:37:11 +0000 (17:37 +0000)]
* mips-dis.c: Updated to account for name changes in new version
of opcode/mips.h.
* Makefile.in: Added header file dependencies.
Ian Lance Taylor [Wed, 7 Jul 1993 17:34:57 +0000 (17:34 +0000)]
* mips.h: Replaced with version from Ralph Campbell and OSF. The
new version includes instruction hazard information, but is
otherwise reasonably similar.
Ian Lance Taylor [Wed, 7 Jul 1993 17:29:12 +0000 (17:29 +0000)]
This file was not removed last time. Why??
Ian Lance Taylor [Wed, 7 Jul 1993 17:23:39 +0000 (17:23 +0000)]
* config/mips-opcode.h: Moved to opcode/mips.h.
* config/tc-mips.c: Include opcode/mips.h rather than
mips-opcode.h.
(append_insn): An extra NOP is only needed after instructions
which set HI or LO, not after instructions which read it.
(macro_build, mips_ip): Support new 'E', 'G' and 'B' arguments.
(macro): cfc1 and ctc1 now take "t,G" rather than "t,d".
* config/tc-mips.h (struct mips_opcode): Don't define.
* config/mips-big.mt, config/mips-lit.mt (TARG_CPU_DEPENDENTS):
Set to $(srcdir)/../include/opcode/mips.h.
Get the MIPS assembler up to speed with other gas changes:
* config/obj-ecoff.c (ecoff_set_vma, ecoff_frob_symbol):
Removed; don't change the symbol value.
(ecoff_build_symbols, ecoff_build_procs, ecoff_frob_file): Use
bfd_asymbol_value rather than S_GET_VALUE to include section
vma in symbol value.
(ecoff_frob_file): Ignore BSF_SECTION_SYM symbols, since ECOFF
doesn't output them. Set the vma of sections.
* config/obj-ecoff.h: Don't define obj_frob_symbol.
* config/tc-mips.c (tc_gen_reloc): Adjustment by section vma is no
longer necessary.
(various): use valueT rather than long.
Ian Lance Taylor [Wed, 7 Jul 1993 17:22:56 +0000 (17:22 +0000)]
Various entries.
Ken Raeburn [Wed, 7 Jul 1993 17:16:02 +0000 (17:16 +0000)]
Typedef changes. V9 work.
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