OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years ago* doc/as.texinfo (Section): Replace "subsegment" with subsection".
nickc [Tue, 30 Oct 2007 14:23:22 +0000 (14:23 +0000)]
* doc/as.texinfo (Section): Replace "subsegment" with subsection".

16 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Don't remove
corinna [Tue, 30 Oct 2007 12:32:15 +0000 (12:32 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Don't remove
write bits for directories with R/O attribute.
(fhandler_base::fhaccess): Don't shortcircuit R/O attribute with W_OK
scenarios for directories.

16 years agoFrom Craig Silverstein: Implement OPTION in linker scripts.
iant [Tue, 30 Oct 2007 06:27:03 +0000 (06:27 +0000)]
From Craig Silverstein: Implement OPTION in linker scripts.

16 years agoAdjust PLTOFF64 calculation.
iant [Tue, 30 Oct 2007 04:23:19 +0000 (04:23 +0000)]
Adjust PLTOFF64 calculation.

16 years agoFrom Craig Silverstein: Implement GOTPLT64 and PLTOFF64.
iant [Tue, 30 Oct 2007 01:21:51 +0000 (01:21 +0000)]
From Craig Silverstein: Implement GOTPLT64 and PLTOFF64.

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

16 years agoFrom Craig Silverstein: Clean up some unnecessary TODO markers.
iant [Mon, 29 Oct 2007 23:36:39 +0000 (23:36 +0000)]
From Craig Silverstein: Clean up some unnecessary TODO markers.

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

16 years ago * ppc-linux-tdep.c (ppc32_linux_reg_offsets): Corrected
cseo [Mon, 29 Oct 2007 20:26:41 +0000 (20:26 +0000)]
* ppc-linux-tdep.c (ppc32_linux_reg_offsets): Corrected
swapped offsets and VRSAVE offset.
(ppc64_linux_reg_offsets): Corrected swapped offsets.
(ppc32_linux_vrregset): Added.
(ppc_linux_regset_from_core_section): Added support for
.reg-ppc-vmx section.
* ppc-tdep.h (ppc_altivec_support_p): Declare.
(ppc_supply_vrregset): Declare.
(ppc_collect_vrregset): Declare.
* rs6000-tdep.c (ppc_altivec_support_p): Added.
(ppc_supply_vrregset): Added.
(ppc_collect_vrregset): Added.
* corelow.c (get_core_registers): Added support for
.reg-ppc-vmx section.

16 years agoFrom Craig Silverstein: better organization for TLS code.
iant [Mon, 29 Oct 2007 20:09:35 +0000 (20:09 +0000)]
From Craig Silverstein: better organization for TLS code.

16 years agoGDB 6.7.1 released.
gdbadmin [Mon, 29 Oct 2007 19:15:27 +0000 (19:15 +0000)]
GDB 6.7.1 released.

16 years agoFrom Craig Silverstein: Remove extraneous comment.
iant [Mon, 29 Oct 2007 17:12:11 +0000 (17:12 +0000)]
From Craig Silverstein: Remove extraneous comment.

16 years ago* readelf.c (is_32bit_abs_reloc): Add knowledge of reloc used by IA64.
nickc [Mon, 29 Oct 2007 14:44:58 +0000 (14:44 +0000)]
* readelf.c (is_32bit_abs_reloc): Add knowledge of reloc used by IA64.
  (is_64bit_abs_reloc): Likewise.

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

16 years agodaily update
amodra [Sun, 28 Oct 2007 23:00:04 +0000 (23:00 +0000)]
daily update

16 years ago* dwarf.c (process_debug_info): Check for corrupt lengths.
nickc [Sun, 28 Oct 2007 14:00:19 +0000 (14:00 +0000)]
* dwarf.c (process_debug_info): Check for corrupt lengths.
* readelf.c (get_reloc_type): New function.  Returns the reloc number extracted from the info field of a reloc.
  (get_reloc_symindex): New function.  Returns the symbol index
  (extracted from the info field of a reloc.
  (dump_relocations): Use the new functions.
  (slurp_ia64_unwind_table): Use the new functions.
  (slurp_hppa_unwind_table): Use the new functions.
  (dump_section_as_bytes): Use the new functions.
  (get_reloc_size): Delete function.
  (is_32bit_abs_reloc): New function.  Determines if a given reloc type is a 32-bit absolute relocation.
  (is_32bit_pcrel_reloc): New function.  Like is_32bit_abs_reloc but for pc-relative relocations.
  (is_64bit_abs_reloc): New function.  Like is_32bit_abs_reloc but for 64-bit absolute relocations.
  (is_16bit_abs_reloc): New function.  Like is_32bit_abs_reloc but for 32-bit absolute relocations.
  (debug_apply_rela_addends): Use the new functions.  Skip and warn about any unrecognised relocations.

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

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

16 years agogas/
hjl [Sat, 27 Oct 2007 17:45:53 +0000 (17:45 +0000)]
gas/

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

PR gas/5221
* config/obj-elf.c (obj_elf_section): Handle optional
parameters for .pushsection.

* doc/as.texinfo: Document optional parameters for
.pushsection.

gas/testsuite/

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

PR gas/5221
* gas/elf/elf.exp: Run section7.

* gas/elf/section7.d: New.
* gas/elf/section7.s: Likewise.

16 years ago* ax-gdb.h (expr_to_address_and_size): Delete declaration for
jimb [Sat, 27 Oct 2007 01:31:45 +0000 (01:31 +0000)]
* ax-gdb.h (expr_to_address_and_size): Delete declaration for
deleted function.

16 years agoFrom Cary Coutant: Set offsets of sections with data before finalizing
iant [Sat, 27 Oct 2007 00:36:52 +0000 (00:36 +0000)]
From Cary Coutant: Set offsets of sections with data before finalizing
local symbols.

16 years ago* tracepoint.c (tracepoint_operation): Report the deletion event
jimb [Sat, 27 Oct 2007 00:34:47 +0000 (00:34 +0000)]
* tracepoint.c (tracepoint_operation): Report the deletion event
after we have unlinked the tracepoint from the list, and use the
proper tracepoint number.

16 years agoFrom Craig Silverstein and Ian Lance Taylor: Process --script option.
iant [Sat, 27 Oct 2007 00:29:34 +0000 (00:29 +0000)]
From Craig Silverstein and Ian Lance Taylor: Process --script option.

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

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

16 years ago* ax-gdb.c (expr_to_agent): Delete unused function.
jimb [Fri, 26 Oct 2007 23:42:27 +0000 (23:42 +0000)]
* ax-gdb.c (expr_to_agent): Delete unused function.
(expr_to_address_and_size): Delete #if 0'd function.
* ax-gdb.h (expr_to_agent): Delete declaration.

16 years ago* ax-gdb.c (gen_cast): Remove redundant assignment to
jimb [Fri, 26 Oct 2007 23:07:26 +0000 (23:07 +0000)]
* ax-gdb.c (gen_cast): Remove redundant assignment to
value->type.  Doc fix.

16 years ago* ax-general.c (gen_traced_pop, gen_int_literal)
jimb [Fri, 26 Oct 2007 23:04:57 +0000 (23:04 +0000)]
* ax-general.c (gen_traced_pop, gen_int_literal)
(gen_usual_arithmetic): Check for typedefs.

16 years agoSimplify some code to avoid extra tests of number of objects.
iant [Fri, 26 Oct 2007 22:27:52 +0000 (22:27 +0000)]
Simplify some code to avoid extra tests of number of objects.

16 years agoFrom Craig Silverstein: preliminary support for OPTION in linker script.
iant [Fri, 26 Oct 2007 22:16:06 +0000 (22:16 +0000)]
From Craig Silverstein: preliminary support for OPTION in linker script.

16 years ago * parse.c (prefixify_expression): Minor reformatting.
brobecke [Fri, 26 Oct 2007 22:13:41 +0000 (22:13 +0000)]
    * parse.c (prefixify_expression): Minor reformatting.

16 years agoExit if we couldn't open any input files.
iant [Fri, 26 Oct 2007 22:12:03 +0000 (22:12 +0000)]
Exit if we couldn't open any input files.

16 years ago2007-10-26 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 26 Oct 2007 20:48:09 +0000 (20:48 +0000)]
2007-10-26  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3): New.
(MOD_0F51): Likewise.
(MOD_0FD7): Likewise.
(MOD_0FE7_PREFIX_2): Likewise.
(MOD_0F382A_PREFIX_2): Likewise.
(MOD_0F71_REG_2): Updated.
(MOD_0FF0_PREFIX_3): Likewise.
(MOD_62_32BIT): Likewise.
(dis386_twobyte): Use MOD_0F51 and  MOD_0FD7.
(prefix_table): Use MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
MOD_0FE7_PREFIX_2 and MOD_0F382A_PREFIX_2.
(mod_table): Add MOD_0F2B_PREFIX_0...MOD_0F2B_PREFIX_3,
MOD_0F51, MOD_0FD7 and MOD_0F382A_PREFIX_2.

16 years agoFrom Craig Silverstein: Minimal --script implementation.
iant [Fri, 26 Oct 2007 18:03:24 +0000 (18:03 +0000)]
From Craig Silverstein: Minimal --script implementation.

16 years ago* doc/binutils.texi: Move top stuff to the top.
nickc [Fri, 26 Oct 2007 12:00:33 +0000 (12:00 +0000)]
* doc/binutils.texi: Move top stuff to the top.
  Use @direntry/@dircategory, format entries to play nicely with others.
  Avoid duplicate copying strings.
  Don't misspell "Texinfo".

16 years ago* arm-dis.c (print_insn): Check for a symtab that exists but is empty.
nickc [Fri, 26 Oct 2007 11:27:08 +0000 (11:27 +0000)]
* arm-dis.c (print_insn): Check for a symtab that exists but is empty.

16 years ago * binutils-all/windres/windres.exp: Don't xfail.
amodra [Fri, 26 Oct 2007 06:45:07 +0000 (06:45 +0000)]
* binutils-all/windres/windres.exp: Don't xfail.

16 years ago * ld-scripts/rgn-over1.d: Accept extra LOAD at end of map file.
amodra [Fri, 26 Oct 2007 06:40:25 +0000 (06:40 +0000)]
* ld-scripts/rgn-over1.d: Accept extra LOAD at end of map file.
* ld-scripts/rgn-over2.d: Likewise.
* ld-scripts/rgn-over3.d: Likewise.
* ld-scripts/rgn-over4.d: Likewise.
* ld-scripts/rgn-over5.d: Likewise.
* ld-scripts/rgn-over6.d: Likewise.
* ld-scripts/rgn-over7.d: Likewise.

16 years ago PR 5215
amodra [Fri, 26 Oct 2007 06:33:58 +0000 (06:33 +0000)]
PR 5215
* genscripts.sh: Move bash script to..
* genscrba.sh: ..here.

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

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

16 years ago * version.in: Use dot instead of dash.
drow [Thu, 25 Oct 2007 22:37:20 +0000 (22:37 +0000)]
* version.in: Use dot instead of dash.

16 years ago * linux-thread-db.c (check_for_thread_db): Only print if info_verbose.
drow [Thu, 25 Oct 2007 22:09:33 +0000 (22:09 +0000)]
* linux-thread-db.c (check_for_thread_db): Only print if info_verbose.

16 years ago * memory-map.c (parse_memory_map): Don't use an empty struct
palves [Thu, 25 Oct 2007 21:43:42 +0000 (21:43 +0000)]
* memory-map.c (parse_memory_map): Don't use an empty struct
initializer.

16 years ago * signals/signals.c (signals): Update pointer to enum
palves [Thu, 25 Oct 2007 21:16:57 +0000 (21:16 +0000)]
* signals/signals.c (signals): Update pointer to enum
target_signal declaration.

16 years ago bfd/
palves [Thu, 25 Oct 2007 21:01:54 +0000 (21:01 +0000)]
bfd/
* bfd-in.h (STRING_COMMA_LEN): Don't handle NULL STR case.
* bfd-in2.h: Regenerate.

ld/
* pe-dll.c (autofilter_symbollist_generic)
(autofilter_symbollist_i386, autofilter_liblist)
(autofilter_objlist, autofilter_symbolprefixlist)
(autofilter_symbolsuffixlist): Don't use STRING_COMMA_LEN with
NULL.

16 years ago * dwarf2read.c (read_partial_die): check the value
cseo [Thu, 25 Oct 2007 20:54:27 +0000 (20:54 +0000)]
* dwarf2read.c (read_partial_die): check the value
of DW_AT_calling_convention in Fortran programs.

16 years ago * gdb.opt/clobbered-registers-O2.c: New testcase source file.
luisgpm [Thu, 25 Oct 2007 20:30:26 +0000 (20:30 +0000)]
    * gdb.opt/clobbered-registers-O2.c: New testcase source file.
        * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
        * gdb.opt/Makefile.in: New makefile.
        * Makefile.in: Create new directory "gdb.opt".
        * configure.ac: Add "gdb.opt" directory.
        * configure: Regenerated.

16 years agoadd myself
devans [Thu, 25 Oct 2007 18:38:05 +0000 (18:38 +0000)]
add myself

16 years ago * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
devans [Thu, 25 Oct 2007 18:33:56 +0000 (18:33 +0000)]
* gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
* gdb.cp/mb-templates.exp: Check skip_cplus_tests.

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

* gdb.base/dfp-exprs.exp: new file adding tests for Decimal
Floating Point expressions.
* gdb.base/dfp-test.exp: new file adding tests for Decimal
Floating Point variables.
* gdb.base/dfp-test.c: new file containing program with Decimal
Floating variables, used by gdb.base/dfp-test.exp.

16 years ago2007-10-25 Wu Zhou <woodzltc@cn.ibm.com>
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>
bauermann [Thu, 25 Oct 2007 17:57:33 +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>
bauermann [Thu, 25 Oct 2007 17:52:31 +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
drow [Thu, 25 Oct 2007 15:20:22 +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
jsm28 [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
macro [Thu, 25 Oct 2007 11:30:54 +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.
brobecke [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.
amodra [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.
amodra [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:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [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
uweigand [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.
uweigand [Wed, 24 Oct 2007 21:21:15 +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".
uweigand [Wed, 24 Oct 2007 21:18:51 +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.
uweigand [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".
uweigand [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".
uweigand [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.
uweigand [Wed, 24 Oct 2007 21:14:16 +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".
uweigand [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
uweigand [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
drow [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.
uweigand [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.
drow [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.
drow [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>
drow [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.
iant [Wed, 24 Oct 2007 18:11:23 +0000 (18:11 +0000)]
Use AC_GNU_SOURCE.

16 years agogas/
hjl [Wed, 24 Oct 2007 16:45:52 +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>
drow [Wed, 24 Oct 2007 13:57:57 +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.
drow [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
cseo [Wed, 24 Oct 2007 13:25:15 +0000 (13:25 +0000)]
* symtab.c (find_line_symtab): scan through psymtabs
when exact_match is zero.

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

16 years ago * po/POTFILES.in: Regenerate.
amodra [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.
amodra [Wed, 24 Oct 2007 04:56:47 +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.
amodra [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.
amodra [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".
amodra [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".
amodra [Wed, 24 Oct 2007 04:54:35 +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
amodra [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
amodra [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
amodra [Wed, 24 Oct 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agogas/testsuite/
hjl [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.
drow [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.
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.