OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
16 years ago * inferiors.c (change_inferior_id): Delete.
drow [Tue, 23 Oct 2007 20:05:03 +0000 (20:05 +0000)]
* inferiors.c (change_inferior_id): Delete.
(add_pid_to_list, pull_pid_from_list): New.
* linux-low.c (PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG)
(PTRACE_O_TRACESYSGOOD, PTRACE_O_TRACEFORK, PTRACE_O_TRACEVFORK)
(PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC, PTRACE_O_TRACEVFORKDONE)
(PTRACE_O_TRACEEXIT, PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK)
(PTRACE_EVENT_CLONE, PTRACE_EVENT_EXEC, PTRACE_EVENT_VFORK_DONE)
(PTRACE_EVENT_EXIT, __WALL): Provide default definitions.
(stopped_pids, thread_db_active, must_set_ptrace_flags): New variables.
(using_threads): Always set to 1.
(handle_extended_wait): New.
(add_process): Do not set TID.
(linux_create_inferior): Set must_set_ptrace_flags.
(linux_attach_lwp): Remove TID argument.  Do not check using_threads.
Use PTRACE_SETOPTIONS.  Call new_thread_notify.  Update all callers.
(linux_thread_alive): Rename TID argument to LWPID.
(linux_wait_for_process): Handle unknown processes.  Do not use TID.
(linux_wait_for_event): Do not use TID or check using_threads.  Update
call to dead_thread_notify.  Call handle_extended_wait.
(linux_create_inferior): Use PTRACE_SETOPTIONS.
(send_sigstop): Delete sigstop_sent.
(wait_for_sigstop): Avoid TID.
(linux_supports_tracefork_flag, linux_tracefork_child, my_waitpid)
(linux_test_for_tracefork): New.
(linux_lookup_signals): Use thread_db_active and
linux_supports_tracefork_flag.
(initialize_low): Use thread_db_active and linux_test_for_tracefork.
* linux-low.h (get_process_thread): Avoid TID.
(struct process_ifo): Move thread_known and tid to the end.  Remove
sigstop_sent.
(linux_attach_lwp, thread_db_init): Update prototypes.
* server.h (change_inferior_id): Delete prototype.
(add_pid_to_list, pull_pid_from_list): New prototypes.
* thread-db.c (thread_db_use_events): New.
(find_first_thread): Rename to...
(find_one_thread): ...this.  Update callers and messages.  Do not
call fatal.  Check thread_db_use_events.  Do not call
change_inferior_id or new_thread_notify.
(maybe_attach_thread): Update.  Do not call new_thread_notify.
(thread_db_init): Set thread_db_use_events.  Check use_events.
* utils.c (fatal, warning): Correct message prefix.

16 years ago2007-10-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 23 Oct 2007 19:50:28 +0000 (19:50 +0000)]
2007-10-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
        size if output buffer is NULL.

16 years ago * cygheap.h (struct cwdstuff): Drop hash member. Drop get_hash,
corinna [Tue, 23 Oct 2007 16:26:27 +0000 (16:26 +0000)]
* cygheap.h (struct cwdstuff): Drop hash member.  Drop get_hash,
get_initial, and fixup_after_exec declarations.
Convert win32 to UNICODE_STRING.
(cwdstuff::get_drive): Convert win32 path in current codepage.
(cwdstuff::set): Take native NT path.
* ntdll.h (struct _TEB): Typedef.
* path.cc (mount_info::conv_to_posix_path): Add variant taking
wide char DOS paths.
(symlink_info::posixify): Simplify concatenating cwd and relative path.
(hash_path_name): Drop special relative path handling.
(chdir): Drop special "drive only" handling.  Call cwdstuff::set with
native path.
(cwdstuff::get_hash): Remove.
(windows_system_directory): Remove.
(_upp): Remove.
(get_user_proc_parms): Make inline.  Get PEB pointer by calling
NtCurrentTeb.
(cwdstuff::init): Simplify.
(cwdstuff::set): Rework to handle incoming native NT path.  Workaround
a Vista problem with CWD handle in the user process parameter block.
(cwdstuff::get): Simplify locking.  Accommodate type change of win32.
* shared_info.h (mount_info): Add declaration for new conv_to_posix_path
method.
* strfuncs.cc (sys_wcstombs): Return correct length of created
multi-byte string.

16 years ago2007-10-23 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
drow [Tue, 23 Oct 2007 13:11:45 +0000 (13:11 +0000)]
2007-10-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>

* mips-tdep.c (LL_OPCODE, LLD_OPCODE, SC_OPCODE, SCD_OPCODE): Define.
(deal_with_atomic_sequence): New.
(mips_software_single_step): Use it.

