Joel Brobecker [Wed, 28 Jul 2010 04:09:04 +0000 (04:09 +0000)]
misordered names in Write After Approval list
This patch moves a couple of write-after-approval names up to keep
the list in alphabetical order.
2010-07-27 Joel Brobecker <brobecker@adacore.com>
* MAINTAINERS (Write After Approval): Reorder a couple of entries.
Joel Brobecker [Wed, 28 Jul 2010 04:04:17 +0000 (04:04 +0000)]
Minor (space) reformatting.
DJ Delorie [Wed, 28 Jul 2010 00:36:46 +0000 (00:36 +0000)]
* rx-decode.opc (store_flags): Remove, replace with F_* macros.
(rx_decode_opcode): Likewise.
* rx-decode.c: Regenerate.
gdbadmin [Wed, 28 Jul 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 28 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update
Jan Kratochvil [Tue, 27 Jul 2010 23:18:38 +0000 (23:18 +0000)]
gdb/testsuite/
* gdb.base/help.exp (help disassemble): Update the content.
Pedro Alves [Tue, 27 Jul 2010 22:26:27 +0000 (22:26 +0000)]
* dwarf2read.c (read_string): Rename to ...
(read_direct_string): ... this.
(skip_one_die, read_attribute_value, dwarf_decode_line_header)
(dwarf_decode_lines, dwarf_decode_macros): Adjust.
Jan Kratochvil [Tue, 27 Jul 2010 21:22:09 +0000 (21:22 +0000)]
gdb/
* linux-nat.c (linux_nat_lp_status_is_event): New function.
(count_events_callback, select_event_lwp_callback)
(cancel_breakpoints_callback, linux_nat_wait_1): Use it.
Maciej W. Rozycki [Tue, 27 Jul 2010 21:18:52 +0000 (21:18 +0000)]
* elfxx-mips.h: Include "elf/mips.h".
(gprel16_reloc_p): New static inline function.
* elfxx-mips.c (_bfd_mips_elf_check_relocs)
[R_MIPS16_GOT16, R_MIPS_GOT16, R_MIPS_GOT_HI16, R_MIPS_GOT_LO16]:
Use got16_reloc_p.
(_bfd_mips_elf_relocate_section)[bfd_reloc_overflow]: Use
gprel16_reloc_p.
* elf32-mips.c (mips_info_to_howto_rel): Likewise.
* elfn32-mips.c (mips_info_to_howto_rel): Likewise.
Maciej W. Rozycki [Tue, 27 Jul 2010 21:14:49 +0000 (21:14 +0000)]
Fix up last ChangeLog entry in gas/ and bfd/.
Maciej W. Rozycki [Tue, 27 Jul 2010 21:08:33 +0000 (21:08 +0000)]
* elf64-mips.c (mips_elf64_howto_table_rela)
[R_MIPS_TLS_DTPMOD64]: Clear partial_inplace.
[R_MIPS_TLS_DTPREL64, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise.
[R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise.
[R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL64]: Likewise.
[R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise.
* elfn32-mips.c (elf_mips_howto_table_rela)
[R_MIPS_TLS_DTPMOD32]: Likewise.
[R_MIPS_TLS_DTPREL32, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise.
[R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise.
[R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL32]: Likewise.
[R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise.
Maciej W. Rozycki [Tue, 27 Jul 2010 21:04:59 +0000 (21:04 +0000)]
* config/tc-mips.c (mips16_macro_build): Pass "args" by
reference rather than value.
(macro_build): Update accordingly.
Maciej W. Rozycki [Tue, 27 Jul 2010 21:02:34 +0000 (21:02 +0000)]
* config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
a fake label.
Jan Kratochvil [Tue, 27 Jul 2010 20:51:40 +0000 (20:51 +0000)]
gdb/
* ia64-linux-nat.c (ia64_linux_status_is_event): New function.
(_initialize_ia64_linux_nat): Install it.
* linux-nat.c (sigtrap_is_event, linux_nat_status_is_event)
(linux_nat_set_status_is_event): New.
(stop_wait_callback, count_events_callback, select_event_lwp_callback)
cancel_breakpoints_callback, linux_nat_filter_event)
(linux_nat_wait_1): Use linux_nat_status_is_event.
* linux-nat.h (linux_nat_set_status_is_event): New prototype.
gdb/testsuite/
* gdb.threads/ia64-sigill.exp: New file.
* gdb.threads/ia64-sigill.c: New file.
Tom Tromey [Tue, 27 Jul 2010 20:44:33 +0000 (20:44 +0000)]
* NEWS: Mention labels, .gdb_index.
Cheng Renquan [Tue, 27 Jul 2010 20:33:40 +0000 (20:33 +0000)]
* cli/cli-cmds.c (disassemble_command): Add support of disassemble
"start,+length" form of arguments.
Jan Kratochvil [Tue, 27 Jul 2010 19:11:51 +0000 (19:11 +0000)]
gdb/
* top.c (input_from_terminal_p): Return 0 on BATCH_FLAG.
* utils.c (defaulted_query): Do not explicitly check for BATCH_FLAG.
(fputs_maybe_filtered): Do not do filtering also on
! INPUT_FROM_TERMINAL_P.
Doug Evans [Tue, 27 Jul 2010 18:13:25 +0000 (18:13 +0000)]
Fix file name mentioned in this entry:
2010-07-27 Ken Werner <ken.werner@de.ibm.com>
* dwarf2read.c (dwarf2_read_index): Initialize the types_list and
types_list_elements variables.
Tom Tromey [Tue, 27 Jul 2010 18:08:48 +0000 (18:08 +0000)]
* gdb.opt/inline-cmds.c (ATTR): New define.
(func1): Use it.
(func2): Likewise.
(func3): Likewise.
(outer_inline1): Likewise.
(outer_inline2): Likewise.
* gdb.opt/inline-bt.c (ATTR): New define.
(func1): Use it.
(func2): Likewise.
* gdb.opt/inline-locals.c (ATTR): New define.
(func1): Use it.
(func2): Likewise.
Tom Tromey [Tue, 27 Jul 2010 16:58:22 +0000 (16:58 +0000)]
* gdb.stabs/gdb11479.c (hack): New function.
(test): Use it.
(test2): Use it.
* gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
(int32_search_buf, int64_search_buf): No longer static.
(x): Remove.
* gdb.base/relocate.c (hack): New function.
Joel Brobecker [Tue, 27 Jul 2010 16:16:32 +0000 (16:16 +0000)]
ARI fix (trailing newline in warning message).
* dwarf2read.c (dw2_find_pc_sect_symtab): Remove trailing newline
in warning message.
Phil Muldoon [Tue, 27 Jul 2010 12:40:42 +0000 (12:40 +0000)]
2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
* python/py-value.c (valpy_call): New Function.
2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-value.exp (test_inferior_function_call): New function.
* gdb.python/py-value.c (func1): New function.
(func2): Likewise.
2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
* gdb.texinfo (Values From Inferior): Add value inferior function
call description.
Ian Lance Taylor [Tue, 27 Jul 2010 08:22:49 +0000 (08:22 +0000)]
* testsuite/debug_msg.sh: Test mixed weak/strong symbol behavior.
* gold/testsuite/debug_msg.cc: Likewise.
* gold/testsuite/odr_violation1.cc
* gold/testsuite/odr_violation2.cc
Ken Werner [Tue, 27 Jul 2010 07:57:49 +0000 (07:57 +0000)]
* valops.c (dwarf2_read_index): Initialize the types_list and types_list_elements variables.
gdbadmin [Tue, 27 Jul 2010 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Tom Tromey [Mon, 26 Jul 2010 20:25:00 +0000 (20:25 +0000)]
* dwarf2loc.c (locexpr_describe_location_piece): Also recognize
TLS with DW_OP_const4u or DW_OP_const8u.
Thiago Jung Bauermann [Mon, 26 Jul 2010 17:06:26 +0000 (17:06 +0000)]
* ppc-linux-nat.c (store_vsx_register): Use PTRACE_GETVSXREGS to get
VSX registers contents.
Corinna Vinschen [Mon, 26 Jul 2010 12:31:11 +0000 (12:31 +0000)]
* gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
as not to clash with .data section.
Jerome Guitton [Mon, 26 Jul 2010 09:38:50 +0000 (09:38 +0000)]
gdb/testsuite/
* gdb.base/code_elim.exp: New file.
* gdb.base/code_elim1.c: New file.
* gdb.base/code_elim2.c: New file.
Jerome Guitton [Mon, 26 Jul 2010 09:30:00 +0000 (09:30 +0000)]
gdb/
* dwarf2read.c (add_partial_symbol): Do not add a global variable if
its adress is null. Add comment to explain why.
(new_symbol): Ditto.
Alan Modra [Mon, 26 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 26 Jul 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Jan Kratochvil [Sun, 25 Jul 2010 10:15:54 +0000 (10:15 +0000)]
gdb/gdbserver/
* server.c (handle_target_event): Use target_signal_to_host for
resume_info.sig initialization.
* target.h (struct thread_resume) <sig>: New comment.
Jan Kratochvil [Sun, 25 Jul 2010 09:31:12 +0000 (09:31 +0000)]
gdb/
* linux-nat.c (linux_nat_do_thread_registers): Convert STOP_SIGNAL to
the host signal first.
Alan Modra [Sun, 25 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 25 Jul 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Maciej W. Rozycki [Sat, 24 Jul 2010 01:51:53 +0000 (01:51 +0000)]
gas/
* config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
delay slot in the noreorder mode with the o32 ABI.
gas/testsuite/
* gas/mips/jal-svr4pic-noreorder.d: New test case.
* gas/mips/mips1@jal-svr4pic-noreorder.d: New test
subarchitecture.
* gas/mips/r3000@jal-svr4pic-noreorder.d: Likewise.
* gas/mips/jal-svr4pic-noreorder.s: Source for the new test
case.
* gas/mips/mips.exp: Run the new test case.
Maciej W. Rozycki [Sat, 24 Jul 2010 01:43:32 +0000 (01:43 +0000)]
* gas/mips/jal-svr4pic.d: Rename to...
* gas/mips/mips1@jal-svr4pic.d: ... this.
* gas/mips/r3000@jal-svr4pic.d: New test subarchitecture.
* gas/mips/jal-svr4pic.d: New default subarchitecture patterns.
* gas/mips/mips.exp: Run jal-svr4pic with run_dump_test_arches
rather than run_dump_test.
Maciej W. Rozycki [Sat, 24 Jul 2010 01:39:21 +0000 (01:39 +0000)]
* gas/mips/jal-svr4pic.d: Reformat. Use --show-raw-insn with
`objdump'.
* gas/mips/jal-svr4pic.s: Reformat. Fix up trailing zeroes.
Maciej W. Rozycki [Sat, 24 Jul 2010 01:36:16 +0000 (01:36 +0000)]
* lib/gas-defs.exp (run_dump_test): Handle the "dump" option.
Alan Modra [Sat, 24 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 24 Jul 2010 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Tom Tromey [Fri, 23 Jul 2010 22:15:13 +0000 (22:15 +0000)]
* dwarf2read.c (struct dwarf2_per_objfile) <n_type_comp_units,
type_comp_units>: New fields.
(dw2_get_cu): New function.
(create_cus_from_index): Remove unused argument.
(create_signatured_type_hash_from_index): New function.
(create_addrmap_from_index): Update.
(dwarf2_read_index): Handle version 2.
(dw2_find_last_source_symtab, dw2_forget_cached_source_info)
(dw2_lookup_symtab, dw2_do_expand_symtabs_matching)
(dw2_print_stats, dw2_expand_all_symtabs)
(dw2_expand_symtabs_with_filename, dw2_find_symbol_file)
(dw2_expand_symtabs_matching, dw2_map_symbol_filenames): Update.
(dwarf2_initialize_objfile): Call create_debug_types_hash_table.
(allocate_signatured_type_hash_table): New function.
(add_signatured_type_cu_to_list): Likewise.
(create_debug_types_hash_table): Use them. Set type_comp_units.
(read_signatured_type): Ensure section data is available.
(add_address_entry): Don't record empty ranges.
(struct signatured_type_index_data): New.
(write_one_signatured_type): New function.
(write_psymtabs_to_index): Write type CUs.
(save_gdb_index_command): Update comment.
(process_type_comp_unit): Move inititalization of
from_debug_types...
(create_debug_types_hash_table): ... here.
Jan Kratochvil [Fri, 23 Jul 2010 21:10:55 +0000 (21:10 +0000)]
gdb/
* gdb_gcore.sh (tmpfile): Remove the variable, its initialization,
cleanup and generating of gdb script to it.
(gdb): Use redirection from /dev/null. Use --nx. Turn off pagination
and terminal size. Convert $tmpfile to a series of -ex-es.
Keith Seitz [Fri, 23 Jul 2010 17:42:13 +0000 (17:42 +0000)]
* symtab.c (basic_lookup_transparent_type): Call pre-expand
hook for STATIC_BLOCK types, too.
Nick Clifton [Fri, 23 Jul 2010 14:52:54 +0000 (14:52 +0000)]
Add support for v850E2 and v850E2V3
Keith Seitz [Fri, 23 Jul 2010 14:43:33 +0000 (14:43 +0000)]
* dwarf2read.c: Remove unused typedef dwarf2_cu_per_cu_data_ptr
and vector definition.
Jan Kratochvil [Fri, 23 Jul 2010 12:19:00 +0000 (12:19 +0000)]
gdb/
* linux-nat.c (cancel_breakpoint): Remove unused forward declaration.
Alan Modra [Fri, 23 Jul 2010 06:44:25 +0000 (06:44 +0000)]
PR gas/11834
* macro.c (macro_expand): Recover gracefully from named args that
don't match params.
Alan Modra [Fri, 23 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 23 Jul 2010 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Jan Kratochvil [Thu, 22 Jul 2010 16:24:38 +0000 (16:24 +0000)]
gdb/
* dwarf2read.c: Include completer.h.
(save_gdb_index_command): Use matching usage command name.
(_initialize_dwarf2_read): New variable c, initialize it by add_cmd.
Set filename_completer for it.
Tom Tromey [Thu, 22 Jul 2010 15:53:48 +0000 (15:53 +0000)]
* dwarf2read.c (create_debug_types_hash_table): Set objfile on
type signature's per-CU data.
Alan Modra [Thu, 22 Jul 2010 14:48:54 +0000 (14:48 +0000)]
* archive.c (_bfd_archive_bsd44_construct_extended_name_table):
Correct format specifier.
Alan Modra [Thu, 22 Jul 2010 14:29:15 +0000 (14:29 +0000)]
* ecoff.c: Don't include aout/ranlib.h.
(_bfd_ecoff_slurp_armap): Use correct struct for ardata->symdefs.
(_bfd_ecoff_write_armap): Output ar_date and ar_size using
_bfd_ar_spacepad.
Alan Modra [Thu, 22 Jul 2010 14:07:10 +0000 (14:07 +0000)]
* aoutx.h (some_aout_object_p): Don't set EXEC_P for files with
relocs.
Pedro Alves [Thu, 22 Jul 2010 10:52:02 +0000 (10:52 +0000)]
* NEWS: Mention target reported shared libraries support by
default.
Thomas Schwinge [Thu, 22 Jul 2010 07:39:20 +0000 (07:39 +0000)]
2010-07-22 Thomas Schwinge <thomas@codesourcery.com>
Switch MIPS to 32-bit DWARF format.
* config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
* config/tc-mips.c (mips_dwarf2_format): Likewise.
Alan Modra [Thu, 22 Jul 2010 04:54:10 +0000 (04:54 +0000)]
* readelf.c: Add Moxie support.
Alan Modra [Thu, 22 Jul 2010 04:48:18 +0000 (04:48 +0000)]
* gas/arm/mapdir.s: Don't specify attr/type for .fini_array.
* gas/elf/dwarf2-3.s: Don't specify attr for .init_array.
* gas/elf/dwarf2-3.d: Don't run on h8300.
Alan Modra [Thu, 22 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 22 Jul 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Cary Coutant [Wed, 21 Jul 2010 21:03:54 +0000 (21:03 +0000)]
* merge.h (Output_merge_string::Merged_string): Remove object, shndx,
string, and length fields.
(Output_merge_string::Merged_strings_list): New type.
(Output_merge_string::Merged_strings_lists): New typedef.
(Output_merge_string): Replace merged_strings_ with
merged_strings_lists_.
* merge.cc (Output_merge_string::do_add_input_section): Allocate new
Merged_strings_list per input object and section. Don't store pointer
to the string. Don't store length with each merged string entry.
(Output_merge_string::finalize_merged_data): Loop over list of merged
strings lists. Recompute length of each merged string.
Pedro Alves [Wed, 21 Jul 2010 18:08:27 +0000 (18:08 +0000)]
gdb/
2010-07-21 Pedro Alves <pedro@codesourcery.com>
PR symtab/11827
Revert:
2010-05-21 Pierre Muller <muller@ics.u-strasbg.fr>
* dwarf2read.c (process_die): Also allow DW_TAG_const_type
and DW_TAG_volatile_type.
(new_symbol): Likewise.
gdb/testsuite/
2010-07-21 Pedro Alves <pedro@codesourcery.com>
PR symtab/11827
* gdb.base/printcmds.c (enum some_volatile_enum): New enum.
(some_volatile_enum): New variable.
* gdb.base/printcmds.exp (test_print_enums): New.
<top level>: Call it.
DJ Delorie [Wed, 21 Jul 2010 16:08:01 +0000 (16:08 +0000)]
merge from gcc
Sami Wagiaalla [Wed, 21 Jul 2010 14:59:05 +0000 (14:59 +0000)]
Corrected pre-overload-resolution function evaluation.
2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
* eval.c (evaluate_subexp_standard): Disabled evaluation of C++
function symbols before overload resolution.
2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/fpointer.cc: New test.
* gdb.cp/fpointer.exp: New test.
Pedro Alves [Wed, 21 Jul 2010 11:25:53 +0000 (11:25 +0000)]
* breakpoint.c (bptype_string): New, abstracted out from
print_one_breakpoint_location.
(print_one_breakpoint_location): Adjust.
(breakpoint_1): Adjust the type column width dynamically.
gdbadmin [Wed, 21 Jul 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 21 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update
Jan Kratochvil [Tue, 20 Jul 2010 22:19:07 +0000 (22:19 +0000)]
gdb/
* symfile.c (find_separate_debug_file_by_debuglink): Remove
a gdb_assert call, new comment.
gdb/testsuite/
* gdb.base/solib-nodir.exp: New file.
* lib/gdb.exp (runto): New case for a GDB internal error.
Jan Kratochvil [Tue, 20 Jul 2010 22:06:59 +0000 (22:06 +0000)]
gdb/testsuite/
* gdb.base/charset-malloc.c: New file.
* gdb.base/charset.c (malloc_stub): New prototype.
(main): Call it instead of malloc itself.
* gdb.base/charset.exp: Use only prepare_for_testing.
(binfile): Remove the variable.
H.J. Lu [Tue, 20 Jul 2010 21:31:13 +0000 (21:31 +0000)]
Add missing ChangeLog entry.
Mike Frysinger [Tue, 20 Jul 2010 19:25:42 +0000 (19:25 +0000)]
ld: improve linker script section
The example version script in the manual currently suggests:
extern "C++" { "int f(int, double)"; }
But a C++ function like that doesn't encode the return type into the
mangled name, so when the linker demangles things, it ends up with
"f(int, double)" and so it never matches.
The example also lacks a trailing semicolon after the brace, so the
linker always complains about a syntax error in the file.
While the language section documents the possibilities, it isn't clear
as to which is the default language. So explicitly state that the C
language is the default.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Ozkan Sezer [Tue, 20 Jul 2010 18:20:27 +0000 (18:20 +0000)]
* gdb/gdbserver/server.c (handle_query): strcpy() the returned string from
paddress() instead of sprintf().
Ozkan Sezer [Tue, 20 Jul 2010 18:10:52 +0000 (18:10 +0000)]
* gdb/gdbserver/utils.c (paddress): Return phex_nz().
Alan Modra [Tue, 20 Jul 2010 14:08:32 +0000 (14:08 +0000)]
include/elf/
* internal.h (ELF_TBSS_SPECIAL): New macro, extracted from..
(ELF_SECTION_SIZE): ..here.
(ELF_SECTION_IN_SEGMENT_1): Add "strict" arg.
(ELF_SECTION_IN_SEGMENT_STRICT): New macro.
bfd/
* elf.c (assign_file_positions_for_load_sections): Check that
zero size sections are allocated in segments too.
(assign_file_positions_for_non_load_sections): Warn if zero
size alloc sections are found here.
(copy_elf_program_header): Don't drop zero size sections from
segment map.
(copy_private_bfd_data): Check for changes in zero size sections.
binutils/
* readelf.c (process_program_headers): Don't ignore all zero size
sections.
ld/testsuite/
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.r: Update.
Jan Kratochvil [Tue, 20 Jul 2010 12:54:57 +0000 (12:54 +0000)]
gdb/
* linux-nat.c (linux_handle_extended_wait): Handle case when
event == PTRACE_EVENT_CLONE && stopping && WSTOPSIG (status) != SIGSTOP.
Jan Kratochvil [Tue, 20 Jul 2010 12:33:30 +0000 (12:33 +0000)]
gdb/
Code cleanup.
* linux-nat.c (linux_nat_wait_1): Reset STATUS after calling
linux_nat_wait_1. Use always LP->STATUS afterwards.
Alan Modra [Tue, 20 Jul 2010 07:22:37 +0000 (07:22 +0000)]
* ld-powerpc/vxworks-relax.s: Add branches to match expected output.
* ld-powerpc/vxworks-relax-2.s: Likewise.
* ld-powerpc/vxworks1-lib.rd: Reorder reloc sections.
Hui Zhu [Tue, 20 Jul 2010 05:58:53 +0000 (05:58 +0000)]
2010-07-20 Hui Zhu <teawater@gmail.com>
* inf-ptrace.c (inf_ptrace_create_inferior): Initialize back_to.
(inf_ptrace_attach): Ditto.
Alan Modra [Tue, 20 Jul 2010 05:07:23 +0000 (05:07 +0000)]
* config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
gdbadmin [Tue, 20 Jul 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 20 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update
Jan Kratochvil [Mon, 19 Jul 2010 18:11:31 +0000 (18:11 +0000)]
gdb/doc/
* gdb.texinfo (Active Targets): Fix wrong comma placement.
Jan Kratochvil [Mon, 19 Jul 2010 17:51:25 +0000 (17:51 +0000)]
gdb/
Make core files the process_stratum.
* corefile.c (core_target): New variable.
(core_file_command): Remove variable t, use core_target.
* corelow.c (core_ops): Make it static.
(init_core_ops): Change to process_stratum. Initialize CORE_TARGET.
* defs.h (make_cleanup_unpush_target): New prototype.
* gdbarch.h: Regenerate.
* gdbarch.sh (core_pid_to_str): Remove core_stratum from its comment.
* gdbcore.h (core_target): New declaration.
* inf-ptrace.c (inf_ptrace_create_inferior, inf_ptrace_attach): New
variables ops_already_pushed and back_to. Use push_target,
make_cleanup_unpush_target and discard_cleanups calls.
* record.c (record_open): Replace core_stratum by a core_bfd check.
* target.c (target_is_pushed): New function.
(find_core_target): Remove.
* target.h (enum strata) <core_stratum>: Remove.
(target_is_pushed): New declaration.
(find_core_target): Remove declaration.
* tracepoint.c (init_tfile_ops) <to_stratum>: Remove comment.
* utils.c (do_unpush_target, make_cleanup_unpush_target): New functions.
gdb/doc/
Make core files the process_stratum.
* gdb.texinfo (Active Targets): Remove core_stratum. Include
record_stratum example.
gdb/testsuite/
Make core files the process_stratum.
* gdb.base/corefile.exp (run: load core again)
(run: sanity check we see the core file, run: with core)
(run: core file is cleared, attach: load core again)
(attach: sanity check we see the core file, attach: with core)
(attach: core file is cleared): New tests.
* gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
Andreas Schwab [Mon, 19 Jul 2010 15:11:03 +0000 (15:11 +0000)]
binutils/testsuite/:
* binutils-all/readelf.s: Ignore "Key to Flags" contents.
* binutils-all/readelf.s-64: Likewise.
* binutils-all/i386/compressed-1b.d: Likewise.
* binutils-all/i386/compressed-1c.d: Likewise.
* binutils-all/x86-64/compressed-1b.d: Likewise.
* binutils-all/x86-64/compressed-1c.d: Likewise.
gas/testsuite/:
* gas/i386/x86-64-unwind.d: Ignore "Key to Flags" contents.
* gas/ia64/alias-ilp32.d: Likewise.
* gas/ia64/alias.d: Likewise.
* gas/ia64/group-1.d: Likewise.
* gas/ia64/group-2.d: Likewise.
* gas/ia64/secname-ilp32.d: Likewise.
* gas/ia64/secname.d: Likewise.
* gas/ia64/unwind-ilp32.d: Likewise.
* gas/ia64/unwind.d: Likewise.
* gas/mmix/byte-1.d: Likewise.
* gas/mmix/loc-1.d: Likewise.
* gas/mmix/loc-2.d: Likewise.
* gas/mmix/loc-3.d: Likewise.
* gas/mmix/loc-4.d: Likewise.
* gas/mmix/loc-5.d: Likewise.
ld/testsuite/:
* ld-mmix/bspec1.d: Ignore "Key to Flags" contents.
* ld-mmix/bspec2.d: Likewise.
* ld-mmix/local1.d: Likewise.
* ld-mmix/local3.d: Likewise.
* ld-mmix/local5.d: Likewise.
* ld-mmix/local7.d: Likewise.
* ld-mmix/undef-3.d: Likewise.
* ld-sh/sh64/crange1.rd: Likewise.
* ld-sh/sh64/crange2.rd: Likewise.
* ld-sh/sh64/crange3-cmpct.rd: Likewise.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/crangerel1.rd: Likewise.
* ld-sh/sh64/crangerel2.rd: Likewise.
Andreas Schwab [Mon, 19 Jul 2010 12:46:01 +0000 (12:46 +0000)]
* readelf.c (process_section_headers): Update key to flags.
Hui Zhu [Mon, 19 Jul 2010 07:55:43 +0000 (07:55 +0000)]
2010-07-19 Hui Zhu <teawater@gmail.com>
* breakpoint.c (single_step_breakpoints_inserted): New
function.
* breakpoint.h (single_step_breakpoints_inserted): Extern.
* infrun.c (maybe_software_singlestep): Add check code.
* record.c (record_resume): Add code for software single step.
(record_wait): Ditto.
Alan Modra [Mon, 19 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 19 Jul 2010 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Jan Kratochvil [Sun, 18 Jul 2010 21:21:53 +0000 (21:21 +0000)]
gdb/
* linux-nat.c (linux_handle_extended_wait): Move variable new_lp into
a more inner block. Remove its unused declaration initializer.
Paolo Bonzini [Sun, 18 Jul 2010 08:12:40 +0000 (08:12 +0000)]
2010-07-17 Jack Howarth <howarth@bromo.med.uc.edu>
PR target/44862
* Makefile.tpl (POSTSTAGE1_CXX_EXPORT):
Provide -B option to allow for link spec %s substitutions for
libstdc++.a on darwin.
* Makefile.in: Regenerate.
gdbadmin [Sun, 18 Jul 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 18 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update
Dave Korn [Sat, 17 Jul 2010 19:33:11 +0000 (19:33 +0000)]
* objcopy.c (copy_usage): Tweak previous typofix.
H.J. Lu [Sat, 17 Jul 2010 14:41:28 +0000 (14:41 +0000)]
Fix a typo in "objcopy --help".
2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
* objcopy.c (copy_usage): Fix a typo.
Alan Modra [Sat, 17 Jul 2010 03:12:02 +0000 (03:12 +0000)]
* ldlang.c (lang_check_section_addresses): Catch overlap for
sections that wrap around the address space.
Alan Modra [Sat, 17 Jul 2010 03:10:50 +0000 (03:10 +0000)]
* elf.c (_bfd_elf_map_sections_to_segments): Force new segment
for sections with overlapping LMAs.
(assign_file_positions_for_load_sections): Catch overlap for
sections that wrap around the address space. Replace a
warning that duplicates ld's --check-sections error with a
warning that lma has been adjusted for overlapping sections.
Alan Modra [Sat, 17 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 17 Jul 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***