* infrun.c (handle_inferior_event): Do not insert breakpoints at
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index c7515cbfdb6b9c32f9a0fb6b3840e5f2b88f867b..6d67b1db5951c24f885327657838567445b8e64f 100644 (file)
@@ -1,3 +1,198 @@
+2008-05-03  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * infrun.c (handle_inferior_event): Do not insert breakpoints at
+       TARGET_WAITKIND_LOADED events during startup (i.e. in the shell).
+
+2008-05-03  Pedro Alves  <pedro@codesourcery.com>
+
+       * parse.c (parse_exp_in_context): Don't override
+       expression_context_pc if get_selected_block returned a valid
+       block.
+
+2008-05-03  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * alpha-tdep.h (ALPHA_REGISTER_BYTES): Delete.
+       * arm-tdep.h (STATUS_REGISTER_SIZE): Delete.
+       * breakpoint.c (args_for_catchpoint_enable, current_exception_event):
+       Delete.
+       * c-typeprint.c (c_type_print_base): Delete handling of template
+       instantiations.
+       * cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
+       (METHOD_PTR_TO_VOFFSET): Delete.
+       * defs.h (QUIT_FIXME): Delete.
+       * f-lang.h (DEFAULT_DOTMAIN_NAME_IN_MF77, DEFAULT_MAIN_NAME_IN_MF77)
+       (DEFAULT_DOTMAIN_NAME_IN_XLF_BUGGY, DEFAULT_DOTMAIN_NAME_IN_XLF): Delete.
+       * gdbtypes.h (struct cplus_struct_type): Delete is_inlined,
+       ninstantiations, and instantiations.
+       (TYPE_INSTANTIATIONS, TYPE_NINSTANTIATIONS, TYPE_INSTANTIATION)
+       (TYPE_FN_FIELD_INLINED): Delete.
+       * srec.h (SREC_BINARY): Delete.
+       * symtab.c (symbol_init_demangled_name): Delete.
+       * symtab.h (SYMBOL_INIT_DEMANGLED_NAME, symbol_init_demangled_name)
+       (SYMBOL_OBJFILE, struct exception_event_record, CURRENT_EXCEPTION_KIND)
+       (CURRENT_EXCEPTION_CATCH_SAL, CURRENT_EXCEPTION_CATCH_LINE)
+       (CURRENT_EXCEPTION_CATCH_FILE, CURRENT_EXCEPTION_CATCH_PC)
+       (CURRENT_EXCEPTION_THROW_SAL, CURRENT_EXCEPTION_THROW_LINE)
+       (CURRENT_EXCEPTION_THROW_FILE, CURRENT_EXCEPTION_THROW_PC): Delete.
+       * target.h (enum thread_control_capabilities): Delete tc_switch.
+       (target_can_switch_threads): Delete.
+
+2008-05-03  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (objfiles.o): Update.
+       * exec.c (exec_set_section_address): Support p->addr != 0.
+       * objfiles.c (objfile_relocate): Update exec_ops section
+       addresses.
+       * symfile.c (place_section): Move exec_set_section_address call...
+       (default_symfile_offsets): ...to here.
+
+2008-05-03  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * Makefile.in (ppc_linux_tdep_h): New macro.
+       (powerpc_32l_c, powerpc_altivec32_c, powerpc_altivec32l_c): Likewise.
+       (powerpc_64l_c, powerpc_altivec64_c, powerpc_altivec64l_c): Likewise.
+       (powerpc_e500l_c): Likewise.
+       (ppc-linux-nat.o): Update dependencies.
+       (ppc-linux-tdep.o): Update dependencies.
+       (rs6000-tdep.o): Update dependencies.
+
+       * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Remove.
+       (ppc_linux_svr4_fetch_link_map_offsets): Remove.
+       (ppc_linux_gregset, ppc_linux_fpregset): Move to ppc-linux-tdep.h
+       (ppc_supply_reg, ppc_collect_reg): Add prototypes.
+       (tdesc_powerpc_e500): Remove.
+
+       * rs6000.c: Include "features/rs6000/powerpc-altivec32.c"
+       and "features/rs6000/powerpc-altivec64.c".
+       (ppc_supply_reg, ppc_collect_reg): Make global.
+       (variants): Use tdesc_powerpc_32 for "powerpc" and
+       tdesc_powerpc_altivec64 for "powerpc64".
+       (_initialize_rs6000_tdep): Initialize AltiVec descriptions.
+
+       * ppc-linux-tdep.h: New file.
+
+       * ppc-linux-tdep.c: Include "ppc-linux-tdep.c".
+       Include "features/rs6000/powerpc-32l.c".
+       Include "features/rs6000/powerpc-altivec32l.c".
+       Include "features/rs6000/powerpc-64l.c".
+       Include "features/rs6000/powerpc-altivec64l.c".
+       Include "features/rs6000/powerpc-e500l.c".
+       (ppc_linux_supply_gregset): New function.
+       (ppc_linux_collect_gregset): Handle orig_r3 and trap registers.
+       (ppc32_linux_gregset): Use ppc_linux_supply_gregset.
+       (ppc64_linux_gregset): Likewise.
+       (ppc_linux_sigtramp_cache): Handle orig_r3 and trap registers.
+       (ppc_linux_trap_reg_p): New function.
+       (ppc_linux_write_pc): New function.
+       (ppc_linux_core_read_description): New function.
+       (ppc_linux_init_abi): Install ppc_linux_write_pc and
+       ppc_linux_core_read_description.  Install orig_r3 and trap
+       registers if present in the target description.
+       (_initialize_ppc_linux_tdep): Initialize Linux target descriptions.
+
+       * ppc-linux-nat.c: Include "ppc-linux-tdep.h".
+       (PT_ORIG_R3, PT_TRAP): Define if necessary.
+       (ppc_register_u_addr): Handle orig_r3 and trap registers.
+       (fetch_ppc_registers): Likewise.
+       (store_ppc_registers): Likewise.
+       (store_register): Likewise.
+       (ppc_linux_read_description): Check whether AltiVec is supported.
+       Check whether inferior is 32-bit or 64-bit.  Return the appropriate
+       Linux target description.
+
+       * features/Makefile (WHICH): Use rs6000/powerpc-32l and
+       rs6000/powerpc-altivec32l instead of rs6000/powerpc-32.
+       Use rs6000/powerpc-64l and rs6000/powerpc-altivec64l instead
+       of rs6000/powerpc-64.  Use rs6000/powerpc-e500l instead of
+       rs6000/powerpc-e500.  Update -expedite variables accordingly.
+
+       * features/rs6000/power-spe.xml: Use regnum 73 for "acc".
+       * features/rs6000/powerpc-32.xml: Do not include power-altivec.xml.
+       * features/rs6000/powerpc-64.xml: Do not include power-altivec.xml.
+       * features/rs6000/powerpc-e500.c: Regenerate.
+       * features/rs6000/powerpc-32.c: Regenerate.
+       * features/rs6000/powerpc-64.c: Regenerate.
+
+       * features/rs6000/power-linux.xml: New file.
+       * features/rs6000/power64-linux.xml: New file.
+       * features/rs6000/powerpc-32l.xml: New file.
+       * features/rs6000/powerpc-altivec32l.xml: New file.
+       * features/rs6000/powerpc-64l.xml: New file.
+       * features/rs6000/powerpc-altivec64l.xml: New file.
+       * features/rs6000/powerpc-e500l.xml: New file.
+       * features/rs6000/powerpc-32l.c: New (generated) file.
+       * features/rs6000/powerpc-altivec32l.c: New (generated) file.
+       * features/rs6000/powerpc-64l.c: New (generated) file.
+       * features/rs6000/powerpc-altivec64l.c: New (generated) file.
+       * features/rs6000/powerpc-e500l.xml: New (generated) file.
+
+       * regformats/reg-ppc.dat: Remove.
+       * regformats/reg-ppc64.dat: Remove.
+       * regformats/rs6000/powerpc-32.dat: Remove.
+       * regformats/rs6000/powerpc-64.dat: Remove.
+       * regformats/rs6000/powerpc-e500.dat: Remove.
+       * regformats/rs6000/powerpc-32l.dat: New (generated) file.
+       * regformats/rs6000/powerpc-altivec32l.dat: New (generated) file.
+       * regformats/rs6000/powerpc-64l.dat: New (generated) file.
+       * regformats/rs6000/powerpc-altivec64l.dat: New (generated) file.
+       * regformats/rs6000/powerpc-e500l.dat: New (generated) file.
+
+2008-05-03  Pedro Alves  <pedro@codesourcery.com>
+
+       * thread.c (delete_thread): Call observer_notify_thread_exit.
+        * mi/mi-interp.c (mi_interpreter_init): Register mi_thread_exit as
+        thread_exit observer.
+        (mi_thread_exit): New.
+
+2008-05-03  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * breakpoint.c (create_exception_catchpoint): Remove prototype
+       for already deleted function.
+       * breakpoint.h (ep_is_exception_catchpoint): Likewise.
+       * frame.h (show_stack_frame): Remove prototype.
+       * stack.c (show_stack_frame): Remove empty, unused function.
+       * source.c (symtab_to_fullname, print_source_lines): Small fix
+       in comment.
+       * value.c (show_values): Update comments to mention "show values"
+       command instead of "info history".
+
+2008-05-02  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * linespec.c: Include "target.h".
+       (minsym_found): Handle minimal symbols pointing to function
+       descriptors.  Use find_function_start_pc.
+       * minsyms.c (msymbol_objfile): New function.
+       * parse.c (write_exp_msymbol): Handle minimal symbols pointing
+       to function descriptors.
+       * symtab.c (fixup_section): Only use minimal symbol at the same
+       address to determine section of a symbol.
+       (find_function_start_pc): New function.
+       (find_function_start_sal): Use it.
+       * symtab.h (msymbol_objfile): Add prototype.
+       (find_function_start_pc): Likewise.
+       * value.c: Include "objfiles.h".
+       (value_fn_field): Handle minimal symbols pointing to function
+       descriptors. 
+       * Makefile.in (linespec.o): Update dependencies.
+       (value.o): Likewise.
+
+2008-05-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (unwrap_value): Handle the case where the "F" field
+       inside a PAD type is a bitfield.
+
+2008-05-02  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Handle
+       TYPE_CODE_BOOL and TYPE_CODE_CHAR the same as TYPE_CODE_INT.
+       Handle TYPE_CODE_REF the same as TYPE_CODE_PTR.
+       Handle TYPE_CODE_METHOD the same as TYPE_CODE_FUNC.
+       Allow typedefs when checking for function pointer arguments.
+       Right-align small structs passed on the stack.
+       (ppc64_sysv_abi_return_value): Handle TYPE_CODE_BOOL and
+       TYPE_CODE_CHAR the same as TYPE_CODE_INT.
+       Handle TYPE_CODE_REF the same as TYPE_CODE_PTR.
+
 2008-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * Makefile.in (arm-tdep.o): Update.
This page took 0.025457 seconds and 4 git commands to generate.