16 years ago * elf64-ppc.c (ppc_build_one_stub): Don't duplicate relocs
amodra [Tue, 23 Oct 2007 12:54:16 +0000 (12:54 +0000)]
* elf64-ppc.c (ppc_build_one_stub): Don't duplicate relocs
emitted for ".brlt" entries.
(toc_adjusting_stub_needed): Don't treat ".fixup" specially here..
(ppc64_elf_next_input_section): ..instead do so here.

16 years ago PR gdb/2336
drow [Tue, 23 Oct 2007 12:34:11 +0000 (12:34 +0000)]
PR gdb/2336

* Makefile.def (dependencies): Make configure-gdb depend on
all-intl.
* Makefile.in: Regenerated.

* configure.ac: Modify $LIBINTL before the BFD check.
* configure: Regenerated.

16 years ago * buildsym.c (free_pending_blocks): Remove commented-out code.
brobecke [Tue, 23 Oct 2007 12:04:57 +0000 (12:04 +0000)]
    * buildsym.c (free_pending_blocks): Remove commented-out code.
        (make_blockvector): Likewise. Re-use free_pending_blocks.
        (end_symtab): Remove commented-out code.

16 years agoAdd support for PT_GNU_STACK.
iant [Tue, 23 Oct 2007 05:05:48 +0000 (05:05 +0000)]
Add support for PT_GNU_STACK.

16 years agodaily update
amodra [Tue, 23 Oct 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Tue, 23 Oct 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agoFix versions of copied symbols.
iant [Mon, 22 Oct 2007 23:08:22 +0000 (23:08 +0000)]
Fix versions of copied symbols.

16 years agosim/mips/
rsandifo [Mon, 22 Oct 2007 20:02:25 +0000 (20:02 +0000)]
sim/mips/
* mips.igen (check_fmt_p): Provide a separate mips32r2 definition
that unconditionally allows fmt_ps.
(ALNV.PS, CEIL.L.fmt, CVT.L.fmt, CVT.PS.S, CVT.S.PL, CVT.S.PU)
(FLOOR.L.fmt, LWXC1, MADD.fmt, MSUB.fmt, NMADD.fmt, NMSUB.fmt)
(PLL.PS, PLU.PS, PUL.PS, PUU.PS, ROUND.L.fmt, TRUNC.L.fmt): Change
filter from 64,f to 32,f.
(PREFX): Change filter from 64 to 32.
(LDXC1, LUXC1): Provide separate mips32r2 implementations
that use do_load_double instead of do_load.  Make both LUXC1
versions unpredictable if SizeFGR () != 64.
(SDXC1, SUXC1): Extend to mips32r2, using do_store_double
instead of do_store.  Remove unused variable.  Make both SUXC1
versions unpredictable if SizeFGR () != 64.

16 years ago2007-10-22 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 22 Oct 2007 19:22:00 +0000 (19:22 +0000)]
2007-10-22  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (prefix_table): Reordered by opcode.
(mod_table): Likewise.

16 years agoImplement -Bstatic/-Bdynamic.
iant [Mon, 22 Oct 2007 18:04:43 +0000 (18:04 +0000)]
Implement -Bstatic/-Bdynamic.

16 years agoCorrect locking if a file could not be opened.
iant [Mon, 22 Oct 2007 18:02:36 +0000 (18:02 +0000)]
Correct locking if a file could not be opened.

16 years ago * sim/cris/asm/testutils.inc (test_move_cc): Add missing call to
hp [Mon, 22 Oct 2007 16:49:25 +0000 (16:49 +0000)]
* sim/cris/asm/testutils.inc (test_move_cc): Add missing call to
test_cc.
* sim/cris/asm/asr.ms: Correct expected condition code flags.
* sim/cris/asm/boundr.ms: Ditto.
* sim/cris/asm/dstep.ms: Ditto.
* sim/cris/asm/lsr.ms: Ditto.
* sim/cris/asm/movecr.ms: Ditto.
* sim/cris/asm/mover.ms: Ditto.
* sim/cris/asm/neg.ms: Ditto.  Use test_cc, not test_move_cc.
* sim/cris/asm/op3.ms: Check the condition code flags after the insn
under test.
* sim/cris/asm/movecrt10.ms: Update expected number of simulated
cycles.
* sim/cris/asm/movecrt32.ms: Ditto.
* sim/cris/asm/jsr.ms: Don't use local label 8.
* sim/cris/asm/nonvcv32.ms: New test.

16 years ago * top.c (command_loop): Fix output for shrinkage.
drow [Mon, 22 Oct 2007 16:11:13 +0000 (16:11 +0000)]
* top.c (command_loop): Fix output for shrinkage.

16 years ago * cp-name-parser.y (exp1): Add & ( var ) as a reference expression.
drow [Mon, 22 Oct 2007 16:07:12 +0000 (16:07 +0000)]
* cp-name-parser.y (exp1): Add & ( var ) as a reference expression.
(exp): Remove and document function-like casts.

16 years ago * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
hp [Mon, 22 Oct 2007 16:06:38 +0000 (16:06 +0000)]
* cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
cris/semcrisv32f-switch.c: Regenerate.

