Alan Modra [Mon, 18 Mar 2002 02:55:51 +0000 (02:55 +0000)]
* ldmain.c (main): Move .text readonly flag fudges from here..
* ldlang.c (lang_process): ..to here.
Andrew Cagney [Mon, 18 Mar 2002 02:26:32 +0000 (02:26 +0000)]
* cli/cli-decode.c (cmd_type): New function.
* command.h (cmd_type): Declare.
* infrun.c (set_schedlock_func): Call function cmd_type.
* kod.c (kod_set_os): Call cmd_type.
* cris-tdep.c (cris_version_update): Use function cmd_type.
(cris_mode_update, cris_abi_update): Ditto.
Alan Modra [Mon, 18 Mar 2002 01:26:57 +0000 (01:26 +0000)]
* libbfd.c (bfd_write_bigendian_4byte_int): Return true iff success.
* libbfd.h: Regenerate.
* archive.c (coff_write_armap): Pass on failures from
bfd_write_bigendian_4byte_int.
gdbadmin [Mon, 18 Mar 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 17 Mar 2002 23:00:01 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Sun, 17 Mar 2002 19:53:39 +0000 (19:53 +0000)]
* command.h: (execute_cmd_post_hook): Declare.
(execute_cmd_pre_hook): Declare.
* cli/cli-script.c (clear_hook_in_cleanup): New function.
(execute_cmd_post_hook, execute_cmd_pre_hook): New
functions. Execute pre/post hook while ensuring that afterwords
hook_in is cleared.
* top.c (execute_command): Use execute_cmd_post_hook, and
execute_cmd_pre_hook to execute pre/post commands.
* infrun.c (normal_stop): Pass stop_command and not pre_hook to
hook_stop_stub.
(hook_stop_stub): Call execute_cmd_pre_hook.
Andrew Cagney [Sun, 17 Mar 2002 19:29:37 +0000 (19:29 +0000)]
* kod.c (kod_set_os): Revert previous change. Is called by ``info
set'' and this leads to a core dump. Move xstrdup of
operating_system to after check that it is not NULL.
Andrew Cagney [Sun, 17 Mar 2002 16:25:09 +0000 (16:25 +0000)]
* kod.c (kod_set_os): Remove unnecessary check that
``command->type'' is set_cmd.
Andrew Cagney [Sun, 17 Mar 2002 16:10:25 +0000 (16:10 +0000)]
* valprint.c (set_input_radix): Use input_radix.
(set_output_radix): Use output_radix.
(set_input_radix_1, set_output_radix_1): Add FIXME - bad radix
isn't reverted.
Chris Demetriou [Sun, 17 Mar 2002 02:42:25 +0000 (02:42 +0000)]
2002-03-16 Chris Demetriou <cgd@broadcom.com>
* mips-opc.c (M3D): Tweak comment.
(mips_builtin_op): Add comment indicating that opcodes of the
same name must be placed together in the table, and sort
the "recip.fmt", "recip1.fmt", "recip2.fmt", "rsqrt.fmt",
"rsqrt1.fmt", and "rsqrt2.fmt" opcodes by name.
Andrew Cagney [Sun, 17 Mar 2002 01:32:54 +0000 (01:32 +0000)]
fix tipo
Andrew Cagney [Sun, 17 Mar 2002 01:10:15 +0000 (01:10 +0000)]
* value.h (struct value): Delete field ``substring_addr''. Change
aligner fields to force_doublest_align, force_longest_align,
force_core_addr_align and force_pointer_align.
gdbadmin [Sun, 17 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Peter Schauer [Sat, 16 Mar 2002 21:09:33 +0000 (21:09 +0000)]
* ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip,
to fix internal_error from ``maintenance print architecture''.
Peter Schauer [Sat, 16 Mar 2002 20:53:14 +0000 (20:53 +0000)]
* cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type
for gcc versions after gcc-2.8.1.
Peter Schauer [Sat, 16 Mar 2002 20:51:44 +0000 (20:51 +0000)]
* eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer
for method resolution. Restore adjustment of ``this'' pointer after
calling value_struct_elt, which was accidentally removed during the
HP merge.
Alexandre Oliva [Sat, 16 Mar 2002 14:43:09 +0000 (14:43 +0000)]
* ltmain.sh (relink_command): Fix typo in previous change.
Andreas Jaeger [Sat, 16 Mar 2002 10:00:43 +0000 (10:00 +0000)]
Wrap overly long line in last patch.
Andreas Jaeger [Sat, 16 Mar 2002 09:58:40 +0000 (09:58 +0000)]
* doc/c-mips.texi (Machine Dependencies): Add new node.
Nick Clifton [Sat, 16 Mar 2002 08:55:53 +0000 (08:55 +0000)]
Tidy up sh64 rules
Chris Demetriou [Sat, 16 Mar 2002 03:12:07 +0000 (03:12 +0000)]
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* mips-dis.c: Update copyright years.
Chris Demetriou [Sat, 16 Mar 2002 03:09:19 +0000 (03:09 +0000)]
[ gas/ChangeLog ]
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
(mips_opts): Initialize "ase_mips3d" member.
(file_ase_mips3d): New variable.
(CPU_HAS_MIPS3D): New macro.
(md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
based on command line options and configuration defaults.
(macro_build, mips_ip): Accept MIPS-3D instructions if
mips_opts.ase_mips3d is set.
(OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
Add support for "-mips3d" and "-no-mips3d" options.
(OPTION_ELF_BASE): Move to accomodate new options.
(s_mipsset): Support ".set mips3d" and ".set nomips3d".
(mips_elf_final_processing): Add a comment indicating that a
MIPS-3D ASE ELF header flag should be set, when one exists.
* doc/as.texinfo: Document -mips3d and -no-mips3d options.
* doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
nomips3d" directives.
[ gas/testsuite/ChangeLog ]
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* gas/mips/mips64-mips3d.s: New file.
* gas/mips/mips64-mips3d.d: Likewise.
* gas/mips/mips.exp: Run new "mips64-mips3d" test.
[ include/opcode/ChangeLog ]
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* mips.h (INSN_MIPS3D): New definition used to mark MIPS-3D
instructions.
(OPCODE_IS_MEMBER): Adjust comments to indicate that ASE bit masks
may be passed along with the ISA bitmask.
[ opcodes/ChangeLog ]
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* mips-dis.c (mips_isa_type): Add MIPS3D instructions to the ISA
bit masks for bfd_mach_mips_sb1 and bfd_mach_mipsisa64. Add
comments for bfd_mach_mipsisa32 and bfd_mach_mipsisa64 that
indicate that they should dissassemble all applicable
MIPS-specified ASEs.
* mips-opc.c: Add support for MIPS-3D instructions.
(M3D): New definition.
* mips-opc.c: Update copyright years.
Andrew Cagney [Sat, 16 Mar 2002 02:57:42 +0000 (02:57 +0000)]
* eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to
value_of_register.
* findvar.c (value_of_register): Add ``frame'' parameter. Pass to
get_saved_register.
* value.h (value_of_register): Update.
Chris Demetriou [Sat, 16 Mar 2002 02:53:52 +0000 (02:53 +0000)]
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* mips-opc.c (mips_builtin_opcodes): Sort bc<N> opcodes by name.
Chris Demetriou [Sat, 16 Mar 2002 02:09:36 +0000 (02:09 +0000)]
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* gas/mips/mips.exp: Use elf-rel2 and elfel-rel2 for
mipsisa32*-*-* targets, rather than e32-rel2 and e32el-rel2.
gdbadmin [Sat, 16 Mar 2002 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***
Alexandre Oliva [Fri, 15 Mar 2002 23:05:24 +0000 (23:05 +0000)]
* ltmain.sh (taglist): Initialized. Don't let `CC' tag out of it.
(relink_command): Added --tag flags.
(mode=install): If relinking fails; error out.
Chris Demetriou [Fri, 15 Mar 2002 17:32:05 +0000 (17:32 +0000)]
2002-03-15 Chris Demetriou <cgd@broadcom.com>
* mips-dis.c (is_newabi): Fix ABI decoding.
Chris Demetriou [Fri, 15 Mar 2002 06:01:08 +0000 (06:01 +0000)]
2002-03-14 Chris G. Demetriou <cgd@broadcom.com>
* mips-dis.c (mips_isa_type): Fix formatting of bfd_mach_mipsisa32
and bfd_mach_mipsisa64 cases to match the rest.
Richard Henderson [Fri, 15 Mar 2002 00:44:49 +0000 (00:44 +0000)]
* configure.in: Detect declaration for canonicalize_file_name.
* utils.c (canonicalize_file_name): Declare, if needed.
(gdb_realpath): Prefer realpath if available and usable.
* config.in, configure: Rebuild.
gdbadmin [Fri, 15 Mar 2002 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 14 Mar 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Richard Henderson [Thu, 14 Mar 2002 22:53:35 +0000 (22:53 +0000)]
* dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
a constant array bound.
Richard Henderson [Thu, 14 Mar 2002 22:49:17 +0000 (22:49 +0000)]
Add myself to write-after-approval.
H.J. Lu [Thu, 14 Mar 2002 19:06:16 +0000 (19:06 +0000)]
2002-03-14 H.J. Lu <hjl@gnu.org>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the BFD
error to bfd_error_nonrepresentable_section for reinit_array
section in DSO.
Nick Clifton [Thu, 14 Mar 2002 18:30:40 +0000 (18:30 +0000)]
When adding BSF_WEAK flag, OR it in rather than replacing previously selected
flags.
Nick Clifton [Thu, 14 Mar 2002 10:57:52 +0000 (10:57 +0000)]
Set ar_max_namelen to 15
Alan Modra [Thu, 14 Mar 2002 10:39:46 +0000 (10:39 +0000)]
* ldlang.c (lang_check): Remove the word size check added in last
change. Treat emitrelocations case as for relocatable links.
Alan Modra [Thu, 14 Mar 2002 10:38:31 +0000 (10:38 +0000)]
* cpu-mips.c (mips_compatible): New. Don't check bits_per_word.
(N): Use the above.
* elflink.h (elf_bfd_final_link): Revert last change. Instead,
ensure reloc size matches before calling elf_link_input_bfd.
Add an assert to check reloc size when counting output relocs.
Hans-Peter Nilsson [Thu, 14 Mar 2002 10:05:25 +0000 (10:05 +0000)]
* gas/mmix/weak1.d, gas/mmix/weak1.d: New test.
Hans-Peter Nilsson [Thu, 14 Mar 2002 10:02:42 +0000 (10:02 +0000)]
* config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
a weak symbol in same section to be within reach.
Nick Clifton [Thu, 14 Mar 2002 09:41:54 +0000 (09:41 +0000)]
Fix compile time failure
gdbadmin [Thu, 14 Mar 2002 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 13 Mar 2002 23:00:06 +0000 (23:00 +0000)]
daily update
Michal Ludvig [Wed, 13 Mar 2002 20:42:16 +0000 (20:42 +0000)]
* gdbserver/remote-util.c (remote_open): Print remote-side's
IP address when remote debugging over the network.
Nick Clifton [Wed, 13 Mar 2002 10:35:17 +0000 (10:35 +0000)]
Updated French translations
Alan Modra [Wed, 13 Mar 2002 08:34:04 +0000 (08:34 +0000)]
* ppc-opc.c: Add optional `L' field to tlbie.
(XRTLRA_MASK): Define.
Alan Modra [Wed, 13 Mar 2002 07:30:45 +0000 (07:30 +0000)]
* archures.c (bfd_default_compatible): Test bits_per_word.
* cpu-i386.c (i386_compatible): Remove. Replace occurrences with
bfd_default_compatible.
* cpu-i370.c (i370_compatible): Likewise.
* cpu-sparc.c (sparc_compatible): Likewise.
* cpu-h8300.c (compatible): Test in->arch == out->arch.
Alan Modra [Wed, 13 Mar 2002 07:26:24 +0000 (07:26 +0000)]
Revert last change.
Alan Modra [Wed, 13 Mar 2002 04:04:49 +0000 (04:04 +0000)]
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Use ELF section
types instead of section names to determine whether init/fini array
dynamic tags are needed.
Alan Modra [Wed, 13 Mar 2002 03:42:39 +0000 (03:42 +0000)]
* elflink.h: Formatting fixes.
(elf_link_output_extsym): Merge undefined and undef weak cases.
David O'Brien [Wed, 13 Mar 2002 03:20:24 +0000 (03:20 +0000)]
What was I thinking....
2002-03-12 David O'Brien <obrien@FreeBSD.org>
* config/sparc/fbsd.mh: Fix copyright.
* config/sparc/fbsd.mt: Likewise.
Alan Modra [Wed, 13 Mar 2002 02:56:36 +0000 (02:56 +0000)]
* ldlang.c (lang_check): Do relocatable link checks first, so that
warn_mismatch can't override. Check compatible and word size too.
Alan Modra [Wed, 13 Mar 2002 02:56:08 +0000 (02:56 +0000)]
* elflink.h (elf_bfd_final_link): Only call elf_link_input_bfd
when word size of input matches output word size.
Richard Henderson [Wed, 13 Mar 2002 01:19:29 +0000 (01:19 +0000)]
* Makefile.in (NOTPARALLEL): New. Use it instead of explicit
.NOTPARALLEL tag.
(do-check): Rename from check.
(check): Allow parallel check.
gdbadmin [Wed, 13 Mar 2002 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 12 Mar 2002 23:00:07 +0000 (23:00 +0000)]
daily update
Chris Demetriou [Tue, 12 Mar 2002 22:53:01 +0000 (22:53 +0000)]
2002-03-12 Chris Demetriou <cgd@broadcom.com>
* configure.in (mipsisa32*-*-*, mipsisa64*-*-*): New targets.
* mips.igen (mips32, mips64): New models, add to all instructions
and functions as appropriate.
(loadstore_ea, check_u64): New variant for model mips64.
(check_fmt_p): New variant for models mipsV and mips64, remove
mipsV model marking fro other variant.
(SLL) Rename to...
(SLLa) this.
(CLO, CLZ, MADD, MADDU, MSUB, MSUBU, MUL, SLLb): New instructions
for mips32 and mips64.
(DCLO, DCLZ): New instructions for mips64.
DJ Delorie [Tue, 12 Mar 2002 21:11:11 +0000 (21:11 +0000)]
merge from gcc
Andreas Jaeger [Tue, 12 Mar 2002 13:16:05 +0000 (13:16 +0000)]
* cpu-i386.c (i386_compatible): New. Use it instead of
bfd_default_compatible.
Andreas Schwab [Tue, 12 Mar 2002 09:30:42 +0000 (09:30 +0000)]
* config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
body record so that an error is given for misplaced .save
pseudo-ops.
Richard Henderson [Tue, 12 Mar 2002 01:07:47 +0000 (01:07 +0000)]
* Makefile.in (.NOTPARALLEL): Add fake tag.
gdbadmin [Tue, 12 Mar 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 11 Mar 2002 23:00:04 +0000 (23:00 +0000)]
daily update
DJ Delorie [Mon, 11 Mar 2002 15:16:08 +0000 (15:16 +0000)]
merge from gcc
Richard Earnshaw [Mon, 11 Mar 2002 10:37:52 +0000 (10:37 +0000)]
* MAINTAINERS: Fix typo in name of gdb warnings option.
(x86-64): Fix formating so that this can be parsed by awk.
Andreas Jaeger [Mon, 11 Mar 2002 09:26:20 +0000 (09:26 +0000)]
* ld-elfweak/strongdata.sym: Allow bss section for GCC 3.2 that
places zero initialized data in the bss.
* ld-elfweak/dsodata.dsym: Likewise.
Daniel Jacobowitz [Mon, 11 Mar 2002 00:01:11 +0000 (00:01 +0000)]
gdb/:
2002-03-10 Daniel Jacobowitz <drow@mvista.com>
* Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h.
* defs.h: Include "gdb/signals.h".
(enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h.
include/gdb:
2002-03-10 Daniel Jacobowitz <drow@mvista.com>
* signals.h: New file, split from gdb/defs.h.
gdbadmin [Mon, 11 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 10 Mar 2002 23:00:06 +0000 (23:00 +0000)]
daily update
Michal Ludvig [Sun, 10 Mar 2002 18:16:26 +0000 (18:16 +0000)]
* x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
* x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
from x86-64-tdep.h
Daniel Jacobowitz [Sun, 10 Mar 2002 17:00:27 +0000 (17:00 +0000)]
2002-03-10 Daniel Jacobowitz <drow@mvista.com>
Don Howard <dhoward@redhat.com>
* mips-tdep.c (ST0_FR): Define.
(mips2_fp_compat): New function, temporarily disabled.
(mips_read_fp_register_single): New function.
(mips_read_fp_register_double): New function.
(mips_print_register): Use them.
(do_fp_register_row): Likewise.
Michael Chastain [Sun, 10 Mar 2002 06:06:16 +0000 (06:06 +0000)]
This is a duplicate of an entry I made in testsuite/ChangeLog.
I overlooked that testsuite/gdb.mi/ChangeLog has its own ChangeLog.
I'm leaving the testsuite/ChangeLog entry in place (ChangeLogs are permanent),
and adding this one where it belongs.
2002-03-04 Michael Chastain <mec@shout.net>
* mi-var-cmd.exp: In test "create local variable func",
accommodate gcc v3 function signature.
* mi0-var-cmd-exp: Ditto.
Andrew Cagney [Sun, 10 Mar 2002 03:09:52 +0000 (03:09 +0000)]
* MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
approval''.
gdbadmin [Sun, 10 Mar 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 9 Mar 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 9 Mar 2002 05:36:51 +0000 (05:36 +0000)]
* config/tc-i386.h (REX_OPCODE): Define.
(REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
(rex_byte): typedef to int.
* config/tc-i386.c: Group prototypes and vars together.
Formatting fixes. Remove occurrences of "register" keyword.
(true): Delete.
(false): Delete.
(mode_from_disp_size): Add INLINE keyword to prototype.
(fits_in_signed_byte): Likewise.
(fits_in_unsigned_byte): Likewise.
(fits_in_unsigned_word): Likewise.
(fits_in_signed_word): Likewise.
(fits_in_unsigned_long): Likewise.
(fits_in_signed_long): Likewise.
(type_names): Constify.
(intel_float_operand): Constify param.
(add_prefix): Use REX_OPCODE.
(md_assemble): Likewise. Modify for changed rex_byte.
(parse_insn): Split out of md_assemble.
(parse_operands): Likewise.
(swap_operands): Likewise.
(optimize_imm): Likewise.
(optimize_disp): Likewise.
(match_template): Likewise.
(check_string): Likewise.
(process_suffix): Likewise.
(check_byte_reg): Likewise.
(check_long_reg): Likewise.
(check_qword_reg): Likewise.
(check_word_reg): Likewise.
(finalize_imm): Likewise.
(process_operands): Likewise.
(build_modrm_byte): Likewise.
(output_insn): Likewise.
(output_branch): Likewise.
(output_jump): Likewise.
(output_interseg_jump): Likewise.
(output_disp): Likewise.
(output_imm): Likewise.
gdbadmin [Sat, 9 Mar 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 8 Mar 2002 23:00:10 +0000 (23:00 +0000)]
daily update
Peter Schauer [Fri, 8 Mar 2002 17:19:39 +0000 (17:19 +0000)]
* stabsread.c (read_member_functions): Fix is_stub test for
static member functions, improve comment.
Daniel Jacobowitz [Fri, 8 Mar 2002 06:05:18 +0000 (06:05 +0000)]
2002-03-07 Daniel Jacobowitz <drow@mvista.com>
* README: Update some version numbers.
Daniel Jacobowitz [Fri, 8 Mar 2002 05:42:15 +0000 (05:42 +0000)]
2002-03-07 Daniel Jacobowitz <drow@mvista.com>
* doc/binutils.texi (Target Selection): Fix LD crossreferences.
(Architecture Selection): Likewise.
Daniel Jacobowitz [Fri, 8 Mar 2002 04:24:19 +0000 (04:24 +0000)]
2002-03-07 Daniel Jacobowitz <drow@mvista.com>
* gprof.texi: Wrap @menu in @ifnottex, not @ifinfo.
Daniel Jacobowitz [Fri, 8 Mar 2002 04:21:51 +0000 (04:21 +0000)]
2002-03-07 Daniel Jacobowitz <drow@mvista.com>
* doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
Daniel Jacobowitz [Fri, 8 Mar 2002 04:07:21 +0000 (04:07 +0000)]
2002-03-07 Daniel Jacobowitz <drow@mvista.com>
* ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
Chris Demetriou [Fri, 8 Mar 2002 00:37:14 +0000 (00:37 +0000)]
2002-03-07 Chris Demetriou <cgd@broadcom.com>
* mips.igen (BREAK, LUI, ORI, SYSCALL, XORI): Print
immediate or code as a hex value with the "%#lx" format.
(ANDI): Likewise, and fix printed instruction name.
Chris Demetriou [Fri, 8 Mar 2002 00:36:32 +0000 (00:36 +0000)]
2002-03-07 Chris Demetriou <cgd@broadcom.com>
* igen.c (print_itrace_format): Add support for a new "%#lx" format.
gdbadmin [Fri, 8 Mar 2002 00:03:34 +0000 (00:03 +0000)]
*** empty log message ***
Alan Modra [Thu, 7 Mar 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Stephane Carrez [Thu, 7 Mar 2002 19:17:04 +0000 (19:17 +0000)]
* m68hc11_sim.c (cpu_move8): Call sim_engine_abort in default case.
(cpu_move16): Likewise.
(sim_memory_error): Use sim_io_printf.
(cpu_option_handler): Fix compilation warning.
* interp.c (sim_hw_configure): Fix compilation warning;
remove m68hc12sio@2 device.
(sim_open): Likewise.
* dv-m68hc11tim.c (m68hc11tim_port_event): Fix clear of TFLG2
flags when reset.
(cycle_to_string): Improve convertion of cpu cycle number.
(m68hc11tim_info): Print info about PACNT.
(m68hc11tim_io_write_buffer): Fix clearing of TFLG2; handle
TCTL1 and TCTL2 registers.
* dv-m68hc11.c (m68hc11_info): Print 6811 current running mode.
Stephane Carrez [Thu, 7 Mar 2002 19:12:44 +0000 (19:12 +0000)]
* interp.c (sim_hw_configure): Save the HW cpu pointer in the
cpu struct.
(sim_hw_configure): Connect the capture input/output events.
* sim-main.h (_sim_cpu): New member hw_cpu.
(m68hc11cpu_set_oscillator): Declare.
(m68hc11cpu_clear_oscillator): Declare.
(m68hc11cpu_set_port): Declare.
* dv-m68hc11.c (m68hc11_options): New for oscillator commands.
(m68hc11cpu_ports): New input ports and output ports to reflect
the HC11 IOs.
(m68hc11_delete): Cleanup any running oscillator.
(attach_m68hc11_regs): Create the input oscillators.
(make_oscillator): New function.
(find_oscillator): New function.
(oscillator_handler): New function.
(reset_oscillators): New function.
(m68hc11cpu_port_event): Handle the new input ports.
(m68hc11cpu_set_oscillator): New function.
(m68hc11cpu_clear_oscillator): New function.
(get_frequency): New function.
(m68hc11_option_handler): New function.
(m68hc11cpu_set_port): New function.
(m68hc11cpu_io_write): Post the port output events.
* dv-m68hc11spi.c (set_bit_port): Use m68hc11cpu_set_port to set
the output port value.
* dv-m68hc11tim.c (m68hc11tim_port_event): Handle CAPTURE event
by latching the TCNT value in the register.
Stephane Carrez [Thu, 7 Mar 2002 19:06:34 +0000 (19:06 +0000)]
* sim-main.h (cpu_frame, cpu_frame_list): Remove.
(cpu_frame_reg, cpu_print_frame): Remove.
(cpu_m68hc11_push_uint8, cpu_m68hc11_pop_uint8): Cleanup.
(cpu_m68hc11_push_uint16, cpu_m68hc11_pop_uint16): Likewise.
(cpu_m68hc12_push_uint8, cpu_m68hc12_push_uint16): Likewise.
(cpu_m68hc12_pop_uint8, cpu_m68hc12_pop_uint16): Likewise.
* m68hc11_sim.c (cpu_find_frame): Remove.
(cpu_create_frame_list): Remove.
(cpu_remove_frame_list, cpu_create_frame, cpu_free_frame): Remove.
(cpu_frame_reg, cpu_print_frame, cpu_update_frame): Remove.
(cpu_call): Cleanup to remove #if HAVE_FRAME and calls to the above.
(cpu_update_frame): Likewise.
(cpu_return): Likewise.
(cpu_reset): Likewise.
(cpu_initialize): Likewise.
* interp.c (sim_do_command): Remove call to cpu_print_frame.
Stephane Carrez [Thu, 7 Mar 2002 18:59:38 +0000 (18:59 +0000)]
* interrupts.c (interrupts_reset): New function, setup interrupt
vector address according to cpu mode.
(interrupts_initialize): Move reset portion to the above.
(interrupt_names): New table to give a name to interrupts.
(idefs): Handle pulse accumulator interrupts.
(interrupts_info): Print the interrupt history.
(interrupt_option_handler): New function.
(interrupt_options): New table of options.
(interrupts_update_pending): Keep track of when interrupts are
raised and implement breakpoint-on-raise-interrupt.
(interrupts_process): Keep track of when interrupts are taken
and implement breakpoint-on-interrupt.
* interrupts.h (struct interrupt_history): Define.
(struct interrupt): Keep track of the interrupt history.
(interrupts_reset): Declare.
(interrupts_initialize): Update prototype.
* m68hc11_sim.c (cpu_reset): Reset interrupts.
(cpu_initialize): Cleanup.
H.J. Lu [Thu, 7 Mar 2002 18:11:20 +0000 (18:11 +0000)]
2002-03-07 H.J. Lu (hjl@gnu.org)
* coff-sh.c (shcoff_reloc_map): Use bfd_reloc_code_real_type
as the type for bfd_reloc_val.
H.J. Lu [Thu, 7 Mar 2002 17:47:03 +0000 (17:47 +0000)]
2002-03-07 H.J. Lu (hjl@gnu.org)
* configure.in: Enable gprof for mips*-*-linux*.
Richard Earnshaw [Thu, 7 Mar 2002 15:29:53 +0000 (15:29 +0000)]
* remote-rdi.c (myprint): Replace 'PTR' with 'void *'.
(mywrite, mywritec, mypause, myreadc, mygets): Likewise.
(_initialize_remote_rdi): Use add_set_boolean_cmd to register
commands that set boolean values.
(arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning.
(arm_rdi_resume): Always initialize PC.
(arm_rdi_open): Don't use rslt as a boolean.
(arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume)
(arm_rdi_fetch_registers, arm_rdi_store_registers)
(arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill)
(arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise.
Hans-Peter Nilsson [Thu, 7 Mar 2002 14:03:05 +0000 (14:03 +0000)]
* ld-cris/expdyn1.d: Tweak for change in elf.sc.
Fred Fish [Thu, 7 Mar 2002 04:18:55 +0000 (04:18 +0000)]
Checked in under the "obvious fix/typo rule".
2002-03-06 Fred Fish <fnf@redhat.com>
* gdb.base/funcargs.c: Remove extraneous ';' character.
* gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
Jim Blandy [Thu, 7 Mar 2002 00:16:50 +0000 (00:16 +0000)]
* splay-tree.c (splay_tree_xmalloc_allocate,
splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
prototyped definitions. Mark `data' arguments as unused.
gdbadmin [Thu, 7 Mar 2002 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***
This page took 0.039377 seconds and 4 git commands to generate.