OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
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 ***

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

16 years agoCommitted as obvious.
dannysmith [Sat, 14 Jun 2008 09:13:37 +0000 (09:13 +0000)]
Committed as obvious.

[mingw-Bugs-1801641]
* include/wchar.h (_wfdopen): Const-ify second arg.
* include/stdio.h (_wfdopen): Likewise.
Thanks to <tdragon at users dot sourceforge net>

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

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

16 years ago Don't suppress *running when doing finish.
vprus [Fri, 13 Jun 2008 20:19:18 +0000 (20:19 +0000)]
Don't suppress *running when doing finish.
        * infcall.c (call_function_by_hand): Set both
        suppress_resume_observer and suppress_stop_observer.
        * infcmd.c (suppress_run_stop_observers): Split into...
        (suppress_resume_observer, suppress_stop_observer): ...those.
        (finish_command_continuation): Clear suppress_stop_observer.
        (finish_command): Set suppress_stop_observer.
        * inferior.h (suppress_run_stop_observers): Split into...
        (suppress_resume_observer, suppress_stop_observer): ...those.
        * infrun.c (normal_stop): Check for suppress_stop_observer.
        * thread.c (set_running): Check for suppress_resume_observer.

16 years agoinclude/opcode/
bergner [Fri, 13 Jun 2008 20:15:59 +0000 (20:15 +0000)]
include/opcode/
* ppc.h (ppc_cpu_t): New typedef.
(struct powerpc_opcode <flags>): Use it.
(struct powerpc_operand <insert, extract>): Likewise.
(struct powerpc_macro <flags>): Likewise.