16 years ago * cris.cpu (movs, movu): Use result of extension operation when
hp [Mon, 22 Oct 2007 16:04:43 +0000 (16:04 +0000)]
* cris.cpu (movs, movu): Use result of extension operation when
updating flags.

16 years ago * cp-support.c: Include "safe-ctype.h".
drow [Mon, 22 Oct 2007 14:37:35 +0000 (14:37 +0000)]
* cp-support.c: Include "safe-ctype.h".
(cp_already_canonical): New function.
(cp_canonicalize_string): Use it.  Return NULL for already canonical
strings.
(mangled_name_to_comp): Update call to cp_demangled_name_to_comp.
(cp_func_name, remove_params): Likewise.
(cp_find_first_component_aux): Use ISSPACE.
* cp-support.h (cp_demangled_name_to_comp): Correct comment.  Remove
MEMORY_P argument.
* cp-name-parser.y (ALLOC_CHUNK): Define.
(struct demangle_info): Add PREV and NEXT.  Increase the size of
COMPS.
(d_grab): Convert to a function.
(allocate_info): Rewrite.
(cp_demangled_name_to_comp): Remove MEMORY argument.  Do not use
strlen.  Update call to allocate_info.  Do not free it on failure.
(main): Update calls to cp_demangled_name_to_comp.
* Makefile.in (cp-support.o): Update.

16 years ago * gdbarch.texi (Compiler Characteristics): Move documentation
uweigand [Mon, 22 Oct 2007 14:25:12 +0000 (14:25 +0000)]
* gdbarch.texi (Compiler Characteristics): Move documentation
of set_gdbarch_sofun_address_maybe_missing back to ...
(Target Conditionals): ... here to fix build break.

16 years ago2007-10-22 Markus Deuling <deuling@de.ibm.com>
uweigand [Mon, 22 Oct 2007 14:13:19 +0000 (14:13 +0000)]
2007-10-22  Markus Deuling  <deuling@de.ibm.com>

* std-regs.c (value_of_builtin_frame_fp_reg)
value_of_builtin_frame_pc_reg, value_of_builtin_frame_sp_reg)
value_of_builtin_frame_ps_reg): Use get_frame_arch to get at the
current architecture by frame_info.

16 years ago2007-10-22 Markus Deuling <deuling@de.ibm.com>
uweigand [Mon, 22 Oct 2007 14:11:10 +0000 (14:11 +0000)]
2007-10-22  Markus Deuling  <deuling@de.ibm.com>

* reggroups.c (default_register_reggroup_p): Replace current_gdbarch
by gdbarch.

16 years ago2007-10-22 Markus Deuling <deuling@de.ibm.com>
uweigand [Mon, 22 Oct 2007 14:09:16 +0000 (14:09 +0000)]
2007-10-22  Markus Deuling  <deuling@de.ibm.com>

* infcmd.c (default_print_registers_info, print_return_value)
(print_vector_info, print_float_info): Replace current_gdbarch by
gdbarch.
(registers_info): Use get_frame_arch to get at the current
architecture by frame_info.

16 years ago2007-10-22 Markus Deuling <deuling@de.ibm.com>
uweigand [Mon, 22 Oct 2007 14:04:42 +0000 (14:04 +0000)]
2007-10-22  Markus Deuling  <deuling@de.ibm.com>

* i387-tdep.c (i387_collect_fsave, i387_collect_fxsave): Use
get_regcache_arch to get at the current architecture by regcache.

16 years ago2007-10-22 Markus Deuling <deuling@de.ibm.com>
uweigand [Mon, 22 Oct 2007 14:03:36 +0000 (14:03 +0000)]
2007-10-22  Markus Deuling  <deuling@de.ibm.com>

* target.c (debug_print_register): Use get_regcache_arch to get at the
current architecture by regcache.

16 years ago * dwarf2read.c (read_file_scope): Add a comment.
drow [Mon, 22 Oct 2007 03:01:00 +0000 (03:01 +0000)]
* dwarf2read.c (read_file_scope): Add a comment.
(dwarf2_add_field, dwarf2_add_member_fn, read_structure_type)
(read_enumeration_type, process_enumeration_scope, read_array_type)
(read_typedef, read_base_type, read_subrange_type)
(read_unspecified_type): Use dwarf2_name.

16 years ago * coffread.c (coff_symfile_finish): Call dwarf2_free_objfile.
drow [Mon, 22 Oct 2007 01:16:31 +0000 (01:16 +0000)]
* coffread.c (coff_symfile_finish): Call dwarf2_free_objfile.
* dwarf2read.c (dwarf2_free_objfile): New.
* elfread.c (elf_symfile_finish): Call dwarf2_free_objfile.
* symfile.h (dwarf2_free_objfile): Declare.

