deliverable/binutils-gdb.git
16 years ago2007-10-25 Wu Zhou <woodzltc@cn.ibm.com>
Thiago Jung Bauermann [Thu, 25 Oct 2007 18:01:58 +0000 (18:01 +0000)] 
2007-10-25  Wu Zhou  <woodzltc@cn.ibm.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

* c-exp.y (YYSTYPE): Add typed_val_decfloat for decimal
floating point in YYSTYPE union.
(DECFLOAT) Add token and expression element handling code.
(parse_number): Parse DFP constants, which end with suffix 'df',
'dd' or 'dl'.  Return DECFLOAT.
* eval.c (evaluate_subexp_standard): Call value_from_decfloat to
handle OP_DECFLOAT.
* expression.h (enum exp_opcode): Add an opcode (OP_DECFLOAT)
for DFP constants.
(union exp_element): Add decfloatconst to represent DFP
elements, which is 16 bytes by default.
* parse.c (write_exp_elt_decfloatcst): New function to write a
decimal float const into the expression.
(operator_length_standard): Set operator length for OP_DECFLOAT
to 4.
* parser-defs.h (write_exp_elt_decfloatcst): Prototype.
* valarith.c (value_neg): Add code to handle the negation
operation of DFP values.
* value.c (value_from_decfloat): New function to get the value
from a decimal floating point.
* value.h (value_from_decfloat): Prototype.

16 years ago2007-10-25 Wu Zhou <woodzltc@cn.ibm.com>
Thiago Jung Bauermann [Thu, 25 Oct 2007 17:57:34 +0000 (17:57 +0000)] 
2007-10-25  Wu Zhou  <woodzltc@cn.ibm.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

* c-lang.c (c_create_fundamental_type): Create fundamental
types for DFP.
* c-typeprint.c (c_type_print_varspec_prefix): Add
TYPE_CODE_DECFLOAT to no prefix needed case.
(c_type_print_varspec_suffix): Add TYPE_CODE_DECFLOAT to no
suffix needed case.
* c-valprint.c (c_val_print): Call print_decimal_floating to
print DFP values.
* dwarf2read.c (read_base_type): Read DW_ATE_decimal_float
attribute code and return TYPE_CODE_DECFLOAT.
(dwarf_base_type): Set dwarf2_fundamental_type for DFP values.
* gdbtypes.c (gdbtypes_post_init): Initialize builtin_decfloat,
builtin_decdouble and builtin_declong.
* gdbtypes.h (enum type_code): Add TYPE_CODE_DECFLOAT as a
type code for DFP.
(FT_DECFLOAT, FT_DBL_PREC_DECFLOAT, FT_EXT_PREC_DECFLOAT): New
types, for decimal floating point.
(FT_NUM_MEMBERS):  Increment, new types added.
(struct builtin_type): Add builtin_decfloat, builtin_decdouble
and builtin_declong.
* valprint.c (print_decimal_floating): New function to print DFP
values.
* value.h (print_decimal_floating): Prototype.

16 years ago2007-10-25 Wu Zhou <woodzltc@cn.ibm.com>
Thiago Jung Bauermann [Thu, 25 Oct 2007 17:52:32 +0000 (17:52 +0000)] 
2007-10-25  Wu Zhou  <woodzltc@cn.ibm.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

* Makefile.in (LIBDECNUMBER_DIR, LIBDECNUMBER, LIBDECNUMBER_SRC
LIBDECNUMBER_CFLAGS): New macros for libdecnumber.
(INTERNAL_CFLAGS_BASE): Add LIBDECNUMBER_CFLAGS in.
(INSTALLED_LIBS): Add -ldecnumber in.
(CLIBS): Add LIBDECNUMBER in.
(decimal128_h, decimal64_h, decimal32_h): New macros for decimal
headers.
(dfp_h): New macros for decimal floating point.
(dfp.o): New target.
(COMMON_OBS): Add dfp.o in.
(c-exp.o): Add dfp_h as dependency.
(valprint.o): Add dfp_h as dependency.
(value.o): Add dfp_h as dependency.
* dfp.h: New header file for decimal floating point support in
GDB.
* dfp.c: New source file for decimal floating point support in
GDB.  Implement decimal_from_string and decimal_to_string based
on libdecnumber API.
* configure.ac: Add AC_C_BIGENDIAN test.
* config.in, configure: Regenerate.