gas/
* config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
(ppc_insert_operand): Likewise.
(ppc_machine): Likewise.
* config/tc-ppc.h: #include "opcode/ppc.h"
(struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
(ppc_cpu): Update extern decl.

opcodes/
* ppc-dis.c (print_insn_powerpc): Update prototye to use new
ppc_cpu_t typedef.
(struct dis_private): New.
(POWERPC_DIALECT): New define.
(powerpc_dialect): Renamed to...
(powerpc_init_dialect): This.  Update to use ppc_cpu_t and
struct dis_private.
(print_insn_big_powerpc): Update for using structure in
info->private_data.
(print_insn_little_powerpc): Likewise.
(operand_value_powerpc): Change type of dialect param to ppc_cpu_t.
(skip_optional_operands): Likewise.
(print_insn_powerpc): Likewise.  Remove initialization of dialect.
* ppc-opc.c (extract_bat, extract_bba, extract_bdm, extract_bdp,
extract_bo, extract_boe, extract_fxm, extract_mb6, extract_mbe,
extract_nb, extract_nsi, extract_rbs, extract_sh6, extract_spr,
extract_sprg, extract_tbr insert_bat, insert_bba, insert_bdm,
insert_bdp, insert_bo, insert_boe, insert_fxm, insert_mb6, insert_mbe,
insert_nsi, insert_ral, insert_ram, insert_raq, insert_ras, insert_rbs,
insert_sh6, insert_spr, insert_sprg, insert_tbr): Change the dialect
param to be of type ppc_cpu_t.  Update prototype.

16 years ago Robustify mi-simplerun.
vprus [Fri, 13 Jun 2008 19:53:41 +0000 (19:53 +0000)]
Robustify mi-simplerun.
        * gdb.mi/basics.c (main): Add a call to sleep.
        * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
        * gdb.mi/mi2-cli.exp: Likewise.
        * gdb.mi/mi-break.exp: Likewise.

16 years ago * powerpc.cc (Output_data_plt_powerpc::do_write): 8 + 4 = 0xC.
dje [Fri, 13 Jun 2008 17:15:52 +0000 (17:15 +0000)]
    * powerpc.cc (Output_data_plt_powerpc::do_write): 8 + 4 = 0xC.

16 years ago * mount.cc (mount_info::get_cygdrive_info): Fix usage of user and
corinna [Fri, 13 Jun 2008 15:22:58 +0000 (15:22 +0000)]
* mount.cc (mount_info::get_cygdrive_info): Fix usage of user and
system arguments.  Strip trailing slash from path for backward
compatibility.

16 years ago * configure.ac (arm*-*-linux-gnueabi): Don't disable building
jules [Fri, 13 Jun 2008 13:05:13 +0000 (13:05 +0000)]
* configure.ac (arm*-*-linux-gnueabi): Don't disable building
    of libobjc for ARM EABI Linux.
    * configure: Regenerate.

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

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

16 years ago * mips.h: Document new field descriptors +Q.
nickc [Thu, 12 Jun 2008 21:44:52 +0000 (21:44 +0000)]
    * mips.h: Document new field descriptors +Q.
        (OP_SH_SEQI, OP_MASK_SEQI): New bit mask and shift count for SEQI.

opcodes/

        * mips-dis.c (print_insn_args): Handle field descriptor +Q.
        * mips-opc.c (mips_builtin_opcodes): Add Octeon instructions seq,
        seqi, sne and snei.

gas/

        * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
        (mips_ip): Likewise.
        (macro_build): Likewise.
        (CPU_HAS_SEQ): New macro.
        (macro2) <M_SEQ_I, M_SNE_I>: Use it.  Emit seq/sne and seqi/snei.

gas/testsuite/

        * gas/mips/octeon.s, gas/mips/octeon.d: Add tests for seq* and sne*.
        * gas/mips/octeon-ill.s, gas/mips/octeon-ill.s: Add tests for seqi
        and snei.

16 years ago* common.h (EM_M32C_NEW): Rename to EM_M32C.
dj [Thu, 12 Jun 2008 19:49:47 +0000 (19:49 +0000)]
* common.h (EM_M32C_NEW): Rename to EM_M32C.
(EM_M32C): Rename to EM_M32C_OLD.

* elf32-m32c.c (ELF_MACHINE_ALT1): Define as EM_M32C_OLD.

* readelf.c (guess_is_rela): Add EM_M32C_OLD.
(dump_relocations): Likewise.
(process_section_headers): Likewise.
(is_32bit_abs_reloc): Likewise.
(is_16bit_abs_reloc): Likewise.

16 years ago2008-06-12 David S. Miller <davem@davemloft.net>
dje [Thu, 12 Jun 2008 17:07:33 +0000 (17:07 +0000)]
2008-06-12  David S. Miller  <davem@davemloft.net>
            David Edelsohn  <edelsohn@gnu.org>

        * configure.ac: Add powerpc*-*-* to gold supported targets.
        * configure: Regenerate.

16 years ago2008-06-12 David Edelsohn <edelsohn@gnu.org>
dje [Thu, 12 Jun 2008 17:02:17 +0000 (17:02 +0000)]
2008-06-12  David Edelsohn  <edelsohn@gnu.org>
            David S. Miller  <davem@davemloft.net>

        * powerpc.cc: New file.
        * Makefile.am (TARGETSOURCES): Add powerpc.cc
        (ALL_TARGETOBJS): Add powerpc.$(OBJEXT)
        * configure.tgt: Add entries for powerpc-* and powerpc64-*.
        * Makefile.in: Rebuild.

16 years ago2008-06-12 David S. Miller <davem@davemloft.net>
dje [Thu, 12 Jun 2008 16:58:40 +0000 (16:58 +0000)]
2008-06-12  David S. Miller  <davem@davemloft.net>

        * powerpc.h: New file.
        * elfcpp.h (SHT_ORDERED): New enum constant.
        (DT_PPC_GOT, DT_PPC64_GLINK, DT_PPC64_OPD, DT_PPC64_OPDSZ): Same.

16 years agoinclude/opcode/
nickc [Thu, 12 Jun 2008 16:14:50 +0000 (16:14 +0000)]
include/opcode/

        * mips.h: Document new field descriptors +x, +X, +p, +P, +s, +S.
        Update comment before MIPS16 field descriptors to mention MIPS16.
        (OP_SH_BBITIND, OP_MASK_BBITIND): New bit mask and shift count for
        BBIT.
        (OP_SH_CINSPOS, OP_MASK_CINSPOS, OP_SH_CINSLM1, OP_MASK_CINSLM1):
        New bit masks and shift counts for cins and exts.

gas/

        * config/tc-mips.c (validate_mips_insn): Handle field descriptors
        +x, +X, +p, +P, +s, +S.
        (mips_ip): Likewise.

opcodes/

        * mips-dis.c (print_insn_args): Handle field descriptors +x, +p,
        +s, +S.
        * mips-opc.c (mips_builtin_opcodes): Add Octeon instructions
        baddu, bbit*, cins*, dmul, pop, dpop, exts*, mtm*, mtp*, syncs,
        syncw, syncws, vm3mulu, vm0 and vmulu.

gas/testsuite/

        * gas/mips/octeon.s, gas/mips/octeon.d: Add tests for baddu,
        bbit*, cins*, dmul, pop, dpop, exts*, mtm*, mtp*, syncs, syncw,
        syncws, vm3mulu, vm0 and vmulu.
        * gas/mips/octeon-ill.s, gas/mips/octeon-ill.s: New test.
        * gas/mips/mips.exp: Run it.  Run octeon test with
        run_dump_test_arches.

16 years ago * fhandler.h (set_console_state_for_spawn): Drop declaration.
corinna [Thu, 12 Jun 2008 15:57:23 +0000 (15:57 +0000)]
* fhandler.h (set_console_state_for_spawn): Drop declaration.
* fhandler_console.cc (set_console_state_for_spawn): Remove.
(fhandler_console::open): Set console state last.  Don't set
ENABLE_PROCESSED_INPUT flag.
* spawn.cc (spawn_guts): Drop call to set_console_state_for_spawn.

16 years agoremove obsolete comment
cgf [Thu, 12 Jun 2008 14:55:08 +0000 (14:55 +0000)]
remove obsolete comment

16 years ago * common.h: Update e_machine table.
jsm28 [Thu, 12 Jun 2008 12:44:01 +0000 (12:44 +0000)]
* common.h: Update e_machine table.

16 years ago PR binutils/6483
nickc [Thu, 12 Jun 2008 11:57:39 +0000 (11:57 +0000)]
    PR binutils/6483
        * objdump.c (dump_bfd): If the -g option found no STABS or IEEE
        debug information to display, try dumping DWARF information
        instead.
        * rddbg.c (read_debugging_info): Add a parameter to suppress the
        display of a warning message when no debug information is found.
        * budbg.h (read_debugging_info): Update prototype.
        * objcopy.c (copy_object): Continue to allow read_debugging_info
        to produce warning messages.
        * doc/binutils.texi (--debugging): Document new behaviour of the
        -g/--debugging option.

16 years ago * ldlang.c (print_output_section_statement): If the output section
nickc [Thu, 12 Jun 2008 11:27:38 +0000 (11:27 +0000)]
    * ldlang.c (print_output_section_statement): If the output section
        statement has an update_dot_tree expression, apply it to
        print_dot.
        (print_input_section): Do not update print_dot if it would move
        print_dot backwards.
        (lang_do_assignments_1): If the output section statement has an
        update_dot_tree expression apply it to dot.

  * ld-scripts/overlay-size.t (end_of_bss_overlays): Define.
  (end_of_text_overlays): Define.
  (end_of_data_overlays): Define.
  * ld-scripts/overlay-size-map.d: Add expected values for
  end_of_bss_overlays, end_of_text_overlays and
  end_of_data_overlays.

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

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

16 years ago2008-06-11 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 11 Jun 2008 22:14:54 +0000 (22:14 +0000)]
2008-06-11  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/machine/_default_types.h: Fix GNUC check to
        handle 4.0 and greater.

