summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile.def (host_modules): Add cgen.cgen-1_1-branchDoug Evans2009-06-260-0/+0
| | | | | | * Makefile.in: Regenerate. * configure.ac (host_tools): Add cgen. * configure: Regenerate.
* * Makefile.def (host_modules): Add cgen.Doug Evans2009-06-265-2/+453
| | | | | | * Makefile.in: Regenerate. * configure.ac (host_tools): Add cgen. * configure: Regenerate.
* * gdb.base/psymtab.exp: Turn off pending breakpoints.Doug Evans2009-06-262-0/+9
|
* Fix indentation of:Tristan Gingold2009-06-261-20/+20
| | | | 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
* Add missing entry for:Tristan Gingold2009-06-261-0/+5
| | | | | | | 2009-06-22 Tristan Gingold <gingold@adacore.com> * darwin-nat.c (darwin_xfer_partial): Use host_address_to_string instead of "%p".
* *** empty log message ***gdbadmin2009-06-261-1/+1
|
* daily updateAlan Modra2009-06-261-1/+1
|
* * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fixPierre Muller2009-06-252-1/+9
| | | | windows problem for 'file delete $binfile'.
* * server.c (process_serial_event): Re-return unsupported, notPedro Alves2009-06-256-51/+62
| | | | | | | | | | | | | | | | | | | | error, if the type isn't recognized. Re-allow supporting only insert or remove packets. Also call require_running for breakpoints. Add missing break statement to default case. Tidy. * target.h (struct target_ops): Rename insert_watchpoint to insert_point, and remove_watchpoint to remove_point. * linux-low.h (struct linux_target_ops): Likewise. * linux-low.c (linux_insert_watchpoint): Rename to ... (linux_insert_point): ... this. Adjust. (linux_remove_watchpoint): Rename to ... (linux_remove_point): ... this. Adjust. (linux_target_ops): Adjust. * linux-crisv32-low.c (cris_insert_watchpoint): Rename to ... (cris_insert_point): ... this. (cris_remove_watchpoint): Rename to ... (cris_remove_point): ... this. (the_low_target): Adjust.
* * linespec.c (find_method): Add new not_found_ptr parameter toklo2009-06-252-7/+27
| | | | | | | | bring in line with symtab_from_filename, decode_variable. (decode_compound): Likewise. Also propagate not_found_ptr to find_method. (decode_line_1): Propagate not_found_ptr to decode_compound. (cplusplus_error): Now throws NOT_FOUND_ERROR.
* * MAINTAINERS (Write After Approval): Add self.klo2009-06-252-0/+5
|
* * elf-m10300.c (mn10300_elf_relax_section): Handle non-sectionNick Clifton2009-06-252-1/+5
| | | | symbols with SEC_MERGE flag.
* 2009-06-25 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2009-06-252-2/+15
| | | | | | | * coffcode.h (sec_to_styp_flags): Set discardable for .reloc and give .debug and .reloc data characteristics. (DOT_RELOC): New define for .reloc section string. (coff_write_object_contents): Use DOT_RELOC instead of string.
* 2009-06-25 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-06-255-216/+409
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mach-o-target.c (bfd_mach_o_get_dynamic_symtab_upper_bound) (bfd_mach_o_canonicalize_dynamic_symtab) (bfd_mach_o_get_synthetic_symtab): Defines. (TARGET_NAME_BACKEND): Add bfd_mach_o_print_thread entry. (TARGET_NAME): Use Mach-O specific functions for dynamic. * mach-o-i386.c (bfd_mach_o_i386_swap_reloc_in): Fix howto indexes for scattered relocations. (bfd_mach_o_i386_print_thread): New function. (bfd_mach_o_print_thread): Define. * mach-o.c (text_section_names_xlat): Add an entry for __const. (bfd_mach_o_canonicalize_one_reloc, bfd_mach_o_canonicalize_relocs): New functions extracted from ... (bfd_mach_o_canonicalize_reloc): ... This. Simplified. (bfd_mach_o_get_dynamic_reloc_upper_bound): New function. (bfd_mach_o_canonicalize_dynamic_reloc): New function. (bfd_mach_o_i386_flavour_string): Adjusted after enum renaming. (bfd_mach_o_ppc_flavour_string): Reindentation. Add 64 bits cases. (bfd_mach_o_scan_read_dylinker): Do not create a section anymore. Set name_str field. (bfd_mach_o_scan_read_dylib): Ditto. (bfd_mach_o_scan_read_thread): Set mdata at declaration. Add comments, reindent. (bfd_mach_o_scan_read_dysymtab): Set mdata at declaration. Correctly decode isym and flags on little endian targets. Set dysymtab field. (bfd_mach_o_scan_start_address): Adjust for enum names. (bfd_mach_o_lookup_section): Do not look for segments anymore. (bfd_mach_o_print_section): Display bfd section name. (bfd_mach_o_print_segment): Display none if no name. (bfd_mach_o_print_dysymtab): Display next index for local, external and undefined symbols. (bfd_mach_o_bfd_print_private_bfd_data): Adjust code by using name_str. Display dylinker name. Display thread and unixthread commands content. (bfd_mach_o_print_thread): New macro. * mach-o.h (bfd_mach_o_mach_header_magic): Align numbers. (bfd_mach_o_ppc_thread_flavour): Ditto. (bfd_mach_o_i386_thread_flavour): Ditto. (BFD_MACH_O_PPC_THREAD_STATE_NONE): New enum. (BFD_MACH_O_x86_THREAD_STATE_NONE): Replaces BFD_MACH_O_THREAD_STATE_NONE. (bfd_mach_o_segment_command): Remove segment field. (bfd_mach_o_thread_flavour): Field offset is now unsigned long. (bfd_mach_o_dylinker_command): Remove section field, add name_str. (bfd_mach_o_prebound_dylib_command): Ditto. (bfd_mach_o_dylib_command): Ditto. (bfd_mach_o_prebound_dylib_command): Remove section field. (mach_o_data_struct): Add dysymtab field. (bfd_mach_o_backend_data): Add _bfd_mach_o_print_thread field. (bfd_mach_o_get_reloc_upper_bound, bfd_mach_o_canonicalize_reloc) (bfd_mach_o_build_commands): Remove parameter names and attributes. (bfd_mach_o_get_dynamic_reloc_upper_bound) (bfd_mach_o_canonicalize_dynamic_reloc): New prototypes.
* 2009-06-25 Rafael Avila de Espindola <espindola@google.com>Dave Korn2009-06-252-3/+8
| | | | | * plugin.c (load_plugin): Use stat and S_ISREG instead of the d_type field of struct dirent.
* daily updateAlan Modra2009-06-251-1/+1
|
* *** empty log message ***gdbadmin2009-06-251-1/+1
|
* * valops.c (value_one): Reimplement broken decimal-float case.Ulrich Weigand2009-06-242-5/+6
|
* * eval.c (evaluate_subexp_standard): Use expression architectureUlrich Weigand2009-06-243-4/+10
| | | | | | | instead of current_gdbarch. * infrun.c (handle_inferior_event): Avoid unncessary reference to current_gdbarch and get_current_frame ().
* * breakpoint.h (set_longjmp_breakpoint): Add THREAD argument.Ulrich Weigand2009-06-244-28/+96
| | | | | | | | | | | | | | | | | (enum bptype): Add bp_longjmp_master. * breakpoint.c (create_longjmp_master_breakpoint): New function. (update_breakpoints_after_exec): Handle bp_longjmp_master breakpoints. Call create_longjmp_master_breakpoint. (print_it_typical, bpstat_stop_status, bpstat_what, print_one_breakpoint_location, allocate_bp_location, mention, delete_command, breakpoint_re_set_one): Handle bp_longjmp_master. (breakpoint_re_set): Call create_longjmp_master_breakpoint. (create_longjmp_breakpoint): Delete. (set_longjmp_breakpoint): Add THREAD argument. Reimplement to install momentary clones of bp_longjmp_master breakpoints. * infcmd.c (step_1): Pass thread to set_longjmp_breakpoint.
* * server.c (handle_v_kill): Pass signal_pid toPierre Muller2009-06-242-2/+9
| | | | kill_inferior if multi_process is zero.
* [cgen]DJ Delorie2009-06-247-951/+1558
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * intrinsics.scm: Updates to support IVC2. (belongs-to-group?): Check IVC2 slots. (-slots-attribute): New. (targets::attributes): Add SLOTS. (target:add-well-known-intrinsics): Add CPMOV. (md-insn): Add CPTYPE and CRET?. (add-md-insn): Likewise. (add-intrinsic-for-isa): Disable the duplicate tests, as IVC2 has duplicate insns with different bit patterns. (write-cgen-insn?): Add cret? support. (intrinsics.h): Add vector types. (runtime-op): Add vector support. (intrinsic-protos.h): Let GCC define its types. Add cret? support. * cpu/mep-core.cpu: Add CPTYPE and CRET attributes. * cpu/mep-ivc2.cpu: Update all insns to include type information. (h-cr-ivc2): Default to typeless. (h-ccr-ivc2): Fix register width. (SLOTS): Fix values and default. (ivc2_*): Add control register names. (crop, crqp, crpp, croc, crqc, crpc): Default to typeless. [opcodes] * mep-desc.c: Regenerate. * mep-desc.h: Regenerate. * mep-dis.c: Regenerate. * mep-ibld.c: Regenerate. * mep-opc.c: Regenerate. [sid/component/cgen-cpu/mep] * ivc2-cop.cxx (ivc2_cphadd_w): Change to return value. (ivc2_cpsubaca0u_b): Remove debug line. * ivc2-cpu.h (ivc2_cpccadd_b): Change to return value. * mep-cop1-16-decode.cxx: Regenerate. * mep-cop1-16-sem.cxx: Regenerate. * mep-cop1-32-decode.cxx: Regenerate. * mep-cop1-32-sem.cxx: Regenerate. * mep-cop1-48-decode.cxx: Regenerate. * mep-cop1-48-sem.cxx: Regenerate. * mep-cop1-64-decode.cxx: Regenerate. * mep-cop1-64-sem.cxx: Regenerate. * mep-core1-decode.cxx: Regenerate. * mep-cpu.h: Regenerate. * mep-decode.cxx: Regenerate. * mep-desc.h: Regenerate.
* [cgen]DJ Delorie2009-06-244-0/+20
| | | | | | | | | | | * cpu/mep.opc (mep_cgen_insn_supported_asm): New, skip the short version of BSR when assembling VLIW bundles. Use it in mep-asm.c [opcodes] * mep-asm.c: Regenerate. * mep-opc.c: Regenerate. * mep-opc.h: Regenerate.
* daily updateAlan Modra2009-06-241-1/+1
|
* *** empty log message ***gdbadmin2009-06-241-1/+1
|
* * dwarf2read.c (dwarf_decode_lines): Ignore rows where is_stmt is 0.Cary Coutant2009-06-232-3/+8
| | | | Set basic_block to 0 after a special opcode.
* gdb/Jan Kratochvil2009-06-232-6/+16
| | | | | | Fix a regression by the mmap patch from 2009-06-16. * symfile.c (reread_symbols): Move sym_finish and clear_objfile_data calls before deleting the OBJFILE obstack. Extend the comment.
* * jv-lang.h (JAVA_OBJECT_SIZE): Remove.Ulrich Weigand2009-06-234-14/+23
| | | | | | | | | (get_java_object_header_size): Add GDBARCH parameter. * jv-lang.c (get_java_object_header_size): Add GDBARCH parameter. Use it instead of current_gdbarch. (evaluate_subexp_java): Replace JAVA_OBJECT_SIZE with call to get_java_object_header_size. * jv-valprint.c (java_value_print): Likewise.
* 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>swagiaal2009-06-2310-63/+256
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * dwarf2read.c (process_die): Handle import statements (DW_TAG_imported_declaration, case DW_TAG_imported_module) (read_import_statement): New. (read_func_scope): Update using_directives to point to current context (read_lexical_block_scope): Ditto. * cp-support.h: Added prototype for cp_add_using. * cp-namespace.c: Removed local context_stack. (cp_initialize_namespace): Deleted. (cp_finalize_namespace): Deleted. (cp_add_using_directive): Use using_directives instead of using_list. (cp_add_using): No longer static. * buildsym.h: Created global using_direct variable. Created using_direct variable in context_stack. * buildsym.c (finish_block): Set using directives for the block under construction. (start_symtab): Removed call to cp_initialize_namespace(). (end_symtab): Removed call to cp_finalize_namespace(). (push_context): Save and reset using_directives. * block.c (block_using): Return using directives for given block instead of static block. 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/namespace-using.exp: New test. * gdb.cp/namespace-using.cc: New test.
* * target-descriptions.h (struct type): Do not declare.Ulrich Weigand2009-06-2338-548/+646
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (struct tdesc_type): Declare. (tdesc_named_type): Change return type to struct tdesc_type *. (tdesc_record_type): Remove. (tdesc_create_vector): Add prototype. (tdesc_create_union): Likewise. (tdesc_add_field): Likewise. * target-descriptions.c (struct tdesc_reg): Replace gdb_type member by tdesc_type member. (struct tdesc_type_field, tdesc_type_field): Add type and vector def. (struct tdesc_type, tdesc_type_p): Likewise. (struct tdesc_arch_reg, tdesc_arch_reg): Likewise. (struct tdesc_feature): Change type of "types" to VEC(tdesc_type_p). (struct tdesc_arch_data): Replace registers member by arch_regs. (tdesc_predefined_types): Change to array of pre-defined struct tdesc_type structures. Add "code_ptr" and "data_ptr". (tdesc_named_type): Return struct tdesc_type * instead of GDB type. (tdesc_gdb_type): New function. (target_find_description): Update for data structure changes. (tdesc_data_cleanup): Likewise. (tdesc_numbered_register): Likewise. (tdesc_use_registers): Likewise. (tdesc_create_reg): Likewise. (tdesc_find_arch_register): New function. (tdesc_find_register): Use it. (tdesc_register_type): Use tdesc_gdb_type to generate GDB type from tdesc_type on demand; cache generated types in tdesc_arch_reg. (tdesc_free_type): New function. (tdesc_free_feature): Call it. (tdesc_create_vector): New function. (tdesc_create_union): Likewise. (tdesc_add_field): Likewise. (tdesc_record_type): Remove. (tdesc_type_id): Remove. (maint_print_c_tdesc_cmd): Update for data structure changes. Update generated code to create tdesc_type structures instead of GDB types. * xml-tdesc.c: Do not include "gdbtypes.h". (struct tdesc_parsing_data): Change type of current_union to struct tdesc_type *. (tdesc_start_reg): Do not special-case "code_ptr" or "data_ptr". (tdesc_start_union): Call tdesc_create_union. (tdesc_start_field): Call tdesc_add_field. (tdesc_start_vector): Call tdesc_create_vector. (tdesc_end_union): Remove. (feature_children): Remove reference to tdesc_end_union. * features/arm-with-iwmmxt.c: Regenerate. * features/mips-linux.c: Regenerate. * features/mips64-linux.c: Regenerate. * features/rs6000/powerpc-32.c: Regenerate. * features/rs6000/powerpc-32l.c: Regenerate. * features/rs6000/powerpc-403.c: Regenerate. * features/rs6000/powerpc-403gc.c: Regenerate. * features/rs6000/powerpc-505.c: Regenerate. * features/rs6000/powerpc-601.c: Regenerate. * features/rs6000/powerpc-602.c: Regenerate. * features/rs6000/powerpc-603.c: Regenerate. * features/rs6000/powerpc-604.c: Regenerate. * features/rs6000/powerpc-64.c: Regenerate. * features/rs6000/powerpc-64l.c: Regenerate. * features/rs6000/powerpc-7400.c: Regenerate. * features/rs6000/powerpc-750.c: Regenerate. * features/rs6000/powerpc-860.c: Regenerate. * features/rs6000/powerpc-altivec32.c: Regenerate. * features/rs6000/powerpc-altivec32l.c: Regenerate. * features/rs6000/powerpc-altivec64.c: Regenerate. * features/rs6000/powerpc-altivec64l.c: Regenerate. * features/rs6000/powerpc-e500.c: Regenerate. * features/rs6000/powerpc-e500l.c: Regenerate. * features/rs6000/powerpc-isa205-32l.c: Regenerate. * features/rs6000/powerpc-isa205-64l.c: Regenerate. * features/rs6000/powerpc-isa205-altivec32l.c: Regenerate. * features/rs6000/powerpc-isa205-altivec64l.c: Regenerate. * features/rs6000/powerpc-isa205-vsx32l.c: Regenerate. * features/rs6000/powerpc-isa205-vsx64l.c: Regenerate. * features/rs6000/powerpc-vsx32.c: Regenerate. * features/rs6000/powerpc-vsx32l.c: Regenerate. * features/rs6000/powerpc-vsx64.c: Regenerate. * features/rs6000/powerpc-vsx64l.c: Regenerate. * features/rs6000/rs6000.c: Regenerate.
* * gdb.ada/variant_record_packed_array: New testcase.Joel Brobecker2009-06-235-0/+117
|
* * ada-lang.c (decode_packed_array): If the value is a pointer toJoel Brobecker2009-06-232-23/+328
| | | | | | | | | | | | | an array, then use value_ind to dereference it, not ada_value_ind. (ada_template_to_fixed_record_type_1): Handle the case where a dynamic field is an aligner type. (to_fixed_array_type): Add handling for packed array types. (ada_get_base_type): Do not follow the XVS type if the type is an aligner type. (ada_evaluate_subexp): Split a few statements up for clarity and debuggability. <OP_FUNCALL>: Add handling of the case of a packed array that has already been fixed.
* * ada-lang.c (evaluate_subexp): Delete. Use the version from eval.c.Joel Brobecker2009-06-235-19/+16
| | | | | | | (evaluate_subexp_type): Reimplement using evaluate_subexp. * value.h (evaluate_subexp): Add declaration. * eval.c (evaluate_subexp): Make non-static. * objc-lang.c (print_object_command): Use evaluate_subexp.
* 2009-06-23 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2009-06-235-43/+40
| | | | | | | | | | Revert 2009-05-14 breakpoint commit (no longer needed). * breakpoint.h (breakpoint_re_set_objfile): Remove * breakpoint.c (breakpoint_re_set_objfile): Likewise (create_overlay_event_breakpoint): Remove objfile parameter, iterate over all objfiles. * objfiles.c (objfile_relocate): Update. * symfile.c (new_symfile_objfile): Likewise.
* gdbTom Tromey2009-06-236-12/+68
| | | | | | | | | | | PR gdb/10309: * c-lang.c (classify_type): Iterate over typedefs. * c-valprint.c (textual_element_type): Iterate over typedefs. gdb/testsuite * gdb.base/charset.exp (test_combination): Regression test. * gdb.base/charset.c (my_wchar_t): New typedef. (myvar): New global. (main): Set myvar.
* And the ChangeLog entry:Tristan Gingold2009-06-231-0/+5
| | | | | | | 2009-06-23 Tristan Gingold <gingold@adacore.com> * vms.c (vms_get_synthetic_symtab): Remove duplicate definition of this macro. Fix indentation.
* * server.c (process_serial_event): Add support for Z0 and Z1 packet.Aleksandar Ristovski2009-06-233-53/+50
| | | | | * target.h (target_ops): Comment for *_watchpoint to make it clear the functions can get types '0' and '1'.
* Fix a nit.Tristan Gingold2009-06-231-3/+1
| | | | | | | 2009-06-23 Tristan Gingold <gingold@adacore.com> * vms.c (vms_get_synthetic_symtab): Remove duplicate definition of this macro. Fix indentation.
* *** empty log message ***gdbadmin2009-06-231-1/+1
|
* daily updateAlan Modra2009-06-231-1/+1
|
* gdb/Jan Kratochvil2009-06-222-24/+39
| | | | | | PR gdb/9988: * buildsym.c (block_compar): New function. (end_symtab): Replace the bubble sort by a qsort based code.
* * linux-low.c (usr_fetch_inferior_registers): Remove check for regno 0.Aleksandar Ristovski2009-06-226-8/+13
| | | | | | | | * proc-service.c (ps_lgetregs): Pass -1 to fetch all registers. * regcache.c (get_regcache): Likewise. * spu-low.c (spu_fetch_registers): Remove 0 to -1 conversion. * win32-low.c (child_fetch_inferior_registers): Remove check for regno 0.
* 2009-05-07 Sami Wagiaalla <swagiaal@redhat.com>swagiaal2009-06-222-0/+5
| | | | * MAINTAINERS (Write After Approval): Add self.
* * spu-tdep.c (spu_get_longjmp_target): New function.Ulrich Weigand2009-06-222-0/+26
| | | | (spu_gdbarch_init): Install it.
* 2009-06-22 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-06-222-1/+6
| | | | | PR server/10306 * remote.c (getpkt_or_notif_sane_1): Initialize val to -1.
* * po/fi.po: Updated Finish translation.Nick Clifton2009-06-222-89/+165
|
* 2009-06-22 Christophe Lyon <christophe.lyon@st.com>clyon2009-06-222-7/+34
| | | | | | | | | | | | | | | | | | bfd/ * elf32-arm.c (elf32_arm_size_stubs): Use PLT address as destination for defined dynamic symbols when deciding whether to insert a stub or not. (allocate_dynrelocs): Make sure functions are not marked as Thumb when actually accessed through a PLT, even when generating a shared lib. ld/testsuite: * ld-arm/farcall-mixed-app.s: Add new references to check more modes switching. * ld-arm/farcall-mixed-lib1.s: Likewise. * ld-arm/farcall-mixed-app-v5.d: Update expected result. * farcall-mixed-app.d: Likewise. * ld-arm/farcall-mixed-lib.d: Likewise.
* (committed as obvious)Tristan Gingold2009-06-221-2/+4
| | | | | | | 2009-06-22 Tristan Gingold <gingold@adacore.com> * darwin-nat.c (darwin_xfer_partial): Use host_address_to_string instead of "%p".
* 2009-06-22 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-06-222-0/+6
| | | | | * mach-o.c (bfd_mach_o_canonicalize_reloc): Append a sentinel to the relocs array.
* cpu/Alan Modra2009-06-222-1/+5
| | | | | | * m32c.opc (parse_lab_5_3): Use correct enum. opcodes/ * m32c-asm.c: Regenerate.