16 years ago * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for
Daniel Jacobowitz [Thu, 25 Oct 2007 15:20:24 +0000 (15:20 +0000)] 
* elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for
Tag_GNU_Power_ABI_Vector.

* readelf.c (display_power_gnu_attribute): Add support for
Tag_GNU_Power_ABI_Vector.

* ppc.h (Tag_GNU_Power_ABI_Vector): New.

* ld-powerpc/attr-gnu-8-1.s, ld-powerpc/attr-gnu-8-11.d,
ld-powerpc/attr-gnu-8-2.s, ld-powerpc/attr-gnu-8-23.d,
ld-powerpc/attr-gnu-8-3.s, ld-powerpc/attr-gnu-8-31.d: New.
* ld-powerpc/powerpc.exp: Run new tests.

16 years ago * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Do not add
Joseph Myers [Thu, 25 Oct 2007 11:38:30 +0000 (11:38 +0000)] 
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Do not add
PT_NULL header when not linking.

16 years agoPR exp/1926
Maciej W. Rozycki [Thu, 25 Oct 2007 11:30:55 +0000 (11:30 +0000)] 
PR exp/1926
* infcmd.c (registers_info): Check for a user register before
calling target's gdbarch_print_registers_info().  If found to be
so, extract the implicit value of user register and call
print_scalar_formatted().
* Makefile.in: (infcmd.o): Add $(user_regs_h).

16 years ago * NEWS: Document status of hppa64-hpux support.
Joel Brobecker [Thu, 25 Oct 2007 05:57:58 +0000 (05:57 +0000)] 
    * NEWS: Document status of hppa64-hpux support.

16 years ago * readelf.c (get_note_type): Handle NT_PPC_VMX.
Alan Modra [Thu, 25 Oct 2007 00:41:16 +0000 (00:41 +0000)] 
* readelf.c (get_note_type): Handle NT_PPC_VMX.

16 years ago * elf.c (elfcore_grok_ppc_vmx): New function.
Alan Modra [Thu, 25 Oct 2007 00:40:34 +0000 (00:40 +0000)] 
* elf.c (elfcore_grok_ppc_vmx): New function.
(elfcore_grok_note): Handle NT_PPC_VMX.
(elfcore_write_ppc_vmx): New function.
* elf-bfd.h (elfcore_write_ppc_vmx): Declare.

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

16 years agodaily update
Alan Modra [Thu, 25 Oct 2007 00:00:04 +0000 (00:00 +0000)] 
daily update

16 years ago * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets): Call
Ulrich Weigand [Wed, 24 Oct 2007 21:22:08 +0000 (21:22 +0000)] 
* solib-svr4.c (set_solib_svr4_fetch_link_map_offsets): Call
set_solib_ops to install SVR4 operations.
(_initialize_svr4_solib): Do not set current_target_so_ops.

* config/i386/i386gnu.mh (NATDEPFILES): Move solib.o, solib-svr4.o ...
* config/i386/i386gnu.mt (TDEPFILES): ... to here.

16 years ago * solib-svr4.c (legacy_svr4_fetch_link_map_offsets_hook): Remove.
Ulrich Weigand [Wed, 24 Oct 2007 21:21:16 +0000 (21:21 +0000)] 
* solib-svr4.c (legacy_svr4_fetch_link_map_offsets_hook): Remove.
(solib_svr4_init): Initialize fetch_link_map_offsets to NULL.
* solib-svr4.h (legacy_svr4_fetch_link_map_offsets_hook): Remove.
* solib-legacy.c: Remove file.

* config/alpha/alpha-linux.mt (TDEPFILES): Remove solib-legacy.o.
* config/arm/linux.mt (TDEPFILES): Likewise.
* config/i386/i386gnu.mh (NATDEPFILES): Likewise.
* config/ia64/linux.mt (TDEPFILES): Likewise.
* config/m32r/linux.mt (TDEPFILES): Likewise.
* config/powerpc/linux.mt (TDEPFILES): Likewise.
* config/s390/s390.mt (TDEPFILES): Likewise.