16 years ago * gdbarch.sh (gdbarch_skip_main_prologue): New.
muller [Wed, 11 Jun 2008 22:03:48 +0000 (22:03 +0000)]
* gdbarch.sh (gdbarch_skip_main_prologue): New.
* gdbarch.h, gdbarch.c: Regenerate.
* i386-tdep.h (i386_skip_main_prologue): Declare.
* i386-tdep.c (i386_skip_main_prologue): New.
* i386-cygwin-tdep.c (i386_cygwin_init_abi): Register
i386_skip_main_prologue as gdbarch_skip_main_prologue gdbarch callback.
* symtab.c (find_function_start_sal): When pc points at the "main"
function, call gdbarch_skip_main_prologue.

16 years ago * value.c (value_primitive_field): Fetch lazy register values.
drow [Wed, 11 Jun 2008 19:59:09 +0000 (19:59 +0000)]
* value.c (value_primitive_field): Fetch lazy register values.

16 years ago * path.cc (get_nt_native_path): Drop considerations for DOS devices. pre-ripout-set_console_state_for_spawn
corinna [Wed, 11 Jun 2008 14:06:04 +0000 (14:06 +0000)]
* path.cc (get_nt_native_path): Drop considerations for DOS devices.
Keep relative paths relative.
(cygwin_conv_path): Don't try to skip native NT prefixes on relative
paths.

16 years agoFix date in changelog entry
vprus [Wed, 11 Jun 2008 13:50:55 +0000 (13:50 +0000)]
Fix date in changelog entry

16 years ago * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
vprus [Wed, 11 Jun 2008 13:35:57 +0000 (13:35 +0000)]
* gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.

16 years ago * NEWS: Mention support removal of undocumented S AA p PID stop
palves [Wed, 11 Jun 2008 12:56:35 +0000 (12:56 +0000)]
* NEWS: Mention support removal of undocumented S AA p PID stop
reply packet.

* remote.c (remote_wait): Remove undocumented S AA p PID support.

