aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-02-18 PR ld/12376Dave Anglin2-0/+8
emulparams/hppalinux.sh (DATA_ADDR): Define. (SHLIB_DATA_ADDR): Likewise.
2011-02-18 * breakpoint.c (get_number_trailer): No longer accept a NULL PP.Pedro Alves4-37/+45
* breakpoint.h (get_number_or_range): Declare. * printcmd.c (ALL_DISPLAYS): Declare. (delete_display): Reimplement taking a display pointer. (undisplay_command): Accept a range of displays to delete, using get_number_or_range.
2011-02-182010-02-18 Rafael Ávila de Espíndola <respindola@mozilla.com>Rafael Ávila de Espíndola2-0/+21
* symtab.cc (Symbol::should_add_dynsym_entry) Return false for plugin only symbols. (Symbol_table::sized_finalize_symbol) Mark symbol only present in plugin files as not needed in the symbol table.
2011-02-18 * c-valprint.c (c_val_print): Add embedded_offset to addressPierre Muller3-2/+8
for arrays of unspecified length. * p-valprint.c (pascal_val_print): Likewise.
2011-02-182011-02-18 Yao Qi <yao@codesourcery.com>Yao Qi4-27/+34
* gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ... (arm_process_displaced_insn): .. here. Remove parameter INSN. (thumb_process_displaced_insn): New. * gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update call to arm_process_displaced_insn. * gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn.
2011-02-18*** empty log message ***gdbadmin1-1/+1
2011-02-17daily updateAlan Modra1-1/+1
2011-02-172011-02-17 Michael Snyder <msnyder@vmware.com>Michael Snyder2-32/+36
* gdb.threads/thread-find.exp: Fix regular expressions.
2011-02-17Prefix filenames with gdb.trace/Pedro Alves1-6/+7
2011-02-17 * dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare.Tom Tromey5-22/+154
* dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from compile_dwarf_to_ax. No longer static. Call dwarf2_compile_cfa_to_ax. (locexpr_tracepoint_var_ref): Update. (loclist_tracepoint_var_ref): Update. * dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare. * dwarf2-frame.c (execute_cfa_program): Remove 'this_frame' argument; add 'gdbarch' and 'pc'. (dwarf2_compile_cfa_to_ax): New function. (dwarf2_frame_cache): Update.
2011-02-17Revert the last change to elf64-x86-64.c.H.J. Lu2-8/+0
2011-02-17[Ada] Fix unconstrained packed array sizeJoel Brobecker7-2/+86
When ada-lang transforms an array descriptor type (an XUP structure) into an array type, the size of the array type is computed by using the element size, and multiplying it by the number of elements in that array. This does not work, however, for packed arrays, where the *packed* size in bits needs to be used. This usually does not cause any problem, because we end up reading more memory than needed. However, we have observed on LynxOS a memory error while trying to read the entire array, because the larger-than-needed read tried to read past the end of the stack into inaccessible memory. This patch fixes the problem by correctly computing the array size in bytes in the case of packed arrays. gdb/ChangeLog: * ada-lang.c (ada_type_of_array): Fix the size of the array in the case of an unconstrained packed array. gdb/testsuite/ChangeLog: * gdb.ada/packed_array: Expand testcase to test printing of unconstrained packed array.
2011-02-17dw2-ranges.exp: simplify using clean_restartJoel Brobecker2-4/+5
gdb/testsuite/ChangeLog: * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
2011-02-172011-02-17 Yao Qi <yao@codesourcery.com>Yao Qi2-1/+22
* common/Makefile.in: Add more targets for make.
2011-02-17*** empty log message ***gdbadmin1-1/+1
2011-02-16daily updateAlan Modra1-1/+1
2011-02-16 * dwarf2loc.c (unimplemented): Fix typo.Tom Tromey2-1/+6
2011-02-16 * dwarf2loc.c (unimplemented): Handle unnamed opcodes.Tom Tromey4-10/+37
(compile_dwarf_to_ax) <default>: Use unimplemented. <DW_OP_deref>: Update. (disassemble_dwarf_expression): Update. * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument. (decode_locdesc): Update. * dwarf2expr.h (dwarf_stack_op_name): Update.
2011-02-16 * ax.h (struct aop_map) <name>: Now const.Tom Tromey2-1/+5
2011-02-16Change x32 LIBPATH_SUFFIX to x32.H.J. Lu2-1/+6
2011-02-16 H.J. Lu <hongjiu.lu@intel.com> * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to x32 for x32.
2011-02-162011-02-16 Tom Tromey <tromey@redhat.com>Pedro Alves5-9/+36
gdb/ * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other than axs_rvalue. 2011-02-16 Pedro Alves <pedro@codesourcery.com> gdb/testsuite/ * collection.c (globalarr3): New global. (main): Initialize it before collecting, and and clear it afterwards. * collection.exp (gdb_collect_globals_test): Test collecting with '{type} addr', where the addr expression is not an rvalue.
2011-02-16Fix comment typo.Richard Henderson1-1/+1
2011-02-16Don't check relocation overflow for x32.H.J. Lu2-0/+8
2011-02-16 H.J. Lu <hongjiu.lu@intel.com> * elf64-x86-64.c (elf_x86_64_check_relocs): Check relocation overflow only for ABI_64_P. (elf_x86_64_relocate_section): Likewise.
2011-02-162011-02-16 Yao Qi <yao@qiyaows>Yao Qi4-0/+42
* infrun.c (get_displaced_step_closure_by_addr): New. * inferior.h: Declare it. * arm-tdep.c: (arm_pc_is_thumb): Call get_displaced_step_closure_by_addr. Adjust MEMADDR if it returns non-NULL.
2011-02-16gdb/testsuite/ChangeLogKen Werner2-58/+65
2011-02-16 Ken Werner <ken.werner@de.ibm.com> * gdb.opencl/datatypes.exp: Allow "false" when printing the content of a bool variable. Expect correct OpenCL names for vector types. Use the uc3 variable name instead of referring to the uchar3 built-in type. Escape the asterisk at the half pointer test.
2011-02-162011-02-16 Pedro Alves <pedro@codesourcery.com>Pedro Alves5-2/+45
Jan Kratochvil <jan.kratochvil@redhat.com> gdb/ * tracepoint.c (memrange_sortmerge): Fix list A's end calculation. 2011-02-16 Pedro Alves <pedro@codesourcery.com> gdb/testsuite/ * collection.c (globalarr2): New global. (main): Initialize it before collecting, and and clear it afterwards. * collection.exp (gdb_collect_globals_test): Test collecting overlapping memory ranges.
2011-02-16Fix pasto...Pedro Alves1-1/+1
2011-02-16 gdb/Pedro Alves2-11/+32
* value.c (value_contents_copy_raw): Extend describing comment. Assert that the destination contents we're overwriting are wholly available. * value.h (value_contents_copy): Extend describing comment.
2011-02-16 * value.c (value_available_contents_eq): Remove redundant localPedro Alves3-21/+29
variables. Fix available contents comparision. * value.h (value_available_contents_eq): Extend describing comment.
2011-02-162011-02-16 Yao Qi <yao@codesourcery.com>Yao Qi2-1/+6
* thread.c (info_threads_command): Add missing i18n markup and remove trailing newline.
2011-02-16*** empty log message ***gdbadmin1-1/+1
2011-02-15daily updateAlan Modra1-1/+1
2011-02-152011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-38/+175
* breakpoint.c (longjmp_names): New variable. (struct breakpoint_objfile_data): New type. (breakpoint_objfile_key): New variable. (msym_not_found): New variable. (msym_not_found_p): New predicate. (get_breakpoint_objfile_data): New function. (create_overlay_event_breakpoint): Check per-objfile cache for symbols first. (create_longjmp_master_breakpoint): Likewise. (create_std_terminate_master_breakpoint): Likewise. (create_exception_master_breakpoint): Likewise. (_initialize_breakpoint): Register per-objfile data key.
2011-02-15Fix mis-merge of changelog.Michael Snyder1-9/+18
2011-02-152011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-31/+52
* breakpoint.c ((create_overlay_event_breakpoint): Const-propagate parameter value. (create_longjmp_master_breakpoint): Loop over longjmp names. (create_std_terminate_master_breakpoint): Const-propagate parameter value. (update_breakpoints_after_exec): Adjust. (breakpoint_re_set): Adjust.
2011-02-152011-02-15 Michael Snyder <msnyder@vmware.com>Michael Snyder9-24/+610
* command.h (enum command_class): New class 'no_set_class', for "show" commands without a corresponding "set" command. * value.c (_initialize_values): Use 'no_set_class' for "show values". * copying.c (_initialize_copying): Ditto for "show copying" and "show warranty". * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and "show version". * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for which there is no corresponding "set" command (eg. "show copying"). 2011-02-14 Michael Snyder <msnyder@vmware.com> * gdb.texinfo (threads): Document argument for "info threads" cmd. Document new command "thread find". 2011-02-15 Michael Snyder <msnyder@vmware.com> * gdb.base/default.exp: Add tests for thread commands. * gdb.base/help.exp: Add tests for thread commands. * gdb.threads/thread-find.exp: New test for thread find command.
2011-02-15Merge gdb/common/ChangeLog back to gdb/ChangeLog.Jan Kratochvil2-13/+13
2011-02-15gdb/Jan Kratochvil6-108/+87
* Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'. * aclocal.m4: Regenerated with aclocal-1.11.1. * common/configure: Regenerate with autoconf-2.64. gdb/gdbserver/ * aclocal.m4: Regenerated with aclocal-1.11.1.
2011-02-15gdb/ChangeLogKen Werner4-3/+12
2011-02-15 Ken Werner <ken.werner@de.ibm.com> * opencl-lang.c (build_opencl_types): Set the size of the built-in bool data type to a size of one byte. gdb/testsuite/ChangeLog 2011-02-15 Ken Werner <ken.werner@de.ibm.com> * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
2011-02-15 * dw2gencfi.c (dot_cfi_dummy): New.Richard Henderson3-2/+44
(cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New. * read.c (pobegin): Unconditionally call cfi_pop_insert.
2011-02-15 gdb/Pedro Alves2-1/+10
* target.c (memory_xfer_live_readonly_partial): Document where to look for interface description.
2011-02-152011-02-15 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-2/+6
* pe-dll.c (process_def_file_and_drectve): Don't strip leading underscore from symbol by calling bfd_find_version_for_sym.
2011-02-152011-02-15 Yao Qi <yao@codesourcery.com>Yao Qi5-11/+104
PR tdep/12352 * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in order to store PC value on stack instead of text section. 2011-02-15 Yao Qi <yao@codesourcery.com> PR tdep/12352 * gdb.arch/arm-disp-step.S : New test for str instruction. * gdb.arch/arm-disp-step.exp : Likewise
2011-02-15gdb/Thiago Jung Bauermann5-10/+66
* rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for the EFP register set size. (efpr_pseudo_register_read): Use regcache_raw_read_part to read data from the VMX register. (efpr_pseudo_register_write): Use regcache_raw_write_part to read and write data from/to the VMX register. gdb/testsuite/ * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and "vector_register2_vr" test strings. Test the extended floating point registers (F32~F63). * lib/gdb.exp (skip_vsx_tests): Update compile flags for the IBM XL C compiler. Make the test program use a register provided by the compiler for the lxvd2x instruction.
2011-02-152011-02-15 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+8
* vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.
2011-02-15 * elf64-ppc.c (ppc64_elf_edit_toc): Reinstate second read ofAlan Modra2-1/+13
toc relocs. Fuss over free(NULL).
2011-02-15*** empty log message ***gdbadmin1-1/+1
2011-02-142011-02-14 Michael Snyder <msnyder@vmware.com>Michael Snyder6-18/+35
* command.h (enum command_class): New class 'no_set_class', for "show" commands without a corresponding "set" command. * value.c (_initialize_values): Use 'no_set_class' for "show values". * copying.c (_initialize_copying): Ditto for "show copying" and "show warranty". * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and "show version". * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for which there is no corresponding "set" command (eg. "show copying").
2011-02-142011-02-14 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+5
* gdb.texinfo (Threads): Update example of new thread message.
2011-02-14daily updateAlan Modra1-1/+1