OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
16 years ago * target.c (target_read_until_error): New.
vprus [Thu, 26 Jun 2008 15:10:47 +0000 (15:10 +0000)]
* target.c (target_read_until_error): New.
        * target.h (target_read_until_error): Declare.
        * mi/mi-main.c (mi_cmd_data_read_memory): Use
        target_read_until_error.

16 years agodaily update
amodra [Thu, 26 Jun 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Thu, 26 Jun 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago2008-06-25 Brandon Sneed <nivenh@sourceware.org>
nivenh [Wed, 25 Jun 2008 21:21:07 +0000 (21:21 +0000)]
2008-06-25  Brandon Sneed  <nivenh@sourceware.org>

* include/winbase.h (GetProcessHandleCount, GetSystemRegistryQuota,
GetThreadIOPendingFlag): Modified to rely on _WIN32_WINNT 0x0501 instead
of 0x0502.
Bug reported by Thomas Denk.

16 years ago2008-06-25 Brandon Sneed <nivenh@sourceware.org>
nivenh [Wed, 25 Jun 2008 20:53:31 +0000 (20:53 +0000)]
2008-06-25  Brandon Sneed  <nivenh@sourceware.org>

* include/winbase.h (InterlockedIncrement, InterlockedDecrement,
InterlockedCompareExchange, InterlockedExchange,
InterlockedCompareExchangePointer, InterlockedExchangeAdd,
InterlockedExchangePointer): Modified from PLONG to LONG volatile *.

16 years ago2008-06-25 Cary Coutant <ccoutant@google.com>
ccoutant [Wed, 25 Jun 2008 17:10:08 +0000 (17:10 +0000)]
2008-06-25  Cary Coutant  <ccoutant@google.com>

* fileread.cc (File_read::make_view): Assert on zero-length view.
* object.cc (Sized_relobj::do_read_symbols): Don't try to read
symbol table when there are no symbols to read.

16 years agogas/
bergner [Wed, 25 Jun 2008 16:49:02 +0000 (16:49 +0000)]
gas/
* config/tc-ppc.c (parse_cpu): Handle -m464.
(md_show_usage): Likewise.

opcodes/
* ppc-dis.c (powerpc_init_dialect): Handle -M464.
(print_ppc_disassembler_options): Likewise.
* ppc-opc.c (PPC464): Define.
(powerpc_opcodes): Add mfdcrux and mtdcrux.

16 years ago/gas:
eweddington [Wed, 25 Jun 2008 16:19:10 +0000 (16:19 +0000)]
/gas:
2008-06-24  Eric B. Weddington  <eric.weddington@atmel.com>

Add support for ATtiny13A.
* config/tc-avr.c (mcu_types): Add attiny13a.
* doc/c-avr.texi: Likewise.

16 years ago * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
jkratoch [Wed, 25 Jun 2008 15:52:15 +0000 (15:52 +0000)]
* lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.

16 years ago Fix a memory leak found by Hui Zhu <teawater@gmail.com>.
jkratoch [Wed, 25 Jun 2008 15:49:20 +0000 (15:49 +0000)]
Fix a memory leak found by Hui Zhu <teawater@gmail.com>.
* c-exp.y (parse_number): Move the S and SAVED_CHAR initialization
after the DECFLOAT detection to fix a memory leak.  Remove the
redundant NUM initialization.  Protect the DECFLOAT detection memory
access before the P block.  Restore the P memory content for the
DECFLOAT detection.

16 years agoRevert accidental commit.
drow [Wed, 25 Jun 2008 15:21:21 +0000 (15:21 +0000)]
Revert accidental commit.

16 years ago Kill the return value for all MI command functions.
vprus [Wed, 25 Jun 2008 15:15:41 +0000 (15:15 +0000)]
Kill the return value for all MI command functions.
* mi/mi-cmds.h (enum mi_cmd_result): Remove.
(mi_cmd_argv_ftype): Change return type to void.

* mi/mi-main.c: Adjust all function that implement
MI commands to return nothing.
(struct captured_mi_execute_command_actions):
Remove the rc field.
(mi_cmd_execute): Return nothing.
(mi_execute_async_cli_command): Return nothing.
(mi_cmd_exec_interrupt): Don't print ^done here.
(mi_cmd_target_select): Don't print ^connected here.
(captured_mi_execute_command): Don't check for MI_CMD_DONE.
Special-case -target-select and output ^connected, not ^done.

* mi/mi-cmd-break.c: Adjust.
* mi/mi-cmd-disas.c: Adjust.
* mi/mi-cmd-env.c: Adjust.
* mi/mi-cmd-file.c: Adjust.
* mi/mi-cmd-stack.c: Adjust.
* mi/mi-cmd-target.c: Adjust.
* mi/mi-cmd-var.c: Adjust.
* mi/mi-interp.c: Adjust.
* mi/mi-symbol-cmds.c: Adjust.

16 years ago Emit ^running via observer.
vprus [Wed, 25 Jun 2008 14:32:32 +0000 (14:32 +0000)]
Emit ^running via observer.
* mi/mi-interp.c (mi_cmd_interpreter_exec): Do no print
        ^running here.
        (mi_on_resume): Print ^running if not previously output.
        * mi/mi-main.c (running_result_record_printed): New.
        (captured_mi_execute_command): Reset
        running_result_record_printed.  Use running_result_record_printed
        to decide if we should skip ^done.
        (mi_execute_async_cli_command): Don't print ^running here.
        * mi/mi-main.h (current_token, running_result_record_printed):
        Declare.

16 years ago * elf32-arm.c (STUB_ENTRY_NAME): Define.
drow [Wed, 25 Jun 2008 14:28:46 +0000 (14:28 +0000)]
* elf32-arm.c (STUB_ENTRY_NAME): Define.
(arm_thumb_thumb_long_branch_stub): Use bx instead of b.n.
(arm_pic_long_branch_stub): Mention R_ARM_REL32 instead of
R_ARM_ABS32.
(struct elf32_arm_stub_hash_entry): Add output_name.
(arm_build_one_stub): Move offsets into the offset argument
of _bfd_final_link_relocate.  Correct offset for
arm_thumb_arm_v4t_stub_long_branch.
(elf32_arm_size_stubs): Set stub_entry->output_name.
(elf32_arm_ouput_plt_map_sym): Rename to elf32_arm_output_map_sym.
Update all callers.
(elf32_arm_output_stub_sym): New.
(arm_map_one_stub): Correct formatting.  Use elf32_arm_output_stub_sym.

* ld-arm/farcall-arm-arm-be8.d, ld-arm/farcall-arm-arm-pic-veneer.d,
ld-arm/farcall-arm-arm.d, ld-arm/farcall-arm-thumb-blx-pic-veneer.d,
ld-arm/farcall-arm-thumb-blx.d, ld-arm/farcall-arm-thumb-pic-veneer.d,
ld-arm/farcall-arm-thumb.d, ld-arm/farcall-group-size2.d,
ld-arm/farcall-group.d, ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
ld-arm/farcall-thumb-arm-blx-pic-veneer.d,
ld-arm/farcall-thumb-arm-blx.d, ld-arm/farcall-thumb-arm.d,
ld-arm/farcall-thumb-thumb-blx-pic-veneer.d,
ld-arm/farcall-thumb-thumb-blx.d, ld-arm/farcall-thumb-thumb-m.d,
ld-arm/thumb2-bl-as-thumb1-bad.d, ld-arm/thumb2-bl-bad.d: Update for
stub symbols and stub corrections.

16 years ago Fix strict-aliasing issues with _strtod_r and Storeinc.
hp [Wed, 25 Jun 2008 01:45:01 +0000 (01:45 +0000)]
Fix strict-aliasing issues with _strtod_r and Storeinc.
* libc/stdlib/strtod.c (_strtod_r): Change local variables aadj,
rv, rv0 from double to type U.  Use accessor macros dval, dword0
and dword1 for all accesses except for the ULtod call, where rv.i
replaces the pointer cast.
* libc/stdlib/mprec.h (U): Rename member L to i for easier re-use
of access macros.  Tweak comment.
Remove #ifdef'd YES_ALIAS code.
(dword0, dword1, dval): Define in terms of uncast union member
access.  Ditto for _DOUBLE_IS_32BITS variants.
(Storeinc): Replace aliasing-flawed microoptimized definition with
alternative suggested in comment.  Remove now stale comment.

16 years agodaily update
amodra [Wed, 25 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Wed, 25 Jun 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago2008-06-24 Michael Snyder <msnyder@specifix.com>
msnyder [Tue, 24 Jun 2008 19:30:16 +0000 (19:30 +0000)]
2008-06-24  Michael Snyder  <msnyder@specifix.com>

* infrun.c (_initialize_infrun): White space and typo fix.

16 years ago * net.cc (cygwin_bindresvport_sa): Fix usage of last_used_bindresvport.
corinna [Tue, 24 Jun 2008 13:13:44 +0000 (13:13 +0000)]
* net.cc (cygwin_bindresvport_sa): Fix usage of last_used_bindresvport.

16 years ago * version.cc (version_string): Bump to 1.7
csilvers [Tue, 24 Jun 2008 06:14:58 +0000 (06:14 +0000)]
* version.cc (version_string): Bump to 1.7

16 years agomerge from gcc
dj [Tue, 24 Jun 2008 03:01:29 +0000 (03:01 +0000)]
merge from gcc

16 years ago* win32-nat.c (safe_symbol_file_add_stub): Remove unused variable.
cgf [Tue, 24 Jun 2008 02:33:14 +0000 (02:33 +0000)]
* win32-nat.c (safe_symbol_file_add_stub): Remove unused variable.
(do_initial_win32_stuff): Fix problem with inability to set breakpoints when
first loading DLL with "dll" command.

16 years ago * write.c (relax_segment <rs_org>): Include current stretch
amodra [Tue, 24 Jun 2008 01:49:34 +0000 (01:49 +0000)]
* write.c (relax_segment <rs_org>): Include current stretch
value when calculating whether .org is backwards.

16 years ago*** empty log message ***
gdbadmin [Tue, 24 Jun 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Tue, 24 Jun 2008 00:00:07 +0000 (00:00 +0000)]
daily update

16 years ago * fix wrong entry dates
muller [Mon, 23 Jun 2008 06:54:36 +0000 (06:54 +0000)]
 * fix wrong entry dates

16 years ago*** empty log message ***
gdbadmin [Mon, 23 Jun 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago*** empty log message ***
gdbadmin [Sun, 22 Jun 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * include/limits.h (PATH_MAX): Add comment.
corinna [Sat, 21 Jun 2008 20:24:44 +0000 (20:24 +0000)]
* include/limits.h (PATH_MAX): Add comment.
* include/cygwin/config.h (__FILENAME_MAX__): Define as 4096.  Add
comment.

16 years ago * libc/include/machine/setjmp.h (_longjmp): Define as function on
corinna [Sat, 21 Jun 2008 18:48:44 +0000 (18:48 +0000)]
* libc/include/machine/setjmp.h (_longjmp): Define as function on
Cygwin.
(_setjmp): Ditto.

16 years ago*** empty log message ***
gdbadmin [Sat, 21 Jun 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago* gas/mips/e32-rel2.d: Add -march=mips1 for as.
chaoyingfu [Fri, 20 Jun 2008 18:34:00 +0000 (18:34 +0000)]
* gas/mips/e32-rel2.d: Add -march=mips1 for as.

16 years agogdb/gdbserver/
carlos [Fri, 20 Jun 2008 16:01:42 +0000 (16:01 +0000)]
gdb/gdbserver/

2008-06-20  Carlos O'Donell  <carlos@codesourcery.com>

* server.c (gdbserver_usage): Mention --version.

16 years ago * gnu-nat.c (proc_string): Use capital T for "Thread".
muller [Fri, 20 Jun 2008 06:51:34 +0000 (06:51 +0000)]
* gnu-nat.c (proc_string): Use capital T for "Thread".

16 years agoCommitted as obvious.
dannysmith [Fri, 20 Jun 2008 03:19:15 +0000 (03:19 +0000)]
Committed as obvious.

* lib/ddk/hal.def (HalTranslateBusAddress): Correct suffix.
* lib/ddk/ntoskrnl.def (MmAllocateContiguousMemory): Correct suffix.
Bug reported by Brian Hawley.

16 years ago* faq-using.xml: Add more words about multiple cygwins.
cgf [Fri, 20 Jun 2008 01:46:34 +0000 (01:46 +0000)]
* faq-using.xml: Add more words about multiple cygwins.

16 years ago*** empty log message ***
gdbadmin [Fri, 20 Jun 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * fhandler_tty.cc (fhandler_pty_master::setup): Fix pipe inheritance.
corinna [Thu, 19 Jun 2008 19:50:47 +0000 (19:50 +0000)]
* fhandler_tty.cc (fhandler_pty_master::setup): Fix pipe inheritance.

16 years ago* basic_blocks.c: Always include "gprof.h" first.
schwab [Thu, 19 Jun 2008 16:30:29 +0000 (16:30 +0000)]
* basic_blocks.c: Always include "gprof.h" first.
* cg_arcs.c: Likewise.
* cg_dfn.c: Likewise.
* cg_print.c: Likewise.
* corefile.c: Likewise.
* gprof.c: Likewise.
* hist.c: Likewise.
* search_list.c: Likewise.
* sym_ids.c: Likewise.
* utils.c: Likewise.

16 years ago * elf32-spu.c (needs_ovl_stub): Correctly return nonovl_stub for
amodra [Thu, 19 Jun 2008 16:16:58 +0000 (16:16 +0000)]
* elf32-spu.c (needs_ovl_stub): Correctly return nonovl_stub for
non-branch insns.

16 years agoupdate
amodra [Thu, 19 Jun 2008 16:15:17 +0000 (16:15 +0000)]
update

16 years ago * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Make "can not
amodra [Thu, 19 Jun 2008 16:14:51 +0000 (16:14 +0000)]
* emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Make "can not
build overlay stubs" a fatal error.

16 years ago * elf32-spu.c (build_stub): Allow wraparound on stub branches.
amodra [Thu, 19 Jun 2008 16:14:15 +0000 (16:14 +0000)]
* elf32-spu.c (build_stub): Allow wraparound on stub branches.
(allocate_spuear_stubs, build_spuear_stubs): Return value from
count_stub/build_stub.
(spu_elf_build_stubs): Correct location of stub reloc error message.

16 years ago2008-06-19 Eric Blake <ebb9@byu.net>
ericb [Thu, 19 Jun 2008 15:17:56 +0000 (15:17 +0000)]
2008-06-19  Eric Blake  <ebb9@byu.net>

Adjust strsignal to POSIX 200x prototype.
* strsignal.c (strsignal): Remove const.

16 years ago * win32-nat.c (win32_pid_to_str): Use capital T for "Thread".
muller [Thu, 19 Jun 2008 06:36:45 +0000 (06:36 +0000)]
* win32-nat.c (win32_pid_to_str): Use capital T for "Thread".

16 years ago* strsig.cc (strsignal): Return non-const buffer to allow building with recent
cgf [Thu, 19 Jun 2008 00:02:12 +0000 (00:02 +0000)]
* strsig.cc (strsignal): Return non-const buffer to allow building with recent
newlib change.

16 years ago*** empty log message ***
gdbadmin [Thu, 19 Jun 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Thu, 19 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * src-release (BINUTILS_SUPPORT_DIRS): Remove mkdep and depcomp.
ian [Wed, 18 Jun 2008 23:20:43 +0000 (23:20 +0000)]
* src-release (BINUTILS_SUPPORT_DIRS): Remove mkdep and depcomp.

16 years ago2008-06-18 Craig Silverstein <csilvers@google.com>
csilvers [Wed, 18 Jun 2008 22:32:37 +0000 (22:32 +0000)]
2008-06-18  Craig Silverstein  <csilvers@google.com>

* powerpc.cc (Powerpc_relocate_functions::addr16_ha): cast
constant 0xFFFF to type Valtype.
(Powerpc_relocate_functions::rel16_ha): Likewise.

16 years ago * solib-osf.c (osf_solib_create_inferior_hook): Do nothing if
brobecke [Wed, 18 Jun 2008 21:30:50 +0000 (21:30 +0000)]
    * solib-osf.c (osf_solib_create_inferior_hook): Do nothing if
        the target cannot run.

16 years ago * solib-osf.c (osf_solib_create_inferior_hook): Do nothing if
brobecke [Wed, 18 Jun 2008 21:26:07 +0000 (21:26 +0000)]
    * solib-osf.c (osf_solib_create_inferior_hook): Do nothing if
        we're attaching to a running process.

16 years ago2008-06-18 Ian Lance Taylor <iant@google.com>
ian [Wed, 18 Jun 2008 20:06:36 +0000 (20:06 +0000)]
2008-06-18  Ian Lance Taylor  <iant@google.com>

* src-release (BINUTILS_SUPPORT_DIRS): Add depcomp.

16 years agoPer Posix, strsignal returns non-const char*.
ericb [Wed, 18 Jun 2008 15:27:41 +0000 (15:27 +0000)]
Per Posix, strsignal returns non-const char*.

* libc/include/string.h (strsignal): Fix return type.

16 years agoPer Posix, strsignal returns non-const char*.
ericb [Wed, 18 Jun 2008 15:27:27 +0000 (15:27 +0000)]
Per Posix, strsignal returns non-const char*.

* libc/include/string.h (strsignal): Fix return type.

16 years ago elf32-cr16.c (ELF_MACHINE_ALT1): Define to EM_CR16_OLD.
swami [Wed, 18 Jun 2008 11:12:54 +0000 (11:12 +0000)]
elf32-cr16.c (ELF_MACHINE_ALT1): Define to EM_CR16_OLD.

16 years ago elf32-cr16.c (ELF_MACHINE_ALT1): Define to EM_CR16_OLD.
swami [Wed, 18 Jun 2008 11:08:19 +0000 (11:08 +0000)]
  elf32-cr16.c (ELF_MACHINE_ALT1): Define to EM_CR16_OLD.

16 years ago common.h (EM_CR16): Correct value.
swami [Wed, 18 Jun 2008 11:04:29 +0000 (11:04 +0000)]
  common.h (EM_CR16): Correct value.
  (EM_CR16): Rename to EM_CR16_OLD.

16 years ago common.h (EM_CR16): Correct value.
swami [Wed, 18 Jun 2008 11:03:03 +0000 (11:03 +0000)]
   common.h (EM_CR16): Correct value.
   (EM_CR16): Rename to EM_CR16_OLD.

16 years ago Updated the readelf with Add EM_CR16_OLD.
swami [Wed, 18 Jun 2008 11:00:49 +0000 (11:00 +0000)]
 Updated the readelf with Add EM_CR16_OLD.

16 years ago (guess_is_rela): Add EM_CR16_OLD.
swami [Wed, 18 Jun 2008 10:49:50 +0000 (10:49 +0000)]
    (guess_is_rela): Add EM_CR16_OLD.
        (dump_relocations): Likewise.
        (get_machine_name): Likewise.
        (is_32bit_abs_reloc): Likewise.

16 years ago * win32-nat.c (handle_load_dll): Give dll name and load address
muller [Wed, 18 Jun 2008 06:27:34 +0000 (06:27 +0000)]
* win32-nat.c (handle_load_dll): Give dll name and load address
if debug_events is on.
(handle_unload_dll): Likewise.

16 years ago * output.h (Output_section::Input_section): Initialize p2align_ to
ian [Wed, 18 Jun 2008 04:39:41 +0000 (04:39 +0000)]
* output.h (Output_section::Input_section): Initialize p2align_ to
zero for Output_section_data constructors.
(Output_section::Input_section::addralign): If not an input
section, return the alignment of the Output_section_data.
* testsuite/copy_test.cc: New file.
* testsuite/copy_test_1.cc: New file.
* testsuite/copy_test_2.cc: New file.
* testsuite/Makefile.am (check_PROGRAMS): Add copy_test.
(copy_test_SOURCES, copy_test_DEPENDENCIES): New variables.
(copy_test_LDFLAGS, copy_test_LDADD): New variables.
(copy_test_1_pic.o, copy_test_1.so): New targets.
(copy_test_2_pic.o, copy_test_2.so): New targets.
* testsuite/Makefile.in: Rebuild.

16 years ago * script-sections.cc (Script_sections::place_orphan): Initialize
ian [Wed, 18 Jun 2008 04:15:52 +0000 (04:15 +0000)]
* script-sections.cc (Script_sections::place_orphan): Initialize
local variable exact.

16 years agomerge from gcc
dj [Wed, 18 Jun 2008 03:35:56 +0000 (03:35 +0000)]
merge from gcc

16 years agodaily update
amodra [Wed, 18 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Wed, 18 Jun 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * configure: Regenerate.
rwild [Tue, 17 Jun 2008 23:14:39 +0000 (23:14 +0000)]
* configure: Regenerate.

config/
* override.m4: Use m4_version_prereq throughout.
(_AC_ARG_VAR_VALIDATE, AC_MSG_FAILURE): Backport from git
Autoconf: output pwd along with fatal errors, so the right
config.log file is hinted at more prominently.
(PARSE_ARGS): Push setting of ac_pwd in this diversion.
(_GCC_AUTOCONF_VERSION): New, define to 2.59 if not defined.
(_GCC_AUTOCONF_VERSION_CHECK): New macro, require use of Autoconf
version _GCC_AUTOCONF_VERSION throughout the tree.
(m4_wrap): New override, fix for Posix semantics of m4wrap.

binutils/
* configure: Regenerate.

opcodes/
* configure: Regenerate.

bfd/
* configure: Regenerate.

gas/
* configure: Regenerate.

gprof/
* configure: Regenerate.

ld/
* config.in: Regenerate.
* configure: Regenerate.

16 years ago * sec_auth.cc (DsGetDcNameA): Drop declaration.
corinna [Tue, 17 Jun 2008 18:54:16 +0000 (18:54 +0000)]
* sec_auth.cc (DsGetDcNameA): Drop declaration.
(DS_FORCE_REDISCOVERY): Drop definition.

16 years ago * include/dsgetdc.h (DS_FORCE_REDISCOVERY, DS_FORCE_REDISCOVERY,
corinna [Tue, 17 Jun 2008 18:53:20 +0000 (18:53 +0000)]
* include/dsgetdc.h (DS_FORCE_REDISCOVERY, DS_FORCE_REDISCOVERY,
DS_DIRECTORY_SERVICE_REQUIRED, DS_DIRECTORY_SERVICE_PREFERRED,
DS_GC_SERVER_REQUIRED, DS_PDC_REQUIRED, DS_BACKGROUND_ONLY,
DS_IP_REQUIRED, DS_KDC_REQUIRED, DS_TIMESERV_REQUIRED,
DS_WRITABLE_REQUIRED, DS_GOOD_TIMESERV_PREFERRED, DS_AVOID_SELF,
DS_ONLY_LDAP_NEEDED, DS_IS_FLAT_NAME, DS_IS_DNS_NAME,
DS_RETURN_DNS_NAME, DS_RETURN_FLAT_NAME): Define.
(DsGetDcNameW, DsGetDcNameA): Declare.
(DsGetDcName): Define.
* lib/netapi32.def (DsGetDcNameA, DsGetDcNameW): Export.

16 years ago2008-06-17 Dave Brolley <brolley@redhat.com>
brolley [Tue, 17 Jun 2008 18:11:51 +0000 (18:11 +0000)]
2008-06-17  Dave Brolley  <brolley@redhat.com>

        * mainDynamic.cxx (usage): Document --reversible.
        (try_add_memory): Call sess->add_memory.
        (option_num): add opt_reversible.
        (long_options): Add "reversible".
        (main): Handle opt_reversible.
        * commonCfg.h (set_reversible): New method of SessionCfg.
        (add_memory): Likewise.
        (reversible_p): New member of SessionCfg.
        (memory): Likewise.
        * commonCfg.cxx (CpuCfg): Establish sim-sched relation.
        (SessionCfg): Initialize reversible_p.
        (SessionCfg::write_load): Set up all memory regions as reversible,
        if requested.
        (BoardCfg::write_config): Set up the cpu to be reversible, if
        requested.

16 years ago2008-06-17 Dave Brolley <brolley@redhat.com>
brolley [Tue, 17 Jun 2008 18:11:01 +0000 (18:11 +0000)]
2008-06-17  Dave Brolley  <brolley@redhat.com>

        * sidmiscutil.h (change_log): New utility class.
        * sidcpuutil.h (basic_cpu): Now inherits from reversible_component.
        (step_pin_handler): Parameter now named 'tick'. Save the current
        tick. Handle exec_direction == "backward". Initialize change logging,
        if reversible. Finish change logging, if reversible.
        (step_backward): New method of basic_cpu.
        (reset_pin_handler): Terminte the current change log, if any.
        Set exec_direction to "forward".
        (change_log,change_log_begin,change_log_end,change_log_boundaries)
        (change_string,exec_direction,sim_sched,current_tick,last_tick): New
        members of basic_cpu.
        (init_change_logging,finish_change_logging,log_change)
        (restore_state_to_time): New virtual methods of basic_cpu.
        (basic_cpu): Initialize change_log, change_log_begin,
        change_log_end, change_log_boundaries, last_tick, exec_direction,
        and sim_sched. Add the exec-direction and sim-sched attributes.
        * sidattrutil.h (reversible_component): New mix-in class.

16 years ago2008-06-17 Dave Brolley <brolley@redhat.com>
brolley [Tue, 17 Jun 2008 18:10:29 +0000 (18:10 +0000)]
2008-06-17  Dave Brolley  <brolley@redhat.com>

        * compSched.cxx (deliver_regular): Drive rnext->when.
        (deliver_irregular): Drive irnext->when.
        (advancy_any): Check yield_step_loop_p.
        (cancel_all): New method of generic_scheduler.
        (time_set_pin): New member of scheduler_component.
        (scheduler_component::set_time): Call set_now with 'then - 1'.
        Call sched.cancel_all. Drive time_set_pin.
        (scheduler_component_ctor_1): Add time-set pin.

16 years ago2008-06-17 Dave Brolley <brolley@redhat.com>
brolley [Tue, 17 Jun 2008 18:09:26 +0000 (18:09 +0000)]
2008-06-17  Dave Brolley  <brolley@redhat.com>

        * generic.h: Remove 'using sidutil::no_relation_component'. Add
        'using sidutil::fixed_relation_map_component'.
        (generic_memory): New inherits from reversible_component and
        fixed_relation_map_component. Now inherits virtually from
        fixed_pin_map_component and fixed_attribute_map_component.
        (sched): New member of generic_memory.
        (change_log): Likewise.
        (record_update): New method of generic_memory.
        (restore_state_to_time): Likewise.
        (generic_read_write_bus::write_any): call record_update if this
        memory is reversible.
        * generic.cxx (generic_memory): Initialize sched and
        change_log. Add sim-sched relation.
        (record_update): New method of generic_memory.
        (restore_state_to_time): Likewise.

16 years ago2008-06-17 Dave Brolley <brolley@redhat.com>
brolley [Tue, 17 Jun 2008 18:08:51 +0000 (18:08 +0000)]
2008-06-17  Dave Brolley  <brolley@redhat.com>

        * gdbserv-target.h (set_exec_direction): New member of
        gdbserv_target.
        * gdbserv-state.c (gdbserv_data_packet): Initialize exec_direction.
        Check for a 'b' prefix for the S, s, C, and c packets.  Call
        gdbserv->target->set_exec_direction.
        * gdb.h (set_exec_direction): New function prototype.
        * gdb.cxx (set_exec_direction_hook): New function.
        (gdbsid_target_attach): Set gdbtarget->set_exec_direction.
        (set_exec_direction): New function.

16 years ago2008-06-17 Dave Brolley <brolley@redhat.com>
brolley [Tue, 17 Jun 2008 18:06:52 +0000 (18:06 +0000)]
2008-06-17  Dave Brolley  <brolley@redhat.com>

        * xstormy16.h (xstormy16_cpu_cgen): Now inherits from
        cgen_bi_endian_cpu.
        (h_pc_set_handler): New method of xstormy16_cpu_cgen.
        (h_gr_set_handler,init_change_logging,finish_change_logging)
        (log_pc_change,log_gr_change,restore_change) Likewise.
        (PC_UNCHANGED,PC_RESET,gr_changed,pc_changed,old_gr,old_h_pc):
        New members of xstormy16_cpu_cgen.
        (xstormy16_cpu): Now inherits only from xstormy16_cpu_cgen.
        * xstormy16.cxx (init_change_logging): New method of
        xstormy16_cpu_cgen.
        (finish_change_logging,log_pc_change,log_gr_change,restore_change):
        Likewise.
        * xstormy16-cpu.h: Regenerated.

16 years ago2008-06-17 Dave Brolley <brolley@redhat.com>
brolley [Tue, 17 Jun 2008 18:04:41 +0000 (18:04 +0000)]
2008-06-17  Dave Brolley  <brolley@redhat.com>

        * cpu/xstormy16.cpu (h-pc): Add a set handler.
        (h-gr): Likewise.

16 years ago2008-06-17 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Tue, 17 Jun 2008 17:28:19 +0000 (17:28 +0000)]
2008-06-17  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/sys/linux_syscalls.h: New file to add Linux syscall
        support.

16 years ago2008-06-17 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Tue, 17 Jun 2008 17:26:54 +0000 (17:26 +0000)]
2008-06-17  Ken Werner  <ken.werner@de.ibm.com>

        * spu/Makefile.in: Add new file.
        * spu/linux_syscalls.c: New file to add Linux syscall support.

16 years ago * app.c (do_scrub_chars): Do not UNGET an EOF value.
nickc [Tue, 17 Jun 2008 16:01:28 +0000 (16:01 +0000)]
    * app.c (do_scrub_chars): Do not UNGET an EOF value.

        * ti.h (GET_SCNHDR_NLNNO): Provide an alternative version of this
        macro which does not trigger an array bounds warning in gcc.
        (PUT_SCNHDR_NLNNO): Likewise.
        (GET_SCNHDR_FLAGS): Likewise.
        (PUT_SCNHDR_FLAGS): Likewise.
        (GET_SCNHDR_PAGE): Likewise.
        (PUT_SCNHDR_PAGE): Likewise.

16 years ago* spawn.cc (spawn_guts): Reinstate call to fhandler_console::need_invisible
cgf [Tue, 17 Jun 2008 15:38:17 +0000 (15:38 +0000)]
* spawn.cc (spawn_guts): Reinstate call to fhandler_console::need_invisible
since it is required to prevent console flashing.

16 years ago * include/resolv.h (_getshort): Drop declaration.
corinna [Tue, 17 Jun 2008 10:05:28 +0000 (10:05 +0000)]
* include/resolv.h (_getshort): Drop declaration.
(_getlong): Ditto.

16 years ago* m32c.opc (BRK, GDBBRK): Remove debug logic.
dj [Tue, 17 Jun 2008 00:34:37 +0000 (00:34 +0000)]
* m32c.opc (BRK, GDBBRK): Remove debug logic.
* main.c (main): Add option to set raw console.
* mem.h (m32c_use_raw_console): Declare.
* mem.c (m32c_sim_restore_console): Only restore console if it's
been previously set.
(m32c_use_raw_console): Define.
(mem_get_byte): Set raw console if m32c_use_raw_console is set.

16 years ago*** empty log message ***
gdbadmin [Tue, 17 Jun 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Tue, 17 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * configure.ac: Set TOPLEVEL_CONFIGURE_ARGUMENTS early, when
rwild [Mon, 16 Jun 2008 21:38:13 +0000 (21:38 +0000)]
* configure.ac: Set TOPLEVEL_CONFIGURE_ARGUMENTS early, when
"$@" is still intact with both Autoconf 2.59 and 2.62.
* configure: Regenerate.

16 years ago * Makefile.tpl: Fix comment errors.
rwild [Mon, 16 Jun 2008 21:30:58 +0000 (21:30 +0000)]
* Makefile.tpl: Fix comment errors.
* Makefile.in: Regenerate.

16 years ago2008-06-16 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Mon, 16 Jun 2008 18:54:17 +0000 (18:54 +0000)]
2008-06-16  Ken Werner  <ken.werner@de.ibm.com>

* libc/machine/spu/sys/dirent.h: Add extern "C" specifier if C++.
* libc/machine/spu/sys/sched.h: Likewise.
* libc/machine/spu/sys/syscall.h: Likewise.

16 years ago2008-06-16 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Mon, 16 Jun 2008 18:51:09 +0000 (18:51 +0000)]
2008-06-16  Ken Werner  <ken.werner@de.ibm.com>

* libc/machine/spu/mk_syscalls: Provide .type and .size directives
in generated assembler files.
* libc/machine/spu/fprintf.S: Regenerate.
* libc/machine/spu/fscanf.S: Regenerate.
* libc/machine/spu/printf.S: Regenerate.
* libc/machine/spu/scanf.S: Regenerate.
* libc/machine/spu/snprintf.S: Regenerate.
* libc/machine/spu/sprintf.S: Regenerate.
* libc/machine/spu/sscanf.S: Regenerate.
* libc/machine/spu/stack_reg_va.S (__stack_reg_va): Provide .type
and .size directives.
* libc/machine/spu/setjmp.S (setjmp): Likewise.
(longjmp): Likewise.

16 years ago2008-06-16 Corrin Meyer <cjmeyer@gmail.com>
jjohnstn [Mon, 16 Jun 2008 18:42:39 +0000 (18:42 +0000)]
2008-06-16  Corrin Meyer  <cjmeyer@gmail.com>

        * m68k/cf-crt1.c[__mcf_family_m1qe]: Don't access CACR.

16 years agomerge from gcc
dj [Mon, 16 Jun 2008 18:15:47 +0000 (18:15 +0000)]
merge from gcc

16 years agobfd/
amodra [Mon, 16 Jun 2008 16:16:30 +0000 (16:16 +0000)]
bfd/
* elf32-spu.c (struct spu_link_hash_table): Add extra_stack_space.
(spu_elf_check_vma): Add extra_stack_space param, copy to htab.
(spu_elf_auto_overlay): Use it.
(RECURSE_UNMARK): Define as 0.
(unmark_overlay_section): Heed RECURSE_UNMARK.
* elf32-spu.h (spu_elf_check_vma): Update prototype.
ld/
* emultempl/spuelf.em (extra_stack_space): New variable.
(gld${EMULATION_NAME}_finish): Pass it to spu_elf_check_vma.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
PARSE_AND_LIST_ARGS_CASES): Handle --extra-stack-space.
* emultempl/spu_ovl.S: Mask interrupts during dma and update of
overlay manager structures.
* emultempl/spu_ovl.o: Regenerate.

16 years ago * ld.texinfo (@node MMIX): For the __.MMIX.start. prefix, only
hp [Mon, 16 Jun 2008 15:10:13 +0000 (15:10 +0000)]
* ld.texinfo (@node MMIX): For the __.MMIX.start. prefix, only
mention it as being special for global symbols.

16 years ago PR gas/6607
hp [Mon, 16 Jun 2008 15:07:01 +0000 (15:07 +0000)]
PR gas/6607
* ld-mmix/loc10.d, ld-mmix/loc10.s, ld-mmix/loc10m.d, ld-mmix/loc8.d,
ld-mmix/loc8.s, ld-mmix/loc8m.d, ld-mmix/loc9.d, ld-mmix/loc9.s,
ld-mmix/loc9m.d: New tests.

16 years ago PR gas/6607
hp [Mon, 16 Jun 2008 15:05:55 +0000 (15:05 +0000)]
PR gas/6607
* gas/mmix/err-loc-10.s, gas/mmix/err-loc-9.s, gas/mmix/loc-6.d,
gas/mmix/loc-6.s, gas/mmix/loc-7.d, gas/mmix/loc-7.s: New tests.

16 years ago PR gas/6607
hp [Mon, 16 Jun 2008 15:04:41 +0000 (15:04 +0000)]
PR gas/6607
* config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
text_section.  Do the "stepping backwards" test for text_section
using unsigned operands.

16 years agodaily update
amodra [Mon, 16 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Mon, 16 Jun 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years agomerge from gcc
dj [Sun, 15 Jun 2008 18:33:29 +0000 (18:33 +0000)]
merge from gcc

16 years ago*** empty log message ***
gdbadmin [Sun, 15 Jun 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***