16 years ago * include/cygwin/version.h (CYGWIN_VERSION_MOUNT_REGISTRY): Bump.
corinna [Wed, 11 Jun 2008 09:43:59 +0000 (09:43 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_MOUNT_REGISTRY): Bump.
(CYGWIN_INFO_CYGWIN_MOUNT_REGISTRY_NAME): Remove.
(CYGWIN_INFO_CYGDRIVE_FLAGS): Remove.
(CYGWIN_INFO_CYGDRIVE_PREFIX): Remove.
(CYGWIN_INFO_CYGDRIVE_DEFAULT_PREFIX): Add comment to differ from the
registry related defines.

16 years ago * fhandler_procnet.cc (dad_to_flags): Fix comment.
corinna [Wed, 11 Jun 2008 08:38:39 +0000 (08:38 +0000)]
* fhandler_procnet.cc (dad_to_flags): Fix comment.

16 years agomerge from gcc
dj [Wed, 11 Jun 2008 01:17:28 +0000 (01:17 +0000)]
merge from gcc

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

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

16 years ago * fhandler_procnet.cc (get_scope): New static function to evaluate
corinna [Tue, 10 Jun 2008 19:58:58 +0000 (19:58 +0000)]
* fhandler_procnet.cc (get_scope): New static function to evaluate
scope.
(dad_to_flags): New static array to convert Windows DAD state to
Linux values.
(format_procnet_ifinet6): Drop asking for IfIndex, just use Ipv6IfIndex.
Use get_scope and dad_to_flags to generate more accurate linux-like
output.

16 years ago * net.cc (if_nametoindex): Fix typo in call to get_adapters_addresses.
corinna [Tue, 10 Jun 2008 18:15:56 +0000 (18:15 +0000)]
* net.cc (if_nametoindex): Fix typo in call to get_adapters_addresses.
(if_indextoname): Prefer IPv6 loopback device name over IPv4 loopback
device name on pre-Vista systems.
(if_nameindex): Ditto.

16 years ago2008-06-10 Stan Shebs <stan@codesourcery.com>
shebs [Tue, 10 Jun 2008 18:13:57 +0000 (18:13 +0000)]
2008-06-10  Stan Shebs  <stan@codesourcery.com>

    * MAINTAINERS: Update my affiliation and address.

16 years ago * fhandler_procnet.cc (format_procnet_ifinet6): Use sprintf rather than
corinna [Tue, 10 Jun 2008 17:24:00 +0000 (17:24 +0000)]
* fhandler_procnet.cc (format_procnet_ifinet6): Use sprintf rather than
__small_sprintf.
* net.cc (if_nametoindex): Prefer IPv6IfIndex over IfIndex for
consistency with /proc/net/if_inet6.
(if_indextoname): Ditto.
(if_nameindex): Ditto.

16 years ago * mount.cc (mount_info::from_fstab): Read sizeof (buf) - 2 bytes.
corinna [Tue, 10 Jun 2008 17:17:43 +0000 (17:17 +0000)]
* mount.cc (mount_info::from_fstab): Read sizeof (buf) - 2 bytes.
Add code to handle overly long lines.

16 years ago * sec_auth.cc (lsaauth): Make returned token inheritable.
corinna [Tue, 10 Jun 2008 15:16:01 +0000 (15:16 +0000)]
* sec_auth.cc (lsaauth): Make returned token inheritable.

16 years ago * devices.cc: Regenerate.
corinna [Tue, 10 Jun 2008 14:48:20 +0000 (14:48 +0000)]
* devices.cc: Regenerate.

16 years ago(print_gdb_version): Don't print final newline.
schwab [Tue, 10 Jun 2008 11:57:28 +0000 (11:57 +0000)]
(print_gdb_version): Don't print final newline.

16 years ago Implement *running.
vprus [Tue, 10 Jun 2008 10:23:51 +0000 (10:23 +0000)]
Implement *running.
        * Makefile.in: Update dependencies.
        * gdbthread.h (struct thread_info): New field
        running_.
        (set_running, is_running): New.
        * thread.c (set_running, is_running): New.
        * inferior.h (suppress_normal_stop_observer): Rename to...
        (suppress_run_stop_observers): ..this.
        * infcmd.c (suppress_normal_stop_observer): Rename to...
        (suppress_run_stop_observers): ..this.
        (finish_command_continuation, finish_command): Adjust.
        * infcall.c (call_function_by_hand): Adjust.
        * infrun.c (normal_stop): Call set_running.
        * target.c (target_resume): New.  Call set_running.
        * target.h (target_resume): Convert from macro to
        a function.

        * mi/mi-interp.c (mi_on_resume): New.
        (mi_interpreter_init): Register mi_on_resume.

16 years ago Use observers to report stop events in MI.
vprus [Tue, 10 Jun 2008 09:35:08 +0000 (09:35 +0000)]
Use observers to report stop events in MI.
        * mi/mi-interp.c (mi_on_normal_stop): New.
        (mi_interpreter_init): Register mi_on_normal_stop.
        (mi_interpreter_exec_continuation): Remove.
        (mi_cmd_interpreter_exec): Don't register the above.
        * mi/mi-main.c (captured_mi_execute_command): Don't care
        about sync_execution.
        (mi_execute_async_cli_command): Don't install continuation.  Don't
        print *stopped.
        (mi_exec_async_cli_cmd_continuation): Remove.

16 years ago Suppress normal stop observer when it's problematic.
vprus [Tue, 10 Jun 2008 09:32:05 +0000 (09:32 +0000)]
Suppress normal stop observer when it's problematic.
        * inferior.h (suppress_normal_stop_observer): New.
        * infcall.c (call_function_by_hand): Disable stop events when
        doing function calls.
        * infmcd.c (suppress_normal_stop_observer): New.
        (finish_command_continuation): Call normal_stop observer
        explicitly.
        (finish_command): Disable stop events inside proceed.
        * infrun.c (normal_stop): Don't call normal stop observer if
        suppressed of if multi-step is in progress.

16 years ago Remove stale code.
vprus [Tue, 10 Jun 2008 09:30:34 +0000 (09:30 +0000)]
Remove stale code.
        * infrun.c (finish_command): Don't pass cleanup
        to continuation.
        (finish_command_continuation): Don't grab cleanup from
        the passed data, as we don't use, and cannot, use it anyway.

16 years ago Introduce common cleanup for restoring integers.
vprus [Tue, 10 Jun 2008 09:29:15 +0000 (09:29 +0000)]
Introduce common cleanup for restoring integers.
        * defs.h (make_cleanup_restore_integer): New declaration.
        (struct cleanup): New field free_arg.
        (make_my_cleanup_2): New.
        * utils.c (restore_integer_closure, restore_integer)
        (make_cleanup_restore_integer): New.
        (make_my_cleanup): Initialize the free_arg field and
        renamed to make_my_cleanup_2.
        (do_my_cleanups): Call free_arg.
        (discard_cleanups): Call free_arg.
        * breakpoint.c (restore_always_inserted_mode): Remove.
        (update_breakpoints_after_exec): Use make_cleanup_restore_integer.

16 years ago * MAINTAINERS: Remove myself as m68k maintainer.
bje [Tue, 10 Jun 2008 08:16:54 +0000 (08:16 +0000)]
* MAINTAINERS: Remove myself as m68k maintainer.

16 years ago2008-06-09 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Tue, 10 Jun 2008 02:13:22 +0000 (02:13 +0000)]
2008-06-09  Ken Werner  <ken.werner@de.ibm.com>

