aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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).
2007-10-25 * NEWS: Document status of hppa64-hpux support.Joel Brobecker2-0/+9
2007-10-25*** empty log message ***gdbadmin1-1/+1
2007-10-24 * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets): CallUlrich Weigand4-7/+14
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.
2007-10-24 * solib-svr4.c (legacy_svr4_fetch_link_map_offsets_hook): Remove.Ulrich Weigand15-153/+43
(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.
2007-10-24 * i386-nto-tdep.c: Include "solib.h".Ulrich Weigand4-14/+31
(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.
2007-10-24Fix last commit.Ulrich Weigand1-0/+26
2007-10-24 * arm-wince-tdep.c: Include "solib.h" and "solib-target.h".Ulrich Weigand5-6/+26
(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.
2007-10-24 * mips-irix-tdep.c: Include "gdb_string.h", "solib.h", "solib-irix.h".Ulrich Weigand5-6/+49
(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.
2007-10-24 * configure.tgt: Remove hppa*64*-*-hpux11* special case.Ulrich Weigand14-24/+339
* 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.
2007-10-24 * frv-tdep.c: Include "solib.h".Ulrich Weigand5-5/+20
(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.
2007-10-24 * solib.c (solib_global_lookup): Use solib_ops instead of globalUlrich Weigand2-3/+9
current_target_so_ops.
2007-10-24 * gdb.texinfo (Files): Correct formatting. Mention ExpatDaniel Jacobowitz2-6/+37
requirement. (Requirements for Building GDB): Expand the list of Expat uses. (Library List Format, Memory Map Format): Mention Expat. (Target Descriptions): Update Expat wording.
2007-10-24 * config/frv/frv.mt (DEPRECATED_TM_FILE): Remove.Ulrich Weigand3-41/+5
* config/frv-tm-frv.h: Delete file.
2007-10-24 * NEWS: Mention gdbserver support for non-libthread_db operation.Daniel Jacobowitz2-0/+7
2007-10-24 * amd64-tdep.c (amd64_convert_register_p): Delete.Daniel Jacobowitz10-37/+75
(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.
2007-10-242007-10-24 Nathan Sidwell <nathan@codesourcery.com>Daniel Jacobowitz2-2/+7
* target-memory.c (claim_memory): Propagate baton for split memory requests.
2007-10-242007-10-24 Pedro Alves <pedro_alves@portugalmail.pt>Daniel Jacobowitz2-2/+11
PR gdb/2341 * sol-thread.c (sol_thread_fetch_registers): Work around gcc 3.4 alias warning bug.
2007-10-24 * linux-low.c (handle_extended_wait): Handle unexpected signals.Daniel Jacobowitz2-4/+28
2007-10-24 * symtab.c (find_line_symtab): scan through psymtabsCarlos Eduardo Seo2-0/+13
when exact_match is zero.
2007-10-24*** empty log message ***gdbadmin1-1/+1
2007-10-23 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.Daniel Jacobowitz3-0/+135
2007-10-23 * inferiors.c (change_inferior_id): Delete.Daniel Jacobowitz7-106/+392
(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.
2007-10-232007-10-23 Atsushi Nemoto <anemo@mba.ocn.ne.jp>Daniel Jacobowitz2-0/+114
* mips-tdep.c (LL_OPCODE, LLD_OPCODE, SC_OPCODE, SCD_OPCODE): Define. (deal_with_atomic_sequence): New. (mips_software_single_step): Use it.
2007-10-23 PR gdb/2336Daniel Jacobowitz3-2/+10
* Makefile.def (dependencies): Make configure-gdb depend on all-intl. * Makefile.in: Regenerated. * configure.ac: Modify $LIBINTL before the BFD check. * configure: Regenerated.