aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-07-26Support PowerPC single-precision float.Alan Modra20-8/+119
2008-07-26 Kill cmd_async_ok.Vladimir Prus6-32/+10
* cli/cli-decode.h (CMD_ASYNC_OK, set_cmd_async_ok) (get_cmd_async_ok): Remove. * cli/cli-decode.c (set_cmd_async_ok, get_cmd_async_ok): Remove. * cli/cli-cmds.c (init_cli_cmds): Don't use set_cmd_async_ok. * infcmd.c (_initialize_infcmd): Likewise. * thread.c (_initialize_thread): Likewise.
2008-07-26 * ld-scripts/include.exp: Don't run test for aout.Alan Modra4-8/+14
* ld-scripts/include.s: Use .fill rather than .4byte. * ld-scripts/include-1.d: Adjust.
2008-07-26 * mips-tdep.c (mips_n32n64_push_dummy_call): Handle passingJoseph Myers2-21/+73
128-bit long doubles in even-odd pairs of FPRs. Do not right-align float arguments for big-endian. (mips_n32n64_return_value): Apply return value convention for structs containing one or two floating-point values to soft-float as well as hard-float. Handle 128-bit long doubles in such structs. (mips_o32_push_dummy_call): Only skip one integer register for a float argument passed in an FPR.
2008-07-26 * binutils-all/objdump.exp: Run compressed debug test only for ELF.Alan Modra2-31/+37
2008-07-26*** empty log message ***gdbadmin1-1/+1
2008-07-26daily updateAlan Modra1-1/+1
2008-07-25 * acinclude.m4: Remove libide, libgui, and all the other TclKeith Seitz3-1277/+3246
functions. * tcl.m4: New file.
2008-07-25gdb:Tom Tromey15-1023/+150
* tui/tui-hooks.c: Include observer.h. (tui_event_default, tui_old_event_hooks, tui_event_hooks): Remove. (tui_bp_created_observer, tui_bp_deleted_observer, tui_bp_modified_observer): New globals. (tui_install_hooks): Use observers, not events. (tui_remove_hooks): Likewise. * mi/mi-cmd-break.c: Include observer.h, not gdb-events.h. (mi_breakpoint_observers_installed, mi_can_breakpoint_notify): New globals. (breakpoint_notify): Check mi_can_breakpoint_notify. (breakpoint_hooks): Remove. (mi_cmd_break_insert): Attach observers. Don't use events. * tracepoint.c: Include observer.h, not gdb-events.h. (tracepoint_operation, trace_pass_command): Notify observer. * interps.c: Don't include gdb-events.h. (clear_interpreter_hooks): Don't call clear_gdb_event_hooks. * gdbarch.c: Rebuild. * gdbarch.sh: Emit include for observer.h, not gdb-events.h. (deprecated_current_gdbarch_select_hack): Notify observer. * breakpoint.h: Don't include gdb-events.h. * breakpoint.c: Don't include gdb-events.h. (condition_command): Notify observer. (commands_command): Likewise. (commands_from_control_command): Likewise. (mention, delete_breakpoint, set_ignore_count): Likewise. (disable_breakpoint, do_enable_breakpoint): Likewise. * Makefile.in (gdb_events_h): Remove. (breakpoint_h): Update. (COMMON_OBS): Remove gdb-events.o. (gdb-events.o): Remove. (breakpoint.o, gdbarch.o, interps.o, tracepoint.o, gdbtk-bp.o, gdbtk-hooks.o, mi-cmd-break.o, tui-hooks.o): Update. * gdb-events.c: Remove. * gdb-events.h: Remove. * gdb-events.sh: Remove. gdb/doc: * observer.texi (GDB Observers): Document new observers: breakpoint_created, breakpoint_deleted, breakpoint_modified, tracepoint_created, tracepoint_deleted, tracepoint_modified, architecture_changed. gdb/gdbtk: * generic/gdbtk-hooks.c: Include observer.h, not gdb-events.h. (gdbtk_add_hooks): Use observers, not events. (gdbtk_architecture_changed): Add argument, for observer. * generic/gdbtk-bp.c: Include observer.h. (gdb_set_bp): Notify observer. (gdb_set_bp_addr): Likewise.
2008-07-25 PR 5990Ian Lance Taylor13-45/+459
* descriptors.cc: New file. * descriptors.h: New file. * gold-threads.h (class Hold_optional_lock): New class. * fileread.cc: Include "descriptors.h". (File_read::~File_read): Release descriptor rather than closing it. (File_read::open) [file]: Call open_descriptor rather than open. Set is_descriptor_opened_. (File_read::open) [memory]: Assert that descriptor is not open. (File_read::reopen_descriptor): New function. (File_read::release): Release descriptor. (File_read::do_read): Make non-const. Reopen descriptor. (File_read::read): Make non-const. (File_read::make_view): Reopen descriptor. (File_read::do_readv): Likewise. * fileread.h (class File_read): Add is_descriptor_opened_ field. Update declarations. * layout.cc: Include "descriptors.h". (Layout::create_build_id): Use open_descriptor rather than open. * output.cc: Include "descriptors.h". (Output_file::open): Use open_descriptor rather than open. * archive.cc (Archive::const_iterator): Change Archive to be non-const. (Archive::begin, Archive::end): Make non-const. (Archive::count_members): Likewise. * archive.h (class Archive): Update declarations. * object.h (Object::read): Make non-const. * Makefile.am (CCFILES): Add descriptors.cc. (HFILES): Add descriptors.h. * Makefile.in: Rebuild.
2008-07-25*** empty log message ***gdbadmin1-1/+1
2008-07-25daily updateAlan Modra1-1/+1
2008-07-24 PR 6716Ian Lance Taylor2-0/+18
* gold.h: Always include <clocale>. Add Solaris workarounds following code in binutils/sysdep.h.
2008-07-24 PR 6048Ian Lance Taylor2-1/+6
* ehframe.cc (Eh_frame::add_ehframe_input_section): Check whether this->eh_frame_hdr_ is NULL before using it.
2008-07-24 * dynobj.cc (Versions::Versions): Update comment.Ian Lance Taylor2-4/+3
2008-07-242008-07-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu8-0/+18
* gas/i386/nops-1.d: Add -mtune=generic32. * gas/i386/nops-2.d: Likewise. * gas/i386/nops-3.d: Likewise. * gas/i386/x86-64-nops-1.d: Add -mtune=generic64. * gas/i386/x86-64-nops-2.d: Likewise. * gas/i386/x86-64-nops-3.d: Likewise. * gas/i386/x86-64-nops-4.d: Likewise.
2008-07-24 * elf32-mips.c (elf_backend_write_section): Define.Daniel Jacobowitz2-0/+5
2008-07-24 * remote.c (remote_threads_extra_info): Don't query the remotePedro Alves2-0/+11
server about info on the internally added main thread.
2008-07-24merge from gccDJ Delorie3-75/+86
2008-07-24 * nto-procfs.c (procfs_attach): Populate initial thread list.Aleksandar Ristovski2-1/+7
(procfs_wait): Return new pid, built from the inferior status.
2008-07-24 * elf.c (_bfd_elf_map_sections_to_segments): Catch off by oneNick Clifton2-1/+6
error assigning sections to segments.
2008-07-24 * dynobj.cc (Versions::Versions): If there is an soname, use it asIan Lance Taylor2-2/+7
the base version name.
2008-07-24 * config/bfin-parse.y (asm_1): Error if plain symbol is usedJie Zhang2-0/+10
as load/store offset.
2008-07-24 * stringpool.cc (Stringpool_template::add_with_length): Set key toIan Lance Taylor3-7/+19
array size plus one. (Stringpool_template::set_string_offsets): Subtract one from key before using it as an array index. (Stringpool_template::get_offset_with_length): Likewise. (Stringpool_template::write_to_buffer): Likewise. * stringpool.h (Stringpool_template::get_offset_from_key): Likewise.
2008-07-24 PR 6658Ian Lance Taylor2-3/+30
* object.h (Merged_symbol_value::value): Do our best to handle a negative addend.
2008-07-24daily updateAlan Modra1-1/+1
2008-07-24*** empty log message ***gdbadmin1-1/+1
2008-07-23 PR 6647Ian Lance Taylor8-66/+182
* script.cc (Version_script_info::get_versions): Don't add empty version tag to return value. (Version_script_info::get_symbol_version_helper): Change return type to bool. Add pversion parameter. Change all callers. (script_register_vers_node): Don't require a non-NULL tag. * script.h (class Version_script_info): Update declarations. (Version_script_info::get_symbol_version): Change return type to bool. Add version parameter. Change all callers. * symtab.cc (Sized_symbol::add_from_relobj): Rework version handling. Handle an empty version from a version script. (Symbol_table::define_special_symbol): Likewise. * testsuite/ver_test_10.script: New file. * testsuite/ver_test_10.sh: New file. * testsuite/Makefile.am (check_SCRIPTS): Add ver_test_10.sh. (check_DATA): Add ver_test_10.syms. (ver_test_10.syms, ver_test_10.so): New target. * testsuite/Makefile.in: Rebuild.
2008-07-23 * configure.ac (CONFIG_INITS): Delete long obsoleted variable.Thiago Jung Bauermann3-2/+5
* configure: Regenerate.
2008-07-232008-07-23 Simon Baldwin <simonb@google.com>Chris Demetriou2-2/+10
* symtab.cc (Symbol_table::sized_write_symbol): Only set st_size to zero for undefined symbols from dynamic libraries.
2008-07-23 * symtab.cc (Symbol_table::resolve): Remove version parameter.Ian Lance Taylor7-12/+98
Change all callers. * symtab.h (class Symbol_table): Update declaration. * testsuite/ver_test_9.cc: New file. * testsuite/Makefile.am (check_PROGRAMS): Add ver_test_9. (ver_test_9_SOURCES, ver_test_9_DEPENDENCIES): Define. (ver_test_9_LDFLAGS, ver_test_9_LDADD): Define. (ver_test_9.so, ver_test_9.o): New targets. * testsuite/Makefile.in: Rebuild.
2008-07-23 * nto-procfs.c (procfs_xfer_memory): Changed signature.Aleksandar Ristovski4-15/+26
(procfs_resume): Workaround for dereferencing type-punned pointer warning. * nto-tdep.c (nto_parse_redirection): Change signature to be const correct. * nto-tdep.h (nto_parse_redirection): Likewise.
2008-07-23*** empty log message ***gdbadmin1-1/+1
2008-07-23daily updateAlan Modra1-1/+1
2008-07-22 * options.h (class General_options): Define --check-sections.Ian Lance Taylor3-0/+30
* layout.cc (Layout::set_segment_offsets): Handle --check-sections.
2008-07-22 * options.h (class General_options): Define -n/--nmagic andIan Lance Taylor5-14/+48
-N/--omagic. * options.cc (General_options::finalize): For -n/--nmagic or -N/--omagic, set -static. * layout.cc (Layout::attach_allocated_section_to_segment): If -N/--omagic, don't put read-only and read-write sections in different segments. (Layout::find_first_load_seg): If -N/--omagic, don't insist on finding a read-only segment. (Layout::set_segment_offsets): If -N/--omagic or -n/--nmagic, don't set the minimum segment alignment to the common page size, and don't set the file offset to the address modulo the page size. * script-sections.cc (Script_sections::create_segments): If -n/--omagic, don't put read-only and read-write sections in different segments.
2008-07-22 * cref.cc: New file.Ian Lance Taylor15-69/+780
* cref.h: New file. * options.h (class General_options): Add --print-symbol-counts. * main.cc (main): Issue defined symbol report if requested. * archive.cc (Archive::interpret_header): Make into a const member function. (Archive::add_symbols): Call Input_objects::archive_start and archive_stop. (Archive::const_iterator): Define new class. (Archive::begin, Archive::end): New functions. (Archive::include_all_members): Rewrite to use iterator. (Archive::count_members): New function. * archive.h (class Archive): Update declarations. (Archive::filename): New function. * object.cc: Include "cref.h". (Sized_relobj::Sized_relobj): Initialize defined_count_. (Sized_relobj::do_get_global_symbol_counts): New function. (Input_objects::add_object): Add object to cross-referencer. (Input_objects::archive_start): New function. (Input_objects::archive_stop): New function. (Input_objects::print_symbol_counts): New function. * object.h: Declare Cref and Archive. (Object::get_global_symbol_counts): New function. (Object::do_get_global_symbol_counts): New pure virtual function. (class Sized_relobj): Add defined_count_ field. Update declarations. (class Input_objects): Add cref_ field. Update constructor. Update declarations. * dynobj.cc (Sized_dynobj::Sized_dynobj): Initialize symbols_ and defined_count_. (Sized_dynobj::do_add_symbols): Allocate symbols_ if printing symbol counts. (Sized_dynobj::do_get_global_symbol_counts): New function. * dynobj.h (class Sized_dynobj): Add fields symbols_ and defined_count_. Update declarations. Define Symbols typedef. * symtab.cc (Symbol_table::add_from_relobj): Add defined parameter. Change all callers. (Symbol_table::add_from_dynobj): Add sympointers and defined parameters. Change all callers. * symtab.h (class Symbol_table): Update declarations. * Makefile.am (CCFILES): Add cref.cc. (HFILES): Add cref.h. * Makefile.in: Rebuild.
2008-07-222008-07-22 Simon Baldwin <simonb@google.com>Chris Demetriou2-1/+7
* symtab.cc (Symbol_table::sized_write_symbol): Set symbol size to zero when writing undefined symbols.
2008-07-22Update for elf_link_output_extsym changeAlan Modra6-9/+17
2008-07-22 * elf.c (_bfd_elf_map_sections_to_segments): Allow sections inNick Clifton2-2/+14
adjoining pages to be included in the same segment.
2008-07-22 * config/tc-mips.c (mips_ip): Reset s to argsStart.Nick Clifton5-7/+16
* gas/mips/tls-ill.l: Update error message. * gas/mips/octeon-ill.l: Likewise.
2008-07-22 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.Jie Zhang2-0/+7
2008-07-22 * output.cc (Output_section::add_input_section): Don't try toIan Lance Taylor2-2/+9
merge empty merge sections.
2008-07-222008-07-22 Simon Baldwin <simonb@google.com>Chris Demetriou2-0/+14
* elflink.c (elf_link_output_extsym): Set st_size to zero for symbols from dynamic libraries.
2008-07-22 Scrub remnants of IN_SOLIB_DYNSYM_RESOLVE_CODE.Stan Shebs9-23/+28
* gdbarch.sh: Adjust comment to refer to in_solib_dynsym_resolve_code(). * gdbarch.h, gdbarch.c: Update. * solib-osf.c: Ditto. * infrun.c: Ditto. (handle_inferior_event): Use in_solib_dynsym_resolve_code unconditionally. * config/mips/nm-irix5.h: Remove undef of IN_SOLIB_DYNSYM_RESOLVE_CODE. * gdbint.texinfo: Refer to target_so_ops.in_dynsym_resolve_code instead of IN_SOLIB_DYNSYM_RESOLVE_CODE.
2008-07-22daily updateAlan Modra1-1/+1
2008-07-22*** empty log message ***gdbadmin1-1/+1
2008-07-212008-07-21 Craig Silverstein <csilvers@google.com>Craig Silverstein2-3/+16
* symtab.cc (Symbol_table::warn_about_undefined_dynobj_symbol): Include symbol version in error message.
2008-07-21* config/tc-h8300.c (fix_operand_size): Use the default sizeDJ Delorie2-1/+11
specified by the .lbranch/.sbranch pseudos.
2008-07-21gdbTom Tromey8-8/+33
* symfile.c (reread_symbols): Don't pass argument to observer. * exec.c (exec_file_attach): Don't pass argument to observer. * ada-lang.c (ada_executable_changed_observer): Remove argument. * symtab.c (symtab_observer_executable_changed): Remove argument. * observer.sh: Handle functions with no arguments. gdb/doc * observer.texi (GDB Observers): Remove obsolete comment. <executable_changed>: Remove argument.