aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-07-25*** empty log message ***gdbadmin1-1/+1
2010-07-24 gas/Maciej W. Rozycki8-0/+142
* 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.
2010-07-24 * gas/mips/jal-svr4pic.d: Rename to...Maciej W. Rozycki5-21/+82
* 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.
2010-07-24 * gas/mips/jal-svr4pic.d: Reformat. Use --show-raw-insn withMaciej W. Rozycki3-45/+50
`objdump'. * gas/mips/jal-svr4pic.s: Reformat. Fix up trailing zeroes.
2010-07-24 * lib/gas-defs.exp (run_dump_test): Handle the "dump" option.Maciej W. Rozycki2-1/+17
2010-07-24daily updateAlan Modra1-1/+1
2010-07-24*** empty log message ***gdbadmin1-1/+1
2010-07-23 * dwarf2read.c (struct dwarf2_per_objfile) <n_type_comp_units,Tom Tromey2-58/+322
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.
2010-07-23gdb/Jan Kratochvil2-20/+12
* 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.
2010-07-23 * symtab.c (basic_lookup_transparent_type): Call pre-expandKeith Seitz2-6/+18
hook for STATIC_BLOCK types, too.
2010-07-23Add support for v850E2 and v850E2V3Nick Clifton32-1255/+3870
2010-07-23 * dwarf2read.c: Remove unused typedef dwarf2_cu_per_cu_data_ptrKeith Seitz2-3/+5
and vector definition.
2010-07-23gdb/Jan Kratochvil2-1/+4
* linux-nat.c (cancel_breakpoint): Remove unused forward declaration.
2010-07-23 PR gas/11834Alan Modra2-3/+13
* macro.c (macro_expand): Recover gracefully from named args that don't match params.
2010-07-23daily updateAlan Modra1-1/+1
2010-07-23*** empty log message ***gdbadmin1-1/+1
2010-07-22gdb/Jan Kratochvil2-4/+15
* 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.
2010-07-22 * dwarf2read.c (create_debug_types_hash_table): Set objfile onTom Tromey2-0/+6
type signature's per-CU data.
2010-07-22 * archive.c (_bfd_archive_bsd44_construct_extended_name_table):Alan Modra2-1/+6
Correct format specifier.
2010-07-22 * ecoff.c: Don't include aout/ranlib.h.Alan Modra2-8/+15
(_bfd_ecoff_slurp_armap): Use correct struct for ardata->symdefs. (_bfd_ecoff_write_armap): Output ar_date and ar_size using _bfd_ar_spacepad.
2010-07-22 * aoutx.h (some_aout_object_p): Don't set EXEC_P for files withAlan Modra2-1/+8
relocs.
2010-07-22 * NEWS: Mention target reported shared libraries support byPedro Alves2-0/+13
default.
2010-07-222010-07-22 Thomas Schwinge <thomas@codesourcery.com>Thomas Schwinge3-8/+14
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.
2010-07-22 * readelf.c: Add Moxie support.Alan Modra2-0/+14
2010-07-22 * gas/arm/mapdir.s: Don't specify attr/type for .fini_array.Alan Modra4-3/+9
* gas/elf/dwarf2-3.s: Don't specify attr for .init_array. * gas/elf/dwarf2-3.d: Don't run on h8300.
2010-07-22daily updateAlan Modra1-1/+1
2010-07-22*** empty log message ***gdbadmin1-1/+1
2010-07-21 * merge.h (Output_merge_string::Merged_string): Remove object, shndx,Cary Coutant3-27/+67
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.
2010-07-21gdb/Pedro Alves5-4/+31
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.
2010-07-21merge from gccDJ Delorie2-1/+10
2010-07-21Corrected pre-overload-resolution function evaluation.Sami Wagiaalla5-10/+110
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.
2010-07-21 * breakpoint.c (bptype_string): New, abstracted out fromPedro Alves2-22/+43
print_one_breakpoint_location. (print_one_breakpoint_location): Adjust. (breakpoint_1): Adjust the type column width dynamically.
2010-07-21*** empty log message ***gdbadmin1-1/+1
2010-07-21daily updateAlan Modra1-1/+1
2010-07-20gdb/Jan Kratochvil5-4/+71
* 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.
2010-07-20gdb/testsuite/Jan Kratochvil4-12/+50
* 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.
2010-07-20Add missing ChangeLog entry.H.J. Lu1-0/+6
2010-07-20ld: improve linker script sectionMike Frysinger2-3/+9
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>
2010-07-20* gdb/gdbserver/server.c (handle_query): strcpy() the returned string fromOzkan Sezer2-2/+4
paddress() instead of sprintf().
2010-07-20* gdb/gdbserver/utils.c (paddress): Return phex_nz().Ozkan Sezer2-11/+13
2010-07-20include/elf/Alan Modra11-39/+81
* 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.
2010-07-20gdb/Jan Kratochvil2-0/+22
* linux-nat.c (linux_handle_extended_wait): Handle case when event == PTRACE_EVENT_CLONE && stopping && WSTOPSIG (status) != SIGSTOP.
2010-07-20gdb/Jan Kratochvil2-2/+11
Code cleanup. * linux-nat.c (linux_nat_wait_1): Reset STATUS after calling linux_nat_wait_1. Use always LP->STATUS afterwards.
2010-07-20 * ld-powerpc/vxworks-relax.s: Add branches to match expected output.Alan Modra4-7/+15
* ld-powerpc/vxworks-relax-2.s: Likewise. * ld-powerpc/vxworks1-lib.rd: Reorder reloc sections.
2010-07-202010-07-20 Hui Zhu <teawater@gmail.com>Hui Zhu2-2/+7
* inf-ptrace.c (inf_ptrace_create_inferior): Initialize back_to. (inf_ptrace_attach): Ditto.
2010-07-20 * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.Alan Modra2-1/+5
2010-07-20*** empty log message ***gdbadmin1-1/+1
2010-07-20daily updateAlan Modra1-1/+1
2010-07-19gdb/doc/Jan Kratochvil2-1/+5
* gdb.texinfo (Active Targets): Fix wrong comma placement.
2010-07-19gdb/Jan Kratochvil18-74/+217
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.