aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-07-28 * Makefile.in (just-check): Remove. Move body to...Tom Tromey2-3/+6
(check): ... here.
2008-07-28 * linux-low.c (sys/dir.h, sys/user.h): Remove includes.Doug Evans2-3/+5
(linux_write_memory): Remove declaration of errno.
2008-07-28bfd/ChangeLog:Alexandre Oliva8-5/+90
* elf32-i386.c (struct elf_i386_link_hash_table): Added field tls_module_base. (elf_i386_link_hash_table_create): Initialize it. (elf_i386_always_size_sections): Set it. (set_tls_module_base): New. (elf_i386_relocate_sections): Call it. * elf64-x86-64.c (struct elf64_x86_64_link_hash_table): Added field tls_module_base. (elf64_x86_64_link_hash_table_create): Initialize it. (elf64_x86_64_always_size_sections): Set it. (set_tls_module_base): New. (elf64_x86_64_relocate_sections): Call it. Reported by Cary Coutant <ccoutant@google.com> ld/testsuite/ChangeLog: * ld-i386/tlsbindesc.dd: Adjust incorrect expectations for LD to LE relaxation. * ld-x86-64/tlsbindesc.dd: Likewise. * ld-i386/tlsbindesc.rd: Adjust address of _TLS_MODULE_BASE_. * ld-x86-64/tlsbindesc.rd: Likewise. Reported by Cary Coutant <ccoutant@google.com>
2008-07-28 * annotate.h (deprecated_annotate_starting_hook): Remove.Tom Tromey8-58/+41
(deprecated_annotate_stopped_hook): Remove. (deprecated_annotate_exited_hook): Remove. * Makefile.in (annotate.o): Depend on observer_h. * top.c (deprecated_delete_breakpoint_hook): Remove. (deprecated_create_breakpoint_hook): Likewise. (deprecated_modify_breakpoint_hook): Likewise. * interps.c (clear_interpreter_hooks): Update for removed hooks. * breakpoint.c (mention): Don't call removed hook. (delete_breakpoint): Likewise. (disable_breakpoint): Likewise. (do_enable_breakpoint): Likewise. * annotate.c: Include observer.h. (breakpoint_changed): Change type of argument. (_initialize_annotate): Register observers. (deprecated_annotate_starting_hook): Remove. (deprecated_annotate_stopped_hook): Remove. (deprecated_annotate_exited_hook): Remove. (annotate_starting): Update for hook removal. (annotate_stopped): Likewise. (annotate_exited): Likewise. * defs.h (deprecated_delete_breakpoint_hook): Remove. (deprecated_create_breakpoint_hook): Likewise. (deprecated_modify_breakpoint_hook): Likewise.
2008-07-28 * main.c (captured_main): Don't use BEFORE_MAIN_LOOP_HOOK.Tom Tromey2-7/+4
2008-07-28warning fixAlan Modra2-1/+7
2008-07-28 * elf32-arm.c (arm_map_one_stub): Declare variables at beginningAlan Modra3-2/+10
of block. * elf32-avr.c (get_local_syms): Likewise.
2008-07-28 * readelf.c (print_vma): Typo fix.Alan Modra2-1/+5
2008-07-28bfd/Alan Modra6-204/+69
PR 6769 * bfd-in.h (BFD_VMA_FMT): Define. (printf_vma, sprintf_vma): Use the above. (_bfd_int64_low, _bfd_int64_high): Delete. * bfd-in2.h: Regenerate. binutils/ PR 6769 * readelf.c (print_dec_vma, print_hex_vma): Delete. (print_vma): Use BFD_VMA_FMT. * size.c (size_number, rprint_number): Likewise.
2008-07-28*** empty log message ***gdbadmin1-1/+1
2008-07-28daily updateAlan Modra1-1/+1
2008-07-27 * configure.ac: Check for the GNU/Linux ptrace signature.Daniel Jacobowitz3-6/+108
* configure: Regenerated.
2008-07-27 * linux-nat.c (resume_callback): Add more debugging output.Daniel Jacobowitz5-116/+165
(linux_nat_has_pending_sigint): New function, based on linux_nat_has_pending. (set_ignore_sigint, maybe_clear_ignore_sigint): New functions. (stop_wait_callback): Remove flush_mask handling. Honor ignore_sigint. Call maybe_clear_ignore_sigint. Pass NULL to recursive calls. (linux_nat_has_pending, flush_callback): Remove. (linux_nat_filter_event): Check for ignore_sigint. (linux_nat_wait): Remove flush_mask support and call to flush_callback. Use set_ignore_sigint and maybe_clear_ignore_sigint. * linux-nat.h (struct lwp_info): Add ignore_sigint field. * gdb.threads/manythreads.exp: Use remote_expect instead of after. Add a test for duplicated SIGINTs.
2008-07-27 * linux-nat.c (count_events_callback, select_event_lwp_callback): OnlyDaniel Jacobowitz4-10/+32
report events from resumed threads. * gdb.threads/schedlock.exp (get_args): Update to work for any value of NUM. (Top level): Report the number of threads that did not resume.
2008-07-27 * gdb.dwarf2/dw2-compressed.S: Also define __start.Daniel Jacobowitz2-0/+6
2008-07-27 * lib/mi-support.exp (default_mi_gdb_start): Remove check forDaniel Jacobowitz2-5/+5
non-MI prompt.
2008-07-27 * mips-linux-tdep.c (mips_linux_syscall_next_pc): New function.Daniel Jacobowitz4-41/+88
(mips_linux_init_abi): Set tdep->syscall_next_pc. * mips-tdep.c (enum mips_fpu_type, struct gdbarch_tdep): Move to mips-tdep.h. (mips32_next_pc): Handle the syscall instruction. * mips-tdep.h (enum mips_fpu_type, struct gdbarch_tdep): New, from mips-tdep.c. Add syscall_next_pc to gdbarch_tdep.
2008-07-27 * ld-gc/gc.exp (test_gc): xfail powerpc64.Alan Modra2-1/+8
2008-07-27 * elf.c (_bfd_elf_make_section_from_shdr): Ignore return fromAlan Modra2-11/+18
elf_parse_notes. Use bfd_malloc_and_get_section. (elf_parse_notes): Validate note namesz and descsz.
2008-07-27gdb:Tom Tromey5-0/+28
PR gdb/1158: * valops.c (value_struct_elt): Treat function-valued field as a static method. gdb/testsuite: * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct. (function_struct, function_struct_ptr): New globals. * gdb.base/callfuncs.exp (do_function_calls): Test calling via a function pointer in a struct.
2008-07-27gdb:Tom Tromey4-9/+35
PR gdb/1136: * macroexp.c (get_punctuator) <punctuators>: Rearrange to put longer tokens first. gdb/testsuite: * gdb.base/macscp.exp: Add test for macro lexing bug.
2008-07-27*** empty log message ***gdbadmin1-1/+1
2008-07-27daily updateAlan Modra1-1/+1
2008-07-26missed from last commitAlan Modra1-0/+5
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