aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-09-23*** empty log message ***gdbadmin1-1/+1
2012-09-23daily updateAlan Modra1-1/+1
2012-09-22gdb/testsuite/Yao Qi2-6/+7
* remote.c (remote_get_trace_status): Remove setting default values of fields of 'ts'.
2012-09-22daily updateAlan Modra1-1/+1
2012-09-22*** empty log message ***gdbadmin1-1/+1
2012-09-21gdb/Jan Kratochvil6-5/+220
Fix internal error on canonicalization of clang types. * cp-name-parser.y (operator): New comment at make_operator call for new, delete, new[] and delete[]. (exp): Use "sizeof ". Add new comment at make_operator call. gdb/testsuite/ Fix internal error on canonicalization of clang types. * gdb.dwarf2/dw2-canonicalize-type.S: New file. * gdb.dwarf2/dw2-canonicalize-type.exp: New file. * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
2012-09-21gdb/Jan Kratochvil4-1/+31
Fix disassemble without parameters in tailcall frame. * cli/cli-cmds.c (disassemble_current_function): Use get_frame_address_in_block. gdb/testsuite/ Fix disassemble without parameters in tailcall frame. * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
2012-09-21 * c-typeprint.c (c_type_print_base) <TYPE_CODE_STRUCT,Tom Tromey2-8/+9
TYPE_CODE_UNION>: Unify, removing a goto.
2012-09-21 * c-typeprint.c (cp_type_print_derivation_info): Fix comment.Tom Tromey2-6/+5
2012-09-21http://sourceware.org/ml/gdb-patches/2012-08/msg00715.htmlAndrew Burgess5-1/+782
gdb/ChangeLog * findvar.c (read_frame_register_value): Mark the result value as optimized out if any of the input registers have been optimized out. gdb/testsuite/ChangeLog * gdb.dwarf2/dw2-op-out-param.S: New file. * gdb.dwarf2/dw2-op-out-param.exp: New file.
2012-09-212012-09-21 Steve Ellcey <sellcey@mips.com>Steve Ellcey3-4/+9
* configure.ac: Add mips*-mti-elf* target. * configure: Regenerate.
2012-09-21* python/python.c (finalize_python): Only define if HAVE_PYTHON.Andreas Schwab2-0/+7
2012-09-21gdb/testsuite:Yao Qi2-1/+5
* gdb.mi/mi2-cli.exp: Remove redundant '\'.
2012-09-21 * eval.c (evaluate_subexp_standard): Eliminate single-useSiddhesh Poyarekar2-3/+7
variable LOWER.
2012-09-21gdb/testsuite:Yao Qi3-217/+43
* gdb.mi/mi-cli.exp: Remove. * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
2012-09-21gdb/testsuite:Yao Qi2-1/+6
* gdb.mi/mi-reverse.exp: Fix the typo in expected output of "=record-started" notification.
2012-09-21gdb/doc:Yao Qi10-1/+102
2012-09-21 Yao Qi <yao@codesourcery.com> Pedro Alves <palves@redhat.com> * gdb.texinfo (GDB/MI Async Records): Document notification 'record-started' and 'record-stopped'. * observer.texi (GDB Observers): New observer 'record-changed'. gdb: 2012-09-21 Yao Qi <yao@codesourcery.com> * mi/mi-interp.c: Declare mi_record_changed. (mi_interpreter_init): Call observer_attach_record_changed. (mi_record_changed): New. * record.c (record_open): Call observer_notify_record_changed. (cmd_record_stop): Call observer_notify_record_changed. * NEWS: Mention it. gdb/testsuite: 2012-09-21 Yao Qi <yao@codesourcery.com> * gdb.mi/mi-record-changed.exp: New. * gdb.mi/mi-reverse.exp: Adjust expected output.
2012-09-21daily updateAlan Modra1-1/+1
2012-09-21*** empty log message ***gdbadmin1-1/+1
2012-09-20 * NEWS: Update.Tom Tromey5-0/+49
* python/python.c (finalize_python): New function. (_initialize_python): Make a final cleanup. testsuite * gdb.python/python.exp: Test atexit.register.
2012-09-20 * boards/dwarf4-gdb-index.exp: New file.Doug Evans2-0/+39
2012-09-20 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to onDoug Evans2-0/+12
while running the tests.
2012-09-20Add x86-64-arch-2-1/x86-64-arch-2-2 testsH.J. Lu6-0/+206
* gas/i386/i386.exp: Run x86-64-arch-2-1 and x86-64-arch-2-2. * gas/i386/x86-64-arch-2-1.l: New file. * gas/i386/x86-64-arch-2-1.s: Likewise. * gas/i386/x86-64-arch-2-2.l: Likewise. * gas/i386/x86-64-arch-2-2.s: Likewise.
2012-09-20 * corefile.c (core_sym_class): Allow for ".constprop.N" clonedAlan Modra2-7/+18
functions.
2012-09-20Replace CpuSSE3 with CpuCX16 for cmpxchg16bH.J. Lu18-2971/+3024
gas/ * config/tc-i386.c (cpu_arch): Add .cx16. * doc/c-i386.texi: Document .cx16. gas/testsuite/ * gas/i386/x86-64-arch-2.s: Add test for cmpxchg16b. * gas/i386/x86-64-arch-2.d: Update correspondingly. * gas/i386/x86-64-arch-2-bdver2.d: Likewise. * gas/i386/x86-64-arch-2-btver1.d: Likewise. * gas/i386/x86-64-arch-2-btver2.d: Likewise. * gas/i386/x86-64-arch-2-lzcnt.d: Likewise. * gas/i386/x86-64-arch-2-prefetchw.d: Likewise. * gas/i386/ilp32/x86-64-arch-2.d: Likewise. opcodes/ * i386-gen.c (cpu_flag_init): Add CpuCX16 to CPU_NOCONA_FLAGS, CPU_CORE_FLAGS, CPU_CORE2_FLAGS, CPU_COREI7_FLAGS, CPU_BDVER1_FLAGS, CPU_BDVER2_FLAGS, CPU_BTVER1_FLAGS, CPU_BTVER2_FLAGS. Add CPU_CX16_FLAGS. (cpu_flags): Add CpuCX16. * i386-opc.h (CpuCX16): New. (i386_cpu_flags): Add cpucx16. * i386-opc.tbl: Replace CpuSSE3 with CpuCX16 for cmpxchg16b. * i386-tbl.h: Regenerate. * i386-init.h: Likewise.
2012-09-20Fix computation of got relocations for .got sections greater thanWalter Lee3-4/+22
0x8000 bytes.
2012-09-20 * configure.ac (host_libs): Add libbacktrace.Ian Lance Taylor5-2/+1466
(target_libraries): Add libbacktrace. * Makefile.def (host_modules): Add libbacktrace. (target_modules): Likewise. * configure, Makefile.in: Rebuild.
2012-09-20*** empty log message ***gdbadmin1-1/+1
2012-09-20daily updateAlan Modra1-1/+1
2012-09-192012-09-19 Steve Ellcey <sellcey@mips.com>Steve Ellcey2-3/+7
* mt-sde: Change -mcode-xonly to -mcode-readable=pcrel.
2012-09-19Fix spacing in last checkin.Steve Ellcey1-1/+1
2012-09-192012-09-19 Steve Ellcey <sellcey@mips.com>Steve Ellcey4-2/+11
* configure.tgt: Add mips*-mti-elf* target.
2012-09-192012-09-19 Steve Ellcey <sellcey@mips.com>Steve Ellcey2-1/+5
* config.bfd: Add mips*-mti-elf* target.
2012-09-19 * buildsym.h (param_symbols): Delete, unused.Doug Evans4-11/+7
(context_stack): Delete member "params", unused. * buildsym.c (push_context): Update. * dwarf2read.c (read_func_scope): Update.
2012-09-19gdb/Thomas Schwinge2-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.
2012-09-19gdb/Thomas Schwinge4-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.
2012-09-19gdb/Thomas Schwinge5-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.
2012-09-192012-09-19 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com>Richard Earnshaw3-2/+7
* ld-aarch64/emit-relocs-309-low.d: Replace symbol with regexp. * ld-aarch64/emit-relocs-309-up.d: Likewise.
2012-09-19 * ld-scripts/assign-loc.d: New file. Test for assigning absoluteAlan Modra4-0/+36
symbol to location counter. * ld-scripts/assign-loc.t: New file. Linker script for above test. * ld-scripts/expr.exp: Add new assignment test.
2012-09-19Properly handle common symbol and weak functionH.J. Lu19-7/+194
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.
2012-09-19*** empty log message ***gdbadmin1-1/+1
2012-09-19daily updateAlan Modra1-1/+1
2012-09-18gdb/ChangeLog:Sergio Durigan Junior4-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'.
2012-09-18wrong language used when re-setting breakpointJoel Brobecker9-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-182012-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>Richard Earnshaw11-386/+406
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.
2012-09-18 opcodes/Maciej W. Rozycki7-23/+35
* 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.
2012-09-18gdb/doc:Yao Qi9-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.
2012-09-18gdb/doc:Yao Qi11-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.
2012-09-18Ignore discarded section when converting mov to leaH.J. Lu3-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.
2012-09-18*** empty log message ***gdbadmin1-1/+1