* alpha-linux-tdep.c (alpha_linux_init_abi): Call
set_solib_svr4_fetch_link_map_offsets.
* i386gnu-tdep.c (i386gnu_init_abi): Likewise.
* ia64-linux-tdep.c (ia64_linux_init_abi): Likewise.

* i386gnu-tdep.c: Include "solib-svr4.h".
* Makefile.in: Update dependencies.

16 years ago * i386-nto-tdep.c: Include "solib.h".
Ulrich Weigand [Wed, 24 Oct 2007 21:18:52 +0000 (21:18 +0000)] 
* i386-nto-tdep.c: Include "solib.h".
(i386nto_init_abi): Use set_solib_ops instead of overwriting
current_target_so_ops members.
* solist.h (TARGET_SO_RELOCATE_SECTION_ADDRESSES): Remove.
(TARGET_SO_FIND_AND_OPEN_SOLIB): Remove.
(TARGET_SO_IN_DYNSYM_RESOLVE_CODE): Remove.
* Makefile.in: Update dependencies.

16 years agoFix last commit.
Ulrich Weigand [Wed, 24 Oct 2007 21:18:19 +0000 (21:18 +0000)] 
Fix last commit.

16 years ago * arm-wince-tdep.c: Include "solib.h" and "solib-target.h".
Ulrich Weigand [Wed, 24 Oct 2007 21:16:30 +0000 (21:16 +0000)] 
* arm-wince-tdep.c: Include "solib.h" and "solib-target.h".
(arm_wince_init_abi): Call set_solib_ops.
* i386-cygwin-tdep.c: Include "solib.h" and "solib-target.h".
(i386_cygwin_init_abi): Call set_solib_ops.
* solib-target.c: Include "solib-target.h".
(solib_target_so_ops): Make global.
(_initialize_solib_target): Do not set current_target_so_ops.
* solib-target.h: New file.
* Makefile.in: Update dependencies.

16 years ago * mips-irix-tdep.c: Include "gdb_string.h", "solib.h", "solib-irix.h".
Ulrich Weigand [Wed, 24 Oct 2007 21:15:35 +0000 (21:15 +0000)] 
* mips-irix-tdep.c: Include "gdb_string.h", "solib.h", "solib-irix.h".
(mips_irix_init_abi): Call set_solib_ops.
* solib-irix.c: Include "solib.h" and "solib-irix.h".
(irix_so_ops): Make global.
(_initialize_irix_solib): Do not set current_target_so_ops.
* solib-irix.h: New file.
* Makefile.in: Update dependencies.

16 years ago * configure.tgt: Remove hppa*64*-*-hpux11* special case.
Ulrich Weigand [Wed, 24 Oct 2007 21:14:17 +0000 (21:14 +0000)] 
* configure.tgt: Remove hppa*64*-*-hpux11* special case.
* config/pa/hppa64.mt: Delete file.
* config/pa/hppahpux.mt (MT_CFLAGS): Remove.
(TDEPFILES): Move somread.o to ...
* config/pa/hpux.mh (NATDEPFILES): ... here.

* configure.ac: Add check for elf_hp.h header.
Search libdl and libxpdl for dlgetmodinfo.
* config.in, configure: Regenerate.
* solib-pa64.c: Conditionalize compilation on #ifdef HAVE_ELF_HP_H
instead of #ifndef PA_SOM_ONLY.  Include "solib.h".
(pa64_solib_select): Take gdbarch instead of tdep argument.  Call
set_solib_ops instead of modifying current_target_so_ops.
* solib-pa64.h (pa64_solib_select): Update prototype.
* solib-som.c: Remove include of "som.h".  Include "solib.h".
(som_solib_select): Take gdbarch instead of tdep argument.  Call
set_solib_ops instead of modifying current_target_so_ops.
* solib-som.h (som_solib_select): Update prototype.
* hppa-hpux-tdep.c (hppa_hpux_som_init_abi): Pass gdbarch instead
of tdep to som_solib_select call.
(hppa_hpux_elf_init_abi): Pass gdbarch instead of tdep to
pa64_solib_select call.
* Makefile.in: Update dependencies.