* libc/machine/spu/Makefile.am: Add new files.
* libc/machine/spu/Makefile.in: Likewise.
* libc/machine/spu/include/spu_timer.h: New file to add timer support
        using interrupts.
* libc/machine/spu/spu_clock_stop.c: Likewise.
* libc/machine/spu/spu_clock_svcs.c: Likewise.
* libc/machine/spu/spu_timer_flih.S: Likewise.
* libc/machine/spu/spu_timer_free.c: Likewise.
* libc/machine/spu/spu_timer_internal.h: Likewise.
* libc/machine/spu/spu_timer_slih.c: Likewise.
* libc/machine/spu/spu_timer_slih_reg.c: Likewise.
* libc/machine/spu/spu_timer_stop.c: Likewise.
* libc/machine/spu/spu_timer_svcs.c: Likewise.

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

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

16 years ago2008-06-09 Joel Sherrill <joel.sherrill@oarcorp.com>
msnyder [Mon, 9 Jun 2008 22:55:27 +0000 (22:55 +0000)]
2008-06-09  Joel Sherrill <joel.sherrill@oarcorp.com>

* sis.c: Correct spelling error.

16 years ago * ld-sh/arch/arch_expected.txt: Regenerate.
kkojima [Mon, 9 Jun 2008 22:22:05 +0000 (22:22 +0000)]
* ld-sh/arch/arch_expected.txt: Regenerate.

16 years ago * sh.h (EF_SH_BFD_TABLE): Set bfd_mach_sh for EF_SH_UNKNOWN.
kkojima [Mon, 9 Jun 2008 22:20:46 +0000 (22:20 +0000)]
* sh.h (EF_SH_BFD_TABLE): Set bfd_mach_sh for EF_SH_UNKNOWN.

16 years ago * remote.c (remote_wait): Include beginning of malformed packet
devans [Mon, 9 Jun 2008 20:43:48 +0000 (20:43 +0000)]
* remote.c (remote_wait): Include beginning of malformed packet
in error output.

