summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Change source files over to GPLv3.Nick Clifton2007-07-05204-2327/+2837
|
* 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2007-07-052-14/+23
| | | | | * peicode.h (pe_bfd_object_p): Don't check PE vs. EFI target if arch is unknown.
* daily updateAlan Modra2007-07-051-1/+1
|
* *** empty log message ***gdbadmin2007-07-051-1/+1
|
* (Target Conditionals): Fix last change.Eli Zaretskii2007-07-042-6/+9
|
* * cr16-dis.c (getcinvstring): Add const qualifier to char * parameter.Nick Clifton2007-07-042-2/+8
| | | | (print_insn_cr16): Remove cast to char *.
* * elf32-mep.c (mep_final_link_relocate) [R_MEP_HI16S]: Correctly compensateNick Clifton2007-07-042-0/+11
| | | | for high bit set in R_MEP_LOW16.
* *** empty log message ***gdbadmin2007-07-041-1/+1
|
* daily updateAlan Modra2007-07-041-1/+1
|
* 2007-07-03 Yoshinori Sato <ysato@users.sourceforge.jp>Daniel Jacobowitz2007-07-032-1/+6
| | | | | * compile.c (sim_resume): Fix the last byte of ARGV for SYS_CMDLINE.
* * linux-nat.c (linux_nat_info_proc_cmd): Fix parsing of columns inAndreas Schwab2007-07-032-64/+70
| | | | /proc/../stat.
* 2007-07-03 Paul Gilliam <pgilliam@us.ibm.com>Daniel Jacobowitz2007-07-037-68/+159
| | | | | | | | | | | | | | | | | | | | | | | Thiago Bauermann <bauerman@br.ibm.com> Joseph S. Myers <joseph@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> gdb/ * remote.c (remote_check_symbols): Use gdbarch_convert_from_func_ptr_addr. * infcall.c (find_function_addr): Handle function descriptors without debugging information. * ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Renamed from ppc64_linux_convert_from_func_ptr_addr. Handle -msecure-plt. (ppc_linux_init_abi): Always set convert_from_func_ptr_addr. * solib-svr4.c (solib_break_names): Remove "._dl_debug_state". (bfd_lookup_symbol): Do not take a SECT_FLAGS argument. Always allow SEC_CODE and SEC_DATA. (enable_break): Update calls. Pass current_target to solib_add. Use gdbarch_convert_from_func_ptr_addr. gdb/gdbserver/ * remote-utils.c (look_up_one_symbol): Handle 'm' packets.
* 2007-07-03 Ilko Iliev <iliev@ronetix.at>Daniel Jacobowitz2007-07-032-4/+24
| | | | | | | Daniel Jacobowitz <dan@codesourcery.com> * symfile.c (print_transfer_performance): Avoid integer overflow. Use larger units.
* bfd:Joseph Myers2007-07-032-0/+22
| | | | | | | | | | * elf32-arm.c (elf32_arm_merge_eabi_attributes): Copy type from input attributes if value has been copied. ld/testsuite: * ld-arm/attr-merge-2a.s, ld-arm/attr-merge-2b.s, ld-arm/attr-merge-2.attr: New. * ld-arm/arm-elf.exp (armelftests): Add new test.
* Switch sources over to use the GPL version 3Nick Clifton2007-07-03399-2735/+4015
|
* 2007-07-03 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2007-07-033-613/+343
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gdb.texinfo: Replace following macros by their appropriate gdbarch routines: (TARGET_CHAR_SIGNED, CALL_DUMMY_LOCATION, CANNOT_FETCH_REGISTER) (CANNOT_STORE_REGISTER, GET_LONGJMP_TARGET, POINTER_TO_ADDRESS) (ADDRESS_TO_POINTER, INNER_THAN, FRAME_NUM_ARGS) (HAVE_NONSTEPPABLE_WATCHPOINT, TARGET_SHORT_BIT, TARGET_INT_BIT) (TARGET_LONG_BIT, TARGET_LONG_LONG_BIT, TARGET_FLOAT_BIT) (TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_PTR_BIT (TARGET_ADDR_BIT, SP_REGNUM, PC_REGNUM, PS_REGNUM, FP0_REGNUM) (STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM, DWARF_REG_TO_REGNUM) (SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM, BELIEVE_PCC_PROMOTION) (CONVERT_REGISTER_P, REGISTER_TO_VALUE, VALUE_TO_REGISTER) (POINTER_TO_ADDRESS, ADDRESS_TO_POINTER, EXTRACT_RETURN_VALUE) (STORE_RETURN_VALUE, SKIP_PROLOGUE, MEMORY_INSERT_BREAKPOINT) (BREAKPOINT_FROM_PC, MEMORY_REMOVE_BREAKPOINT, DECR_PC_AFTER_BREAK) (ADDR_BITS_REMOVE, TARGET_PRINT_INSN, SKIP_TRAMPOLINE_CODE) (IN_SOLIB_RETURN_TRAMPOLINE, NAME_OF_MALLOC, ADDRESS_CLASS_TYPE_FLAGS) (ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, ADDRESS_CLASS_TYPE_FLAGS_P). (ADDRESS_CLASS_NAME_to_TYPE_FLAGS, ADJUST_BREAKPOINT_ADDRESS) (PRINT_FLOAT_INFO, PRINT_VECTOR_INFO, INTEGER_TO_ADDRESS) (SKIP_PERMANENT_BREAKPOINT, TARGET_VIRTUAL_FRAME_POINTER) (SOFTWARE_SINGLE_STEP_P) (push_dummy_call, stabs_argument_has_addr, unwind_sp, unwind_pc) (print_registers_info, push_dummy_code, unwind_dummy_id): Rework (REGISTER_CONVERT_TO_TYPE, END_OF_TEXT_DEFAULT, GDB_MULTI_ARCH) (GDB_TARGET_IS_HPPA, DEPRECATED_GET_SAVED_REGISTER) (SYMBOLS_CAN_START_WITH_DOLLAR, DEPRECATED_INIT_EXTRA_FRAME_INFO) (DEPRECATED_INIT_FRAME_PC, DEPRECATED_SIGTRAMP_START) (IN_SOLIB_CALL_TRAMPOLINE, NO_HIF_SUPPORT, REGISTER_CONVERTIBLE) (DEPRECATED_REGISTER_RAW_SIZE, PARM_BOUNDARY, DEPRECATED_STACK_ALIGN) (PROLOGUE_FIRSTLINE_OVERLAP, DEPRECATED_POP_FRAME, STEP_SKIPS_DELAY) (TARGET_COMPLEX_BIT, TARGET_DOUBLE_COMPLEX_BIT) (OS9K_VARIABLES_INSIDE_BLOCK, KERNEL_U_ADDR, KERNEL_U_ADDR_HPUX) (REGISTER_U_ADDR, U_REGS_OFFSET, DEBUG_PTRACE): Remove description. (Converting an existing Target Architecture to Multi-arch): Remove section. (gdbarch_unwind_pc, gdbarch_unwind_sp): Renew code example. (gdbarch_addr_bits_remove): Add code example. * gdb.texinfo: Replace REGISTER_NAME by gdbarch_register_name.
* 2007-07-03 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2007-07-0313-109/+428
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cp-namespace.c (lookup_symbol_file): Add block to lookup_symbol_global call. * Makefile.in (solist_h): Add dependency on symtab header. (symtab.o): Add dependency on solist header. * solib.c (solib_global_lookup): New function. * solib-svr4.c (scan_dyntag): Likewise. (elf_locate_base): Call helper routine scan_dyntag. (elf_lookup_lib_symbol): New function. (_initialize_svr4_solib): Add elf_lookup_lib_symbol to svr4_so_ops. * solist.h (symtab.h): New include. (struct target_so_ops): New member lookup_lib_global_symbol. (solib_global_lookup): New prototype. * symtab.c: New include solist.h. (lookup_objfile_from_block): New function. (lookup_global_symbol_from_objfile): New function. (basic_lookup_symbol_nonlocal): Add block to lookup_symbol_global call. (lookup_symbol_global): Call library-specific lookup procedure. * symtab.h (lookup_global_symbol_from_objfile): New prototype. * NEWS: Document framework. testsuite/ * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup). * gdb.base/solib-symbol-lib.c: Likewise. * gdb.base/solib-symbol-main.c: Likewise.
* gas/testsuite/Nathan Sidwell2007-07-035-37/+86
| | | | | | | | | | | | | | | | | | | | | | | * gas/m68k/mcf-coproc.d: New. * gas/m68k/mcf-coproc.s: New. * gas/m68k/all.exp: Add it. gas/ * config/tc-m68k.c (m68k_ip): Add j & K operand types. (install_operand): Add E encoding. (md_begin): Check and skip initial '.' arg character. (get_num): Add 0..511 case. include/ * opcode/m68k.h: Document j K & E. opcodes/ * m68k-dis.c (fetch_arg): Add E. Replace length switch with direct masking. (print_ins_arg): Add j & K operand types. (match_insn_m68k): Check and skip initial '.' arg character. (m68k_scan_mask): Likewise. * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
* * target-descriptions.c (tdesc_create_reg): Do not set reg->typeDaniel Jacobowitz2007-07-033-3/+10
| | | | | | to NULL. * cli/cli-script.c (build_command_line): Update NULL check.
* 2007-07-02 Michael Snyder <msnyder@access-company.com>Michael Snyder2007-07-032-6/+36
| | | | * p-exp.y (yylex): Memory leak, 'uptokstart' must be freed (Coverity).
* *** empty log message ***gdbadmin2007-07-031-1/+1
|
* daily updateAlan Modra2007-07-031-1/+1
|
* * Makefile.in (XMLFILES): Add library-list.dtd.Daniel Jacobowitz2007-07-0212-37/+657
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (ALLDEPFILES): Add solib-target.o. (solib-target.o): New rule. * remote.c (PACKET_qXfer_libraries): New constant. (remote_protocol_features): Add qXfer:libraries:read. (remote_wait): Recognize library stop replies. (remote_async_wait): Likewise. Fix typo. (remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. (init_remote_async_ops): Fix typo. (_initialize_remote): Register "set remote library-info-packet". * solib-som.c (som_current_sos): Set addr_low and addr_high. * solib-target.c: New file. * solib.c (solib_map_sections): Use addr_low and addr_high instead of textsection. (info_sharedlibrary_command): Likewise. (solib_add_library, solib_remove_library): New. * solist.h (struct so_list): Replace textsection with addr_low and addr_high. * target.h (enum target_object): Add TARGET_OBJECT_LIBRARIES. * NEWS: Describe new qXfer:libraries:read and shared library event support. * features/library-list.dtd: New. * gdb.texinfo (Remote Configuration): Document library-info-packet. Add other missing entries. Adjust the table size to fit. (Stop Reply Packets): Use @itemize instead of @enumerate. Document stop reasons including the new "library" event. (General Query Packets): Adjust table widths for qSupported. Mention qXfer:libraries:read reply to qSupported and document the new packet. (Library List Format): New section.
* * infrun.c (inferior_ignoring_startup_exec_events): Delete.Daniel Jacobowitz2007-07-0211-42/+319
| | | | | | | | | | | | | | | | | | | | | | | | (start_remote): Use STOP_QUIETLY_REMOTE. (handle_inferior_event): Do not condition TARGET_WAITKIND_LOADED support on a SOLIB_ADD definition. Update breakpoints_inserted. Update to match shared library event breakpoint support. Only resume if appropriate. Handle STOP_QUIETLY_REMOTE. (normal_stop): Handle TARGET_WAITKIND_LOADED. * fork-child.c (startup_inferior): Do not set inferior_ignoring_startup_exec_events * inferior.h (inferior_ignoring_startup_exec_events): Delete declaration. (enum stop_kind): Improve documentation. Add STOP_QUIETLY_REMOTE. * config/gdbserver.exp (gdb_reconnect): New. * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c, gdb.base/solib-disc.exp: New files. * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending remote debugging". (gdb_compile): Add shlib_load flag. * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and port. (gdbserver_reconnect): New.
* 2007-07-02 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2007-07-022-10/+5
| | | | | * gdbtk/generic/gdbtk-stack.c (get_frame_name): Remove dead code (PC_LOAD_SEGMENT).
* 2007-07-02 Markus Deuling <deuling@de.ibm.com>Ulrich Weigand2007-07-022-9/+8
| | | | | | | * breakpoint.c (insert_bp_location): Remove dead code (DISABLE_UNSETTABLE_BREAK). (disable_breakpoints_in_shlibs) (disable_breakpoints_in_unloaded_shlib): Likewise (comment).
* * acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Fixup logic for crossMike Stump2007-07-023-22/+64
| | | | | | | builds. * acx.m4 (NCN_STRICT_CHECK_TARGET_TOOLS): Fix incremental builds. (ACX_HAVE_GCC_FOR_TARGET): Likewise.
* * breakpoint.c (reattach_breakpoints): Do not use remove_breakpoint.Daniel Jacobowitz2007-07-022-11/+12
| | | | Call insert_bp_location.
* * inferiors.c (change_inferior_id): Add comment.Daniel Jacobowitz2007-07-027-46/+153
| | | | | | | | | | | | | | | | | | * linux-low.c (check_removed_breakpoint): Add an early prototype. Improve debug output. (linux_attach): Doc update. (linux_detach_one_process, linux_detach): Clean up before releasing each process. (send_sigstop, wait_for_sigstop): Improve comments and debug output. * linux-low.h (struct process_info): Doc improvement. * mem-break.c (delete_all_breakpoints): New. * mem-break.h (delete_all_breakpoints): New prototype. * thread-db.c (find_first_thread): New. (thread_db_create_event): Call it instead of thread_db_find_new_threads. Clean up unused variables. (maybe_attach_thread): Remove first thread handling. (thread_db_find_new_threads): Use find_first_thread. (thread_db_get_tls_address): Likewise.
* bfd:Joseph Myers2007-07-023-1/+23
| | | | | | | | | | | | | | * elfxx-mips.c (mips_elf_calculate_relocation): Handle R_MIPS_TLS_DTPREL32 and R_MIPS_TLS_DTPREL64. * elf64-mips.c (mips_elf64_howto_table_rela): Support R_MIPS_TLS_DTPREL64. gas: * config/tc-mips.c (s_dtprelword, s_dtpreldword, s_dtprel_internal): New. (mips_pseudo_table): Add .dtprelword and .dtpreldword. (md_apply_fix): Handle BFD_RELOC_MIPS_TLS_DTPREL32 and BFD_RELOC_MIPS_TLS_DTPREL64.
* Regenerate files.Alan Modra2007-07-0216-13805/+1403
|
* * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): TidyAlan Modra2007-07-022-10/+16
| | | | symsec != NULL tests.
* PR 4712Alan Modra2007-07-022-84/+87
| | | | | * elf.c (assign_file_positions_for_load_sections): Adjust lma by p_vaddr_offset.
* 2007-07-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2007-07-022-2/+9
| | | | | * core-regset.c (fetch_core_registers): Work around gcc 3.4 alias warning bug.
* daily updateAlan Modra2007-07-021-1/+1
|
* *** empty log message ***gdbadmin2007-07-021-1/+1
|
* * minsyms.c (lookup_minimal_symbol_by_pc_section): Search fewerDaniel Jacobowitz2007-07-012-14/+19
| | | | objfiles.
* 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com>Daniel Jacobowitz2007-07-014-6/+42
| | | | | | | | | | | | | * top.c (gdb_readline_wrapper_line): Call rl_callback_handler_remove. (struct gdb_readline_wrapper_cleanup): Remove prompt_orig. (gdb_readline_wrapper_cleanup): Do not reset the prompt. (gdb_readline_wrapper): Do not save the prompt. Pass our prompt to display_gdb_prompt. 2007-07-01 Nick Roberts <nickrob@snap.net.nz> Daniel Jacobowitz <dan@codesourcery.com> * gdb.base/annota3.exp: Test for if construct.
* PR symtab/2161Daniel Jacobowitz2007-07-012-0/+11
| | | | | * target.c (memory_xfer_partial): Do not continue past targets with all memory.
* * gdb.texinfo (Attach): Fixed GDB exit inferior detachment.Jan Kratochvil2007-07-012-5/+9
|
* daily updateAlan Modra2007-07-011-1/+1
|
* *** empty log message ***gdbadmin2007-07-011-1/+1
|
* bfd/H.J. Lu2007-06-308-35/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-30 H.J. Lu <hongjiu.lu@intel.com> * aclocal.m4: Regenerated. * Makefile.in: Likewise. bfd/doc/ 2007-06-30 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in: Likewise. binutils/ 2007-06-30 H.J. Lu <hongjiu.lu@intel.com> * aclocal.m4: Regenerated. * doc/Makefile.in: Likewise. * Makefile.in: Likewise. gas/ 2007-06-30 H.J. Lu <hongjiu.lu@intel.com> * aclocal.m4: Regenerated. * doc/Makefile.in: Likewise. * Makefile.in: Likewise. gprof/ 2007-06-30 H.J. Lu <hongjiu.lu@intel.com> * aclocal.m4: Regenerated. * Makefile.in: Likewise. ld/ 2007-06-30 H.J. Lu <hongjiu.lu@intel.com> * aclocal.m4: Regenerated. * Makefile.in: Likewise. opcodes/ 2007-06-30 H.J. Lu <hongjiu.lu@intel.com> * aclocal.m4: Regenerated. * Makefile.in: Likewise.
* * m68k-tdep.c (m68k_ps_type): New.Andreas Schwab2007-06-302-0/+37
| | | | | | (m68k_init_types): New. (m68k_register_type): Use m68k_ps_type for PS register. (_initialize_m68k_tdep): Call m68k_init_types.
* * m68k-tdep.c (m68k_gdbarch_init): Don't infer coldfire flavourAndreas Schwab2007-06-302-3/+8
| | | | from the generic m68k arch.
* bfd:Joseph Myers2007-06-304-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | * elf32-ppc.c (ppc_elf_merge_obj_attributes): New. (ppc_elf_merge_private_bfd_data): Call it. binutils: * readelf.c (display_power_gnu_attribute, process_power_specific): New. (process_arch_specific): Call process_power_specific. include/elf: * ppc.h (Tag_GNU_Power_ABI_FP): Define. ld/testsuite: * ld-powerpc/attr-gnu-4-0.s, ld-powerpc/attr-gnu-4-00.d, ld-powerpc/attr-gnu-4-01.d, ld-powerpc/attr-gnu-4-02.d, ld-powerpc/attr-gnu-4-1.s, ld-powerpc/attr-gnu-4-10.d, ld-powerpc/attr-gnu-4-11.d, ld-powerpc/attr-gnu-4-12.d, ld-powerpc/attr-gnu-4-13.d, ld-powerpc/attr-gnu-4-2.s, ld-powerpc/attr-gnu-4-20.d, ld-powerpc/attr-gnu-4-21.d, ld-powerpc/attr-gnu-4-22.d, ld-powerpc/attr-gnu-4-3.s, ld-powerpc/attr-gnu-4-31.d: New. * ld-powerpc/powerpc.exp: Run these new tests.
* daily updateAlan Modra2007-06-301-1/+1
|
* *** empty log message ***gdbadmin2007-06-301-1/+1
|
* 2007-06-29 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2007-06-292-1/+5
| | | | * i386-reg.tbl: Remove spaces before comments.
* bfd:Joseph Myers2007-06-294-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | * elfxx-mips.c (mips_elf_merge_obj_attributes): New. (_bfd_mips_elf_merge_private_bfd_data): Call it. binutils: * readelf.c (display_mips_gnu_attribute): New. (process_mips_specific): Call process_attributes. include/elf: * mips.h (Tag_GNU_MIPS_ABI_FP): Define. ld/testsuite: * ld-mips-elf/attr-gnu-4-0.s, ld-mips-elf/attr-gnu-4-00.d, ld-mips-elf/attr-gnu-4-01.d, ld-mips-elf/attr-gnu-4-02.d, ld-mips-elf/attr-gnu-4-03.d, ld-mips-elf/attr-gnu-4-1.s, ld-mips-elf/attr-gnu-4-10.d, ld-mips-elf/attr-gnu-4-11.d, ld-mips-elf/attr-gnu-4-12.d, ld-mips-elf/attr-gnu-4-13.d, ld-mips-elf/attr-gnu-4-14.d, ld-mips-elf/attr-gnu-4-2.s, ld-mips-elf/attr-gnu-4-20.d, ld-mips-elf/attr-gnu-4-21.d, ld-mips-elf/attr-gnu-4-22.d, ld-mips-elf/attr-gnu-4-23.d, ld-mips-elf/attr-gnu-4-3.s, ld-mips-elf/attr-gnu-4-30.d, ld-mips-elf/attr-gnu-4-31.d, ld-mips-elf/attr-gnu-4-32.d, ld-mips-elf/attr-gnu-4-33.d, ld-mips-elf/attr-gnu-4-4.s, ld-mips-elf/attr-gnu-4-41.d: New. * ld-mips-elf/mips-elf.exp: Run these new tests.