OSDN Git Service
corinna [Thu, 25 Aug 2005 21:18:21 +0000 (21:18 +0000)]
* path.cc (realpath): Drop call to mount_info::conv_to_posix_path
in favor of calling path_conv with PC_POSIX flag. Align error
handling closer to POSIX. As on Linux, return user space allocated
memory if second parameter is NULL.
corinna [Thu, 25 Aug 2005 20:35:22 +0000 (20:35 +0000)]
* path.cc (normalize_win32_path): Honor network paths. Fold more
than two leading dir separators into one. Check for dir separator
instead of just slashes to handle incoming Win32 paths correctly.
chaoyingfu [Thu, 25 Aug 2005 18:21:44 +0000 (18:21 +0000)]
* gas/mips/mips.exp: Run DSP test.
* gas/mips/mips32-dsp.[sdl]: New test.
chaoyingfu [Thu, 25 Aug 2005 18:17:34 +0000 (18:17 +0000)]
* config/tc-mips.c (mips_set_options): Add ase_dsp for DSP instructions.
(mips_opts): Add -1 to initialize ase_dsp.
(file_ase_dsp): New variable for -mdsp.
(CPU_HAS_DSP): New define.
(validate_mips_insn): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, ', :, @
operand formats.
(mips_ip): Add min_range and max_range for checking singed numbers.
Check ase_dsp to enable DSP instructions.
Handle 3, 4, 5, 6, 7, 8, 9, 0, ', :, @ operand formats.
(OPTION_DSP, OPTION_NO_DSP): New define.
(OPTION_COMPAT_ARCH_BASE): Change because of inserting DSP define.
(md_parse_option): Parse OPTION_DSP and OPTION_NO_DSP.
(mips_after_parse_args): Set ase_dsp based on CPU.
(s_mipsset): Handle ".set dsp" and ".set nodsp".
(mips_elf_final_processing): Remind of adding new flag for DSP ASE.
(md_show_usage): Show usage of -mdsp and -mno-dsp.
chaoyingfu [Thu, 25 Aug 2005 18:12:40 +0000 (18:12 +0000)]
* mips-opc.c (WR_a, RD_a, MOD_a, DSP_VOLA, D32): New define.
(mips_builtin_opcodes): Add DSP instructions.
* mips-dis.c (mips_arch_choices): Enable INSN_DSP for mips32, mips32r2,
mips64, mips64r2.
(print_insn_args): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, :, ', @
operand formats.
chaoyingfu [Thu, 25 Aug 2005 18:09:23 +0000 (18:09 +0000)]
* mips.h (OP_SH_DSPACC, OP_MASK_DSPACC, OP_SH_DSPACC_S,
OP_MASK_DSPACC_S, OP_SH_DSPSFT, OP_MASK_DSPSFT, OP_SH_DSPSFT_7,
OP_MASK_DSPSFT_7, OP_SH_SA3, OP_MASK_SA3, OP_SH_SA4, OP_MASK_SA4,
OP_SH_IMM8, OP_MASK_IMM8, OP_SH_IMM10, OP_MASK_IMM10, OP_SH_WRDSP,
OP_MASK_WRDSP, OP_SH_RDDSP, OP_MASK_RDDSP): New define.
Document 3, 4, 5, 6, 7, 8, 9, 0, :, ', @ operand formats for DSP
instructions.
(INSN_DSP): New define for DSP ASE.
cgf [Thu, 25 Aug 2005 15:27:08 +0000 (15:27 +0000)]
* errno.cc (errmap): Translate ERROR_NO_MORE_ITEMS to ENMFILE.
dannysmith [Thu, 25 Aug 2005 08:39:53 +0000 (08:39 +0000)]
* mingwex/fe*.c: Revert previous changes.
* include/fenv.h: Revert previous changes.
Add Changelog entry for the reverted change.
kkojima [Thu, 25 Aug 2005 05:10:19 +0000 (05:10 +0000)]
* elf32-sh.c (sh_elf_get_flags_from_mach): Fix off-by-one error.
cgf [Thu, 25 Aug 2005 03:12:47 +0000 (03:12 +0000)]
* exceptions.cc (handle_sigsuspend): Just sleep forever if called from non-main
thread.
(sigpacket:process): Simplify logic which determines when and how a signal is
masked. Don't trigger sigwait if there is a signal handler.
* sigproc.cc (wait_sig): Update comment. Try to process a signal which is in
the queue if it isn't queued for the target thread (this is still not right).
dannysmith [Thu, 25 Aug 2005 02:35:32 +0000 (02:35 +0000)]
* mingwex/feclearexcept.c (feclearexcept): Change declaration.
Do not return a value.
* mingwex/fegetexceptflag.c (fegetexceptflag): Likewise.
* mingwex/feraiseexcept.c (feraiseexcept): Likewise.
* mingwex/fesetexceptflag.c (fesetexceptflag): Likewise.
* mingwex/fegetenv.c (fegetenv): Likewise.
* mingwex/fesetenv.c (fesetenv): Likewise.
* mingwex/feupdateenv.c (feupdateenv): Likewise.
* include/fenv.h (feclearexcept, fegetexceptflag, feraiseexcept,
fesetexceptflag, fegetenv, fesetenv, feupdateenv): Correct
prototypes.
hjl [Thu, 25 Aug 2005 02:32:07 +0000 (02:32 +0000)]
2005-08-24 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1208
* elf-hppa.h (elf_hppa_relocate_section): Print out the name
of unresolvable relocation.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elf32-arm.c (elf32_arm_relocate_section): Likewise.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.
dannysmith [Thu, 25 Aug 2005 02:04:58 +0000 (02:04 +0000)]
* mingwex/stdio/fseeko64.c (fseeko64): Flush stream before
getting filelength for SEEK_END.
gdbadmin [Thu, 25 Aug 2005 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 25 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update
cgf [Wed, 24 Aug 2005 18:26:13 +0000 (18:26 +0000)]
* spawn.cc (perhaps_suffix): Record errno-type error value in third argument.
(find_exec): On error, set errno returned from perhaps_suffix.
(spawn_guts): Ditto.
cgf [Wed, 24 Aug 2005 17:45:09 +0000 (17:45 +0000)]
* fhandler_virtual.cc (fhandler_virtual::close): Don't free filebuf if it's
NULL.
* pinfo.cc (_pinfo::commune_send): Fix test for incorrect number of bytes read
from pipe.
corinna [Wed, 24 Aug 2005 15:50:10 +0000 (15:50 +0000)]
* syscalls.cc (endusershell): Reset shell_fp to NULL to allow
subsequent getusershell calls.
cgf [Wed, 24 Aug 2005 14:17:53 +0000 (14:17 +0000)]
* path.cc (path_conv::check): Fill in fileattr for /dev, defaulting to
directory if /dev doesn't actually exist.
(win32_device_name): Don't consider FH_DEV to be a device since it's really a
directory which should go through mount processing.
cgf [Wed, 24 Aug 2005 04:38:38 +0000 (04:38 +0000)]
* cygheap.h (cygheap_types): Add HEAP_COMMUNE.
* fhandler_proc.cc: Use cygheap rather than user heap for allocation of filebuf
throughout.
* fhandler_registry.cc: Ditto.
* fhandler_virtual.cc: Ditto.
* fhandler_process.cc: Ditto.
(get_mem_values): Use malloc/realloc/free rather than new.
* pinfo.cc (_pinfo::commune_send): Allocate on cygwin heap rather than user
heap. Avoid calling ReadFile when correct number of characters have been read
or suffer buffer corruption.
(_pinfo::fd): Allocate on cygwin heap rather than user heap.
(_pinfo::fds): Ditto.
(_pinfo::root): Ditto.
(_pinfo::cwd): Ditto.
(_pinfo::cmdline): Ditto.
* devices.h (FH_DEV): New define.
* devices.in: Detect lone /dev.
* devices.cc: Regenerate.
* path.cc (path_conv::check): Treat FH_DEV as a special case.
kevinb [Wed, 24 Aug 2005 01:14:35 +0000 (01:14 +0000)]
Add support for am33 linux.
gdbadmin [Wed, 24 Aug 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 24 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update
kevinb [Tue, 23 Aug 2005 23:22:17 +0000 (23:22 +0000)]
Add "monitor" commands for enabling and disabling printing of diagnostic
messages.
cgf [Tue, 23 Aug 2005 22:22:52 +0000 (22:22 +0000)]
* sigproc.h (set_signal_mask): Remove default on second parameter and make pass
by reference.
* signal.cc (abort): Accommodate change to set_signal_mask.
* select.cc (pselect): Ditto.
* exceptions.cc (handle_sigsuspend): Ditto.
(ctrl_c_handler): Ditto.
(sighold): Ditto.
(sigrelse): Ditto.
(set_process_mask_delta): Ditto.
(_cygtls::call_signal_handler): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Return ENMFILE if
__handle is not set. Set __handle to NULL when out of files.
(fhandler_disk_file::rewinddir): Don't close handle if it's NULL.
(fhandler_disk_file::closedir): Ditto.
brolley [Tue, 23 Aug 2005 21:09:48 +0000 (21:09 +0000)]
2005-08-23 Dave Brolley <brolley@redhat.com>
* mainDynamic.cxx (try_add_gprof): Initialize interval.
* commonCfg.cxx (set_priority): New method of SchedCfg.
(GprofCfg): Always call set_time, set_regular and set_priority.
(BoardCfg::write_load): Don't connect init-seq to the dynamic
configurator's step! pin. Call set_priority.
* commonCfg.h (set_priority): New method of SchedCfg.
(config_priority,gprof_priority,default_priority): New constants in
SchedCfg.
brolley [Tue, 23 Aug 2005 21:09:23 +0000 (21:09 +0000)]
2005-08-23 Dave Brolley <brolley@redhat.com>
* sidcpuutil.h (step_pin_handler): Don't call configure_gprof here.
(unconfigure_gprof): Check gprof_configured_p.
(configure_gprof): Check gprof_configured_p.
(configure_gprof_p): Removed.
(gprof_spec): Removed.
(configure): Call configure_gprof here.
brolley [Tue, 23 Aug 2005 21:08:53 +0000 (21:08 +0000)]
2005-08-23 Dave Brolley <brolley@redhat.com>
* compSched.cxx (scheduling_event): Constructors now take
a 'priority' argument.
(operator <): Consider priority of events.
(yield): Likewise.
(next_event): Likewise.
(schedule_irregular): Now takes a 'priority' argument. Used when
creating scheduling events.
(schedule_regular): Likewise.
(refill_regular_events_table): Consider priority of events.
(operator <<): Stream priority.
(operator >>): Destream priority.
(class scheduler_client): Add 'priority' member.
(set_time): Pass priority of the client to the scheduler.
(client_num_update): Handle N-priority attribute.
* sid-sched.xml: Describe the N-priority attribute.
* sid-sched.txt: Regenerated.
brolley [Tue, 23 Aug 2005 21:08:35 +0000 (21:08 +0000)]
2005-08-23 Dave Brolley <brolley@redhat.com>
* gprof.cxx (configure): Don't reset the N-regular attribute of the
scheduler. Call accumulate when configuring for cycles=N.
brolley [Tue, 23 Aug 2005 21:08:12 +0000 (21:08 +0000)]
2005-08-23 Dave Brolley <brolley@redhat.com>
* compConfig.cxx (reset): Drive step_control_pin.
(get_current_config): Removed.
* sid-control-dynamic-configurator.xml: Correct description of interface.
* sid-control-dynamic-configurator.txt: Regenerated.
rearnsha [Tue, 23 Aug 2005 18:13:01 +0000 (18:13 +0000)]
Sync from gcc sources:
* Makefile.def (libssp): Add to lang_env_dependencies.
* Makefile.in: Regenerate.
davidu [Tue, 23 Aug 2005 11:32:41 +0000 (11:32 +0000)]
* config/tc-mips.c (mips_cpu_info_table): Add 5kf to the table of
cpu names.
davidu [Tue, 23 Aug 2005 11:06:10 +0000 (11:06 +0000)]
* mips16-opc.c (mips16_opcodes): Add the MIPS16e jalrc/jrc
instructions to the table.
amodra [Tue, 23 Aug 2005 06:18:44 +0000 (06:18 +0000)]
PR 1036
* config/tc-ppc.c (ppc_symbol_chars): Add '%' and '['.
cgf [Tue, 23 Aug 2005 03:58:04 +0000 (03:58 +0000)]
* dir.cc (readdir_worker): Make static. Only add '.' and '..' when readdir
fails due to ENMFILE.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Only close handle on
error != ENMFILE.
amodra [Tue, 23 Aug 2005 03:23:12 +0000 (03:23 +0000)]
* configure.tgt (*-*-vxworks): Match vxworks* instead.
amodra [Tue, 23 Aug 2005 00:00:08 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 23 Aug 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
jjohnstn [Mon, 22 Aug 2005 21:13:34 +0000 (21:13 +0000)]
2005-08-22 Shaun Jackman <sjackman@gmail.com>
* libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
define _opendir as opendir, _readdir as readdir, and
_closedir as closedir so that the implementations in
libc/posix will be used.
corinna [Mon, 22 Aug 2005 16:11:59 +0000 (16:11 +0000)]
* mtinfo.h (mtinfo_drive::error): Fix argument bug in debug_printf call.
jbeulich [Mon, 22 Aug 2005 12:37:29 +0000 (12:37 +0000)]
gas/
2005-08-22 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (object_64bit): New.
(i386_target_format): Initialize it.
(output_disp): Use object_64bit for relocation type determination.
(output_imm): Likewise.
(i386_validate_fix): Likewise.
(tc_gen_reloc): Likewise.
(lex_got): Likewise. Remove static mode_name. Change array size
of gotrel's rel field, and adjust its initializer. Adjust diagnostic.
(x86_cons): Use object_64bit for deciding whether quad fields can
have relocations.
gas/testsuite/
2005-08-22 Jan Beulich <jbeulich@novell.com>
* gas/i386/mixed-mode-reloc.s, gas/i386/mixed-mode-reloc32.d,
gas/i386/mixed-mode-reloc64.d: New.
* gas/i386/i386.exp: Run new tests.
gdbadmin [Mon, 22 Aug 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 22 Aug 2005 00:00:05 +0000 (00:00 +0000)]
daily update
kettenis [Sun, 21 Aug 2005 16:53:05 +0000 (16:53 +0000)]
* doublest.c (floatformat_mantissa): Use xsnprintf instead of
sprintf.
kettenis [Sun, 21 Aug 2005 15:51:38 +0000 (15:51 +0000)]
* vaxobsd-tdep.c: New file.
* config/vax/obsd.mt (TDEPFILES): Add vaxobsd-tdep.o.
* Makefile.in (vaxobsd-tdep.o): New dependency.
kettenis [Sun, 21 Aug 2005 10:47:45 +0000 (10:47 +0000)]
* ppcobsd-tdep.c: Include "frame.h" and "frame-unwind.h". Don't
include "tramp-frame.h".
(ppcobsd_sigtramp_cache_init): Remove function.
(ppcobsd_sigtramp): Remove variable.
(ppcobsd_page_size, ppcobsd_sigreturn_offset): New variables.
(ppcobsd_sigtramp_p): New function.
(ppcobsd_sigtramp_frame_cache, ppcobsd_sigtramp_frame_this_id)
(ppcobsd_sigtramp_frame_prev_register): New functions.
(ppcobsd_sigtramp_frame_unwind): New variable.
(ppcobsd_sigtramp_frame_sniffer): New function.
(ppcobsd_init_abi): Adjust to register new sigtramp sniffer
instead of the old one.
* Makefile.in (ppcobsd-tdep.o): Update dependencies.
kettenis [Sun, 21 Aug 2005 09:34:19 +0000 (09:34 +0000)]
* infcall.c (call_function_by_hand): For
RETURN_VALUE_ABI_RETURNS_ADDRESS and
RETURN_VALUE_ABI_PRESERVES_ADDRESS, use gdbarch_return_value to
get return value.
kettenis [Sun, 21 Aug 2005 09:33:10 +0000 (09:33 +0000)]
* valarith.c (value_equal, value_less): Avoid compiler bug on
systems where `long double' values are returned in static storage.
amodra [Sun, 21 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 21 Aug 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Sat, 20 Aug 2005 06:21:20 +0000 (06:21 +0000)]
add missing entry
cgf [Sat, 20 Aug 2005 06:19:53 +0000 (06:19 +0000)]
* cygerrno.h (geterrno_from_win_error): Change declaration to default to using
GetLastError and EACCESS.
* cygwin.din: Export readdir_r.
* include/cygwin/version.h: Bump API version number to 138.
* syscalls.cc (readdir_worker): New function, renamed from old readdir()
function.
(readdir): Use readdir_worker.
(readdir_r): New function.
* fhandler.h (fhandler_base::readdir): Accommodate second argument indicating
dirent buffer.
(fhandler_disk_file::readdir): Ditto.
(fhandler_cygdrive::readdir): Ditto.
(fhandler_proc::readdir): Ditto.
(fhandler_netdrive::readdir): Ditto.
(fhandler_registry::readdir): Ditto.
(fhandler_process::readdir): Ditto.
* fhandler.cc (fhandler_base::readdir): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Ditto.
* fhandler_cygdrive.cc (fhandler_cygdrive::readdir): Ditto.
* fhandler_proc.cc (fhandler_proc::readdir): Ditto.
* fhandler_netdrive.cc (fhandler_netdrive::readdir): Ditto.
* fhandler_registry.cc (fhandler_registry::readdir): Ditto.
* fhandler_process.cc (fhandler_process::readdir): Ditto.
gdbadmin [Sat, 20 Aug 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 20 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update
brolley [Fri, 19 Aug 2005 19:48:45 +0000 (19:48 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
(record_data_memory_write_latency): New virtual method.
* Contribute the following changes:n_memory_read_latency.
(write_insn_memory): Call record_insn_memory_write_latency.
2005-07-13 Dave Brolley <brolley@redhat.com>ad_latency.
(write_data_memory): Call record_data_memory_write_latency.
* mepCfg.cxx (set_dynamic_config): New method of MepMemCfg.::check_level
(MepCacheCfg::set_dynamic_config): Don't use the new-config pin
or the dynamic-configurator attribute. Instead, relate the cache
to the dynamic configurator using its client relation.
(MepBoardCfg::write_config): Likewise for the insn_buffer, dmac,result
hw_engines and peripherals. Call set_dynamic_config for shared_main_mem.
* mainDynamic.cxx (BoardConfig): New struct type.
(main): Keep a vector of the boards in board_configs. Call:ok.
set_start_config for each board after all the --wrap options have
been seen. Call add_wrapped_component to identify each wrapped
component to the session.y@redhat.com>
* commonCfg.h (wrapped_components): New member of SessionCfg.
(add_wrapped_component): New method of SessionCfg.New class.
(wrap_config): Likewise.ule): Reschedule after the given number of
* commonCfg.cxx (wrap_config): New method of SessionCfg.
(profile_config): Use possible_wrap_name to obtain the component
being wrapped so we can get its name.
(GdbCfg::write_config): Don't connect the new-config pin or use the
dynamic-configurator relation. Instead, use the dynamic configurator's
client relation.
(BoardCfg::write_config): Likewise. Relate the dynamic configurator
to gloss.
* baseCfg.cxx (wrap_component): Now returns AtomicCfg *.
(possible_wrap_name): Likewise.
(dynamic_config_for_wrapped_children): Don't connect the dynamic
configurator's new-config pin to the components or relate the
dynamic configurator to them. Rather, relate the components to the
dynamic configurator using its 'client' relation.
* baseCfg.h (wrap_component): Now returns AtomicCfg *.
(possible_wrap_name): Likewise.
2005-07-05 Dave Brolley <brolley@redhat.com>
* commonCfg.cxx (BoardCfg::write_load): Connect dynamic configurator's
"reset" pin to output 2 of reset_net.
(write_config): Set the "start-config" attribute of the dynamic
configurator not gloss. Relate "main" to the dynamic configurator
unconditionally. Connect the "config-error" pins of the dynamic
configurator and gloss.
2005-06-30 Dave Brolley <brolley@redhat.com>
* mainDynamic.cxx (try_add_gprof): Make sure an argument is specified
after the comma.
2005-06-06 Dave Brolley <brolley@redhat.com>
* mainDynamic.cxx (need_sess): Now takes 'verbose' argument. Use it
to initialize sess->verbose. Update all callers.
(main): Add " --model-busses" to board_start_config instead of
" --model_busses" (typo).
* commonCfg.h (need_core_probe): New member of SessionCfg.
(BoardCfg::dynamic_configurator): Now public.
* commonCfg.cxx (SessionCfg): Initialize need_core_probe.
(profile_config): Set need_core_probe for --trace-core. Call
use_tcl_bridge and possible_wrap_name for --wrap.
(LoaderCfg): Don't set verbose? attribute here.
(GlossCfg): Likewise.
(GdbCfg::write_config): Connect the stub and the socket to the
dynamic_configurator.
(BoardCfg): Initialize core_probe and warmup_funcs. Connect the cpu's
print-insn-summary pin to the shutdown sequence here.
(BoardCfg::write_load): Connect the dynamic configurator's step! pin
to the init-sequence's output 6. Set the core_probe's trace?
attribute. Set the gloss and loader's verbose? attributes.
(BoardCfg::write_config): Give the dynamic configurator its own
subscription to sim-sched. Set the cpu's 'main' and core-probe
relations. Connect gloss, core_probe, loader and all of the board's
wrapped childred to the dynamic configurator. Check whether components
are wrapped before connecting them to the dynamic configurator. Don't co
nnect
the cpu's print-insn-summary pin to the shutdown sequence here.
* baseCfg.cxx (AtomicCfg): Initialize my_possibly_wrapped.
(wrap_component): Set my_possibly_wrapped.
(possible_wrap_name): New static method of AtomicCfg.
(AtomicCfg::write_construct): Check my_possibly_wrapped. Set
victim-trace? to false if only possibly wrapped.
(dynamic_config_for_wrapped_children): New method of AggregateCfg.
* baseCfg.h (possible_wrap_name): New static method of AtomicCfg.
(possibly_wrapped): New method of AtomicCfg.
(my_possibly_wrapped): New member of AtomicCfg.
(dynamic_config_for_wrapped_children): New method of AggregateCfg.
2005-05-29 Dave Brolley <brolley@redhat.com>
* mainDynamic.cxx (usage): Document --profile-config,--profile-func,
--warmup-func and --warmup.
(Defs): Initialize warmup, profile_func and start_config.
(warmup,profile_func,warmup_func,start_config): New members of Defs.
(need_sess): Call profile_config with "sid-internal-warmup:".
(opt_warmup,opt_warmup_func,opt_profile_func,opt_profile_config): New
enumerators.
(long_options): Add --profile-config,--profile-func,
--warmup-func and --warmup.
(main): Accumulate start_config with reconfigurable options which occur
before the first --board. For each board call set_start_config with
the value of start_config concatenated with the additional reconfigurabl
e
options specified for that --board. Call set_warmup, add_warmup_func and
add_profile_func for each board. Handle new option enums.
* commonCfg.h (add_profile_config): New method of SessionCfg.
(profile_config_error, profile_opt_value, profile_opt_int_value)
(profile_opt_gprof_value, match_profile_opt, profile_config): New
methods of SessionCfg.
(GprofCfg): New constructor.
(write_load): New virtual override in BoardCfg.
(add_profile_func, add_warmup_func, set_warmup, set_start_config): New
methods of BoardCfg.
(need_gprof): New member of BoardCfg.
(start_config,warmup_funcs,profile_funcs): New members of BoardCfg.
* commonCfg.cxx (SessionCfg): Initialize need_gprof.
(add_profile_config): New method of SessionCfg.
(profile_config_error, profile_opt_value, profile_opt_int_value)
(profile_opt_gprof_value, match_profile_opt, profile_config): New
methods of SessionCfg.
(GprofCfg): Always add a sunscription to sim_sched. Set the
sim-sched-event attribute.
(GprofCfg): New constructor.
(BoardCfg): Initialize dynamic_configurator and start_config.
(write_load): New virtual override in BoardCfg.
(BoardCfg::write_config): Make connections and set attributes to allow
for dynamic configuration.
(add_profile_func, add_warmup_func, set_warmup, set_start_config): New
methods of BoardCfg.
brolley [Fri, 19 Aug 2005 19:47:43 +0000 (19:47 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2005-07-13 Dave Brolley <brolley@redhat.com>
* sidcpuutil.h (num_cycles): New member of basic_cpu.
(step_pin_handler): Call configure_gprof.
(cg_profile): Call last_caller and last_callee.
(cg_profile_jump): Call last_caller and last_callee.
(configure_gprof): New method of basic_cpu.
(unconfigure_gprof): New method of basic_cpu.
(gprof_configured_p,configure_gprof_p,last_caller,last_callee)
(pprof_spec): New members of basic_cpu.
(configure): Call configure_gprof.
(basic_cpu): Initialize gprof_configured_p, configure_gprof_p,
last_caller and last_callee.
* sidattrutil.h (configurable_component): Moved here ...
* sidcomputil.h (configurable_component): ... from here.
* sidbusutil.h (bus_arbitrator): Inherit from no_relation_component.
2005-06-24 Dave Brolley <brolley@redhat.com>
* sidattrutil.h (fixed_attribute_map_with_logging_component):
Initialize buffer_output to false.
2005-06-21 Dave Brolley <brolley@redhat.com>
* sidcpuutil.h (basic_cpu::configure): Call update_final_insn_count_p
after processing "final-insn-count".
2005-06-06 Dave Brolley <brolley@redhat.com>
* sidcpuutil.h (print_final_insn_count_p): New member of basic_cpu.
(print_insn_summary): Check print_final_insn_count_p.
(update_final_insn_count_p): New method of basic_cpu.
(core_probe,main); New members of basic_cpu.
(basic_cpu::configure): Handle insn-count, verbose, trace-core,
trace-counter, trace-extract, trace-semantics and final-insn-count.
(stream_state): Stream print_final_insn_count_p.
(destream_state): Destream print_final_insn_count_p.
(basic_cpu): Initialize core_probe and main. Initialize
print_final_insn_count_p. Add final-insn-count? using
add_attribute_notify. Add relations core-probe and main.
* sidcomputil.h (configurable_component::configure_pin_handler): Now
virtual.
2005-05-29 Dave Brolley <brolley@redhat.com>
* sidcpuutil.h (basic_cpu): New inherits from configurable_component.
(cg_jump_pin,cg_return_pin): New members of basic_cpu.
(cg_profile_jump): New method of basic_cpu.
(configure): New virtual override on basic_cpu.
(basic_cpu): Initialize gprof. Add cg-return and cg-jump pins. Add
gprof relation.
* sidcomputil.h (configurable_component): New mix-in class for component
s.
* sidattrutil.h (sidcomputil.h): #include it.
(fixed_attribute_map_with_logging_component): Inherit from
configurable_component.
(configure): New virtual override in
fixed_attribute_map_with_logging_component.
brolley [Fri, 19 Aug 2005 19:46:38 +0000 (19:46 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2005-07-13 Dave Brolley <brolley@redhat.com>
* compTcl.cxx (set_attribute_value): Handle the configure! attribute.
(find_pin): Don't handle the configure! pin.
(relate): Don't handle the dynamic-configurator relation.
(unrelate): Likewise.
(configure_pin_handler): Removed.
2005-06-06 Dave Brolley <brolley@redhat.com>
* sid-api-trace.tcl (attribute_value): Handle component-type and victim
attributes.
* compTcl.cxx (tcl_component): component and configurable_component
inherited virtually.
(victim_name): New member of tcl_component.
(set_attrinute_value): Handle victim-name attribute.
(find_pin): Handle the "configure" pin specially.
(relate): Handle the dynamic-configurator relation specially.
(unrelate): Likewise.
(configure_pin_handler,configure): New virtual overrides in
tcl_component.
brolley [Fri, 19 Aug 2005 19:46:00 +0000 (19:46 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2005-07-13 Dave Brolley <brolley@redhat.com>
* gprof.cxx (gprof_component): Inherit virtually from
fixed_attribute_map_component.
2005-05-29 Dave Brolley <brolley@redhat.com>
* gprof.cxx: Keep a vector of statistics to allow switching from
one output file to another dynamically.
(sid::pin,sidutil::configurable_component)
(sidutil::output_pin,sidutil::tokenize): Add using clauses.
(profiling_components): Inherit virtually from fixed_pin_map_component
and fixed_relation_map_component. Inherit from configurable_component.
(statistics): New struct type.
(stats,current_stats): New members of gprof_component.
(set_nothing,value_min_get,value_max_get,value_count_get,limit_min_get)
(limit_min_set,limit_max_get,limit_max_set,output_file_get)
(output_file_set): New methods of gprof_component.
(reset): Initialize stats vector.
(store): Call store stats for each element of the stats vector.
(configure): New virtual override in gprof_component.
(gprof_component): Call reset. Add sim-sched-event attribute. Add
sim-sched relation.
brolley [Fri, 19 Aug 2005 19:45:22 +0000 (19:45 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2005-07-13 Dave Brolley <brolley@redhat.com>
* compLoader.cxx (generic_loader): Inherit virtually from
fixed_attribute_map_component. Inherit from no_relation_component.
2005-06-06 Dave Brolley <brolley@redhat.com>
* elfload.c (readElfFile): Return and empty symbol table if none found.
* compLoader.cxx: Add using cleause for
sidutil::configurable_component.
(generic_loader): fixed_pin_map_component and configurable_component
inherited virtually.
(configure): New virtual override in generic_loader.
(check_function_pin_handler): Return the empty string if no function
is associated with the given address.
* sw-load-elf.xml: Add description of new interfaces.
* sw-load-elf.txt: Regenerated.
2005-05-29 Dave Brolley <brolley@redhat.com>
* elfload.h (StringTable, Symbol): New struct types.
(readElfFile): New takes symbol_table argument.
(SHT_SYMTAB, SHT_STRTAB, ELF32_ST_TYPE, STT_FUNC): New macros.
* elfload.c (stringTables,stringTableCount,stringTableNum): New
static variables.
(newStringTable): New static function.
(symbolTable,symbolCount,symbolNum): New static variables.
(newSymbol): New static function.
(readElfFile): New takes symbol_table argument. Build string tables and
symbol table while reading the input file.
* compLoader.cxx (elf_loader): New constructor.
(load_it): Obtain symmol_table from readElfFile.
(check_function_pin,symbol_table,current_function): New members
of elf_loader.
(check_function_pin_handler): New method of elf_loader.
brolley [Fri, 19 Aug 2005 19:44:46 +0000 (19:44 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2005-07-13 Dave Brolley <brolley@redhat.com>
* gloss.cxx (gloss32): Initialize dynamic_configurator. Add
dynamic-configurator relation.
* gloss.h (gloss32): Inherit virtually from
fixed_attribute_map_component.
(dynamic_configurator): New member of gloss32.
2005-07-05 Dave Brolley <brolley@redhat.com>
* gloss.cxx (start_config): Removed from gloss32.
(gloss32): Remove "start-config" attribute. Add "config-error"
pin.
(reset): Don't call sys_config_set.
(sys_reconfig_set): Call set_error_result based on the value driven on
config_error_pin.
(sys_reconfig_reset): Likewise.
* gloss.h (start_config): Removed from gloss32.
(config_error_pin): New member of gloss32.
2005-06-06 Dave Brolley <brolley@redhat.com>
* gloss.cxx (gloss32): Don't initialize dynamic_configurator.
Don't add dynamic-configurator relation.
(configure_pin): Renamed to sys_configure_pin.
(configure): New virtual override in gloss32.
(do_sys_reconfig): Print log messages to cerr and only when
verbose_p.
* gloss.h (gloss32): fixed_pin_map_component and configurable_component
inherited virtually.
(dynamic_configurator): Removed.
(configure_pin): Renamed to sys_configure_pin.
(configure): New virtual override in gloss32.
2005-05-29 Dave Brolley <brolley@redhat.com>
* libgloss.h (SYS_reconfig): New enumerator.
* gloss.h (main, dynamic_configurator): New members of gloss32.
(configure_pin, config_result_pin, start_config): Likewise.
(sys_reconfig_set): New method of gloss32.
(sys_reconfig_reset, do_sys_reconfig): Likewise.
* gloss.cxx (gloss32): Initialize main, dynamic_configurator and
start_config. Add relations main, dynamic-configurator. Add
configure pin. Add start-config addtribute. Add config-result
pin.
(reset): Call sys_reconfig_set with start_config if it's not
empty.
(syscall_trap): Handle SYS_reconfig.
(sys_reconfig_set): New method of gloss32.
(sys_reconfig_reset, do_sys_reconfig): Likewise.
brolley [Fri, 19 Aug 2005 19:43:50 +0000 (19:43 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2005-07-13 Dave Brolley <brolley@redhat.com>
* gdb.h (configurable_component): Inherit virtually from
fixed_attribute_map_component.
2005-06-06 Dave Brolley <brolley@redhat.com>
* gdb.cxx (configure): New virtual override in gdb.
* gdb.h (configure): Likewise.
(gdb): fixed_pin_map_component, fixed_relation_map_component and
configurable_component inherited virtually.
* sw-debug-gdb.xml: Add description of new interfaces.
* sw-debug-gdb.txt: Regenerated.
brolley [Fri, 19 Aug 2005 19:43:09 +0000 (19:43 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2005-07-13 Dave Brolley <brolley@redhat.com>
* components.h (socketio): Inherit virtually from
fixed_attribute_map_component. Inherit from no_relation_component.
2005-06-06 Dave Brolley <brolley@redhat.com>
* components.h: Add using clause for sidutil::configurable_component.
(socketio): fixed_pin_map_component and configurable_component inherited
virtually. no_relation_component no longer inherited.
(configure): New virtual override in socketio.
* socketio.cxx (configure): Likewise.
* sid-io-socket.xml: Add description of new interfaces.
* sid-io-socket.txt: Regenerated.
brolley [Fri, 19 Aug 2005 19:42:25 +0000 (19:42 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* Contribute the following changes:
2005-07-13 Dave Brolley <brolley@redhat.com>
* cgen-cpu.h (notify_ret): Set last_caller and last_callee.
2005-05-29 Dave Brolley <brolley@redhat.com>
* cgen-cpu.h (branch, done_insn, done_cti_insn, notify_ret):
New virtual overrides.
(was_return): New member of cgen_bi_endian_cpu.
brolley [Fri, 19 Aug 2005 19:39:07 +0000 (19:39 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* Contribute these changes:
2005-07-13 Dave Brolley <brolley@redhat.com>
* compConfig.cxx (new_config_pin): Removed from
dynamic_configurator_component.
(clients): Added to dynamic_configurator_component.
(dynamic_configurator_component): Remove new-config pin. Add
clients as a multi relation.
(step_pin_handler): Set the configure! attribute of each component
related via the client relationship.
(do_configure): Set config_names[0] and config_specs[0] if the
handle is zero.
* sid-control-dynamic-configurator.xml: Document the removal of the
new-config pin and the addition of the clients relationship.
* sid-control-dynamic-configurator.txt: Regenerated.
2005-07-05 Dave Brolley <brolley@redhat.com>
* compConfig.cxx (reset_pin_handler): New method of
dynamic_configurator_component.
(set_start_config): Likewise.
(reset): Likewise.
(reset_pin): New member of dynamic_configurator_component.
(config_error_pin): Likewise.
(dynamic_configurator_component): Initialize current_config, prev_config
and prev_user_config in the reset method. Add "start-config" attribute.
Add "reset" and "config-error" pins.
(configure): Check result of do_configure. Drive config_error_pin if not
ok.
(configure_pin_handler): Drive config_error_pin if the handle is not
valid.
* sid-control-dynamic-configurator.xml: Document the "config-error" and
"reset"
pins
* sid-control-dynamic-configurator.txt: Regenerated.
2005-06-21 Dave Brolley <brolley@redhat.com>
* compConfig.cxx (step_pin_handler): Always drive new_config_pin.
2005-06-06 Dave Brolley <brolley@redhat.com>
* Makefile.am (pkgdata_DATA): Add sid-control-dynamic-configurator.txt.
* Makefile.in: Regenerated.
* compConfig.cxx (cfgroot_component::configure): Renamed to
configure_file.
(restore_config,set_syscall_config,check_config_change): New methods of
dynamic_configurator_component.
(in_function): Likewise.
(prev_user_config): New member of dynamic_configurator_component.
(dynamic_configurator_component): Prime the config_stack with a dummy
entry.
(add_warmup_functions): Tokenize based on ",".
(add_profile_functions): Move on to the next spec on parse error.
(dynamic_configurator_component::configure): Drive config_result_pin wit
h
prev_user_config. Call set_syscall_config and check_config_change.
(do_configure): Don't drive the config_result_pin here. Don't drive the
step_control_pin here. Duplicate the first stack entry for the first
config in the dummy entry of the stack. Now takes a reference to a
config handle.
(configure_pin_handler): Drive the config_result_pin with prev_user_conf
ig.
Call restore_config, sys_syscall_config and check_config_change.
(function_callee_pin_handler): Always use sid-internal-warmup for _Sid_c
onfig.
(function_return_pin_handler): Return if the loader can't identify the c
urrent
function. Call restore_config and check_config_change.
* sid-control-dynamic-configurator.txt: New file.
* sid-control-dynamic-configurator.xml: New file.
2005-05-29 Dave Brolley <brolley@redhat.com>
* compConfig.cxx (std::pair,sidutil::tokenize): Add using clause for the
se.
(dynamic_config,lookup_dynamic_config): New methods of cfgroot_component
.
(dynamic_configs,found_dynamic_config): New members of cfgroot_component
.
(configure_line): Initialize num_invalid_chars.
(cfgroot_component): Initialize dynamic_configs and found_dynamic_config
.
Add virtual attributes dynamic-config! and lookup-dynamic-config!. Add
attribute found-dynamic-config.
(dynamic_configurator_component): New class.
(compConfigListTypes): Push back sid-control-dynamic-configurator.
(compConfigCreate): Handle sid-control-dynamic-configurator.
(compConfigDelete): Delete dynamic_configurator_component.
brolley [Fri, 19 Aug 2005 19:01:51 +0000 (19:01 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* cgen-fpu.cxx: New file.
* cgen-fpu.h: New file.
* Makefile.am (libcgencpu_la_SOURCES): Add cgen-fpu.cxx.
* Makefile.in: Regenerated.
* Contribute the following enhancements to floating point
support:
2005-06-14 Dave Brolley <brolley@redhat.com>
* fp.h (do_round,do_normal_round,do_normal_underflow,do_normal_overflow)
:
Now virtual.
* fp.cxx (do_normal_overflow): Round up to infinity only if
the result is positive.
(operator-): Don't apply 'neg' to a nan.
(neg): Return src if it is a qnan.
2005-05-20 Dave Brolley <brolley@redhat.com>
* fp.cxx (pack_any): Ensure that nan results have a positive sign.
(operator-): Simply call operator+ with the rhs negated.
* fp.h (is_negative): New method of fp.
2005-05-13 Dave Brolley <brolley@redhat.com>
* fp.h (fp): All arithmetic operator methods are now members
of class fp.
* fp.cxx (fp): Likewise.
2005-04-27 Dave Brolley <brolley@redhat.com>
* fp.cxx (fp::unpack): Only perform sanity check for non-nans.
2005-04-12 Dave Brolley <brolley@redhat.com>
* fp.h: Move static constants and functions to top of file for
visibility within the file.
(get_status): New method of fp.
(get_class): Likewise.
(qnan_fraction): Likewise.
(snan_fraction): Likewise.
(qnan_exponent): Likewise.
(snan_exponent): Likewise.
* fp.cxx (fp_to_int): throw fp::overflow for overflow.
(pack_any): Use [sq]nan_{exponent,fraction} to construct nans.
(unpack): Initialize status to 'ok'. Set class and status using
is_qnan_fraction and is_qnan respectively.
2005-03-18 Dave Brolley <brolley@redhat.com>
* fp.cxx: Move static items from here.
* fp.h: To here. Make some methods virtual. Make private members
protected.
(is_inexact): New method.
brolley [Fri, 19 Aug 2005 18:58:56 +0000 (18:58 +0000)]
2005-08-19 Dave Brolley <brolley@redhat.com>
* Makefile.am: Remove references to xstormy16-write.cxx.
* xstormy16-cpu.h: Regenerate.
* xstormy16-decode.cxx: Regenerate.
* xstormy16-decode.h: Regenerate.
* xstormy16-defs.h: Regenerate.
* xstormy16-desc.h: Regenerate.
* xstormy16-sem.cxx: Regenerate.
* xstormy16-write.cxx: Removed.
cgf [Fri, 19 Aug 2005 16:29:42 +0000 (16:29 +0000)]
* fhandler.h (dirent_states): Add dirent_saw_proc.
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fill in "proc" if it is
the root dir and it is missing.
cgf [Fri, 19 Aug 2005 16:18:41 +0000 (16:18 +0000)]
* fhandler.h (dirent_states): Add dirent_isroot, dirent_saw_cygdrive,
dirent_saw_dev.
* dir.cc (opendir): Don't zero __flags here. Push that responsibility to
opendir methods.
(seekdir): Preserve dirent_isrrot in __flags.
(rewinddir): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Set dirent_isroot
appropriately.
(fhandler_disk_file::readdir): Fill in "cygdrive" and "dev" if it is the root
dir and they are missing.
* fhandler_process.cc (fhandler_process::opendir): Set __flags here.
* fhandler_virtual.cc (fhandler_virtual::opendir): Set __flags here.
dj [Fri, 19 Aug 2005 16:18:04 +0000 (16:18 +0000)]
* m32c/Makefile.in (m16cmon.ld, m32cmon.ld): Fix output names.
(*.o): Add dependencies.
* m32c/m32csys.h: Move syscall location to 0x400 as per Renesas
recommendations.
cgf [Fri, 19 Aug 2005 14:56:47 +0000 (14:56 +0000)]
* winsup.h (create_pipe): Declare new function.
(CreatePipe): New define.
* miscfuncs.cc (create_pipe): Define new function.
gdbadmin [Fri, 19 Aug 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 19 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update
corinna [Thu, 18 Aug 2005 20:25:43 +0000 (20:25 +0000)]
* passwd.c (longopts): Add --logonserver option.
(opts): Add -d option.
(GetPW): Add server parameter which is given to Net functions.
(ChangePW): Ditto.
(PrintPW): Ditto.
(SetModals): Ditto.
(usage): Add description for -d/--logonserver option.
(main): Add option handling for -d/--logonserver. Use LOGONSERVER
environment variable content for server to contact, unless
-d/--logonserver option is given. If both is missing, use NULL.
cgf [Thu, 18 Aug 2005 20:17:08 +0000 (20:17 +0000)]
* fhandler.h (fhandler_tty_common::lseek): Declare new method.
(fhandler_tty_slave::lseek): Delete old method.
(fhandler_tty_master::lseek): Delete old method.
* fhandler_tty.cc (fhandler_tty_common::lseek): Define new method.
dj [Thu, 18 Aug 2005 18:43:41 +0000 (18:43 +0000)]
* m32c/Makefile.in: Block out memory regions reserved for monitors
and simulators. Add monitor link scripts.
daney [Thu, 18 Aug 2005 16:46:19 +0000 (16:46 +0000)]
* ld-mips-elf/multi-got-1.d: Adjust for new ld behavior.
* ld-mips-elf/multi-got-no-shared.d: Likewise.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/rel32-o32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.
kettenis [Thu, 18 Aug 2005 13:26:38 +0000 (13:26 +0000)]
* stack.c: Reformat. Improve comments. Include "valprint.h".
(args_info, locals_info, backtrace_command, backtrace_command_1)
(backtrace_full_command, frame_info, frame_command, down_command)
(down_silently_base, down_silently_command, up_command)
(up_silently_base, up_silently_command, parse_frame_specification)
(current_frame_command, print_frame_args_vars, catch_info)
(args_plus_locals_info), print_frame_label_vars)
(print_block_frame_labels, print_block_frame_locals)
(func_command): Remove prototypes.
(print_stack_frame, backtrace_command_stub, backtrace_command,
backtrace_full_command, print_frame_args, print_frame_arg_vars,
print_args_stub, func_command): Remove redundant casts.
(addressprint): Remove extern declaration.
(frame_command): Make static.
(struct print_stack_frame_args, struct print_args_args): Rename
`fi' member to `frame'.
(print_stack_frame, print_frame_nameless_args, print_frame_args)
(set_current_sal_from_frame, print_frame_info, print_frame)
(show_stack_frame, print_block_frame_locals)
(print_frame_local_vars, print_frame_label_vars)
(print_frame_arg_vars, select_and_print_frame): Rename `fi'
argument to `frame'.
(func_command): Rename `fp' variable to `frame'.
(get_language): Restructure.
* Makefile.in (stack.o): Update dependencies.
kettenis [Thu, 18 Aug 2005 13:26:21 +0000 (13:26 +0000)]
* stack.c: Reformat. Improve comments. Include "valprint.h".
(args_info, locals_info, backtrace_command, backtrace_command_1)
(backtrace_full_command, frame_info, frame_command, down_command)
(down_silently_base, down_silently_command, up_command)
(up_silently_base, up_silently_command, parse_frame_specification)
(current_frame_command, print_frame_args_vars, catch_info)
(args_plus_locals_info), print_frame_label_vars)
(print_block_frame_labels, print_block_frame_locals)
(func_command): Remove prototypes.
(print_stack_frame, backtrace_command_stub, backtrace_command,
backtrace_full_command, print_frame_args, print_frame_arg_vars,
print_args_stub, func_command): Remove redundant casts.
(addressprint): Remove extern declaration.
(frame_command): Make static.
(struct print_stack_frame_args, struct print_args_args): Rename
`fi' member to `frame'.
(print_stack_frame, print_frame_nameless_args, print_frame_args)
(set_current_sal_from_frame, print_frame_info, print_frame)
(show_stack_frame, print_block_frame_locals)
(print_frame_local_vars, print_frame_label_vars)
(print_frame_arg_vars, select_and_print_frame): Rename `fi'
argument to `frame'.
(func_command): Rename `fp' variable to `frame'.
(get_language): Restructure.
* Makefile.in (stack.o): Update dependencies.
corinna [Thu, 18 Aug 2005 13:14:07 +0000 (13:14 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Always initialize
ret to 0.
(fhandler_socket::recvmsg): Ditto.
cpg [Thu, 18 Aug 2005 11:54:33 +0000 (11:54 +0000)]
2005-08-18 Christian Groessler <chris@groessler.org>
* config/tc-h8300.h: Remove TC_RELOC_MANGLE/tc_reloc_mangle.
* config/tc-mcore.h: Likewise.
* config/tc-z8k.h: Likewise.
* config/tc-z8k.c: Likewise.
* config/tc-sh.h: Remove TC_RELOC_MANGLE and
sh_coff_reloc_mangle declaration.
* config/tc-sh.c: (md_apply_fix): Fix comment for case
BFD_RELOC_SH_USES.
cpg [Thu, 18 Aug 2005 11:54:24 +0000 (11:54 +0000)]
2005-08-18 Christian Groessler <chris@groessler.org>
* config/tc-h8300.h: Remove TC_RELOC_MANGLE/tc_reloc_mangle.
* config/tc-mcore.h: Likewise.
* config/tc-z8k.h: Likewise.
* config/tc-z8k.c: Likewise.
* config/tc-sh.h: Remove TC_RELOC_MANGLE and
sh_coff_reloc_mangle declaration.
* config/tc-sh.c: (md_apply_fix): Fix comment for case
BFD_RELOC_SH_USES.
kkojima [Thu, 18 Aug 2005 11:21:16 +0000 (11:21 +0000)]
* config/tc-sh64.c (sh64_target_format): Check preset_target_arch
to confirm that no ISA is specified.
kkojima [Thu, 18 Aug 2005 11:21:05 +0000 (11:21 +0000)]
* config/tc-sh64.c (sh64_target_format): Check preset_target_arch
to confirm that no ISA is specified.
kkojima [Thu, 18 Aug 2005 11:06:56 +0000 (11:06 +0000)]
* config.bfd: Add bfd_elf32_shnbsd_vec and bfd_elf32_shlnbsd_vec
to targ_selvecs for sh5*-*-netbsd* and sh64*-*-netbsd*.
nickc [Thu, 18 Aug 2005 09:26:14 +0000 (09:26 +0000)]
(relax_segment): Count the number of frags being processed and use this to
compute a maximum limit on the number of iterations that will be allowed when
attempting to relax the segment.
corinna [Thu, 18 Aug 2005 08:35:14 +0000 (08:35 +0000)]
* errno.cc (strerror): Check errnum for underflow.
amodra [Thu, 18 Aug 2005 07:51:04 +0000 (07:51 +0000)]
* ld-d10v/default_layout.d: Adjust for section removal.
* ld-elf/empty.s: Define "main".
* ld-elf/frame.exp: Don't run for hppa64 and v850.
* ld-elf/group1.d: xfail various targets.
* ld-elf/merge.d: Likewise.
* ld-elf/merge2.d: Likewise.
* ld-elf/warn1.d: Likewise.
* ld-scripts/defined2.d: Likewise.
* ld-scripts/defined3.d: Likewise.
* ld-scripts/empty-aligned.d: Likewise.
* ld-scripts/size-2.d: Likewise.
* ld-scripts/weak.exp: Likewise.
* ld-selective/sel-dump.exp: Likewise.
* ld-undefined/weak-undef.exp: Likewise.
amodra [Thu, 18 Aug 2005 07:15:16 +0000 (07:15 +0000)]
* scripttempl/elf.sc: Remove commented out defines.
amodra [Thu, 18 Aug 2005 03:59:21 +0000 (03:59 +0000)]
Remove a29k files.
amodra [Thu, 18 Aug 2005 03:51:51 +0000 (03:51 +0000)]
Remove a29k support.
amodra [Thu, 18 Aug 2005 03:51:19 +0000 (03:51 +0000)]
Remove a29k support.
amodra [Thu, 18 Aug 2005 03:50:42 +0000 (03:50 +0000)]
Remove a29k support.
amodra [Thu, 18 Aug 2005 03:49:39 +0000 (03:49 +0000)]
Remove a29k support.
amodra [Thu, 18 Aug 2005 03:49:00 +0000 (03:49 +0000)]
Remove a29k support.
amodra [Thu, 18 Aug 2005 03:48:23 +0000 (03:48 +0000)]
Remove a29k support.
amodra [Thu, 18 Aug 2005 01:28:18 +0000 (01:28 +0000)]
* elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Warn on
zero size dynamic variables.
* elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise.
* elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise.
* elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise.
* elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise.
* elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise.
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
* elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise.
* elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
* elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise.
amodra [Thu, 18 Aug 2005 00:00:09 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 18 Aug 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
kevinb [Wed, 17 Aug 2005 23:02:00 +0000 (23:02 +0000)]
* NEWS (ms1-elf): New target.
kevinb [Wed, 17 Aug 2005 23:01:50 +0000 (23:01 +0000)]
* NEWS (ms1-elf): New target.