16 years agogdb
tromey [Mon, 9 Jun 2008 19:25:13 +0000 (19:25 +0000)]
gdb
* completer.c (complete_line): Don't special-case
expression_completer.
(expression_completer): Only pass last word to
location_completer.
* c-exp.y (yylex): Check 'token', not 'operator'.
gdb/testsuite
* gdb.base/completion.exp: New tests for field name completion
with spaces, and field name completion with '->'.

16 years ago * testsuite/relro_test.cc: Include <cstdio>, <cstdlib>, and
ian [Mon, 9 Jun 2008 19:12:33 +0000 (19:12 +0000)]
* testsuite/relro_test.cc: Include <cstdio>, <cstdlib>, and
<exception>.
(throwing, orig_terminate): New static variables.
(terminate_handler): New static function.
(t2): Set terminate handler.

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

        * libc/machine/spu/strcat.c: Return value fixed.
        * libc/machine/spu/strncat.c: Likewise.

16 years ago/gas:
eweddington [Mon, 9 Jun 2008 16:07:01 +0000 (16:07 +0000)]
/gas:
2008-06-09  Eric B. Weddington  <eric.weddington@atmel.com>

* config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
* doc/c-avr.texi: Likewise.

16 years ago2008-06-09 Paul Brook <paul@codesourcery.com>
pbrook [Mon, 9 Jun 2008 15:19:52 +0000 (15:19 +0000)]
2008-06-09  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_merge_private_bfd_data): Allow BE8 shared
libraries.

16 years ago * configure.ac (build_warnings): Add -Wno-format for mingw.
drow [Mon, 9 Jun 2008 15:03:57 +0000 (15:03 +0000)]
* configure.ac (build_warnings): Add -Wno-format for mingw.
* configure: Regenerated.

16 years ago * ld-arm/mixed-lib.d: Loosen pattern.
drow [Mon, 9 Jun 2008 14:55:04 +0000 (14:55 +0000)]
* ld-arm/mixed-lib.d: Loosen pattern.

16 years ago2008-06-03 Christophe Lyon <christophe.lyon@st.com>
drow [Mon, 9 Jun 2008 14:53:12 +0000 (14:53 +0000)]
2008-06-03  Christophe Lyon  <christophe.lyon@st.com>

bfd/
* elf32-arm.c (arm_stub_is_thumb): Define.
(elf32_arm_final_link_relocate): Handle near mode switching stubs.

ld/testsuite/
* ld-arm/farcall-thumb-thumb-m.d: Fix branch type.
* ld-arm/farcall-thumb-arm.d: Likewise.

16 years ago * common.h: Change registry@caldera.com to registry@sco.com.
jsm28 [Mon, 9 Jun 2008 14:07:18 +0000 (14:07 +0000)]
* common.h: Change registry@caldera.com to registry@sco.com.

16 years ago* devices.in: Remove "Global" from tty device.
cgf [Mon, 9 Jun 2008 14:01:38 +0000 (14:01 +0000)]
* devices.in: Remove "Global" from tty device.

16 years ago* signal.cc (abort): Only flush streams after signal handler.
cgf [Mon, 9 Jun 2008 13:45:59 +0000 (13:45 +0000)]
* signal.cc (abort): Only flush streams after signal handler.

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

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

16 years ago * Makefile.def (flags_to_pass): Add LDFLAGS_FOR_BUILD.
jsm28 [Sun, 8 Jun 2008 16:19:22 +0000 (16:19 +0000)]
* Makefile.def (flags_to_pass): Add LDFLAGS_FOR_BUILD.
* Makefile.tpl (EXTRA_BUILD_FLAGS): Define.
(all prefix="build-"): Pass them to build-system sub-makes.
* Makefile.in: Regenerate.

config:
* config/mh-mingw (LDFLAGS): Define.

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

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

16 years ago * NEWS: Make indentation consistent. Move exec tracing entry out
drow [Sat, 7 Jun 2008 22:21:27 +0000 (22:21 +0000)]
* NEWS: Make indentation consistent.  Move exec tracing entry out
of remote packet list.

16 years ago * elf32-spu.c (spu_elf_auto_overlay): Add valid area below sp
amodra [Sat, 7 Jun 2008 12:02:46 +0000 (12:02 +0000)]
* elf32-spu.c (spu_elf_auto_overlay): Add valid area below sp
to stack calculation.

