aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-07-30include/opcode/Alan Modra7-11/+137
* ppc.h (PPC_OPCODE_405): Define. (PPC_OPERAND_FSL, PPC_OPERAND_FCR, PPC_OPERAND_UDI): Define. gas/ * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405. (md_show_usage): Likewise. opcodes/ * ppc-dis.c (print_insn_powerpc): Disassemble FSL/FCR/UDI fields. * ppc-opc.c (powerpc_operands): Add Xilinx APU related operands. (insert_sprg, PPC405): Use PPC_OPCODE_405. (powerpc_opcodes): Add Xilinx APU related opcodes.
2008-07-30Silence gcc printf warningsAlan Modra43-114/+166
2008-07-30 * cli/cli-decode.c (lookup_cmd_1): Use memcpy.Tom Tromey2-10/+7
(lookup_cmd_composition): Likewise.
2008-07-30 * cli/cli-cmds.c (edit_command): Remove unused variables. DeleteTom Tromey2-17/+21
dead code. Fix indentation.
2008-07-30daily updateAlan Modra1-1/+1
2008-07-30*** empty log message ***gdbadmin1-1/+1
2008-07-29 * script.cc (Script_options::finalize_symbols): Finalize SECTIONSIan Lance Taylor4-2/+25
symbols before other symbols. * testsuite/script_test_2.cc (test_addr): Declare. (test_addr_alias): Declare. (main): Check that test_addr and test_addr_alias have the right values. * testsuite/script_test_2.t: Define test_addr_alias and test_addr.
2008-07-29 * gdbint.texinfo: General round of cleanup and minorStan Shebs2-322/+175
clarifications. (Breakpoint Handling): Remove mention of BREAKPOINT macro. (Longjmp Support): Update description to reflect how it is done for targets without using native header. (Symbol Handling): Add a little more general explanation. (COFF, ELF): Mention stabs encapsulation. (DWARF 3): New section. (Adding a New Host): Scrub out some obsolete bits. (Generic Host Support Files): Mention ser-pipe.c, ser-mingw.c. (Host Conditionals): Remove descriptions of NO_STD_REGS, HAVE_MMAP, HAVE_TERMIO, INT_MAX etc, LONGEST, HAVE_LONG_DOUBLE, PRINTF_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE, L_SET, SEEK_CUR, SEEK_SET, STOP_SIGNAL, USG. (Raw and Virtual Register Representations): Ditto for DEPRECATED_REGISTER_RAW_SIZE, DEPRECATED_REGISTER_VIRTUAL_SIZE, DEPRECATED_REGISTER_VIRTUAL_TYPE, REGISTER_CONVERT_TO_TYPE. (Target Conditionals): Ditto for DEPRECATED_FP_REGNUM, DEPRECATED_FRAMELESS_FUNCTION_INVOCATION, DEPRECATED_FRAME_CHAIN, DEPRECATED_FRAME_CHAIN_VALID, DEPRECATED_FRAME_INIT_SAVED_REGS, DEPRECATED_FRAME_SAVED_PC, DEPRECATED_FUNCTION_START_OFFSET, DEPRECATED_REGISTER_VIRTUAL_SIZE, DEPRECATED_REGISTER_VIRTUAL_TYPE, DEPRECATED_USE_STRUCT_CONVENTION. Describe gdbarch_deprecated_fp_regnum. Update description of gdbarch_print_insn. (Adding a New Target): Scrub out obsolete bits. (Obsolete Conditionals): Remove entire section.
2008-07-29 * main.c (captured_main): Remove long-unused #if 0 blocks.Stan Shebs2-44/+4
2008-07-29 * common/genmloop.sh: Add new parameter: -shell to specify theNick Clifton7-8/+29
command interpreter to use to run the input file. This is necessary because otherwise SHELL is taken from the user's environment, and not from the makefile that invoked this script and the user might not be running an sh-like shell. * cris/Makefile.in: Pass -shell parameter to genmloop.sh. * fr30/Makefile.in: Likewise. * frv/Makefile.in: Likewise. * i960/Makefile.in: Likewise. * iq2000/Makefile.in: Likewise. * m32r/Makefile.in: Likewise. * frv/mloop.in: Add missing start of line comment marker.
2008-07-29*** empty log message ***gdbadmin1-1/+1
2008-07-29daily updateAlan Modra1-1/+1
2008-07-28 * elfxx-mips.c (mips_elf_calculate_relocation): Avoid generatingDaniel Jacobowitz2-18/+89
relocations for undefined weak symbols with non-default visibility. (_bfd_mips_elf_check_relocs): Use possibly_dynamic_relocs for global symbols in shared libraries. (allocate_dynrelocs): New function. (_bfd_mips_elf_adjust_dynamic_symbol): Do not handle possibly_dynamic_relocs here. (_bfd_mips_elf_size_dynamic_sections): Call allocate_dynrelocs.
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.