summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gdb/baserock/morphtschwinge2012-09-192-19/+39
| | | | | | * sh-tdep.c (sh_register_convert_to_virtual) (sh_register_convert_to_raw): Add a gdbarch parameter. Update all callers. Just do a memcpy if not the little-endian case.
* gdb/tschwinge2012-09-194-1/+20
| | | | | | | | * h8300-tdep.c (h8300_gdbarch_init): Invoke set_gdbarch_double_format and set_gdbarch_long_double_format. * m68hc11-tdep.c (m68hc11_gdbarch_init): Invoke set_gdbarch_double_format. * sh-tdep.c (sh_gdbarch_init): Likewise.
* gdb/tschwinge2012-09-195-15/+16
| | | | | | | | | * NEWS: Document the removal of SH's 'regs' command. * sh-tdep.c (_initialize_sh_tdep): Remove the deprecated 'regs' command. gdb/doc/ * gdb.texinfo: Document the removal of SH's 'regs' command.
* Properly handle common symbol and weak functionH.J. Lu2012-09-194-7/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd/ PR ld/14591 * elf-bfd.h (_bfd_elf_merge_symbol): Add an argument to return if the old symbol is weak. * elf32-sh-symbian.c (sh_symbian_relocate_section): Update _bfd_elf_merge_symbol call. * elflink.c (_bfd_elf_merge_symbol): Add an argument to return if the old symbol is weak. (_bfd_elf_add_default_symbol): Update _bfd_elf_merge_symbol call. (elf_link_add_object_symbols): Don't update symbol type from a weak definition. Update symbol type from a common symbol when overriding a weak symbol. ld/testsuite/ PR ld/14591 * ld-elf/comm-data.exp (run_ld_link_tests): Add comm-data3a and comm-data3b tests. * ld-ifunc/ifunc.exp (run_ld_link_exec_tests): New. * ld-elf/comm-data3.sd: New file. * ld-elf/comm-data3a.s: Likewise. * ld-elf/comm-data3b.s: Likewise. * ld-ifunc/ifunc-17a-i386.d: Likewise. * ld-ifunc/ifunc-17a-x86-64.d: Likewise. * ld-ifunc/ifunc-17a.s: Likewise. * ld-ifunc/ifunc-17b-i386.d: Likewise. * ld-ifunc/ifunc-17b-x86-64.d: Likewise. * ld-ifunc/ifunc-17b.s: Likewise. * ld-ifunc/ifunc-common-1.out: Likewise. * ld-ifunc/ifunc-common-1a.c: Likewise. * ld-ifunc/ifunc-common-1b.c: Likewise.
* *** empty log message ***gdbadmin2012-09-191-1/+1
|
* daily updateAlan Modra2012-09-191-1/+1
|
* gdb/ChangeLog:sergiodj2012-09-184-0/+13
| | | | | | | | | | | | 2012-09-18 Sergio Durigan Junior <sergiodj@redhat.com> * infcmd.c (_initialize_infcmd): Register `j' as an alias for `jump'. gdb/doc/ChangeLog: 2012-09-18 Sergio Durigan Junior <sergiodj@redhat.com> * gdb.texinfo (jump): Mention new alias `j' for `jump'.
* wrong language used when re-setting breakpointJoel Brobecker2012-09-189-3/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The debugger sometimes fails to re-set a breakpoint as follow, causing it to become disabled: (gdb) b nested_sub Breakpoint 1 at 0x401cec: file foo.adb, line 7. (gdb) b do_nothing Breakpoint 2 at 0x401cdc: file pck.adb, line 4. (gdb) run Starting program: /[...]/foo Error in re-setting breakpoint 1: Function "nested_sub" not defined. Breakpoint 2, pck.do_nothing () at pck.adb:4 4 null; This only happens on machines where the debug-file-directory is a valid directory name. The reason behind the error is that the linespec code that re-sets the breakpoints uses the current_language global when iterating over a symtab's symbols. However, the that global gets switched from Ada to C during the startup phase, probably as a side-effect of stopping in some system code for which debugging info is available. The fix is to make sure that we use the correct language. gdb/ChangeLog: * linespec.c (iterate_over_all_matching_symtabs): Use the correct language when iterating over symbols. gdb/testsuite/ChangeLog: * gdb.ada/bp_reset: New testcase.
* 2012-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>Richard Earnshaw2012-09-182-28/+33
| | | | | | | | | | | | | | | | opcodes: * arm-dis.c: Changed ldra and strl-form mnemonics to lda and stl-form. gas: * config/tc-arm.c: Changed ldra and strl-form mnemonics to lda and stl-form for armv8. gas/testsuite: * gas/arm/armv8-a-bad.l: Updated for changed mnemonics. * gas/arm/armv8-a-bad.s: Likewise. * gas/arm/armv8-a.d: Likewise. * gas/arm/armv8-a.s: Likewise. * gas/arm/inst.s: Added test for ldrt encoding compatibly with ldralt. * gas/arm/inst.d: Updated.
* opcodes/Maciej W. Rozycki2012-09-182-1/+6
| | | | | | | | | | | * micromips-opc.c (micromips_opcodes): Correct the encoding of the "swxc1" instruction. gas/testsuite/ * gas/mips/micromips.d: Correct the disassembly of SWXC1. * gas/mips/micromips-trap.d: Likewise. * gas/mips/micromips@24k-triple-stores-1.d: Likewise. * gas/mips/micromips@mips4-fp.d: Likewise.
* gdb/doc:qiyao2012-09-189-0/+262
| | | | | | | | | | | | | | | | | | | | | | | | | * gdb.texinfo (GDB/MI Async Records): Document new MI notifications '=tsv-created' and '=tsv-deleted'. * observer.texi (GDB Observers): New observer tsv_created and tsv_deleted. gdb: * mi/mi-interp.c: Declare mi_tsv_created and mi_tsv_deleted. (mi_interpreter_init): Call observer_attach_tsv_created and observer_attach_tsv_deleted. (mi_tsv_created, mi_tsv_deleted): New. * tracepoint.c (delete_trace_state_variable): Call observer_notify_tsv_deleted. (trace_variable_command): Call observer_notify_tsv_created. (delete_trace_variable_command): Call observer_notify_tsv_deleted. (create_tsv_from_upload): Call observer_notify_tsv_created. * NEWS: Mention it. gdb/testsuite: gdb.trace/mi-tsv-changed.exp: New.
* gdb/doc:qiyao2012-09-1811-2/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | * observer.texi (GDB Observers): New observer 'traceframe_changed'. * gdb.texinfo (GDB/MI Async Records): Mention new MI notification '=traceframe-changed'. gdb: * tracepoint.c (tfind_1): Call observer_notify_traceframe_changed if traceframe changed. * mi/mi-cmds.c (mi_cmd mi_cmds): Adjust for command "trace-find". * mi/mi-interp.c: Declare 'mi_traceframe_changed'. (mi_interpreter_init): Hook mi_traceframe_changed to observer 'traceframe_changed'. (mi_traceframe_changed): New. * mi/mi-main.h (struct mi_suppress_notification) <traceframe>: New field. * NEWS: Mention the new MI notification. gdb/testsuite: * gdb.trace/mi-traceframe-changed.exp: New.
* Ignore discarded section when converting mov to leaH.J. Lu2012-09-183-4/+12
| | | | | | * elf32-i386.c (elf_i386_convert_mov_to_lea): Ignore discarded section. * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise.
* *** empty log message ***gdbadmin2012-09-181-1/+1
|
* daily updateAlan Modra2012-09-181-1/+1
|
* Moved the Changelog entries for breakpoint.c and remote.c out of Changelogwrighton2012-09-172-10/+10
| | | | and into gdb/Changelog.
* Correcting error in gdb/Changelog from previous commit.wrighton2012-09-171-1/+0
|
* Updated gdb/Changelog:wrighton2012-09-171-0/+5
| | | | * MAINTAINERS (Write After Approval): Add "Mike Wrighton".
* Replace return FALSE with abort in x86 finish_dynamic_symbolH.J. Lu2012-09-173-2/+8
| | | | | | * elf32-i386.c (elf_i386_finish_dynamic_symbol): Replace return FALSE with abort. * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.
* gdb/Jan Kratochvil2012-09-172-17/+96
| | | | | | | | * common/linux-ptrace.c: Change __i386__ to __i386__ || __x86_64__. (linux_ptrace_test_ret_to_nx): Extend comment for x86_64. Change __i386__ to __i386__ || __x86_64__. Extend code also for __x86_64__. Extend code also for PaX support. Convert all gdb_assert to warning calls.
* gdb/Jan Kratochvil2012-09-174-12/+71
| | | | | | | | | | | | Implement auto-load user conveniences suggested by Doug Evans. * auto-load.c: Include top.h. (file_is_auto_load_safe): New variable advice_printed. Print advice. (_initialize_auto_load): New variable scripts_directory_help. Mention GDBPY_AUTO_FILE_NAME and GDB_AUTO_FILE_NAME for set auto-load scripts-directory. Document in online help one can use also files for set auto-load safe-path. * python/py-auto-load.c: (GDBPY_AUTO_FILE_NAME): Move it from here ... * python/python.h (GDBPY_AUTO_FILE_NAME): ... to here.
* Remove unused got_base variable.walt2012-09-173-12/+6
| | | | | | * elf32-tilepro.c (tilepro_elf_relocate_section): Remove unused got_base variable. * elfxx-tilegx.c (tilegx_elf_relocate_section): Ditto.
* 2012-09-17 Yufeng Zhang <yufeng.zhang@arm.com>Richard Earnshaw2012-09-172-5/+14
| | | | | | | | * aarch64-asm.c (aarch64_ins_imm_half): Remove ATTRIBUTE_UNUSED from the parameter 'inst'. (aarch64_ins_addr_simm): Add ATTRIBUTE_UNUSED to the parameter 'inst'. (convert_mov_to_movewide): Change to assert (0) when aarch64_wide_constant_p returns FALSE.
* Adding Mike Wrighton to gdb/MAINTAINERS.wrighton2012-09-171-0/+1
|
* Fix computation of got relocations for when .got.plt section is mergedwalt2012-09-173-4/+10
| | | | | | | with .got. * elf32-tilepro.c (tilepro_elf_relocate_section): Fix computation of got relocations for when .got.plt section is merged with .got. * elfxx-tilegx.c (tilegx_elf_relocate_section): Ditto.
* * tic6x-tdep.c (tic6x_push_dummy_call): Remove unused definitionsiddhesh2012-09-172-1/+5
| | | | of LEN.
* * m2-valprint.c (m2_print_array_contents): Eliminate variablesiddhesh2012-09-176-28/+34
| | | | | | | | | | | | | | | | | | | ELTLEN and use TYPE_LENGTH directly. (m2_val_print): Likewise. * m68k-tdep.c (m68k_svr4_extract_return_value): Eliminate variable LEN and use TYPE_LENGTH directly. (m68k_svr4_store_return_value): Likewise. * mips-tdep.c (mips_o32_push_dummy_call): Eliminate variable ARGLEN and use TYPE_LENGTH directly. (mips_o64_push_dummy_call): Likewise. * s390-tdep (s390_function_arg_pass_by_reference): Eliminate variable LENGTH and use TYPE_LENGTH directly. (s390_function_arg_float): Likewise. (s390_function_arg_integer): Likewise. (s390_push_dummy_call): Likewise. (s390_return_value_convention): Likewise. * spu-tdep.c (spu_push_dummy_call): Eliminate LEN and use TYPE_LENGTH directly.
* gdb/qiyao2012-09-1710-12/+103
| | | | | | | | | | | | | | | | | | | | | | * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): New. Update comment to add_setshow_integer_cmd. * cli/cli-setshow.c (do_set_command): Handle case 'var_zuinteger_unlimited'. (do_show_command): Likewise. * cli/cli-cmds.c (init_cmds): Call add_setshow_zuinteger_unlimited_cmd for command 'remotetimeout'. * command.h (enum var_types): New zuinteger_unlimited. Update comment to var_integer. * source.c (_initialize_source): Call add_setshow_zuinteger_unlimited_cmd for command 'set listsize'. gdb/doc/ * gdb.texinfo (List): Describe the meaning of 0 and -1 in 'set listsize'. gdb/testsuite/ * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited" when it is less than 0.
* * infrun.c (restore_infcall_suspend_state): Eliminate single-usesiddhesh2012-09-172-2/+6
| | | | variable LEN.
* gdb/Jan Kratochvil2012-09-1710-1/+910
| | | | | | | | | | | | | | | | PR 14119 * frame.c (skip_inlined_frames): Skip also TAILCALL_FRAME frames. (frame_pop): Drop also TAILCALL_FRAME frames. * infcmd.c (finish_command): Ignore also TAILCALL_FRAME frames. gdb/testsuite/ PR 14119 * gdb.arch/amd64-tailcall-ret.S: New file. * gdb.arch/amd64-tailcall-ret.c: New file. * gdb.arch/amd64-tailcall-ret.exp: New file. * gdb.reverse/amd64-tailcall-reverse.S: New file. * gdb.reverse/amd64-tailcall-reverse.c: New file. * gdb.reverse/amd64-tailcall-reverse.exp: New file.
* gdb/Jan Kratochvil2012-09-178-16/+523
| | | | | | | | | | | | | | | | PR 14548 * infrun.c (handle_inferior_event): Do not reverse-continue back to the function start if we are already at function start. Both for reverse-next and for reverse-step into function without line number info. gdb/testsuite/ PR 14548 * gdb.reverse/singlejmp-reverse-nodebug.S: New file. * gdb.reverse/singlejmp-reverse-nodebug.c: New file. * gdb.reverse/singlejmp-reverse.S: New file. * gdb.reverse/singlejmp-reverse.c: New file. * gdb.reverse/singlejmp-reverse.exp: New file.
* gdb/Jan Kratochvil2012-09-176-29/+55
| | | | | | | | | | | | | | | | | | | | | | Code cleanup - rename 'inline' depth to 'artificial' depth. * breakpoint.c (set_momentary_breakpoint): Rename at a caller to frame_id_artificial_p, extend the comment. * dwarf2-frame-tailcall.c (tailcall_frame_this_id): Rename at a user. * frame.c (fprint_frame_id): Rename at a user, change debug output text to "artificial=". (skip_inlined_frames): Rename to ... (skip_artificial_frames): ... here. Extend the comment. (get_stack_frame_id, frame_unwind_caller_id): Rename at a caller. (frame_id_inlined_p): Rename to ... (frame_id_artificial_p): ... here. Rename at a user. (frame_id_eq, frame_id_inner, frame_unwind_caller_pc) (frame_unwind_caller_pc_if_available, frame_unwind_caller_arch): Rename at a user. * frame.h (struct frame_id): Rename inline_depth to artificial_depth. Extend the comment. (frame_id_inlined_p): Rename to ... (frame_id_artificial_p): ... here. * inline-frame.c (inline_frame_this_id): Rename at a user.
* daily updateAlan Modra2012-09-171-1/+1
|
* *** empty log message ***gdbadmin2012-09-171-1/+1
|
* gdb/testsuite/Jan Kratochvil2012-09-162-0/+9
| | | | | Fix compatibility with old GCC (~4.1). * gdb.cp/converts.cc (my_enum_var): New variable.
* *** empty log message ***gdbadmin2012-09-161-1/+1
|
* daily updateAlan Modra2012-09-161-1/+1
|
* Add support for tilegx in gold.walt2012-09-153-2/+7
| | | | | | | | | | | | | | | | | | * configure.ac (ENABLE_GOLD): support tilegx* * configure: rebuild elfcpp: * tilegx.h: New file. * elfcpp.h: add EM_TILEGX. gold: * tilegx.cc: New file. * Makefile.am (TARGETSOURCES): Add tilegx.cc (ALL_TARGETOBJS): Add tilegx.$(OBJEXT) * configure.tgt: Add entries for tilegx*. * configure.ac: Likewise. * Makefile.in: Rebuild. * configure: Likewise. * testsuite/icf_safe_test.sh (arch_specific_safe_fold): Handle tilegx.
* * configure: Regenerate.David Edelsohn2012-09-152-2/+7
|
* daily updateAlan Modra2012-09-151-1/+1
|
* *** empty log message ***gdbadmin2012-09-151-1/+1
|
* * configure: Regenerate.David Edelsohn2012-09-142-2/+7
|
* PR target/38607David Edelsohn2012-09-144-1/+33
| | | | | | | | | Merge upstream change. * libtool.m4 (_LT_COMPILER_PIC): Add -fPIC to GCC and GXX for AIX. * configure.ac: Add target-libquadmath to noconfigdirs for AIX. Add libgomp*.o to compare_exclusions for AIX. * configure: Regenerate.
* http://sourceware.org/ml/gdb-patches/2012-09/msg00015.htmlaburgess2012-09-144-5/+18
| | | | | | | | | | | | | gdb/ChangeLog * c-typeprint.c (c_type_print_varspec_suffix): Display the size of vector variables using vector_size syntax rather than array syntax. gdb/testsuite/ChangeLog * gdb.xml/tdesc-regs.exp: Update expected output for new vector_size syntax of vector types.
* * valarith.c (value_concat): Replace unsafe ALLOCA withsiddhesh2012-09-142-2/+15
| | | | XMALLOC/XFREE.
* 2012-09-14 Pedro Alves <palves@redhat.com>Pedro Alves2012-09-142-4/+17
| | | | * gdb.1 (SEE ALSO): Expand pointer to GDB's Texinfo manual.
* Fix moxie disassembly for new branch semanticsAnthony Green2012-09-142-1/+6
|
* Point contrib/cc-with-tweaks.sh to the build-local data-directory.khooyp2012-09-142-4/+11
| | | | | | | gdb/ * contrib/cc-with-tweaks.sh (GDB): Add -data-directory data-directory as appropriate.
* * printcmd.c (ui_printf): Eliminate single-use variablesiddhesh2012-09-142-3/+7
| | | | PARAM_LEN.
* gdb/qiyao2012-09-142-3/+8
| | | | | * valops.c (value_assign): Move observer_notify_target_changed below to replace reinit_frame_cache.