16 years ago * NEWS: Mention archive:path patterns.
amodra [Sat, 7 Jun 2008 11:35:46 +0000 (11:35 +0000)]
* NEWS: Mention archive:path patterns.
* ld.texinfo: Likewise.
* ldlang.c: Formatting throughout.
(archive_path): Only assume "[A-Za-z]:" is a dos drive.
(input_statement_is_archive_path): New function, extracted from..
(walk_wild): ..here.
(walk_wild_consider_section): Match archive:path here too.
(init_map_userdata, sort_def_symbol): Convert to ISO C.
* ldmain.c (main): Set link_info.path_separator.
* emultempl/spuelf.em (choose_target): Don't set it here.

16 years agosim:
jsm28 [Sat, 7 Jun 2008 01:31:25 +0000 (01:31 +0000)]
sim:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* cris/configure: Regenerate.

sim/common:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* aclocal.m4: Include ../../config/acx.m4.
* common.m4: Use ACX_PKGVERSION and ACX_BUGURL.
* configure, config.in: Regenerate.
* Make-common.in (LIB_OBJS): Add version.o.
(version.c, version.o): New rules.
* run.c: Include version.h.
(usage): Add help parameter. Print output either to stdout or
stderr depending on that parameter.
(print_version): New.
(main): Check for --help and --version.
* run-sim.h (sim_target_display_usage): Add help parameter.
* version.h: New.

sim/arm:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.
* wrapper.c (sim_target_display_usage): Add help parameter.

sim/cr16:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/d10v:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/erc32:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/frv:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/h8300:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/iq2000:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/m32c:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/m32r:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/m68hc11:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/mcore:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/mips:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/mn10300:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/ppc:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure.ac: Use ACX_PKGVERSION and ACX_BUGURL.
* configure, config.in: Regenerated.
* Makefile.in (LIB_OBJ): Add version.o.
(version.c, version.o): New rules.
* psim.c (psim_usage): Add help parameter.  Print the bug URL.
Exit with code 0 for help.
(psim_options): Update calls to psim_usage.  Handle --help and
--version.
* psim.h (psim_usage): Update prototype.
* main.c (main): Update psim_usage call.

sim/sh:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/sh64:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

sim/v850:
2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
            Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure: Regenerate.

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

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

16 years ago2008-06-06 Paul Brook <paul@codesourcery.com>
pbrook [Fri, 6 Jun 2008 23:20:47 +0000 (23:20 +0000)]
2008-06-06  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_merge_private_bfd_data): Reject BE8 input.

16 years ago * Makefile.in (gdbreplay.o): New rule.
drow [Fri, 6 Jun 2008 22:19:50 +0000 (22:19 +0000)]
* Makefile.in (gdbreplay.o): New rule.

16 years agogdb
tromey [Fri, 6 Jun 2008 20:58:08 +0000 (20:58 +0000)]
gdb
* value.h (evaluate_subexpression_type, extract_field_op):
Declare.
* printcmd.c (_initialize_printcmd): Use expression_completer for
'p', 'inspect', 'call'.
* parser-defs.h (parse_field_expression): Declare.
* parse.c: Include exceptions.h.
(in_parse_field, expout_last_struct): New globals.
(mark_struct_expression): New function.
(prefixify_expression): Return int.
(prefixify_subexp): Return int.  Use expout_last_struct.
(parse_exp_1): Update.
(parse_exp_in_context): Add 'out_subexp' argument.  Handle
in_parse_field.
(parse_field_expression): New function.
* expression.h (parse_field_expression): Declare.
(in_parse_field): Likewise.
* eval.c (evaluate_subexpression_type): New function.
(extract_field_op): Likewise.
* completer.h (expression_completer): Declare.
* completer.c (expression_completer): New function.
(count_struct_fields, add_struct_fields): New functions.
* c-exp.y (yyparse): Redefine.
(COMPLETE): New token.
(exp): New productions.
(saw_name_at_eof, last_was_structop): New globals.
(yylex): Return COMPLETE when needed.  Recognize in_parse_field.
(c_parse): New function.
* breakpoint.c (_initialize_breakpoint): Use expression_completer
for watch, awatch, and rwatch.
* Makefile.in (parse.o): Depend on exceptions_h.
gdb/testsuite
* gdb.base/break1.c (struct some_struct): New struct.
(values): New global.
* gdb.base/completion.exp: Add field name completion test.
gdb/doc
* gdb.texinfo (Completion): Add field name example.

16 years ago * gdbreplay.c (gdbreplay_version): Say gdbreplay in version
jsm28 [Fri, 6 Jun 2008 20:38:35 +0000 (20:38 +0000)]
* gdbreplay.c (gdbreplay_version): Say gdbreplay in version
message, not gdbserver.

16 years agoOops, missed some warnings.
dj [Fri, 6 Jun 2008 19:26:10 +0000 (19:26 +0000)]
Oops, missed some warnings.
* mem.h (m32c_sim_restore_console): New.

