OSDN Git Service
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.
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.
ian [Wed, 18 Jun 2008 04:15:52 +0000 (04:15 +0000)]
* script-sections.cc (Script_sections::place_orphan): Initialize
local variable exact.
dj [Wed, 18 Jun 2008 03:35:56 +0000 (03:35 +0000)]
merge from gcc
amodra [Wed, 18 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 18 Jun 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
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.
corinna [Tue, 17 Jun 2008 18:54:16 +0000 (18:54 +0000)]
* sec_auth.cc (DsGetDcNameA): Drop declaration.
(DS_FORCE_REDISCOVERY): Drop definition.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
corinna [Tue, 17 Jun 2008 10:05:28 +0000 (10:05 +0000)]
* include/resolv.h (_getshort): Drop declaration.
(_getlong): Ditto.
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.
gdbadmin [Tue, 17 Jun 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 17 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update
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.
rwild [Mon, 16 Jun 2008 21:30:58 +0000 (21:30 +0000)]
* Makefile.tpl: Fix comment errors.
* Makefile.in: Regenerate.
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.
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.
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.
dj [Mon, 16 Jun 2008 18:15:47 +0000 (18:15 +0000)]
merge from gcc
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.
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.
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.
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.
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.
amodra [Mon, 16 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 16 Jun 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
dj [Sun, 15 Jun 2008 18:33:29 +0000 (18:33 +0000)]
merge from gcc
gdbadmin [Sun, 15 Jun 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 15 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update
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>
gdbadmin [Sat, 14 Jun 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 14 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update
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.
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.
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.
dje [Fri, 13 Jun 2008 17:15:52 +0000 (17:15 +0000)]
* powerpc.cc (Output_data_plt_powerpc::do_write): 8 + 4 = 0xC.
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.
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.
amodra [Fri, 13 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 13 Jun 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
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.
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.
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.
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.
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.
cgf [Thu, 12 Jun 2008 14:55:08 +0000 (14:55 +0000)]
remove obsolete comment
jsm28 [Thu, 12 Jun 2008 12:44:01 +0000 (12:44 +0000)]
* common.h: Update e_machine table.
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.
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.
gdbadmin [Thu, 12 Jun 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 12 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update
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.
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.
drow [Wed, 11 Jun 2008 19:59:09 +0000 (19:59 +0000)]
* value.c (value_primitive_field): Fetch lazy register values.
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.
vprus [Wed, 11 Jun 2008 13:50:55 +0000 (13:50 +0000)]
Fix date in changelog entry
vprus [Wed, 11 Jun 2008 13:35:57 +0000 (13:35 +0000)]
* gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_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.
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.
corinna [Wed, 11 Jun 2008 08:38:39 +0000 (08:38 +0000)]
* fhandler_procnet.cc (dad_to_flags): Fix comment.
dj [Wed, 11 Jun 2008 01:17:28 +0000 (01:17 +0000)]
merge from gcc
amodra [Wed, 11 Jun 2008 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 11 Jun 2008 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
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.
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.
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.
corinna [Tue, 10 Jun 2008 15:16:01 +0000 (15:16 +0000)]
* sec_auth.cc (lsaauth): Make returned token inheritable.
corinna [Tue, 10 Jun 2008 14:48:20 +0000 (14:48 +0000)]
* devices.cc: Regenerate.
schwab [Tue, 10 Jun 2008 11:57:28 +0000 (11:57 +0000)]
(print_gdb_version): Don't print final newline.
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.
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.
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.
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.
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.
bje [Tue, 10 Jun 2008 08:16:54 +0000 (08:16 +0000)]
* MAINTAINERS: Remove myself as m68k maintainer.
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.
amodra [Tue, 10 Jun 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 10 Jun 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
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.
kkojima [Mon, 9 Jun 2008 22:22:05 +0000 (22:22 +0000)]
* ld-sh/arch/arch_expected.txt: Regenerate.
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.
devans [Mon, 9 Jun 2008 20:43:48 +0000 (20:43 +0000)]
* remote.c (remote_wait): Include beginning of malformed packet
in error output.
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 '->'.
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.
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.