Ian Lance Taylor [Fri, 27 Jan 1995 00:54:51 +0000 (00:54 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Remove unused variable is.
Ken Raeburn [Fri, 27 Jan 1995 00:05:09 +0000 (00:05 +0000)]
* config/tc-h8300.c (get_specific): Add parens around | inside &.
(skip_colonthing): Set L_8 if ":8" is specified.
Ian Lance Taylor [Thu, 26 Jan 1995 23:41:12 +0000 (23:41 +0000)]
* config/tc-ppc.c (md_begin): Permit mfdec to be duplicated on the
601. Check that the error return from hash_insert is "exists".
Ian Lance Taylor [Thu, 26 Jan 1995 23:35:32 +0000 (23:35 +0000)]
* ppc-opc.c: Changes based on patch from David Edelsohn
<edelsohn@npac.syr.edu>.
(powerpc_operands): Add operands SPRBAT and SPRG. Split TBR out of
SPR.
(FXM_MASK): Define.
(insert_tbr): New static function.
(extract_tbr): New static function.
(XFXFXM_MASK, XFXM): Define.
(XSPRBAT_MASK, XSPRG_MASK): Define.
(powerpc_opcodes): Add instructions to access special registers by
name. Add mtcr and mftbu.
Ian Lance Taylor [Thu, 26 Jan 1995 21:48:14 +0000 (21:48 +0000)]
* elfcode.h (elf_link_add_object_symbols): Only examine weakdef if
we are using an ELF hash table.
Steve Chamberlain [Thu, 26 Jan 1995 19:57:09 +0000 (19:57 +0000)]
* remote-hms.c (hms_ops): Change ref of hr_load_image
to gr_load_image.
(dcache_flush, dcache_hit, dcache_value, dcache_fetch,
dcache_poke, dcache_init): Deleted.
(hms_open, hms_resume, hms_fetch_word, hms_store_word):
Use dcache routines provided by remote-util.h
Steve Chamberlain [Thu, 26 Jan 1995 18:53:20 +0000 (18:53 +0000)]
* remote-hms.c (hms_ops): Change ref of hr_load_image
to gr_load_image.
Michael Meissner [Thu, 26 Jan 1995 17:59:08 +0000 (17:59 +0000)]
Add embedded PowerPC ELF support.
Steve Chamberlain [Thu, 26 Jan 1995 17:41:48 +0000 (17:41 +0000)]
New file.
Steve Chamberlain [Thu, 26 Jan 1995 17:37:31 +0000 (17:37 +0000)]
* config.bfd: (m68*-est-coff): New configuration.
Michael Meissner [Thu, 26 Jan 1995 17:27:56 +0000 (17:27 +0000)]
Add powerpc-*-eabi support.
Michael Meissner [Thu, 26 Jan 1995 17:07:03 +0000 (17:07 +0000)]
Add support for PowerPC embedded ABI.
Ian Lance Taylor [Thu, 26 Jan 1995 16:43:54 +0000 (16:43 +0000)]
* aoutx.h (NAME(aout,some_aout_object_p)): Always set EXEC_P if
the start address is in the .text section, even if STAT_FOR_EXEC
is set. Just use STAT_FOR_EXEC as an additional test.
Michael Meissner [Thu, 26 Jan 1995 16:39:26 +0000 (16:39 +0000)]
Allow configuration of PowerPC embedded ABI.
Michael Meissner [Thu, 26 Jan 1995 16:31:24 +0000 (16:31 +0000)]
Add new relocs for PowerPC Elf support.
Add eabi support.
Ian Lance Taylor [Thu, 26 Jan 1995 04:27:50 +0000 (04:27 +0000)]
* coff-sh.c (CALC_ADDEND): Don't define.
(coff_sh_relocate_section): Remove.
(coff_relocate_section): Use _bfd_coff_generic_relocate_section.
Per Bothner [Thu, 26 Jan 1995 02:32:25 +0000 (02:32 +0000)]
* language.h (struct language_defn): New field c_style_arrays.
* language.c (unknown_language_defn, auto_language_defn,
local_language_defn), c-lang.c (c_language_defn, cplus_language_defn,
asm_language_defn): Set c_style_arrays to true.
* m2-lang.c (m2_language_defn), ch-lang.c (chill_language_defn),
f-lang.c (f_language_defn): Set c_style_arrays to false.
* valops.c (value_string): If c_style_array is not set,
allocate string in gdb (not inferior) using allocate_value.
* value.h (COERCE_ARRAY), valops.c (value_addr, value_arg_coerce):
Only call value_coerce_array if current_language->c_style_arrays.
* values.c: Add #include "language.h". (Needed for COERCE_ARRAY.)
* valops.c (chill_varying_type): New predicate.
* valops.c (value_cast): Support assigning a fixed string or array
to a variable string/array structure.
* valarith.c (value_subscripted_rvalue): Extra parameter lowerbound.
Check index>=lowerbound, and then add lowerbound to index here,
instead of in caller. Generalize to arbitrary lval_types.
(value_subscript): Use enhanced value_subscripted_rvalue if
c_style_arrays is false (and index is in range).
Stu Grossman [Thu, 26 Jan 1995 02:27:06 +0000 (02:27 +0000)]
* gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be
found.
* gdbtk.tcl: Initialize expr_update_list() to prevent errors when
popping up expression window for the first time.
Per Bothner [Thu, 26 Jan 1995 02:19:13 +0000 (02:19 +0000)]
* eval.c (evaluate_subexp case OP_ARRAY): Fix calls to memset:
TYPE_LENGTH is length in bytes, not bits.
Jim Wilson [Thu, 26 Jan 1995 00:26:11 +0000 (00:26 +0000)]
* tc-sh.c (little): Add argument IGNORE to avoid compiler warnings.
(md_pseudo_table): Add space for consistent formatting.
(COND8_RANGE, COND12_RANGE): Delete unused macros.
(COND8_F, COND8_M, COND12_F, COND12_M, UNCOND12_F, UNCOND12_M):
Correct minimum and maximum branch offsets. Add comments explaining
why these numbers are correct.
Stan Shebs [Thu, 26 Jan 1995 00:02:46 +0000 (00:02 +0000)]
* gdb.base/default.exp: xfail no-stack backtraces for h8300,
restart GDB for h8300 after a continue.
(return): Add pattern to match a29k-udi behavior.
* gdb.base/nodebug.exp: Remove obsolete comment.
* gdb.base/regs.exp: New file, testing of register displays.
* gdb.base/return.exp: Fix typo in reference to $objdir.
* gdb.base/whatis.exp: Always start with a fresh GDB.
Jim Kingdon [Wed, 25 Jan 1995 22:16:08 +0000 (22:16 +0000)]
* gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
higher, these tests generate a lot of output.
Ian Lance Taylor [Wed, 25 Jan 1995 20:43:50 +0000 (20:43 +0000)]
Wed Jan 25 15:32:09 1995 David Edelsohn <edelsohn@mhpcc.edu>
* config/tc-ppc.c (md_parse_option): Accept mpwr2 as a synonym for
mpwrx; mppc32, m603, and m604 as synonyms for mppc; and mppc64 and
m620 for PowerPC64 mode.
(ppc_symbol_new_hook): Add T0 as synonym for TC0 suffix.
Jim Kingdon [Wed, 25 Jan 1995 18:16:42 +0000 (18:16 +0000)]
* infrun.c (proceed): Flush stdout before resuming inferior.
* infcmd.c (step_1), annotate.c (annotate_starting):
Don't bother to flush here.
Jeff Law [Wed, 25 Jan 1995 08:13:14 +0000 (08:13 +0000)]
* hpread.c (hpread_process_one_debug_symbol): Fix lines garbled
by an ill-advised global search and replace.
Jim Kingdon [Wed, 25 Jan 1995 03:33:25 +0000 (03:33 +0000)]
* lib/gdb.exp (gdb_test): Remove catch from around the send. The
code following the catch silently ignored some errors; without the
catch they should be thrown like any other tcl error. Also, the
catch used "" instead of {} which meant all the callers who wanted
to include one of the characters "[]$ had to quote it an extra time.
* gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
Remove extra quoting.
David Edelsohn [Wed, 25 Jan 1995 03:27:54 +0000 (03:27 +0000)]
Sanitize arc stuff.
Stu Grossman [Wed, 25 Jan 1995 00:36:33 +0000 (00:36 +0000)]
* gdbtk.tcl (create_registers_window): Work around a radiobutton
widget bug to make Options|Natural button work.
Ken Raeburn [Tue, 24 Jan 1995 21:56:29 +0000 (21:56 +0000)]
"gcc -fno-builtin -Wall -Wwrite-strings -Wshadow" can be your friend.
Well, sometimes.
Bunch of patches from Pat Rankin for cleaning up some warnings in vax-vms gas.
Stu Grossman [Tue, 24 Jan 1995 21:49:11 +0000 (21:49 +0000)]
* gdbtk.c (gdb_disassemble): Fix problem with source+assembly and
g++ caused by out-of-order pc's.
* gdbtk.tcl (files_command): Remove duplicate file names. Also,
add scrollbar.
Ian Lance Taylor [Tue, 24 Jan 1995 20:16:49 +0000 (20:16 +0000)]
* ld-bootstrap/bootstrap.exp: If not in the ld build directory,
call untested for each test, rather than ignoring it. If one test
fails, go on to the next one instead of returning.
* ld-cdtest/cdtest.exp: If compilations fail, mark tests as
unresolved.
* ld-empic/empic.exp: Likewise. Also, always pass the same test
name to pass or fail.
* ld-shared/shared.exp: Likewise. Also, always run all tests.
* ld-scripts/defined.exp: If as or nm fail, mark test as
unresolved. Always pass the same test name to pass or fail.
* ld-scripts/script.exp: Likewise.
* ld-scripts/sizeof.exp: Likewise.
Ian Lance Taylor [Tue, 24 Jan 1995 19:48:50 +0000 (19:48 +0000)]
update copyright dates
Ian Lance Taylor [Tue, 24 Jan 1995 19:27:35 +0000 (19:27 +0000)]
* elf32-mips.c (mips_elf_output_extsym): Set the value of the
ECOFF symbol from the hash table entry.
Ian Lance Taylor [Tue, 24 Jan 1995 16:01:04 +0000 (16:01 +0000)]
update copyrights
Ian Lance Taylor [Tue, 24 Jan 1995 15:34:16 +0000 (15:34 +0000)]
* ldctor.c (ldctor_add_set_entry): Don't dump core if a
constructor entry is in the absolute section.
Michael Meissner [Tue, 24 Jan 1995 14:42:17 +0000 (14:42 +0000)]
Add EM_PPC macro.
Jeff Law [Tue, 24 Jan 1995 05:16:25 +0000 (05:16 +0000)]
* gdb.base/commands.exp: Make test names unique; every test either
passes or fails. Update some comments.
Jeff Law [Tue, 24 Jan 1995 04:59:07 +0000 (04:59 +0000)]
* gdb.disasm/hppa.exp (do_system_control_tests): Update.
Jeff Law [Tue, 24 Jan 1995 04:50:43 +0000 (04:50 +0000)]
* config/tc-hppa.c (pa_ip, case 'D'): Fix typo which caused
miscompilation of "diag" instructions.
* gas/hppa/basic/basic.exp (do_system): Update.
Stu Grossman [Tue, 24 Jan 1995 01:23:18 +0000 (01:23 +0000)]
* gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
doc!
Steve Chamberlain [Mon, 23 Jan 1995 22:57:30 +0000 (22:57 +0000)]
Mon Jan 23 14:53:35 1995 Steve Chamberlain <sac@splat>
* coff-sh.c (coff_sh_relocate_section): Don't subtract
vma twice.
Ian Lance Taylor [Mon, 23 Jan 1995 22:32:18 +0000 (22:32 +0000)]
* coff-sh.c (sh_reloc): Don't ignore the previous contents of an
R_SH_IMM32 reloc.
PR 6215.
Jim Kingdon [Mon, 23 Jan 1995 22:27:49 +0000 (22:27 +0000)]
* gdb.texinfo (Processes): New node.
Ken Raeburn [Mon, 23 Jan 1995 21:57:32 +0000 (21:57 +0000)]
configure regen, tc-mips.c libiberty.h include
Ken Raeburn [Mon, 23 Jan 1995 21:56:46 +0000 (21:56 +0000)]
regenerated
Per Bothner [Mon, 23 Jan 1995 21:20:58 +0000 (21:20 +0000)]
Add support for Chill bitstring literals (e.h. H'FF00').
* ch-exp.y (match_bitstring_literal): Fix for proper endianness.
* expprint.c (print_subexp): Don't call error on OP_BITSTRING,
just print B'<unimlemented>'.
* gdbtypes.c (create_set_type): Fix bug in length calculation.
* valops.c, value.h (value_bitstring): New function.
* eval.c (evaluate_subexp): Implement support for OP_BITSTRING.
* ch-typeprint.c (chill_type_print_base): For TYPE_CODE_FUNC,
check that return type is non-void, and print in proper Chill syntax.
Rob Savoye [Mon, 23 Jan 1995 19:25:24 +0000 (19:25 +0000)]
* Makefile.in: Remove references to remote-mon.c.
* remote-mon.c: remove. Replaced by rom68k-rom.c.
* rom68k-rom.c: Support for Rom68k monitor.
Ian Lance Taylor [Mon, 23 Jan 1995 19:22:52 +0000 (19:22 +0000)]
* config/tc-sh.h (tc_init_after_args): Don't define.
* config/tc-sh.c (md_begin): Remove unused variable table.
(md_assemble): Remove unused variable p.
(md_convert_frag): Cast fr_address to unsigned long for printf.
(md_apply_fix): Use as_warn_where rather than as_warn.
(sh_init_after_args): Remove empty function.
Ian Lance Taylor [Mon, 23 Jan 1995 19:09:02 +0000 (19:09 +0000)]
* configure.in (i386-*-gnu*elf*): New target.
Ian Lance Taylor [Mon, 23 Jan 1995 19:01:41 +0000 (19:01 +0000)]
x
Ian Lance Taylor [Mon, 23 Jan 1995 19:00:46 +0000 (19:00 +0000)]
* configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu.
* config/i386-gnu.mt: New file. Include ELF support.
Ian Lance Taylor [Mon, 23 Jan 1995 18:55:58 +0000 (18:55 +0000)]
* config.bfd (i[345]86-*-gnu*): Set bfd_name to i386-gnu.
* config/i386-gnu.mt: New file. Include ELF support.
Jim Kingdon [Mon, 23 Jan 1995 18:54:29 +0000 (18:54 +0000)]
* Makefile.in (CHILL_FOR_TARGET): Update -L argument to point to
gcc/ch/runtime not chillrt, since that is where the chill runtime
lives now.
Ian Lance Taylor [Mon, 23 Jan 1995 18:35:07 +0000 (18:35 +0000)]
* opncls.c (bfd_openstreamr): Call bfd_cache_init.
Steve Chamberlain [Mon, 23 Jan 1995 08:11:30 +0000 (08:11 +0000)]
* remote-hms.c (hms_load): Delete.
(target_ops): Use hr_load_image.
Steve Chamberlain [Mon, 23 Jan 1995 08:09:02 +0000 (08:09 +0000)]
Mon Jan 23 00:06:57 1995 Steve Chamberlain <sac@splat>
* remote-e7000.c, remote-z8k.c, remote-nindy.c (target_ops):
Define memory_insert/remove_breakpoint.
* xm-go32.h: Remove redundant SIGs.
Thu Jan 19 20:26:58 1995 Steve Chamberlain <sac@splat>
* ser-go32.c: Rewritten by nigel@algor.co.uk.
Steve Chamberlain [Mon, 23 Jan 1995 07:54:24 +0000 (07:54 +0000)]
Don't pass -S to the linker.
Torbjorn Granlund [Sun, 22 Jan 1995 22:12:59 +0000 (22:12 +0000)]
Changes for PR 6203.
Jim Kingdon [Sun, 22 Jan 1995 06:25:50 +0000 (06:25 +0000)]
The following fixes a FAIL caused by the fact that the alpha stabs
configuration didn't use the ".if alpha" code in weird.def.
* gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
bit pointer, so the 32 bit version works even on the alpha.
* gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
Remove the stuff which allowed us to have separate versions for
alpha and everything else.
Ian Lance Taylor [Sun, 22 Jan 1995 00:04:01 +0000 (00:04 +0000)]
* hash.c (hash_ask): If we find the slot after wrapping around,
break out of the loop. Fixes bug in Jan 18 change.
Jim Kingdon [Sat, 21 Jan 1995 23:52:00 +0000 (23:52 +0000)]
* gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
regexp which "info func operator\[\](" is supposed to match. Fix
string to send to GDB. Note that GDB still doesn't work right. Add a
new test for "info func .perator\[\](" which GDB does handle correctly.
Jim Kingdon [Sat, 21 Jan 1995 23:38:43 +0000 (23:38 +0000)]
* gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
Jim Kingdon [Sat, 21 Jan 1995 23:30:43 +0000 (23:30 +0000)]
add new tests sigall.c and sigall.exp
Ian Lance Taylor [Sat, 21 Jan 1995 23:19:17 +0000 (23:19 +0000)]
tipo
Kung Hsu [Sat, 21 Jan 1995 00:57:39 +0000 (00:57 +0000)]
* add new file remote-vx29k.c.
Kung Hsu [Sat, 21 Jan 1995 00:56:22 +0000 (00:56 +0000)]
* add new files vx29k.mt, tm-vx29k.h.
Per Bothner [Fri, 20 Jan 1995 23:45:21 +0000 (23:45 +0000)]
* expression.h (OP_LABELED): New operator, for Chill
labeled structre tuples.
* ch-exp.y (tuple_element, named_record_element, tuple_elements):
New non-terminals, to handle labeled structure tuples.
(tuple): Re-define using tuple_elements.
* eval.c (evaluate_labeled_field_init): New function, to handle
initialization of structure fields, possibly using OP_LABELED.
(evaluate_subexp): Use it.
* expprint.c (print_subexp case): For OP_ARRAY, use Chill syntax
for Chill. Handled OP_LABELED.
* parse.c (length_of_subexp, prefixify_subexp): Handle OP_LABELED.
* eval.c (evaluate_subexp): Handle Chill Powerset tuples.
* valarith.c (value_bit_index): Just treat bitstring as represented
by an array of bytes. Alignment is handled by compiler.
Jim Kingdon [Fri, 20 Jan 1995 22:26:33 +0000 (22:26 +0000)]
* gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
it makes the tests harder to understand and confuses test-o-matic.
The preferred style is that each test provides a PASS or a FAIL,
and has a unique message (e.g. "continue #54" not just "continue")
which is the same for the pass and the fail.
* gdb.fortran/exprs.exp, gdb.fortran/types.exp,
gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
to lib/gdb.exp.
* gdb.base/printcmds.exp: Use test_print_accept. Remove
prt_accept which was basically the same thing. Likewise for
test_print_reject and prt_reject.
* lib/gdb.exp (test_print_reject): Add some more error message
patterns to match from the former printcmds.exp (prt_reject).
* gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
One defect of the passcount stuff is that some of it failed to
report XPASS where appropriate.
* gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
stuff before and after arg in expected pattern.
(test_paddr_operator_functions): Re-do test without print_addr_of;
this is the only test which seems to want extra stuff there.
Ken Raeburn [Fri, 20 Jan 1995 22:14:27 +0000 (22:14 +0000)]
back out new hash routine
Ian Lance Taylor [Fri, 20 Jan 1995 16:57:34 +0000 (16:57 +0000)]
* sunos.c (sunos_add_one_symbol): Only set the sunos specific
fields if we are doing a sunos link.
Ken Raeburn [Thu, 19 Jan 1995 21:04:08 +0000 (21:04 +0000)]
gcc lint
Ken Raeburn [Thu, 19 Jan 1995 20:49:08 +0000 (20:49 +0000)]
Revert 2 June 1994 changes (Alpha 21164 support), for lack of assignment
paperwork.
Ken Raeburn [Thu, 19 Jan 1995 20:01:07 +0000 (20:01 +0000)]
Cleanup of VAX and VMS code, from Pat Rankin:
* config/obj-vms.c: Changed exported function names to lower case. (Changed
call sites in write.c.) Declare VMS system function names used, conditional on
actually being on VMS. Changed many functions that returned no useful value to
now be declared to return void. Removed many unused variables. Supply missing
return statements or values. Supply `default' case in switch statements.
Ensure local variables get initialized.
* config/tc-vax.c: Minor changes to silence "gcc -Wall".
* config/obj-vms.h, config/tc-vax.h: Added some missing declarations.
Torbjorn Granlund [Thu, 19 Jan 1995 13:59:13 +0000 (13:59 +0000)]
Fix for PR 6200 (SUBC problems).
Stan Shebs [Thu, 19 Jan 1995 03:16:42 +0000 (03:16 +0000)]
* h8300-tdep.c (gdb_print_insn_h8300): Fix typo (&info -> info).
* sh-tdep.c (gdb_print_insn_sh): Ditto.
Ian Lance Taylor [Thu, 19 Jan 1995 00:17:57 +0000 (00:17 +0000)]
* write.c (fix_new_internal): Clear fx_bsr on those targets which
use it.
Ken Raeburn [Thu, 19 Jan 1995 00:13:30 +0000 (00:13 +0000)]
some improvements to fp code
Kung Hsu [Wed, 18 Jan 1995 19:31:25 +0000 (19:31 +0000)]
* remote-os9k.c (rombug_open): Fix a bug in exception handling
command.
* remote-os9k.c (rombug_write_inferior_memory): reset buffer after
write.
Rob Savoye [Wed, 18 Jan 1995 19:11:30 +0000 (19:11 +0000)]
Add GDBPROTO macro for checking the type of protocol.
Ken Raeburn [Wed, 18 Jan 1995 18:53:49 +0000 (18:53 +0000)]
sparc, coff, hash changes
Ken Raeburn [Wed, 18 Jan 1995 18:52:08 +0000 (18:52 +0000)]
(hash_ask): Call strcmp instead of expanding it inline.
(hash_code): Replaced with a version from bfd.
Ian Lance Taylor [Wed, 18 Jan 1995 17:27:52 +0000 (17:27 +0000)]
gcc -Wall lint.
* coffdump.c (dump_coff_scope): Cast pointer to unsigned long for
printf.
* coffgrok.c: Include bucomm.h. Don't declare xmalloc.
(push_scope): Declare type of parameter link.
* size.c: Include libiberty.h.
* srconv.c: Include bucomm.h.
(find_base): Declare at top of file.
(wr_hd): Add default case to architecture switch.
(wr_dps_start): Declare type of parameter nest.
(wr_du): Comment out variables used only in commented out blocks.
(wr_dus): Remove unused variable i.
(wr_sc): Remove unused variables myinfo, low, and high.
* strings.c: Include libiberty.h.
* sysdump.c: Include <ctype.h>.
Ian Lance Taylor [Wed, 18 Jan 1995 17:24:48 +0000 (17:24 +0000)]
gcc -Wall lint.
* expr.c (operand): Parenthesize && within ||.
* listing.c (listing_newline): Likewise.
(list_symbol_table): Use %lu to print sizeof.
* symbols.c: Comment out unused function indent.
(print_symbol_value_1): Cast pointer to unsigned long for printf.
* config/obj-coff.c (do_relocs_for): Only declare symbol_ptr if it
will be used.
* config/tc-h8300.c (md_begin): Remove unused variable reg.
(get_operand): Declare type of parameter direction. Remove unused
variable size.
(get_specific): Fix comment to avoid nested comments.
(check_operand): Cast X_add_number to unsigned long for printf.
(build_bytes): Remove unused local variables output_ptr, part, and
high.
(build_bytes): Cast X_add_number to unsigned long for printf.
(clever_message): Remove unused variable scan.
(md_assemble): Remove unused variable i.
(tc_coff_sizemachdep): Remove unused function.
* tc-h8300.h (tc_reloc_mangle): Declare.
Stan Shebs [Tue, 17 Jan 1995 22:39:42 +0000 (22:39 +0000)]
Reflect changes to pinsn and tdep files
Jim Kingdon [Tue, 17 Jan 1995 21:47:38 +0000 (21:47 +0000)]
* parse.c (_initialize_parse): Improve wording of names of
msym_*_symbol_type.
Ian Lance Taylor [Tue, 17 Jan 1995 21:16:53 +0000 (21:16 +0000)]
* bfd-in.h (bfd_byte, reloc_howto_type): Define here, not...
* reloc.c (bfd_byte, reloc_howto_type): here.
* Changed all occurrences of ``const struct reloc_howto_struct''
to be ``reloc_howto_type'' instead.
* bfd-in2.h, libbfd.h, libcoff.h: Rebuilt.
Avoids problems with the native Irix 5 compiler.
Ian Lance Taylor [Tue, 17 Jan 1995 19:26:56 +0000 (19:26 +0000)]
* opncls.c (bfd_openstreamr): New function.
* bfd-in2.h: Rebuilt.
Ian Lance Taylor [Tue, 17 Jan 1995 19:11:06 +0000 (19:11 +0000)]
update copyright
Ian Lance Taylor [Tue, 17 Jan 1995 19:09:53 +0000 (19:09 +0000)]
* remote.texi: Update documentation of set/show mipsfpu.
Ian Lance Taylor [Tue, 17 Jan 1995 19:08:31 +0000 (19:08 +0000)]
* config/mips/tm-mips.h (enum mips_fpu_type): New enum.
(mips_fpu): Change type to enum mips_fpu_type.
(FIX_CALL_DUMMY): Handle mips_fpu == MIPS_FPU_SINGLE.
* mips-tdep.c (mips_fpu): Change type to enum mips_fpu_type.
Don't initialize.
(mips_fpu_string): New static variable.
(mips_push_dummy_frame): Handle mips_fpu == MIPS_FPU_SINGLE.
(mips_pop_frame): Likewise.
(mips_extract_return_value): Likewise.
(mips_store_return_value): Likewise.
(mips_set_fpu_command): New static function.
(mips_show_fpu_command): New static function.
(_initialize_mips_tdep): Change handling of set/show mipsfpu.
Jim Kingdon [Tue, 17 Jan 1995 16:43:20 +0000 (16:43 +0000)]
* a29k-tdep.c (gdb_print_insn_a29k): Fix typo (&info -> info).
Jim Kingdon [Tue, 17 Jan 1995 16:22:23 +0000 (16:22 +0000)]
* gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
and "ptype" work on variables in files compiled without -g.
Replaces commented out "maint print msymbol" tests.
Jim Kingdon [Tue, 17 Jan 1995 16:16:20 +0000 (16:16 +0000)]
* parse.c (write_exp_msymbol): Use new variables
msym_*_symbol_type as type of msymbol expression.
(_initialize_parse): Initialize them.
Ian Lance Taylor [Tue, 17 Jan 1995 16:13:44 +0000 (16:13 +0000)]
* config/tc-mips.c (mips_4650): New static variable.
(md_begin): Handle a cpu string of "4650". If mips_4650 was not
initialized, set it to 0.
(append_insn): Don't insert nops around HI and LO on a 4650.
(mips_emit_delays): Likewise.
(mips_ip): Use INSN_ISA mask to check ISA of instruction. Check
for INSN_4650.
(md_longopts): Add m4650 and no-m4650.
(md_parse_option): Handle mips-cpu=4650. Handle -m4650 and
-no-m4650.
* doc/as.texinfo: Document new MIPS options.
Ian Lance Taylor [Tue, 17 Jan 1995 15:56:00 +0000 (15:56 +0000)]
* mips.h (INSN_ISA, INSN_4650): Define.
Ian Lance Taylor [Tue, 17 Jan 1995 15:55:55 +0000 (15:55 +0000)]
* elf32-mips.c (enum reloc_type): Define new relocs used on Irix.
(elf_mips_howto_table): Add entries for new relocs.
(mips_elf_section_from_shdr): Handle SHT_MIPS_MSYM,
SHT_MIPS_DWARF, and SHT_MIPS_EVENTS.
(mips_elf_fake_sections): Handle sections named .msym, .debug_*
and .MIPS.events.*.
Stan Shebs [Tue, 17 Jan 1995 04:53:00 +0000 (04:53 +0000)]
* config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
Stan Shebs [Tue, 17 Jan 1995 04:44:43 +0000 (04:44 +0000)]
Revert previous, ill-considered change to defs.h
Stan Shebs [Tue, 17 Jan 1995 04:36:51 +0000 (04:36 +0000)]
General cleanup and simplication of disassembler interface.
* a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c,
hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c,
m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c,
rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove.
* gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files,
had been -pinsn.c files.
* Makefile.in (ALLDEPFILES): Remove removed files.
(a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o,
hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o,
m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o,
rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o):
Remove compile actions.
* arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o,
vax-tdep.o: Add compile actions.
* defs.h (tm_print_insn): New global.
* a29k-tdep.c (gdb_print_insn_a29k): New function.
(_initialize_a29k_tdep): Rename from _initialize_29k,
set tm_print_insn.
* alpha-tdep.c (print_insn): Remove.
(_initialize_alpha_tdep): Set tm_print_insn.
* arm-tdep.c (arm_print_insn): New function, was print_insn
in arm-pinsn.c.
* convex-tdep.c (convex_print_insn): New function, was print_insn
in convex-pinsn.c.
* h8300-tdep.c (print_insn): Remove.
(gdb_print_insn_h8300): New function.
(_initialize_h8300_tdep): New function.
* h8500-tdep.c (print_insn): Remove.
(_initialize_h8500_tdep): New function.
* hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn.
* i386-tdep.c (_initialize_i386_tdep): New function.
* i960-tdep.c (mem, next_insn): New functions, were in
i960-pinsn.c.
(_initialize_i960_tdep): Set tm_print_insn.
* m68k-tdep.c (_initialize_m68k_tdep): New function.
* m88k-tdep.c (_initialize_m88k_tdep): New function.
* mips-tdep.c (gdb_print_insn_mips): New function.
(_initialize_mips_tdep): Set tm_print_insn.
* pyr-tdep.c (pyr_print_insn): New function, was print_insn
in pyr-pinsn.c.
* rs6000-tdep.c (_initialize_rs6000_tdep): New function.
* sh-tdep.c (print_insn): Remove.
(gdb_print_insn_sh): New function.
(_initialize_sh_tdep): Set tm_print_insn.
* sparc-tdep.c (_initialize_sparc_tdep): New function.
* w65-tdep.c (print_insn): Remove.
(_initialize_w65_tdep): New function.
* z8k-tdep.c (print_insn): Remove.
(gdb_print_insn_z8k): New function.
(_initialize_z8k_tdep): Set tm_print_insn.
* printcmd.c (print_insn): New function, generic disassembler.
* config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o.
* defs.h (query_hook, error_hook): Fix prototypes.
Kung Hsu [Mon, 16 Jan 1995 23:56:41 +0000 (23:56 +0000)]
* Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,
and config/a29k/vx29k.mt.
* configure.in: add new configuration a29k-*-vxworks.
* remote-vx29k.c: new file merged from WRS.
* remote-vx.c: merge changes from WRS.