16 years ago * frv-tdep.c: Include "solib.h".
Ulrich Weigand [Wed, 24 Oct 2007 21:08:23 +0000 (21:08 +0000)] 
* frv-tdep.c: Include "solib.h".
(frv_gdbarch_init): Call set_solib_ops.
* frv-tdep.h (struct target_so_ops): Add forward reference.
(frv_so_ops): Add extern declaration.
* solib-frv.c (frv_so_ops): Make global.
(_initialize_frv_solib): Do not set current_target_so_ops.
* Makefile.in: Update dependencies.

16 years ago * solib.c (solib_global_lookup): Use solib_ops instead of global
Ulrich Weigand [Wed, 24 Oct 2007 21:07:30 +0000 (21:07 +0000)] 
* solib.c (solib_global_lookup): Use solib_ops instead of global
current_target_so_ops.

16 years ago * gdb.texinfo (Files): Correct formatting. Mention Expat
Daniel Jacobowitz [Wed, 24 Oct 2007 21:05:36 +0000 (21:05 +0000)] 
* gdb.texinfo (Files): Correct formatting.  Mention Expat
requirement.
(Requirements for Building GDB): Expand the list of Expat
uses.
(Library List Format, Memory Map Format): Mention Expat.
(Target Descriptions): Update Expat wording.

16 years ago * config/frv/frv.mt (DEPRECATED_TM_FILE): Remove.
Ulrich Weigand [Wed, 24 Oct 2007 21:04:31 +0000 (21:04 +0000)] 
* config/frv/frv.mt (DEPRECATED_TM_FILE): Remove.
* config/frv-tm-frv.h: Delete file.

16 years ago * NEWS: Mention gdbserver support for non-libthread_db operation.
Daniel Jacobowitz [Wed, 24 Oct 2007 20:49:59 +0000 (20:49 +0000)] 
* NEWS: Mention gdbserver support for non-libthread_db operation.

16 years ago * amd64-tdep.c (amd64_convert_register_p): Delete.
Daniel Jacobowitz [Wed, 24 Oct 2007 20:29:14 +0000 (20:29 +0000)] 
* amd64-tdep.c (amd64_convert_register_p): Delete.
(amd64_init_abi): Use i387_convert_register_p.
* alpha-tdep.c (alpha_convert_register_p): Return zero for
eight byte types.
(alpha_register_to_value, alpha_value_to_register): Do not handle
eight byte types.
* i386-tdep.c (i386_convert_register_p): Use i387_convert_register_p.
* i387-tdep.c (i387_convert_register_p): New.
(i387_register_to_value, i387_value_to_register): Update comments.
* i387-tdep.h (i387_convert_register_p): Declare.
* ia64-tdep.c (ia64_convert_register_p): Return zero for
builtin_type_ia64_ext.
(ia64_gdbarch_init): Do not initialize builtin_type_ia64_ext here.
(_initialize_ia64_tdep): Initialize builtin_type_ia64_ext here.
* m68k-tdep.c (m68k_convert_register_p): Return zero for
builtin_type_m68881_ext.
(m68k_register_to_value, m68k_value_to_register): Update comments.

* gdbint.texinfo (Register and Memory Data, Target Conditionals):
Document that gdbarch_convert_register_p should return zero for no-op
conversions.

16 years ago2007-10-24 Nathan Sidwell <nathan@codesourcery.com>
Daniel Jacobowitz [Wed, 24 Oct 2007 20:14:58 +0000 (20:14 +0000)] 
2007-10-24  Nathan Sidwell  <nathan@codesourcery.com>

* target-memory.c (claim_memory): Propagate baton for split memory
requests.

16 years agoUse AC_GNU_SOURCE.
Ian Lance Taylor [Wed, 24 Oct 2007 18:11:23 +0000 (18:11 +0000)] 
Use AC_GNU_SOURCE.

16 years agogas/
H.J. Lu [Wed, 24 Oct 2007 16:45:53 +0000 (16:45 +0000)] 
gas/

2007-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE.
* configure: Regenerated.

gprof/

