Jim Kingdon [Wed, 29 Dec 1993 16:22:31 +0000 (16:22 +0000)]
* stabs.texinfo (Cross-References): `::' is for nested types only
within <>.
(Structures): Document static members.
Fred Fish [Tue, 28 Dec 1993 23:15:20 +0000 (23:15 +0000)]
* solib.c (DEBUG_BASE): Remove macro and all references.
* solib.c (debug_base_symbols): Add array of symbols to lookup.
* solib.c (IGNORE_FIRST_LINK_MAP_ENTRY): Add macro.
* solib.c (look_for_base, locate_base): Use debug_base_symbols.
* solib.c (find_solib): Use IGNORE_FIRST_LINK_MAP_ENTRY.
Kung Hsu [Tue, 28 Dec 1993 20:11:25 +0000 (20:11 +0000)]
CVS:
Modified Files:
ChangeLog c-exp.y
* c-exp.y : fix grammar to parse ellipsis (...)
(fix pr4218)
Ian Lance Taylor [Tue, 28 Dec 1993 17:45:14 +0000 (17:45 +0000)]
* elf.c (bfd_elf_generic_reloc): If this is not an inplace reloc,
then skip bfd_perform_relocation even if the addend is non-zero.
Kung Hsu [Tue, 28 Dec 1993 02:46:34 +0000 (02:46 +0000)]
Modified Files:
ChangeLog stabsread.c
* stabsread.c (read_type): fix problem when reading static member
of a class. caused by change to allow :: inside template
instantiated name.
Mark Eichin [Mon, 27 Dec 1993 19:39:55 +0000 (19:39 +0000)]
* config/i386-linux.mt: delete ".sh" from genscripts argument
(change made to genscripts on July 21...)
This is all it took for linux-native ld to build. It isn't necessarily useful,
particularly as gcc is still configured to pass -m486 and -dll-verbose, which
this ld doesn't parse...
Jim Kingdon [Mon, 27 Dec 1993 18:59:39 +0000 (18:59 +0000)]
* stabs.texinfo: Document S type attribute.
Jim Kingdon [Mon, 27 Dec 1993 18:56:23 +0000 (18:56 +0000)]
* gdbtypes.h: Expand on comments for TYPE_CODE_BITSTRING and
TYPE_CODE_STRING a bit.
Jim Kingdon [Mon, 27 Dec 1993 18:44:07 +0000 (18:44 +0000)]
* m68k-tdep.c (m68k_skip_prologue, m68k_find_saved_regs):
Allow pea %fp; move.l %sp, %fp instead of link instruction to
set up the new frame.
Jim Kingdon [Mon, 27 Dec 1993 18:26:57 +0000 (18:26 +0000)]
* main.c (init_main): Change "set remotedebug" back to var_zinteger
from var_boolean.
Jim Kingdon [Mon, 27 Dec 1993 17:49:00 +0000 (17:49 +0000)]
* minsyms.c (prim_record_minimal_symbol): Call
prim_record_minimal_symbol_and_info rather than duplicating code.
Jim Kingdon [Mon, 27 Dec 1993 17:47:28 +0000 (17:47 +0000)]
* minsyms.c, symtab.h (prim_record_minimal_symbol{,_and_info}),
coffread.c (record_minimal_symbol),
xcoffread.c (RECORD_MINIMAL_SYMBOL), callers: Add objfile parameter.
Jim Kingdon [Mon, 27 Dec 1993 17:27:45 +0000 (17:27 +0000)]
* c-exp.y (yylex): Don't try to deal with nested types.
Jim Kingdon [Mon, 27 Dec 1993 17:01:03 +0000 (17:01 +0000)]
* cp-valprint.c (cplus_print_value): Call check_stub_type on
TYPE_BASECLASS (type, i) before we look at its name.
Jim Kingdon [Mon, 27 Dec 1993 16:31:56 +0000 (16:31 +0000)]
* dbxread.c: Move default definition of GCC_COMPILED_FLAG_SYMBOL
from here . . .
* symtab.h: . . . to here.
* dbxread.c (record_minimal_symbol): Move check for gcc{,2}_compiled.
and __gnu_compiled* from here . . .
* minsyms.c (prim_record_minimal_symbol_and_info): . . . to here.
* minsyms.c (prim_record_minimal_symbol): Call
prim_record_minimal_symbol_and_info rather than duplicating code.
Jeff Law [Mon, 27 Dec 1993 04:52:47 +0000 (04:52 +0000)]
Add comment about breakpoint vector usage.
Jeff Law [Mon, 27 Dec 1993 04:47:59 +0000 (04:47 +0000)]
* stabs.texinfo: Add notes about stabs-in-som where appropriate.
Jeff Law [Mon, 27 Dec 1993 04:46:05 +0000 (04:46 +0000)]
* dbxread.c (process_one_symbol): Handle stabs-in-som just like
stabs-in-elf.
(pastab_build_psymtabs): Likewise.
* hppa-tdep.c: Change all comments to reference %r3 or frame pointer
rather than %r4.
(frame_chain, skip_prologue, dig_rp_from_stack): Handle %r3 as the
frame pointer.
* config/pa/tm-hppa.h (FP_REGNUM): Define as %r3.
(FIND_FRAME_SAVED_REGS): Handle %r3 as frame pointer.
(CALL_DUMMY): Likewise.
Jim Kingdon [Sun, 26 Dec 1993 23:33:14 +0000 (23:33 +0000)]
* exec.c (exec_file_command): If error occurs after we have opened
exec_bfd but before we call push_target, make sure to close exec_bfd.
Jim Kingdon [Sun, 26 Dec 1993 23:06:56 +0000 (23:06 +0000)]
Sun Dec 26 16:59:39 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* infrun.c (wait_for_inferior): Remove confusing and inaccurate
stuff about subroutine calls, return, etc., from comment which
says "We've wandered out of the step range.".
Sun Dec 26 09:18:10 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* infrun.c (wait_for_inferior): When checking whether the line has
changed, check the symtab as well.
Jim Kingdon [Sun, 26 Dec 1993 22:37:47 +0000 (22:37 +0000)]
* gdbtypes.c (force_to_range_type): Use switch statement.
complain() not warning() if the TYPE_CODE isn't one we know how to
deal with gracefully. Use builtin_type_int not
lookup_fundamental_type (the objfile we passed to
lookup_fundamental_type was sometimes NULL).
Torbjorn Granlund [Sun, 26 Dec 1993 22:36:02 +0000 (22:36 +0000)]
Making HPPA assembler case sensitive where it should be, and speeding it up
a factor of 2.
Jim Kingdon [Sun, 26 Dec 1993 18:10:22 +0000 (18:10 +0000)]
* valops.c (call_function_by_hand, push_word), defs.h (push_word),
convex-xdep.c, m88k-nat.c, i386m3-nat.c, mips-tdep.c, mipsm3-nat.c,
ns32km3-nat.c, remote-bug.c, m88k-tdep.c, remote-hms.c, remote-mips.c,
config/gould/tm-np1.h, hppa-tdep.c (hppa_fix_call_dummy), remote-vx.c:
Use REGISTER_SIZE, unsigned LONGEST, and
{store,extract}_unsigned_integer, instead of sizeof
(REGISTER_TYPE) and REGISTER_TYPE.
* All tm.h files: Change REGISTER_TYPE to REGISTER_SIZE.
* hppa-tdep.c (pa_print_fp_reg): Remove unused variable val.
* Makefile.in (ALLDEPFILES): Remove i386ly-nat.c and m68kly-nat.c.
Add lynx-nat.c.
Jeff Law [Sun, 26 Dec 1993 04:06:32 +0000 (04:06 +0000)]
* hppa-tdep.c (init_extra_frame_info): Correctly adjust the base
of the current frame when "fromleaf" is true. Do not adjust the
frame base of the innermost frame if it is a leaf function.
Jeff Law [Sun, 26 Dec 1993 04:03:38 +0000 (04:03 +0000)]
No longer needed.
Jeff Law [Sun, 26 Dec 1993 04:02:36 +0000 (04:02 +0000)]
* configure.in: Nuke hacks which were used to get a special
version of GAS for HPPA configurations.
Jim Kingdon [Sat, 25 Dec 1993 19:50:45 +0000 (19:50 +0000)]
* stabsread.c (define_symbol): Only combine a p/r pair into a
LOC_REGPARM if REG_STRUCT_HAS_ADDR.
Jim Kingdon [Sat, 25 Dec 1993 19:28:47 +0000 (19:28 +0000)]
Sat Dec 25 09:50:29 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* valops.c (value_struct_elt): Check for (value)-1 return from
search_struct_method.
Jim Kingdon [Sat, 25 Dec 1993 18:44:22 +0000 (18:44 +0000)]
* defs.h: Move definitions of TARGET_*_BIT after include of tm.h.
The old way (using #undef in tm.h) was ugly and asking for
trouble, because it makes it possible for some file to use the
wrong definition. Move definition of HOST_CHAR_BIT after definition
of TARGET_CHAR_BIT.
* config/alpha/tm-alpha.h, config/h8300/tm-h8300.h,
config/h8500/tm-h8500.h, config/z8k/tm-z8k.h: Don't undef TARGET_*_BIT
before defining them.
Jim Kingdon [Sat, 25 Dec 1993 18:04:33 +0000 (18:04 +0000)]
* mdebugread.c: Change the builtin_type_* in this file to
mdebug_type_* and make them static. Use TYPE_CODE_ERROR for
complex and float decimal.
Jim Kingdon [Sat, 25 Dec 1993 15:58:46 +0000 (15:58 +0000)]
* printcmd.c (disassemble_command): Call wrap_here between printing
address and printing instruction.
Jim Kingdon [Fri, 24 Dec 1993 20:43:29 +0000 (20:43 +0000)]
* stabsread.c (read_type): Don't fall through 'S' case (the case it
was falling though happened to do the thing thing ("break;") but that
is hardly a good thing to assume).
Jim Kingdon [Fri, 24 Dec 1993 19:05:23 +0000 (19:05 +0000)]
remove stray <<<<< from CVS
Ian Lance Taylor [Thu, 23 Dec 1993 17:29:32 +0000 (17:29 +0000)]
Various entries.
Ian Lance Taylor [Thu, 23 Dec 1993 17:29:06 +0000 (17:29 +0000)]
gcc -Wall lint:
* ar.c (main): Put parens around assignment used as truth value.
* objdump.c (display_bfd): Declare return value as void.
(stab_print): Use "" instead of 0 to initialize array.
(dump_stabs_1): Print vma using printf_vma.
(display_info): Put parens around assignment used as truth value.
* strings.c (print_strings): Cast printf arguments.
Per Bothner [Tue, 21 Dec 1993 22:22:45 +0000 (22:22 +0000)]
* valops.c (value_coerce_array): Handle STRINGs as well as ARRAYs.
Per Bothner [Tue, 21 Dec 1993 22:18:51 +0000 (22:18 +0000)]
* ch-exp.y (match_dollar_tokens): Fix off-by-one bug.
* ch-lang.c (chill_is_varying_struct), ch-lang.h: New function.
* ch-lang.c (chill_printstr): Use double quotes, not single quotes.
* ch-typeprint.c (chill_type_print_base): Handle TYPE_CODE_BITSTRING.
Improve printing of TYPE_CODE_STRING, TYPE_CODE_SET, and
TYPE_CODE_STRUCT (including checking chill_is_varying_struct).
Print TYPE_DUMMY_RANGE by printing its TYPE_TARGET_TYPE.
Handle TYPE_CODE_ENUM.
* ch-valprint.c (chill_val_print): Handle TYPE_CODE_BITSTRING.
For TYPE_CODE_STRING, never print address. Handle VARYING strings.
* gdbtypes.c (force_to_range_type): New.
* gdbtypes.c (create_set_type): Make work, following Chill layout.
* gdbtypes.h (TYPE_LOW_BOUND, TYPE_HIGH_BOUND, TYPE_DUMMY_RANGE): New.
* stabsread.c (read_type): Distinguish string and bitstring from
char-array and set.
* valarith.c (value_subscript), valops.c (value_coerce_array):
Handle STRINGs as well as ARRAYs.
* valarith.c (value_bit_index): Fix think. Use new macros.
Ken Raeburn [Tue, 21 Dec 1993 17:54:38 +0000 (17:54 +0000)]
Add TODO list item from observing Solaris assembler.
Ken Raeburn [Tue, 21 Dec 1993 17:47:38 +0000 (17:47 +0000)]
changes so far
Ken Raeburn [Tue, 21 Dec 1993 17:41:45 +0000 (17:41 +0000)]
(coff_write_relocs) [SWAP_OUT_RELOC_OFFSET]: Copy addend to r_offset field.
Ken Raeburn [Tue, 21 Dec 1993 17:27:20 +0000 (17:27 +0000)]
added coff-sparc.c to CFILES, rebuilt dependencies
Ken Raeburn [Tue, 21 Dec 1993 17:24:10 +0000 (17:24 +0000)]
(aix386_core_file_p): Use cd_regs[0] for computing the offsetof because AIX
/bin/cc does not like to take the address of an array. (From Minh Tran-Le.)
Ken Raeburn [Mon, 20 Dec 1993 21:54:33 +0000 (21:54 +0000)]
sparc-coff reloc, symbols.c BSF_* changes
Ken Raeburn [Mon, 20 Dec 1993 21:53:01 +0000 (21:53 +0000)]
* write.c (adjust_reloc_syms) [RELOC_REQUIRES_SYMBOL]: If no symbol is present
(i.e., relocation against absolute), create a phony local symbol, and use it in
the reloc.
(fixup_segment): When adjusting a reloc with an absolute symbol, have
TC_FORCE_RELOCATION control clearing add_symbolP too.
* config/tc-sparc.h (RELOC_REQUIRES_SYMBOL): Define.
David D. Zuhn [Mon, 20 Dec 1993 21:09:41 +0000 (21:09 +0000)]
no cvs on rs6000
Ken Raeburn [Mon, 20 Dec 1993 16:58:19 +0000 (16:58 +0000)]
md_end, listing, obj-coff changes
Ken Raeburn [Mon, 20 Dec 1993 16:48:00 +0000 (16:48 +0000)]
* as.c (main): Only invoke md_end if it's defined as a macro.
* tc.h (md_end): Don't declare it.
* config/tc-*.[ch] (md_end): Deleted, in cases where it doesn't do anything.
* config/tc-vax.c (vip_end): Deleted null function.
* config/tc-mips.c (md_mips_end): Renamed from md_end.
* config/tc-mips.h (md_mips_end): Declare.
(md_end): New macro, calls md_mips_end.
* write.c (write_object_file): Don't close output file.
* as.c (main): Close output file (if needed) after calling listing_print, which
should be after calling write_object_file, which sets the frag addresses.
Ken Raeburn [Mon, 20 Dec 1993 16:43:37 +0000 (16:43 +0000)]
whitespace
Ken Raeburn [Mon, 20 Dec 1993 15:43:23 +0000 (15:43 +0000)]
* as.c (main): Call listing_print before BFD gets closed, when symbol data
hasn't been freed up yet.
Per Bothner [Mon, 20 Dec 1993 04:44:21 +0000 (04:44 +0000)]
* configure: If only ${target_alias} is given, use that
as the default for ${host_alias}.
* configure: Add missing back-slashes before nested quotes.
Kung Hsu [Fri, 17 Dec 1993 18:51:17 +0000 (18:51 +0000)]
Modified Files:
ChangeLog symtab.c c-valprint.c
* symtab (decode_line_1): fix a bug when position char is not
set correctly.
* c-valprint (c_val_print): handle vtbl printing when vtbl is not
set up yet.
Jeff Law [Fri, 17 Dec 1993 05:21:33 +0000 (05:21 +0000)]
* ldmain.c (lprefix): Change default from a char to a string
with only one character.
(lprefix_len): Set default to one.
* ldmain.h (lprefix_len): Declare.
* ldsym.c (write_file_locals): Use strncmp rather than a character
comparison for lprefix.
* emultmpl/m88kbcs.em (before_parse): Set lprefix and lprefix_len
correctly.
* emultmpl/hppaosf.em: Include ldexp.h.
(before_parse): Set lprefix and lprefix_len correctly.
Jeff Law [Fri, 17 Dec 1993 05:16:01 +0000 (05:16 +0000)]
* config/tc-hppa.c (md_begin): Initialize "dummy_label".
(tc_gen_reloc, SOM version): For relocations which have no symbol,
set sym_ptr_ptr to dummy_label. Avoids lossage in generic BFD code.
Ken Raeburn [Thu, 16 Dec 1993 21:56:03 +0000 (21:56 +0000)]
recent config/* & section_symbol changes
Ian Lance Taylor [Thu, 16 Dec 1993 21:47:59 +0000 (21:47 +0000)]
* mips-tdep.c (read_next_frame_reg): If SIGFRAME_REG_SIZE is not
defined, define it as 4.
Ken Raeburn [Thu, 16 Dec 1993 21:31:22 +0000 (21:31 +0000)]
* config/tc-vax.c (tc_aout_fix_to_chars): Local variable NBYTES_R_LENGTH now
const.
* config/obj-*.c, config/tc-*.c: Omit superfluous "return" statements at ends
of functions. Don't check for null return from hash_new, since it won't return
at all if there's no memory available. Also, check for null return from
hash_insert, rather than zero-length string, as success indicator.
Ken Raeburn [Thu, 16 Dec 1993 21:12:43 +0000 (21:12 +0000)]
read.c(lex_type): Don't make '[' a valid symbol name char.
Jeff Law [Thu, 16 Dec 1993 21:10:24 +0000 (21:10 +0000)]
* config/m68k/nm-hp300bsd.h: Correctly identify 4.3BSD vs 4.4BSD.
* config/m68k/tm-hp300bsd.h (REMOTE_BPT_VECTOR): Define.
* config/m68k/tm-m68k.h (REMOTE_BPT_VECTOR): Allow targets to
override.
(REMOTE_BREAKPOINT): Likewise.
Jeff Law [Thu, 16 Dec 1993 21:07:44 +0000 (21:07 +0000)]
* hosts/hp300bsd.h: Correctly identify 4.3BSD vs 4.4BSD.
David D. Zuhn [Thu, 16 Dec 1993 04:24:16 +0000 (04:24 +0000)]
update rev to 5.6(Cygnus)
David D. Zuhn [Thu, 16 Dec 1993 04:22:10 +0000 (04:22 +0000)]
remove gratitious s
David D. Zuhn [Thu, 16 Dec 1993 04:18:17 +0000 (04:18 +0000)]
document -v flag
David D. Zuhn [Thu, 16 Dec 1993 04:14:45 +0000 (04:14 +0000)]
add -v flag to gprof (print version number)
Ken Raeburn [Wed, 15 Dec 1993 20:46:54 +0000 (20:46 +0000)]
Makefile.in (RUNTEST): New variable.
(CHECKFLAGS): Pass it down.
Ken Raeburn [Wed, 15 Dec 1993 20:44:45 +0000 (20:44 +0000)]
forgot to check in some log messages last week
David MacKenzie [Wed, 15 Dec 1993 17:08:52 +0000 (17:08 +0000)]
cleanups and mach3 changes
Ken Raeburn [Wed, 15 Dec 1993 16:28:46 +0000 (16:28 +0000)]
Some changes from trying to run test suite in California last week:
* Makefile.in (site.exp): Don't set ASFLAGS. Quote value of OBJDUMPFLAGS in
case it's empty. Use temporary names until the end; make creating site.exp the
final step.
(check): Pass in ASFLAGS.
* gas/all/gas.exp: Use all_ones proc. Change regexp for matching
C comments to avoid bugs in latest expect code.
Ken Raeburn [Wed, 15 Dec 1993 16:23:27 +0000 (16:23 +0000)]
removed an unnecessary comment
Jeff Law [Wed, 15 Dec 1993 05:50:44 +0000 (05:50 +0000)]
* som.c (som_begin_writing): Fix thinkos in auxiliary header
support.
(bfd_som_attach_aux_hdr): Likewise.
Jeff Law [Wed, 15 Dec 1993 05:45:45 +0000 (05:45 +0000)]
* configure.in (hppa*-*-osf*): Do not consider this a developmental
configuration.
Jeff Law [Wed, 15 Dec 1993 05:41:11 +0000 (05:41 +0000)]
* config/tc-hppa.c (md_apply_fix): Handle cases where no
relocation will be emitted for 32bit formats.
Per Bothner [Wed, 15 Dec 1993 05:28:09 +0000 (05:28 +0000)]
* config.guess: Recognize some Tektronix configurations.
From Kaveh R. Ghazi <ghazi@noc.rutgers.edu>.
Ian Lance Taylor [Tue, 14 Dec 1993 22:34:41 +0000 (22:34 +0000)]
* ldlex.h: Don't declare yywrap if it is a macro.
* ldlex.l: Include sysdep.h.
Ian Lance Taylor [Tue, 14 Dec 1993 22:20:35 +0000 (22:20 +0000)]
* ldlang.c (lang_for_each_statement_worker,
lang_for_each_statement): Forgot to use PARAMS.
Jeff Law [Tue, 14 Dec 1993 07:36:15 +0000 (07:36 +0000)]
* elf32-hppa.c (hppa_elf_gen_reloc_type): Handle 'T' field
selectors for PIC code.
* som.c (hppa_som_gen_reloc_type): Handle 'T' field selectors.
(som_write_fixups): Handle R_DLT_REL, R_FSEL, R_RSEL, R_LSEL
relocations needed by PIC.
Jeff Law [Tue, 14 Dec 1993 07:34:37 +0000 (07:34 +0000)]
* config/tc-hppa.c (md_apply_fix): Do not call hppa_field_adjust
for any of the 'T' field selectors.
Per Bothner [Tue, 14 Dec 1993 04:32:51 +0000 (04:32 +0000)]
Implement support for Chill POWERSETs.
* ch-exp.y (operand_2): Implement 'Element IN PowerSet'.
* ch-typeprint.c (chill_type_print_base): Handle POWERSETs.
* ch-valprint.c (chill_val_print): Handle TYPE_CODE_SET.
* eval.c (evaluate_subexp): Implement BINOP_IN.
* expression.h (enum exp_opcode): Added BINOP_IN.
* gdbtypes.c (create_set_type), gdbtypes.h: New function.
* stabsread.c (read_type): If 'S', create a set type.
* valarith.c (value_bit_index, value_in), value.h: New functions,
for indexing in SETs.
Ian Lance Taylor [Mon, 13 Dec 1993 19:46:45 +0000 (19:46 +0000)]
* Makefile.in: Added .PHONY targets where appropriate. Added some
comments. Also:
(gcclibdir, version): Removed unused variables.
(DEP): New variable, set to mkdep.
(ALL_CFLAGS): New variable. Used in .c.o target.
(CFILES, HFILES, GENERATED_CFILES, GENERATED_HFILES): New
variables.
(HEADERS, MANSOURCES, LDCSOURCES, GENERATED_SOURCES,
GENERATED_HEADERS, LDSOURCES, BFD_SOURCES, SOURCES): Removed
mostly obsolete variables. Adjusted remaining uses.
(DEF_EMUL): Removed variable.
(ldmain.o): Handle undefined EMUL error correctly.
(ldemul-list.h): Depend on config.status rather than Makefile.
Create via temporary file.
(ver960.c, roll, make): Removed obsolete targets.
(.dep, .dep1, dep.sed, dep, dep-in): New targets. Used to rebuild
dependencies.
Ian Lance Taylor [Mon, 13 Dec 1993 19:37:22 +0000 (19:37 +0000)]
New file used for rebuilding dependencies.
Fred Fish [Mon, 13 Dec 1993 14:46:21 +0000 (14:46 +0000)]
* paread.c (pa_symfile_init): Check for the existance of stabs
after DBX_TEXT_SECT has been initialized.
Ian Lance Taylor [Sun, 12 Dec 1993 00:54:14 +0000 (00:54 +0000)]
More gcc lint.
Steve Chamberlain [Sun, 12 Dec 1993 00:31:44 +0000 (00:31 +0000)]
* readline.c (rl_getc): If GO32, trim high bit from getkey,
otherwise fancy PC keys cause grief.
Steve Chamberlain [Sun, 12 Dec 1993 00:08:33 +0000 (00:08 +0000)]
* config/h8300/tm-h8300.h (BREAKPOINT): Insn changed to sleep.
(DECP_PC_AFTER_BREAK): Now is 0.
* config/h8500/tm-h8500.h (REGISTER_BYTES, REGISTER_BYTE,
REGISTER_NAMES): update to new view. (INIT_EXTRA_FRAME_INFO): No
extra frame info now.
* config/sh/sh.h (NOP): Define NOP insn.
* config/z8k/tm-z8k.h (BIG): is now sim_z8001_mode.
* config/z8k/z8ksim.mt (TDEPFILES): Add remote-sim.o to list.
Steve Chamberlain [Sun, 12 Dec 1993 00:07:12 +0000 (00:07 +0000)]
* config/z8k/tm-z8k.h (BIG): is now sim_z8001_mode.
* config/z8k/z8ksim.mt (TDEPFILES): Add remote-sim.o to list.
Steve Chamberlain [Sun, 12 Dec 1993 00:05:54 +0000 (00:05 +0000)]
* config/sh/sh.h (NOP): Define NOP insn.
Steve Chamberlain [Sun, 12 Dec 1993 00:05:25 +0000 (00:05 +0000)]
* config/h8500/tm-h8500.h (REGISTER_BYTES, REGISTER_BYTE,
REGISTER_NAMES): update to new view. (INIT_EXTRA_FRAME_INFO): No
extra frame info now.
Steve Chamberlain [Sun, 12 Dec 1993 00:03:31 +0000 (00:03 +0000)]
* config/h8300/tm-h8300.h (BREAKPOINT): Insn changed to sleep.
(DECP_PC_AFTER_BREAK): Now is 0.
Steve Chamberlain [Sun, 12 Dec 1993 00:00:53 +0000 (00:00 +0000)]
* ser-go32.c: Lint. (strncasecmp): Removed, now in libiberty.
(go32_readchar): Special handling for faster polling. (async
structure): Volatile.
* h8300-tdep.c (print_register_hook): Allocate and use the right
number bytes for the raw register.
* h8500-tdep.c (regoff, frame_find_saved_reg, examine_prologue):
deleted. (h8500_register_size, h8500_register_virtual_type, ):
Use new way of counting registers.
* remote-e7000.c (echo_index): deleted. (expect): Better handling
of user interrupts. (expect_prompt): Remove never used log file
support. (want, want_nopc): Add support for H8/300H.
(fetch_regs_from_dump): Treat \r and \n as whitespace.
(e7000_drain): Send an "end" command before waiting for output to
stop. (e7000_wait): Cope with H8/300H, better handling of user
interrupts. (why_stop, expect_n, sub2_from_pc): New function.
* remote-utils.c (gr_load_image): call fflush and QUIT more regularly.
* utils.c (notice_quit): New function for polling for user interrupts.
Ian Lance Taylor [Sat, 11 Dec 1993 22:55:55 +0000 (22:55 +0000)]
Made many changes to eliminate gcc warnings. Made various
cosmetic changes, declared various things in header files, removed
various extern declarations from .c files. No substantive
changes.
Ian Lance Taylor [Sat, 11 Dec 1993 22:46:15 +0000 (22:46 +0000)]
* ldlang.c (lang_process): Ifdef out final call to
lang_size_sections again (reverting change of Nove 2), since it
breaks the Sun4 linker.
Steve Chamberlain [Sat, 11 Dec 1993 19:28:41 +0000 (19:28 +0000)]
* config/tc-h8500.c (build_bytes): Get reloc type right for a
%page operation. (md_assemble): Don't modify input_line_pointer.
(mdcoff_sizemachdep): New function.
* config/tc-h8500.h (TC_COFF_SIZEMACHDEP): New macro.
* config/tc-z8k.c (get_operand): Delete bogus check.
Steve Chamberlain [Sat, 11 Dec 1993 19:21:19 +0000 (19:21 +0000)]
Recognise SH.
Steve Chamberlain [Sat, 11 Dec 1993 19:18:41 +0000 (19:18 +0000)]
* config.sub: Match any flavor of SH.
Fred Fish [Sat, 11 Dec 1993 01:27:23 +0000 (01:27 +0000)]
* stabsread.c (read_array_type): Allow negative array bounds,
without interpreting that to mean "adjustable."
* ch-valprint.c (chill_val_print): Handle RANGE types.
* ch-typeprint.c (chill_type_print_base): Handle BOOL.
Handle variant records. Handle RANGE types.
Ian Lance Taylor [Fri, 10 Dec 1993 19:29:10 +0000 (19:29 +0000)]
* nlmheader.y (command): Accept MAP and FULLMAP without arguments.
* nlmconv.c (main): Change error message for MAP and FULLMAP.
Ian Lance Taylor [Fri, 10 Dec 1993 05:51:25 +0000 (05:51 +0000)]
* nlmconv.c (main): Warn about imported symbols that are not in
the IMPORT list even if the IMPORT keyword is not used.
Fixes PR 4006.
Ian Lance Taylor [Fri, 10 Dec 1993 05:33:49 +0000 (05:33 +0000)]
* nlmconv.c (debug, unlink_on_exit): New static variables.
(long_options): Add "debug" and "linker".
(main): Handle -d and -l arguments. Make command line input and
output files optional. Parse the command file before opening the
BFD's, which requires storing more information in local variables.
If INPUT names multiple files, link them together. Use OUTPUT for
the output file name if not named on command line.
(show_usage): Changed for new options.
(link_inputs): New function to automatically invoke linker to
handle multiple INPUT files.
(choose_temp_base_try, choose_temp_base, pexecute): New functions,
mostly copied from gcc/gcc.c.
* nlmconv.h (input_files, output_file): Declare.
* nlmheader.y (input_files, output_file): Define.
(command): Support INPUT with a string_list argument. Support
OUTPUT.
(string_list): Renamed from module_list.
* Makefile.in (nlmconv.o): Define LD_NAME based on
program_transform_name.
Fixes PR 3974.
Ken Raeburn [Thu, 9 Dec 1993 01:13:10 +0000 (01:13 +0000)]
output-file.c, write.c changes
Ken Raeburn [Thu, 9 Dec 1993 01:08:37 +0000 (01:08 +0000)]
(number_to_chars_*): Delete bogus range checks.
Jeff Law [Wed, 8 Dec 1993 22:32:05 +0000 (22:32 +0000)]
* gas/m68k/disperr.s: New test.
* gas/m68k/all.exp: Run it.