aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-31*** empty log message ***gdbadmin1-1/+1
2007-10-30 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does notUlrich Weigand2-2/+9
provide DFP support.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-11/+23
* 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.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+7
* iq2000-tdep.c (iq2000_frame_prev_register): Use get_frame_arch to get at the current architecture by frame_info.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+8
* inf-child.c (inf_child_fetch_inferior_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-10/+23
* 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.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-8/+17
* hpux-thread.c (hpux_thread_fetch_registers) (hpux_thread_store_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-4/+8
* hppa-tdep.c (hppa_frame_cache): Use get_frame_arch to get at the current architecture by frame_info.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-4/+12
* 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.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-11/+14
* gdbtypes.c (gdbtypes_post_init): Replace current_gdbarch by gdbarch.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+6
* frv-linux-tdep.c (frv_linux_sigtramp_frame_cache): Use get_frame_arch to get at the current architecture by frame_info.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-10/+14
* f-lang.c (build_fortran_types): Replace current_gdbarch by gdbarch.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+6
* core-regset.c (fetch_core_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+6
* corelow.c (get_core_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-2/+8
* bsd-uthread.c (bsd_uthread_fetch_registers) (bsd_uthread_store_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-4/+9
* avr-tdep.c (avr_frame_unwind_cache, avr_frame_prev_register): Use get_frame_arch to get at the current architecture by frame_info.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+5
* arm-tdep.c (arm_get_next_pc): Replace current_gdbarch by gdbarch.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-10/+17
* armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register) (store_regs): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-1/+6
* arm-linux-tdep.c (arm_linux_supply_gregset): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-2/+8
* alphabsd-nat.c (alphabsd_fetch_inferior_registers) (alphabsd_store_inferior_registers): Use get_regcache_arch to get at the current architecture by regcache.
2007-10-302007-10-30 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2-12/+17
* ada-lang.c (ada_language_arch_info): Replace current_gdbarch by gdbarch.
2007-10-30 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Check the selectedDaniel Jacobowitz9-92/+418
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.
2007-10-30 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and nePedro Alves3-4/+9
with [string compare].
2007-10-30 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.Pedro Alves3-2/+7
* gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
2007-10-30*** empty log message ***gdbadmin1-1/+1
2007-10-29 * ppc-linux-tdep.c (ppc32_linux_reg_offsets): CorrectedCarlos Eduardo Seo5-4/+171
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.
2007-10-29GDB 6.7.1 released.gdbadmin1-0/+4
2007-10-29*** empty log message ***gdbadmin1-1/+1
2007-10-28*** empty log message ***gdbadmin1-1/+1
2007-10-27* ax-gdb.h (expr_to_address_and_size): Delete declaration forJim Blandy2-5/+3
deleted function.
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-27*** empty log message ***gdbadmin1-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-26 * parse.c (prefixify_expression): Minor reformatting.Joel Brobecker2-2/+5
2007-10-26*** empty log message ***gdbadmin1-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 * 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-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).