Pedro Alves [Tue, 13 Mar 2012 22:14:34 +0000 (22:14 +0000)]
2012-03-13 Pedro Alves <palves@redhat.com>
Hui Zhu <teawater@gmail.com>
Yao Qi <yao@codesourcery.com>
* remote.c (struct remote_state): New field `starting_up'.
(remote_start_remote): Set and clear it.
(remote_can_download_tracepoint): If starting up, return false.
Pedro Alves [Tue, 6 Mar 2012 13:17:12 +0000 (13:17 +0000)]
2012-03-06 Pedro Alves <palves@redhat.com>
PR gdb/13766
* i387-tdep.c (i387_supply_xsave): If we have an xsave buffer, and
the register state is clear, supply explicit zero, instead of
marking the register unavailable.
Doug Evans [Sat, 14 Jan 2012 18:04:05 +0000 (18:04 +0000)]
Restore "mt set python print-stack on|off" for 7.4.
* NEWS: Update to indicate "mt set python print-stack" is deprecated,
but not deleted yet, and will be gone in gdb 7.5.
* python/python.c (maint_set_python_list, maint_show_python_list):
New global vars.
(maint_set_python, maint_show_python): New functions.
(gdbpy_should_print_stack_deprecated): New global var.
(set_maint_python_print_stack): New function.
(show_maint_python_print_stack): New function.
(_initialize_python): Define commands
"mt set python print-stack on|off" and ""mt show python print-stack".
Doug Evans [Wed, 11 Jan 2012 19:09:32 +0000 (19:09 +0000)]
* dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg
"want_line_info". All callers updated.
(dwarf_decode_lines_1): New function.
(handle_DW_AT_stmt_list): Add function comment.
New arg "want_line_info". All callers updated.
(read_file_scope,read_type_unit_scope): Move comment from
handle_DW_AT_stmt_list to here.
Joel Brobecker [Fri, 6 Jan 2012 04:18:58 +0000 (04:18 +0000)]
Update the copyright header of various files...
... to follow the correct syntax (according to the gospel of
gnulib's update-copyright). In other words:
- no comma after the last year;
- FSF spelled exactly "Free Software Foundation, Inc.", with
the comma and the period at the end.
sim/common/ChangeLog:
* dv-sockser.h, sim-assert.h, sim-fpu.c: Reformat the copyright
header.
Jan Kratochvil [Thu, 5 Jan 2012 07:57:23 +0000 (07:57 +0000)]
bfd/
Fix zero registers core files when built by gcc-4.7.
* elf64-x86-64.c: Update copyright year.
(elf_x86_64_write_core_note): Remove variables p and size. Call
elfcore_write_note for the local variables. Remove the final
elfcore_write_note call. Add NOTREACHED comments.
Jan Kratochvil [Wed, 4 Jan 2012 17:55:41 +0000 (17:55 +0000)]
gdb/testsuite/
* gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
* gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
is not enabled.
Jan Kratochvil [Wed, 4 Jan 2012 17:51:31 +0000 (17:51 +0000)]
gdb/testsuite/
* gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
parameter to self_exec, adjust the function.
(main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
* gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
(set var do_exit = 0): Remove test.
(newline at end of file): Add one.
Jan Kratochvil [Wed, 4 Jan 2012 13:55:41 +0000 (13:55 +0000)]
gdb/
Revert:
2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
* arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
3 times.
* infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
fall through into AT_ENTRY_POINT.
(call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
DUMMY_ADDR with it.
* ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
PPC_INSN_SIZE skip to 3 times.
Joel Brobecker [Wed, 4 Jan 2012 13:23:50 +0000 (13:23 +0000)]
linespec: keep function descriptors during minimal symbol search
When discarding data (minimal) symbols, we need to be careful to
not throw away the function descriptors. This makes a difference
on platforms where these descriptors are used and live in a data
section.
gdb/ChangeLog:
* linespec.c (add_minsym): Preserve function descriptors.