aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-29From Craig Silverstein: Remove extraneous comment.Ian Lance Taylor1-4/+0
2007-10-29* readelf.c (is_32bit_abs_reloc): Add knowledge of reloc used by IA64.Nick Clifton2-1/+10
(is_64bit_abs_reloc): Likewise.
2007-10-29*** empty log message ***gdbadmin1-1/+1
2007-10-28daily updateAlan Modra1-1/+1
2007-10-28* dwarf.c (process_debug_info): Check for corrupt lengths.Nick Clifton3-140/+337
* 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.
2007-10-28*** empty log message ***gdbadmin1-1/+1
2007-10-27daily updateAlan Modra1-1/+1
2007-10-27gas/H.J. Lu7-4/+96
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.
2007-10-27* ax-gdb.h (expr_to_address_and_size): Delete declaration forJim Blandy2-5/+3
deleted function.
2007-10-27From Cary Coutant: Set offsets of sections with data before finalizingIan Lance Taylor2-4/+15
local symbols.
2007-10-27* tracepoint.c (tracepoint_operation): Report the deletion eventJim Blandy2-1/+6
after we have unlinked the tracepoint from the list, and use the proper tracepoint number.
2007-10-27From Craig Silverstein and Ian Lance Taylor: Process --script option.Ian Lance Taylor7-69/+255
2007-10-27*** empty log message ***gdbadmin1-1/+1
2007-10-27daily updateAlan Modra1-1/+1
2007-10-26* ax-gdb.c (expr_to_agent): Delete unused function.Jim Blandy3-55/+4
(expr_to_address_and_size): Delete #if 0'd function. * ax-gdb.h (expr_to_agent): Delete declaration.
2007-10-26* ax-gdb.c (gen_cast): Remove redundant assignment toJim Blandy2-3/+5
value->type. Doc fix.
2007-10-26* ax-general.c (gen_traced_pop, gen_int_literal)Jim Blandy2-3/+8
(gen_usual_arithmetic): Check for typedefs.
2007-10-26Simplify some code to avoid extra tests of number of objects.Ian Lance Taylor1-18/+6
2007-10-26From Craig Silverstein: preliminary support for OPTION in linker script.Ian Lance Taylor3-0/+23
2007-10-26 * parse.c (prefixify_expression): Minor reformatting.Joel Brobecker2-2/+5
2007-10-26Exit if we couldn't open any input files.Ian Lance Taylor1-0/+7
2007-10-262007-10-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-11/+75
* 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.
2007-10-26From Craig Silverstein: Minimal --script implementation.Ian Lance Taylor2-0/+11
2007-10-26* doc/binutils.texi: Move top stuff to the top.Nick Clifton2-53/+39
Use @direntry/@dircategory, format entries to play nicely with others. Avoid duplicate copying strings. Don't misspell "Texinfo".
2007-10-26* arm-dis.c (print_insn): Check for a symtab that exists but is empty.Nick Clifton2-0/+6
2007-10-26 * binutils-all/windres/windres.exp: Don't xfail.Alan Modra2-18/+4
2007-10-26 * ld-scripts/rgn-over1.d: Accept extra LOAD at end of map file.Alan Modra8-0/+17
* 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.
2007-10-26 PR 5215Alan Modra3-14/+22
* genscripts.sh: Move bash script to.. * genscrba.sh: ..here.
2007-10-26*** empty log message ***gdbadmin1-1/+1
2007-10-26daily updateAlan Modra1-1/+1
2007-10-25 * version.in: Use dot instead of dash.Daniel Jacobowitz2-1/+5
2007-10-25 * linux-thread-db.c (check_for_thread_db): Only print if info_verbose.Daniel Jacobowitz2-2/+7
2007-10-25 * memory-map.c (parse_memory_map): Don't use an empty structPedro Alves2-1/+6
initializer.
2007-10-25 * signals/signals.c (signals): Update pointer to enumPedro Alves2-1/+6
target_signal declaration.
2007-10-25 bfd/Pedro Alves5-12/+23
* 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.
2007-10-25 * dwarf2read.c (read_partial_die): check the valueCarlos Eduardo Seo2-0/+26
of DW_AT_calling_convention in Fortran programs.
2007-10-25 * gdb.opt/clobbered-registers-O2.c: New testcase source file.Luis Machado7-4/+145
* 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.
2007-10-25add myselfDoug Evans1-0/+1
2007-10-25 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.Doug Evans3-0/+9
* gdb.cp/mb-templates.exp: Check skip_cplus_tests.
2007-10-252007-10-15 Wu Zhou <woodzltc@cn.ibm.com>Thiago Jung Bauermann4-0/+443
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.
2007-10-252007-10-25 Wu Zhou <woodzltc@cn.ibm.com>Thiago Jung Bauermann9-0/+140
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.
2007-10-252007-10-25 Wu Zhou <woodzltc@cn.ibm.com>Thiago Jung Bauermann9-2/+105
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.
2007-10-252007-10-25 Wu Zhou <woodzltc@cn.ibm.com>Thiago Jung Bauermann7-7/+426
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.
2007-10-25 * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support forDaniel Jacobowitz14-16/+152
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.
2007-10-25 * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Do not addJoseph Myers2-3/+12
PT_NULL header when not linking.
2007-10-25PR exp/1926Maciej W. Rozycki3-7/+33
* 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).
2007-10-25 * NEWS: Document status of hppa64-hpux support.Joel Brobecker2-0/+9
2007-10-25 * readelf.c (get_note_type): Handle NT_PPC_VMX.Alan Modra2-0/+6
2007-10-25 * elf.c (elfcore_grok_ppc_vmx): New function.Alan Modra3-0/+35
(elfcore_grok_note): Handle NT_PPC_VMX. (elfcore_write_ppc_vmx): New function. * elf-bfd.h (elfcore_write_ppc_vmx): Declare.
2007-10-25*** empty log message ***gdbadmin1-1/+1