2007-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE.
* configure: Regenerated.

ld/

2007-10-24  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE.
* configure: Regenerated.

16 years ago2007-10-24 Pedro Alves <pedro_alves@portugalmail.pt>
Daniel Jacobowitz [Wed, 24 Oct 2007 13:57:58 +0000 (13:57 +0000)] 
2007-10-24  Pedro Alves  <pedro_alves@portugalmail.pt>

PR gdb/2341
* sol-thread.c (sol_thread_fetch_registers): Work around gcc 3.4
alias warning bug.

16 years ago * linux-low.c (handle_extended_wait): Handle unexpected signals.
Daniel Jacobowitz [Wed, 24 Oct 2007 13:27:01 +0000 (13:27 +0000)] 
* linux-low.c (handle_extended_wait): Handle unexpected signals.

16 years ago * symtab.c (find_line_symtab): scan through psymtabs
Carlos Eduardo Seo [Wed, 24 Oct 2007 13:25:16 +0000 (13:25 +0000)] 
* symtab.c (find_line_symtab): scan through psymtabs
when exact_match is zero.

16 years agomissed from last commit
Alan Modra [Wed, 24 Oct 2007 04:57:33 +0000 (04:57 +0000)] 
missed from last commit

16 years ago * po/POTFILES.in: Regenerate.
Alan Modra [Wed, 24 Oct 2007 04:57:04 +0000 (04:57 +0000)] 
* po/POTFILES.in: Regenerate.

16 years ago * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
Alan Modra [Wed, 24 Oct 2007 04:56:48 +0000 (04:56 +0000)] 
* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
* configure.in: Invoke AC_GNU_SOURCE.
* Makefile.in: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.

16 years ago * Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
Alan Modra [Wed, 24 Oct 2007 04:56:12 +0000 (04:56 +0000)] 
* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
* configure.in: Invoke AC_GNU_SOURCE.
* Makefile.in: Regenerate.
* configure: Regenerate.
* gconfig.in: Regenerate.

16 years ago * Makefile.am (INCLUDES, DEP_INCLUDES): Remove -D_GNU_SOURCE.
Alan Modra [Wed, 24 Oct 2007 04:55:39 +0000 (04:55 +0000)] 
* Makefile.am (INCLUDES, DEP_INCLUDES): Remove -D_GNU_SOURCE.
Run "make dep-am".
* configure.in: Invoke AC_GNU_SOURCE.
* Makefile.in: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.

16 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Wed, 24 Oct 2007 04:55:01 +0000 (04:55 +0000)] 
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

16 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Wed, 24 Oct 2007 04:54:38 +0000 (04:54 +0000)] 
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

16 years ago * strings.c (print_strings): Don't use %L, use %ll in printf
Alan Modra [Wed, 24 Oct 2007 03:55:46 +0000 (03:55 +0000)] 
* strings.c (print_strings): Don't use %L, use %ll in printf
format strings.

16 years ago * readelf.c (process_program_headers): Use dynamic segment unless
Alan Modra [Wed, 24 Oct 2007 02:27:15 +0000 (02:27 +0000)] 
* readelf.c (process_program_headers): Use dynamic segment unless
dynamic section is found.

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

16 years agodaily update
Alan Modra [Wed, 24 Oct 2007 00:00:05 +0000 (00:00 +0000)] 
daily update

16 years agogas/testsuite/
H.J. Lu [Tue, 23 Oct 2007 22:52:09 +0000 (22:52 +0000)] 
gas/testsuite/

2007-10-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/katmai.s: Remove cmpps opcode test.

* gas/i386/simd.s: Add tests for cmpss and cmpsd.
* gas/i386/x86-64-simd.s: Likewise.

* gas/i386/katmai.d: Updated.
* gas/i386/simd-intel.d: Likewise.
* gas/i386/simd-suffix.d: Likewise.
* gas/i386/simd.d: Likewise.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd-suffix.d: Likewise.
* gas/i386/x86-64-simd.d: Likewise.

opcodes/

2007-10-23  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_SIMD_Suffix): Renamed to ...
(CMP_Fixup): This.  Rewrite.
(OPSIMD): Renamed to ...
(CMP): This. Updated.
(prefix_table): Update PREFIX_0FC2 entry.