16 years ago* Makefile.in: Add Timer A support.
dj [Fri, 6 Jun 2008 19:18:14 +0000 (19:18 +0000)]
* Makefile.in: Add Timer A support.
* cpu.h (m32c_opcode_pc): New.
(in_gdb): New.
* gdb-if.c (sim_open): Add Timer A support.  Support unbuffered
console.
* int.c (trigger_interrupt): Manage the U flag properly.
(trigger_based_interrupt): Likewise.
(trigger_fixed_interrupt): New.
(trigger_peripheral_interrupt): New.
* int.h (trigger_peripheral_interrupt): New.
* m32c.opc: Use m32c_opcode_pc throughout, as needed.
(decode_m32c): Detect jump-to-zero with traceback.
(BRK): Try to do the right thing, keeping track of whether we're
in gdb or not, and if the user has provided a handler or not.
(GBRK): Alternate break opcode for gdb, in case the user's app
needs to use BRK for itself.
(BRK2): Implement.
* main.c: Add Timer A support.  Support TCP-based console.
(setup_tcp_console): New.
(main): Add Timer A support.  Support TCP-based console.
* mem.c: Add Timer A support.  Support TCP-based console.
(mem_ptr): Enhance NULL pointer detection.
(stdin_ready): New.
(m32c_sim_restore_console): New.
(mem_get_byte): Check for console input ready.
(update_timer_a): New.
* r8c.opc (SSTR): Use r0l, not r0h.
(REIT): Fix return frame logic.
* reg.c (print_flags): New.
(trace_register_changes): Use it.
(m32c_dump_all_registers): New.
* timer_a.h: New.

* load.c: Fix indentation.
* trace.c: Fix indentation.
* trace.h: Fix indentation.

16 years ago2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Fri, 6 Jun 2008 18:29:52 +0000 (18:29 +0000)]
2008-06-06  Paul Pluzhnikov  <ppluzhnikov@google.com>

* gdb.cp/call-c.exp: Test for incorrect handling of reference
to pointer.
* gdb.cp/call-c.cc: Likewise.

16 years ago2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Fri, 6 Jun 2008 18:29:00 +0000 (18:29 +0000)]
2008-06-06  Paul Pluzhnikov  <ppluzhnikov@google.com>

PR gdb/1147
* gdb/valopts.c (find_overload_match): Handle references
to pointers.

16 years ago2008-06-05 Marc Khouzam <marc.khouzam@ericsson.com>
marckhouzam [Fri, 6 Jun 2008 13:15:43 +0000 (13:15 +0000)]
2008-06-05  Marc Khouzam  <marc.khouzam@ericsson.com>

* gdb.texinfo (GDB/MI Program Context): Added example
to -exec-arguments

16 years agoada_value_assign: Correct big-endian case to take into account the bitsize
hilfingr [Fri, 6 Jun 2008 06:48:36 +0000 (06:48 +0000)]
ada_value_assign: Correct big-endian case to take into account the bitsize
  of the 'from' operand.

16 years agoinclude/
amodra [Fri, 6 Jun 2008 06:01:50 +0000 (06:01 +0000)]
include/
* bfdlink.h (struct bfd_link_info): Add "path_separator".
bfd/
* elf32-spu.c (spu_elf_auto_overlay): Relax requirement that
file names be unique.  Specify archive:path in overlay script.
ld/
* ldlang.c (name_match): New function.
(unique_section_p, walk_wild_consider_section): Use it here.
(walk_wild_section_general): And here.
(archive_path): New function.
(walk_wild): Match archive:path filespecs.
(open_input_bfds): Don't load archive:path files.
* emultempl/spuelf.em (choose_target): Set path_separator.
* emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output.

16 years ago * annotate.h (annotate_thread_changed): Declare.
palves [Fri, 6 Jun 2008 02:35:46 +0000 (02:35 +0000)]
* annotate.h (annotate_thread_changed): Declare.

16 years ago PR driver/35916
dannysmith [Fri, 6 Jun 2008 02:32:32 +0000 (02:32 +0000)]
PR driver/35916
* mh-mingw (CFLAGS): Add -D__USE_MINGW_ACCESS.

16 years ago*** empty log message ***
nickrob [Fri, 6 Jun 2008 00:41:22 +0000 (00:41 +0000)]
*** empty log message ***

16 years ago(thread_switch): Test for thread-changed annotation.
nickrob [Fri, 6 Jun 2008 00:40:21 +0000 (00:40 +0000)]
(thread_switch): Test for thread-changed annotation.

16 years ago*** empty log message ***
nickrob [Fri, 6 Jun 2008 00:39:51 +0000 (00:39 +0000)]
*** empty log message ***