OSDN Git Service
uweigand [Wed, 31 Oct 2007 23:45:10 +0000 (23:45 +0000)]
* ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Fall back to
find_solib_trampoline_target if PC is not in .plt section.
hjl [Wed, 31 Oct 2007 23:41:12 +0000 (23:41 +0000)]
2007-10-31 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (USE_REG_TABLE): Defined as the previous one + 1.
(USE_REG_TABLE): Likewise.
(USE_MOD_TABLE): Likewise.
(USE_RM_TABLE): Likewise.
(USE_PREFIX_TABLE): Likewise.
(USE_X86_64_TABLE): Likewise.
(USE_3BYTE_TABLE): Likewise.
amodra [Wed, 31 Oct 2007 23:00:05 +0000 (23:00 +0000)]
daily update
dj [Wed, 31 Oct 2007 22:22:31 +0000 (22:22 +0000)]
* libc/signal/signal.c (_raise_r): Don't attempt to initialize the
signal table, just use a default, in case initialization cause
recursion.
brobecke [Wed, 31 Oct 2007 21:39:14 +0000 (21:39 +0000)]
* Makefile.in: Use $(SHELL) instead of "sh" to call regdat.sh.
uweigand [Wed, 31 Oct 2007 19:09:13 +0000 (19:09 +0000)]
* elfread.c (elf_symtab_read): When constructing a solib trampoline
minimal symbol from an undefined dynamic symbol, use proper section.
dj [Wed, 31 Oct 2007 18:37:19 +0000 (18:37 +0000)]
merge from gcc
eweddington [Wed, 31 Oct 2007 18:11:28 +0000 (18:11 +0000)]
2007-10-31 Eric B. Weddington <eweddington@cso.atmel.com>
* config/tc-avr.c (mcu_types): Remove devices that were never produced:
attiny10, atmega83, atmega85, atmega603.
* doc/c-avr.texi: Likewise.
nickc [Wed, 31 Oct 2007 17:13:53 +0000 (17:13 +0000)]
Add cast to avoid compile time warning
nickc [Wed, 31 Oct 2007 16:09:52 +0000 (16:09 +0000)]
* dwarf.c (is_relocatable): Remove definition.
(display_debug_frames): Remove check in is_relocatable.
* dwarf.h (is_relocatable): Remove declaration.
* objdump.c (is_relocatable): New static definition.
* readelf.c (dump_relocations): Make the function void.
(is_32bit_abs_reloc): Add support for x86, Arc, Arm, D10V, Dlx, OR32 and Score.
(is_32bit_pcrel_reloc): Add support for x86 and Arm.
(is_16bit_abs_reloc): Add support for D10V.
(debug_apply_rela_addends): Rename to debug_apply_relocations.
Add code to support rel relocations.
(load_debug_section): Fix call to debug_apply_relocations.
(get_file_header): Remove setting of is_relocatable.
* gas/cfi/cfi-common-6.d: Allow for possible relocation of the .debug.eh_frame section.
corinna [Wed, 31 Oct 2007 16:06:01 +0000 (16:06 +0000)]
* net.cc (load_ipv6_funcs): Use MAX_PATH instead of CYG_MAX_PATH.
(cygwin_getaddrinfo): Simplify formatting.
(cygwin_getnameinfo): Ditto.
brolley [Wed, 31 Oct 2007 14:48:04 +0000 (14:48 +0000)]
2007-10-31 Dave Brolley <brolley@redhat.com>
* components.cxx (mepfamily_component_library): Correct DLLEXPORT
specification.
uweigand [Wed, 31 Oct 2007 14:15:48 +0000 (14:15 +0000)]
2007-10-31 Markus Deuling <deuling@de.ibm.com>
* arm-linux-nat.c (fetch_register, fetch_regs): Use get_regcache_arch
to get at the current architecture by regcache.
corinna [Wed, 31 Oct 2007 13:23:31 +0000 (13:23 +0000)]
* external.cc (get_cygdrive_info): Make inline.
(get_cygdrive_prefixes): Remove.
(cygwin_internal): Call get_cygdrive_info with NULL flag parameters
instead of get_cygdrive_prefixes.
* path.cc (mount_info::get_cygdrive_info): Allow NULL flag parameters.
nickc [Wed, 31 Oct 2007 11:33:27 +0000 (11:33 +0000)]
* elf-m10300.c (mn10300_elf_relax_delete_bytes): Do not look for align
relocs when there are no relocs attached to the section.
amodra [Wed, 31 Oct 2007 07:40:11 +0000 (07:40 +0000)]
* readelf.c (debug_apply_rela_addends): Clarify FIXME.
amodra [Wed, 31 Oct 2007 07:36:45 +0000 (07:36 +0000)]
* elf-bfd.h (bfd_elf_match_symbols_in_sections): Don't declare.
* elflink.c (bfd_elf_match_symbols_in_sections): Make static.
Remove section name comparisons.
gdbadmin [Wed, 31 Oct 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 30 Oct 2007 23:00:06 +0000 (23:00 +0000)]
daily update
uweigand [Tue, 30 Oct 2007 22:29:05 +0000 (22:29 +0000)]
* gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
provide DFP support.
uweigand [Tue, 30 Oct 2007 22:00:28 +0000 (22:00 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* libunwind-frame.c (libunwind_frame_sniffer)
libunwind_frame_prev_register, libunwind_sigtramp_frame_sniffer)
(libunwind_frame_cache): Use get_frame_arch to get at the current
architecture by frame_info.
(libunwind_get_reg_special): Replace current_gdbarch by gdbarch.
uweigand [Tue, 30 Oct 2007 21:59:42 +0000 (21:59 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* iq2000-tdep.c (iq2000_frame_prev_register): Use get_frame_arch to get
at the current architecture by frame_info.
uweigand [Tue, 30 Oct 2007 21:58:58 +0000 (21:58 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* inf-child.c (inf_child_fetch_inferior_registers): Use
get_regcache_arch to get at the current architecture by regcache.
uweigand [Tue, 30 Oct 2007 21:58:01 +0000 (21:58 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* inf-ptrace.c (inf_ptrace_fetch_registers)
(inf_ptrace_fetch_register, inf_ptrace_store_register)
(inf_ptrace_store_registers): Use get_regcache_arch to get at the
current architecture by regcache.
uweigand [Tue, 30 Oct 2007 21:57:04 +0000 (21:57 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* hpux-thread.c (hpux_thread_fetch_registers)
(hpux_thread_store_registers): Use get_regcache_arch to get at the
current architecture by regcache.
uweigand [Tue, 30 Oct 2007 21:56:12 +0000 (21:56 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* hppa-tdep.c (hppa_frame_cache): Use get_frame_arch to get at the
current architecture by frame_info.
uweigand [Tue, 30 Oct 2007 21:54:06 +0000 (21:54 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* go32-nat.c (fetch_register, go32_fetch_registers, store_register)
(go32_store_registers): Use get_regcache_arch to get at the current
architecture by regcache.
uweigand [Tue, 30 Oct 2007 21:53:18 +0000 (21:53 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* gdbtypes.c (gdbtypes_post_init): Replace current_gdbarch by gdbarch.
uweigand [Tue, 30 Oct 2007 21:52:25 +0000 (21:52 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* frv-linux-tdep.c (frv_linux_sigtramp_frame_cache): Use get_frame_arch
to get at the current architecture by frame_info.
uweigand [Tue, 30 Oct 2007 21:51:34 +0000 (21:51 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* f-lang.c (build_fortran_types): Replace current_gdbarch by gdbarch.
uweigand [Tue, 30 Oct 2007 21:50:45 +0000 (21:50 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* core-regset.c (fetch_core_registers): Use get_regcache_arch to get at
the current architecture by regcache.
uweigand [Tue, 30 Oct 2007 21:46:25 +0000 (21:46 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* corelow.c (get_core_registers): Use get_regcache_arch to get at the
current architecture by regcache.
uweigand [Tue, 30 Oct 2007 21:45:17 +0000 (21:45 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* bsd-uthread.c (bsd_uthread_fetch_registers)
(bsd_uthread_store_registers): Use get_regcache_arch to get at the
current architecture by regcache.
uweigand [Tue, 30 Oct 2007 21:44:20 +0000 (21:44 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* avr-tdep.c (avr_frame_unwind_cache, avr_frame_prev_register): Use
get_frame_arch to get at the current architecture by frame_info.
uweigand [Tue, 30 Oct 2007 21:43:33 +0000 (21:43 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* arm-tdep.c (arm_get_next_pc): Replace current_gdbarch by gdbarch.
uweigand [Tue, 30 Oct 2007 21:42:22 +0000 (21:42 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register)
(store_regs): Use get_regcache_arch to get at the current architecture
by regcache.
uweigand [Tue, 30 Oct 2007 21:41:21 +0000 (21:41 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* arm-linux-tdep.c (arm_linux_supply_gregset): Use get_regcache_arch
to get at the current architecture by regcache.
uweigand [Tue, 30 Oct 2007 21:40:22 +0000 (21:40 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* alphabsd-nat.c (alphabsd_fetch_inferior_registers)
(alphabsd_store_inferior_registers): Use get_regcache_arch to get at
the current architecture by regcache.
uweigand [Tue, 30 Oct 2007 21:39:14 +0000 (21:39 +0000)]
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* ada-lang.c (ada_language_arch_info): Replace current_gdbarch by
gdbarch.
drow [Tue, 30 Oct 2007 19:35:34 +0000 (19:35 +0000)]
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Check the selected
soft float and vector ABIs. Support the generic vector ABI for
AltiVec types.
(do_ppc_sysv_return_value): Likewise. Correct argument types and
casts.
(ppc64_sysv_abi_push_dummy_call): Assert that floating point is
supported.
* ppc-tdep.h (enum powerpc_vector_abi): New.
(struct gdbarch_tdep): Add soft_float and vector_abi.
* rs6000-tdep.c (setpowerpccmdlist, showpowerpccmdlist)
(powerpc_soft_float_global, powerpc_vector_strings)
(powerpc_vector_abi_global, powerpc_vector_abi_string): New.
(rs6000_gdbarch_init): Check for soft-float and vector ABI markings.
(set_powerpc_command, show_powerpc_command, powerpc_set_soft_float)
(powerpc_set_vector_abi): New.
(_initialize_rs6000_tdep): Register "set powerpc" and "show powerpc"
commands.
* Makefile.in (elf_ppc_h): New.
(rs6000-tdep.o): Update.
* gdb.texinfo (PowerPC): Document "set powerpc vector-abi" and "set
powerpc soft-float".
* gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
Test "set powerpc vector-abi". Skip auto-detection tests for old
toolchains.
palves [Tue, 30 Oct 2007 19:23:17 +0000 (19:23 +0000)]
* lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
with [string compare].
palves [Tue, 30 Oct 2007 19:16:44 +0000 (19:16 +0000)]
* gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
* gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
nickc [Tue, 30 Oct 2007 15:18:28 +0000 (15:18 +0000)]
* mn10300.h (R_MN10300_ALIGN): Define.
* reloc.c (BFD_RELOC_MN10300_ALIGN): Add.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* elf-m10300.h: Handle R_MN10300_ALIGN relocs.
* mn10300_elf_relax_delete_bytes): Honour R_MN10300_ALIGN relocs.
Re-fix off by one error in comparisons.
* config/tc-mn10300.c (tc_gen_reloc): Fix test that decides when
sym_diff relocs should be generated.
(md_apply_fix): Skip R_MN10300_ALIGN relocs.
(mn10300_fix_adjustable): Do not adjust R_MN10300_ALIGN relocs.
(mn10300_handle_align): New function. Generate R_MN10300_ALIGN
relocs to record alignment requests.
* config/tc-mn10300.h (TC_FORCE_RELOCATION_SUB_SAME): Also force
R_MN10300_ALIGN relocs.
(HANDLE_ALIGN): Define. Call mn10300_handle_align.
* gas/all/gas.exp: Do not run diff1.s test for mn10300.
* ld-mn10300/mn10300.exp: Run new tests. Skip i126256 test if
a compiler is not available.
* ld-mn10300/i112045-3.s: New test.
* ld-mn10300/i112045-3.d: Expected disassembly.
* ld-mn10300/i135409.s: Rename to i135409-1.s.
* ld-mn10300/i135409.d: Rename to i135409-1.d
* ld-mn10300/i135409-2.s: New test.
* ld-mn10300/i135409-2.d: Expected symbol table.
* ld-mn10300/i36434.d: Adjust expected disassembly.
nickc [Tue, 30 Oct 2007 14:23:22 +0000 (14:23 +0000)]
* doc/as.texinfo (Section): Replace "subsegment" with subsection".
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.
iant [Tue, 30 Oct 2007 06:27:03 +0000 (06:27 +0000)]
From Craig Silverstein: Implement OPTION in linker scripts.
iant [Tue, 30 Oct 2007 04:23:19 +0000 (04:23 +0000)]
Adjust PLTOFF64 calculation.
iant [Tue, 30 Oct 2007 01:21:51 +0000 (01:21 +0000)]
From Craig Silverstein: Implement GOTPLT64 and PLTOFF64.
gdbadmin [Tue, 30 Oct 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
iant [Mon, 29 Oct 2007 23:36:39 +0000 (23:36 +0000)]
From Craig Silverstein: Clean up some unnecessary TODO markers.
amodra [Mon, 29 Oct 2007 23:00:05 +0000 (23:00 +0000)]
daily update
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.
iant [Mon, 29 Oct 2007 20:09:35 +0000 (20:09 +0000)]
From Craig Silverstein: better organization for TLS code.
gdbadmin [Mon, 29 Oct 2007 19:15:27 +0000 (19:15 +0000)]
GDB 6.7.1 released.
iant [Mon, 29 Oct 2007 17:12:11 +0000 (17:12 +0000)]
From Craig Silverstein: Remove extraneous comment.
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.
gdbadmin [Mon, 29 Oct 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 28 Oct 2007 23:00:04 +0000 (23:00 +0000)]
daily update
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.
gdbadmin [Sun, 28 Oct 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 27 Oct 2007 23:00:05 +0000 (23:00 +0000)]
daily update
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.
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.
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.
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.
iant [Sat, 27 Oct 2007 00:29:34 +0000 (00:29 +0000)]
From Craig Silverstein and Ian Lance Taylor: Process --script option.
gdbadmin [Sat, 27 Oct 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 27 Oct 2007 00:00:05 +0000 (00:00 +0000)]
daily update
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.
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.
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.
iant [Fri, 26 Oct 2007 22:27:52 +0000 (22:27 +0000)]
Simplify some code to avoid extra tests of number of objects.
iant [Fri, 26 Oct 2007 22:16:06 +0000 (22:16 +0000)]
From Craig Silverstein: preliminary support for OPTION in linker script.
brobecke [Fri, 26 Oct 2007 22:13:41 +0000 (22:13 +0000)]
* parse.c (prefixify_expression): Minor reformatting.
iant [Fri, 26 Oct 2007 22:12:03 +0000 (22:12 +0000)]
Exit if we couldn't open any input files.
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.
iant [Fri, 26 Oct 2007 18:03:24 +0000 (18:03 +0000)]
From Craig Silverstein: Minimal --script implementation.
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".
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.
amodra [Fri, 26 Oct 2007 06:45:07 +0000 (06:45 +0000)]
* binutils-all/windres/windres.exp: Don't xfail.
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.
amodra [Fri, 26 Oct 2007 06:33:58 +0000 (06:33 +0000)]
PR 5215
* genscripts.sh: Move bash script to..
* genscrba.sh: ..here.
gdbadmin [Fri, 26 Oct 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 26 Oct 2007 00:00:06 +0000 (00:00 +0000)]
daily update
drow [Thu, 25 Oct 2007 22:37:20 +0000 (22:37 +0000)]
* version.in: Use dot instead of dash.
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.
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.
palves [Thu, 25 Oct 2007 21:16:57 +0000 (21:16 +0000)]
* signals/signals.c (signals): Update pointer to enum
target_signal declaration.
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.
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.
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.
devans [Thu, 25 Oct 2007 18:38:05 +0000 (18:38 +0000)]
add myself
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.
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.
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.
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.
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.
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.
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.
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).