16 years ago * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
Daniel Jacobowitz [Tue, 23 Oct 2007 20:17:55 +0000 (20:17 +0000)] 
* gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.

16 years ago * inferiors.c (change_inferior_id): Delete.
Daniel Jacobowitz [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 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Daniel Jacobowitz [Tue, 23 Oct 2007 13:11:47 +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
Alan Modra [Tue, 23 Oct 2007 12:54:17 +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
Daniel Jacobowitz [Tue, 23 Oct 2007 12:34:18 +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.
Joel Brobecker [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.
Ian Lance Taylor [Tue, 23 Oct 2007 05:05:48 +0000 (05:05 +0000)] 
Add support for PT_GNU_STACK.

16 years agodaily update
Alan Modra [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.
Ian Lance Taylor [Mon, 22 Oct 2007 23:08:22 +0000 (23:08 +0000)] 
Fix versions of copied symbols.

16 years agosim/mips/
Richard Sandiford [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>
H.J. Lu [Mon, 22 Oct 2007 19:22:01 +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.
Ian Lance Taylor [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.
Ian Lance Taylor [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
Hans-Peter Nilsson [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.
Daniel Jacobowitz [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.
Daniel Jacobowitz [Mon, 22 Oct 2007 16:07:13 +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,
Hans-Peter Nilsson [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
Hans-Peter Nilsson [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".
Daniel Jacobowitz [Mon, 22 Oct 2007 14:37:36 +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
Ulrich Weigand [Mon, 22 Oct 2007 14:25:13 +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>
Ulrich Weigand [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>
Ulrich Weigand [Mon, 22 Oct 2007 14:11:11 +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>
Ulrich Weigand [Mon, 22 Oct 2007 14:09:17 +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>
Ulrich Weigand [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>
Ulrich Weigand [Mon, 22 Oct 2007 14:03:37 +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.
Daniel Jacobowitz [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.
Daniel Jacobowitz [Mon, 22 Oct 2007 01:16:34 +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.
Joel Brobecker [Mon, 22 Oct 2007 00:00:07 +0000 (00:00 +0000)] 
    * hppa-hpux-nat.c (hppa_hpux_store_register): Add missing semi-colon.

16 years agodaily update
Alan Modra [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.
Luis Machado [Sun, 21 Oct 2007 20:04:47 +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
Ulrich Weigand [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
Ulrich Weigand [Sun, 21 Oct 2007 12:24:34 +0000 (12:24 +0000)] 
* gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
format changes.

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

16 years agodaily update
Alan Modra [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.
Ian Lance Taylor [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
Ian Lance Taylor [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.
Ian Lance Taylor [Sat, 20 Oct 2007 00:33:31 +0000 (00:33 +0000)] 
Handle PLT32 against local symbols.

16 years agodaily update
Alan Modra [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.
Ian Lance Taylor [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.
Ian Lance Taylor [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>
H.J. Lu [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
Nick Clifton [Fri, 19 Oct 2007 17:31:31 +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
Ulrich Weigand [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.
Ulrich Weigand [Fri, 19 Oct 2007 12:26:35 +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.
Ulrich Weigand [Fri, 19 Oct 2007 12:23:21 +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* elf-m10300.c: Convert to ISO C.
Nick Clifton [Fri, 19 Oct 2007 11:48:57 +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 '%'.
Alan Modra [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
Alan Modra [Fri, 19 Oct 2007 00:00:05 +0000 (00:00 +0000)] 
daily update

16 years agoAdd support for -Bsymbolic.
Ian Lance Taylor [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.
Ian Lance Taylor [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.
Ian Lance Taylor [Thu, 18 Oct 2007 17:46:23 +0000 (17:46 +0000)] 
Correctly handle alignment in merge sections.

16 years ago * mips-tdep.c (mips_xfer_register): Take a gdbarch argument.
Daniel Jacobowitz [Thu, 18 Oct 2007 15:25:41 +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 O'Donell [Thu, 18 Oct 2007 13:33:57 +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.

This page took 0.056693 seconds and 4 git commands to generate.