16 years ago*** empty log message ***
gdbadmin [Mon, 22 Oct 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * hppa-hpux-nat.c (hppa_hpux_store_register): Add missing semi-colon.
brobecke [Mon, 22 Oct 2007 00:00:06 +0000 (00:00 +0000)]
    * hppa-hpux-nat.c (hppa_hpux_store_register): Add missing semi-colon.

16 years agodaily update
amodra [Mon, 22 Oct 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * rs6000-tdep.c (ppc_dwarf2_frame_init_reg): New function.
luisgpm [Sun, 21 Oct 2007 20:04:45 +0000 (20:04 +0000)]
* rs6000-tdep.c (ppc_dwarf2_frame_init_reg): New function.
      (rs6000_gdbarch_init): Install ppc_dwarf2_frame_init_reg as
      default dwarf2_frame_set_init_reg function.

16 years ago * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
uweigand [Sun, 21 Oct 2007 12:28:00 +0000 (12:28 +0000)]
* gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
compiling test case with GCC.
* gdb.arch/altivec-regs.exp (compile_flags): Likewise.

16 years ago * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
uweigand [Sun, 21 Oct 2007 12:24:33 +0000 (12:24 +0000)]
* gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
format changes.

16 years ago * NEWS: Mention native MinGW configuration.
palves [Sun, 21 Oct 2007 10:27:49 +0000 (10:27 +0000)]
* NEWS: Mention native MinGW configuration.

16 years agodaily update
amodra [Sun, 21 Oct 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sun, 21 Oct 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years agoFrom Craig Silverstein: add cast to avoid warning.
iant [Sat, 20 Oct 2007 04:35:43 +0000 (04:35 +0000)]
From Craig Silverstein: add cast to avoid warning.

16 years agoFrom Craig Silverstein: handle PLT32 relocs against local symbols for
iant [Sat, 20 Oct 2007 04:33:21 +0000 (04:33 +0000)]
From Craig Silverstein: handle PLT32 relocs against local symbols for
x86_64.

16 years agoHandle PLT32 against local symbols.
iant [Sat, 20 Oct 2007 00:33:31 +0000 (00:33 +0000)]
Handle PLT32 against local symbols.

16 years agodaily update
amodra [Sat, 20 Oct 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sat, 20 Oct 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agoAdd wide string constant test.
iant [Fri, 19 Oct 2007 23:38:40 +0000 (23:38 +0000)]
Add wide string constant test.

16 years agoFix handling of wide string merge sections.
iant [Fri, 19 Oct 2007 23:33:37 +0000 (23:33 +0000)]
Fix handling of wide string merge sections.

16 years ago2007-10-19 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 19 Oct 2007 23:24:00 +0000 (23:24 +0000)]
2007-10-19  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (prefix_table): Use XS on psrldq and pslldq.

16 years agoAdd MN10300 linker relaxation support for symbol differences
nickc [Fri, 19 Oct 2007 17:31:18 +0000 (17:31 +0000)]
Add MN10300 linker relaxation support for symbol differences

16 years ago * gdbarch.sh: Remove "macro" column of input table. Remove handling
uweigand [Fri, 19 Oct 2007 12:34:38 +0000 (12:34 +0000)]
* gdbarch.sh: Remove "macro" column of input table.  Remove handling
of "macro" column throughout the file.  Remove (empty) "macro" entry
of all gdbarch functions.

16 years ago * gdbarch.sh (sofun_address_maybe_missing): New gdbarch variable.
uweigand [Fri, 19 Oct 2007 12:26:30 +0000 (12:26 +0000)]
* gdbarch.sh (sofun_address_maybe_missing): New gdbarch variable.
* gdbarch.c, gdbarch.h: Regenerate.
* dbxread.c (find_stab_function_addr): Define unconditionally.
(read_dbx_symtab): Use gdbarch_sofun_address_maybe_missing
instead of SOFUN_ADDRESS_MAYBE_MISSING.
(end_psymtab): Likewise.
(process_one_symbol): Likewise.
* mdebugread.c (parse_partial_symbols): Likewise.

* symtab.h (struct minimal_symbol): Always define "filename" member.
* elfread.c (elf_symtab_read): Use msym->filename unconditionally.
* minsyms.c (lookup_minimal_symbol): Likewise.
* symmisc.c (dump_msymbols): Likewise.

* config/i386/i386sol2.mt (DEPRECATED_TM_FILE): Remove.
* config/i386/linux.mt (DEPRECATED_TM_FILE): Remove.
* config/i386/tm-i386sol2.h: Remove file.
* config/i386/tm-linux.h: Remove file.
* i386-linux-tdep.c (i386_linux_init_abi): Add call to
set_gdbarch_sofun_address_maybe_missing.
* i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.

* config/powerpc/linux.mt (DEPRECATED_TM_FILE): Remove.
* config/powerpc/nbsd.mt (DEPRECATED_TM_FILE): Remove.
* config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Remove.
* config/powerpc/ppc-eabi.mt (DEPRECATED_TM_FILE): Remove.
* config/powerpc/ppc-sim.mt (DEPRECATED_TM_FILE): Remove.
* config/powerpc/tm-ppc-eabi.h: Remove file.
* rs6000-tdep.c (rs6000_gdbarch_init): Add call to
set_gdbarch_sofun_address_maybe_missing.

* config/sparc/sol2-64.mt (DEPRECATED_TM_FILE): Remove.
* config/sparc/sol2.mt (DEPRECATED_TM_FILE): Remove.
* config/sparc/tm-sol2.h: Remove file.
* sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Add call to
set_gdbarch_sofun_address_maybe_missing.
* sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise.

doc/ChangeLog:

* gdbarch.texi (Target Conditionals): Remove documentation of
SOFUN_ADDRESS_MAYBE_MISSING, replaced by ...
(Compiler Characteristics): ... documentation of
set_gdbarch_sofun_address_maybe_missing.

16 years ago * gdbarch.sh (static_transform_name): New gdbarch callback.
uweigand [Fri, 19 Oct 2007 12:23:18 +0000 (12:23 +0000)]
* gdbarch.sh (static_transform_name): New gdbarch callback.
* gdbarch.c, gdbarch.h: Regenerate.
* dbxread.c (read_dbx_symtab): Use gdbarch_static_transform_name
instead of STATIC_TRANSFORM_NAME.
* mdebugread.c (parse_partial_symbols): Likewise.
* stabsread.c (define_symbol): Likewise.
* xcoffread.c (scan_xcoff_symtab): Likewise.

* config/i368/tm-i386sol2.h (STATIC_TRANSFORM_NAME): Remove.
(IS_STATIC_TRANSFORM_NAME): Remove.
* i386-tdep.c (sunpro_static_transform_name): Remove, move to ...
* i386-sol2-tdep.c (i386_sol2_static_transform_name): ... here.
(i386_sol2_init_abi): Install it.

* config/sparc/tm-sol2.h (STATIC_TRANSFORM_NAME): Remove.
(IS_STATIC_TRANSFORM_NAME): Remove.
* sparc-tdep.c (sparc_stabs_unglobalize_name): Remove, move to ...
* sparc-sol2-tdep.c (sparc_sol2_static_transform_name): ... here.
(sparc32_sol2_init_abi): Install it.
* sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise.
* sparc-tdep.h (sparc_sol2_static_transform_name): Add prototype.

16 years ago * fhandler_disk_file.cc (__DIR_mounts::eval_ino): Make fname big enough
corinna [Fri, 19 Oct 2007 12:22:48 +0000 (12:22 +0000)]
* fhandler_disk_file.cc (__DIR_mounts::eval_ino): Make fname big enough
to allow multibyte chars.

16 years ago* elf-m10300.c: Convert to ISO C.
nickc [Fri, 19 Oct 2007 11:48:56 +0000 (11:48 +0000)]
* elf-m10300.c: Convert to ISO C.
* tc-mn10300.c: Convert to ISO C.

16 years ago * config/tc-ppc.c (ppc_parse_name): Skip leading '%'.
amodra [Fri, 19 Oct 2007 10:48:17 +0000 (10:48 +0000)]
* config/tc-ppc.c (ppc_parse_name): Skip leading '%'.
(md_assemble): When parsing PPC_OPERAND_CR, add '%' to set of
chars that can start a name.

16 years ago*** empty log message ***
gdbadmin [Fri, 19 Oct 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Fri, 19 Oct 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agoAdd support for -Bsymbolic.
iant [Thu, 18 Oct 2007 23:20:53 +0000 (23:20 +0000)]
Add support for -Bsymbolic.

16 years agoRework section mapping algorithm to handle .data.rel.ro sections.
iant [Thu, 18 Oct 2007 19:56:12 +0000 (19:56 +0000)]
Rework section mapping algorithm to handle .data.rel.ro sections.

16 years agoCorrectly handle alignment in merge sections.
iant [Thu, 18 Oct 2007 17:46:22 +0000 (17:46 +0000)]
Correctly handle alignment in merge sections.

16 years ago * mips-tdep.c (mips_xfer_register): Take a gdbarch argument.
drow [Thu, 18 Oct 2007 15:25:40 +0000 (15:25 +0000)]
* mips-tdep.c (mips_xfer_register): Take a gdbarch argument.
(mips_n32n64_return_value, mips_o32_return_value)
(mips_o64_return_value): Update calls to mips_xfer_register.

16 years agogas/
carlos [Thu, 18 Oct 2007 13:33:56 +0000 (13:33 +0000)]
gas/

2007-10-18  Carlos O'Donell  <carlos@systemhalted.org>

* config/tc-hppa.c (pa_ip): Fix comment typo.
(pa_comm): Likewise.

16 years agoPR gas/5172
nickc [Thu, 18 Oct 2007 13:03:08 +0000 (13:03 +0000)]
PR gas/5172
* config/tc-arc.c (md_estimate_size_before_relax): Change error message.
  (md_convert_frag): Just call abort.
* config/tc-i860.c (md_estimate_size_before_relax): Change error message.
* config/tc-i860.h (md_convert_frag): Just call abort.
* config/tc-ip2k.c (md_estimate_size_before_relax): Change error message.
  (md_convert_frag): Just call abort.
* config/tc-m68k.c (m68k_ip): Do not attempt translation of architecture names.

16 years ago * fhandler.cc (fhandler_base::open): Open native symlinks with
corinna [Thu, 18 Oct 2007 12:40:25 +0000 (12:40 +0000)]
* fhandler.cc (fhandler_base::open): Open native symlinks with
FILE_OPEN_REPARSE_POINT flag.  Fix typo in comment.

16 years agoPR gas/5174
nickc [Thu, 18 Oct 2007 11:49:33 +0000 (11:49 +0000)]
PR gas/5174
* config/tc-arm.c: Fix formatting and spelling errors.
* gas.pot: Regenerate.

16 years agoPR gas/5175
nickc [Thu, 18 Oct 2007 11:01:23 +0000 (11:01 +0000)]
PR gas/5175
* config/tc-xc16x.c: Fix formatting and internationalization.
* gas.pot: Regenerate.

16 years ago * include/sys/param.h (MAXPATHLEN): Define as PATH_MAX.
corinna [Thu, 18 Oct 2007 10:42:43 +0000 (10:42 +0000)]
* include/sys/param.h (MAXPATHLEN): Define as PATH_MAX.

16 years ago2007-10-18 Michael Snyder <msnyder@specifix.com>
msnyder [Thu, 18 Oct 2007 10:05:44 +0000 (10:05 +0000)]
2007-10-18  Michael Snyder  <msnyder@specifix.com>

* gdb.base/dbx.exp: Add missing "-re " operator.

16 years ago.
roland [Thu, 18 Oct 2007 09:57:07 +0000 (09:57 +0000)]
.

16 years ago2007-10-18 Roland McGrath <roland@redhat.com>
roland [Thu, 18 Oct 2007 09:57:04 +0000 (09:57 +0000)]
2007-10-18  Roland McGrath  <roland@redhat.com>

* common.h (NT_PPC_VMX): New macro.

16 years ago PR ld/4424
amodra [Thu, 18 Oct 2007 09:13:50 +0000 (09:13 +0000)]
PR ld/4424
* config.bfd (targ_selvecs): Add bfd_elf64_alpha_vec for
alpha/FreeBSD.  Add bfd_elf64_sparc_vec for sparc64/FreeBSD.
Add bfd_elf32_i386_vec and bfd_efi_app_ia32_vec for i386/FreeBSD.
(targ64_selvecs): Set for i386/FreeBSD.
* elf-bfd.h (elf_backend_data): Add relocs_compatible.
(_bfd_elf_default_relocs_compatible): Declare.
(_bfd_elf_relocs_compatible): Declare.
* elfxx-target.h (elf_backend_relocs_compatible): Define.
(elfNN_bed): Init new relocs_compatible field.
* elflink.c (_bfd_elf_default_relocs_compatible): New function.
(_bfd_elf_relocs_compatible): New function.
(elf_link_add_object_symbols): Call bed->relocs_compatible.
* elf32-i386.c (elf_backend_relocs_compatible): Define.
* elf64-alpha.c: Likewise.
* elf64-sparc.c: Likewise.
* elf64-x86-64.c: Likewise.

16 years ago2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 18 Oct 2007 00:03:32 +0000 (00:03 +0000)]
2007-10-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/mathfp/s_logarithm.c: Fix error introduced by previous
        fix when handling negative input values.  Make function
        consistent with math directory and glibc version such that
        inf and nan values return inf and nan respectively with no
        errno setting.
        * libm/mathfp/sf_logarithm.c: Ditto.
        * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
        * libm/math/wf_log.c: Ditto.
        * libm/math/w_log10.c: Ditto.
        * libm/math/wf_log10.c: Ditto.

16 years ago*** empty log message ***
gdbadmin [Thu, 18 Oct 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Thu, 18 Oct 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 17 Oct 2007 20:14:49 +0000 (20:14 +0000)]
2007-10-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
        return -inf.
        * libm/mathfp/sf_logarithm.c: Ditto.

16 years agoFix typo.
jjohnstn [Wed, 17 Oct 2007 19:36:43 +0000 (19:36 +0000)]
Fix typo.

16 years ago2007-10-17 Zack Weinberg <zack@codesourcery.com>
drow [Wed, 17 Oct 2007 19:26:10 +0000 (19:26 +0000)]
2007-10-17  Zack Weinberg  <zack@codesourcery.com>

* ldlang.c (lang_check_section_addresses): Also report size of
overflow for any overflowed memory regions.
(os_region_check): Diagnose an overflowed region only once per
region.  Do not reset region->current on overflow.

2007-10-17  Zack Weinberg  <zack@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>
    Mark Shinwell  <shinwell@codesourcery.com>
    Joseph Myers  <joseph@codesourcery.com>

* ld-scripts/rgn-over.exp: New driver.
* ld-scripts/rgn-over.s: New file.
* ld-scripts/rgn-over1.d, ld-scripts/rgn-over1.t,
ld-scripts/rgn-over2.d, ld-scripts/rgn-over2.t,
ld-scripts/rgn-over3.d, ld-scripts/rgn-over3.t,
ld-scripts/rgn-over4.d, ld-scripts/rgn-over4.t,
ld-scripts/rgn-over5.d, ld-scripts/rgn-over5.t,
ld-scripts/rgn-over6.d, ld-scripts/rgn-over6.t,
ld-scripts/rgn-over7.d, ld-scripts/rgn-over7.t:
New test cases.

16 years ago2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 17 Oct 2007 19:21:32 +0000 (19:21 +0000)]
2007-10-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/i386/machine/fastmath.h: New file.

16 years agoRemove duplicate definitions of the md_atof() function
nickc [Wed, 17 Oct 2007 16:45:53 +0000 (16:45 +0000)]
Remove duplicate definitions of the md_atof() function

16 years ago opcodes/
nathan [Wed, 17 Oct 2007 13:44:08 +0000 (13:44 +0000)]
opcodes/
* m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for
coldfire.

gas/testsuite/
* gas/m68k/mcf-movsr.s: New.
* gas/m68k/mcf-movsr.d: New.
* gas/m68k/all.exp: Add mcf-movsr test.

16 years ago * frame.c (frame_unwind_unsigned_register): Delete.
drow [Wed, 17 Oct 2007 13:36:42 +0000 (13:36 +0000)]
* frame.c (frame_unwind_unsigned_register): Delete.
(frame_sp_unwind): Use frame_unwind_register_unsigned instead.
* frame.h (frame_unwind_unsigned_register): Delete prototype.

* alpha-linux-tdep.c, alpha-mdebug-tdep.c, alpha-tdep.c,
avr-tdep.c, cris-tdep.c, frv-tdep.c, m68hc11-tdep.c, mn10300-tdep.c,
mt-tdep.c: Replace frame_unwind_unsigned_register with
frame_unwind_register_unsigned.

* gdbint.texinfo (Target Conditionals): Use
frame_unwind_register_unsigned in examples instead of
frame_unwind_unsigned_register.

16 years agoAdd infrastructure for threading support.
iant [Wed, 17 Oct 2007 06:24:50 +0000 (06:24 +0000)]
Add infrastructure for threading support.

16 years ago * elf32-xtensa.c (relax_section): Check for a reference to a discarded
bwilson [Wed, 17 Oct 2007 00:30:30 +0000 (00:30 +0000)]
* elf32-xtensa.c (relax_section): Check for a reference to a discarded
DWARF section and anticipate its replacement with the kept section.

16 years agodaily update
amodra [Wed, 17 Oct 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Wed, 17 Oct 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * elf32-xtensa.c (elf_xtensa_discard_info_for_section): Remove
bwilson [Tue, 16 Oct 2007 23:57:24 +0000 (23:57 +0000)]
* elf32-xtensa.c (elf_xtensa_discard_info_for_section): Remove
unnecessary size variables.  Set sec->rawsize.
(relax_section, relax_property_section): Likewise.

16 years ago * section.c (struct bfd_section): Clarify comment for rawsize field.
bwilson [Tue, 16 Oct 2007 23:51:54 +0000 (23:51 +0000)]
* section.c (struct bfd_section): Clarify comment for rawsize field.
* bfd-in2.h: Regenerate.

16 years agoFrom Cary Coutant: preliminary shared library support.
iant [Tue, 16 Oct 2007 23:23:08 +0000 (23:23 +0000)]
From Cary Coutant: preliminary shared library support.

16 years agoFrom Craig Silverstein: check that we get environ right.
iant [Tue, 16 Oct 2007 23:09:45 +0000 (23:09 +0000)]
From Craig Silverstein: check that we get environ right.

16 years agoFrom Craig Silverstein: implement -Ttext.
iant [Tue, 16 Oct 2007 22:38:35 +0000 (22:38 +0000)]
From Craig Silverstein: implement -Ttext.

16 years ago * doc/binutils.texi (objcopy, strip): Replace hyphens with em-dashes.
bwilson [Tue, 16 Oct 2007 19:01:47 +0000 (19:01 +0000)]
* doc/binutils.texi (objcopy, strip): Replace hyphens with em-dashes.
(objdump, strip, c++filt): Correct punctuation for "e.g." and "i.e."
and change to spell out "for example" in two places.

16 years ago * config/i386/mingw.mh, config/i386/mingw.mt: New files.
palves [Tue, 16 Oct 2007 18:43:24 +0000 (18:43 +0000)]
* config/i386/mingw.mh, config/i386/mingw.mt: New files.
* configure.tgt (i[34567]86-*-mingw32*): Set gdb_target = mingw.
* win32-nat.c: Only include cygwin.h on Cygwin host.  Don't
include procfs.h.
(cygwin_load_start, cygwin_load_end, cygwin_exceptions): Disable
if not building on Cygwin.
(win32_make_so, handle_output_debug_string, handle_exception)
(do_initial_win32_stuff): Wrap Cygwin specific code in __CYGWIN__.
(win32_attach): Only fallback to Cygwin pids if building on
Cygwin.
(win32_pid_to_exec_file): Disable Cygwin specific code, if not
building on Cygwin.
(win32_create_inferior): Disable starting the inferior through a
shell, environment var processing and tty handling if not building
on Cygwin.
(cygwin_pid_to_str): Rename to ...
(win32_pid_to_str): ... this.
(init_win32_ops): Update use of win32_pid_to_str.  Disable "shell"
and "cygwin-exceptions" commands if not building on Cygwin.

16 years ago * doc/as.texinfo (Overview): Add Xtensa --rename-section option.
bwilson [Tue, 16 Oct 2007 18:33:09 +0000 (18:33 +0000)]
* doc/as.texinfo (Overview): Add Xtensa --rename-section option.

16 years ago* doc/gdb.texinfo: Add TSIZE definition, removed
gaius [Tue, 16 Oct 2007 17:36:50 +0000 (17:36 +0000)]
* doc/gdb.texinfo:  Add TSIZE definition, removed
statement about unbounded arrays being unimplemented.
* m2-valprint.c (m2_print_array_contents):  New function.
(m2_print_unbounded_array):  New function.
(m2_print_array_contents):  New function.
* m2-typeprint.c (m2_unbounded_array):  New function.
(m2_is_unbounded_array):  New function.
(m2_print_type):  Test for unbounded array when walking
across structs.
* m2-lang.h:  Added extern m2_is_unbounded_array.
* m2-lang.c (evaluate_subexp_modula2):  New function.
(exp_descriptor_modula2):  New structure.
(m2_language_defn):  Use exp_descriptor_modula2.
* m2-exp.y:  Added TSIZE and binary subscript.

16 years ago* configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
gaius [Tue, 16 Oct 2007 17:28:56 +0000 (17:28 +0000)]
* configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
* configure.ac: Removed trailing spaces after backslash.
* gdb.modula2: New directory.
* gdb.modula2/Makefile.in: New file.
* gdb.modula2/unbounded-array.exp: New file.
* gdb.modula2/unbounded1.c: New file.

16 years ago* configure.in: Build windows tools for --enable-targets=all.
nickc [Tue, 16 Oct 2007 16:05:41 +0000 (16:05 +0000)]
* configure.in: Build windows tools for --enable-targets=all.
* configure: Regenerate.

16 years ago * elflink.c (_bfd_elf_check_kept_section): Use the section rawsize
bwilson [Tue, 16 Oct 2007 15:51:38 +0000 (15:51 +0000)]
* elflink.c (_bfd_elf_check_kept_section): Use the section rawsize
values if they are set.

16 years agoPR 5146
nickc [Tue, 16 Oct 2007 15:15:50 +0000 (15:15 +0000)]
PR 5146
* configure.in (AC_CHECK_HEADERS): Add alloca.h
* configure: Regenerate.
* config.in: Regenerate.
* som.c: Replace alloca-conf.h inclusion with code recommended in autoconf documentation.
* elf64-hppa.c: Likewise.

16 years agoSupport the use of the STT_COMMON type. (In source and object files only at the...
nickc [Tue, 16 Oct 2007 14:42:13 +0000 (14:42 +0000)]
Support the use of the STT_COMMON type.  (In source and object files only at the moment)

16 years ago * mi/mi-main.c (captured_mi_execute_command): Clear mi_error_message
drow [Tue, 16 Oct 2007 11:55:16 +0000 (11:55 +0000)]
* mi/mi-main.c (captured_mi_execute_command): Clear mi_error_message
after freeing it.

16 years ago* tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls.
macro [Tue, 16 Oct 2007 10:45:50 +0000 (10:45 +0000)]
* tls.m4 (GCC_CHECK_TLS): Rename have_tls to gcc_cv_have_tls.
(GCC_CHECK_CC_TLS): Rename have_cc_tls to gcc_cv_have_cc_tls.

16 years ago * m32r-tdep.c (decode_prologue): Sign extend offset for
kevinb [Tue, 16 Oct 2007 06:39:30 +0000 (06:39 +0000)]
* m32r-tdep.c (decode_prologue): Sign extend offset for
"addi sp, xx" case.
(m32r_frame_unwind_cache): Likewise.