aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-11-06 * configure, config.in: Rebuild.Tom Tromey5-4/+37
* configure.in: Check for fileno. * bfdio.c (close_on_exec): New function. (real_fopen): Use it. (FD_CLOEXEC): New define.
2008-11-06Remove extra blank line.Tristan Gingold1-1/+0
2008-11-062008-11-06 Tristan Gingold <gingold@adacore.com>Tristan Gingold4-122/+486
* mach-o.h (BFD_MACH_O_NO_SECT): Add; reorders the macros. (BFD_MACH_O_SYM_NTYPE, BFD_MACH_O_SYM_NSECT, BFD_MACH_O_SYM_NDESC): New macros. (bfd_mach_o_i386_thread_flavour): Define according to the latest definition from system header. (bfd_mach_o_load_command_type): Add BFD_MACH_O_LC_RPATH, BFD_MACH_O_LC_CODE_SIGNATURE. (BFD_MACH_O_SECTION_TYPE_MASK, BFD_MACH_O_SECTION_ATTRIBUTES_MASK, BFD_MACH_O_SECTION_ATTRIBUTES_SYS, BFD_MACH_O_SECTION_ATTRIBUTES_USR, BFD_MACH_O_S_ATTR_LOC_RELOC, BFD_MACH_O_S_ATTR_EXT_RELOC, BFD_MACH_O_S_ATTR_SOME_INSTRUCTIONS, BFD_MACH_O_S_ATTR_DEBUG, BFD_MACH_O_S_ATTR_PURE_INSTRUCTIONS): Add. (bfd_mach_o_segment_command): Add room for a nul terminator in segname field. (BFD_MACH_O_PROT_READ, BFD_MACH_O_PROT_WRITE, BFD_MACH_O_PROT_EXECUTE): Add. (INDIRECT_SYMBOL_LOCAL): Renames to BFD_MACH_O_INDIRECT_SYMBOL_LOCAL. (INDIRECT_SYMBOL_ABS): Renames to BFD_MACH_O_INDIRECT_SYMBOL_ABS. (bfd_mach_o_uuid_command): Add the structure. (bfd_mach_o_load_command): Add uuid field. (bfd_get_mach_o_data): New macro. * mach-o.c (bfd_mach_o_bfd_print_private_bfd_data): New function which replaces the macro. (SECTION_TYPE, SECTION_ATTRIBUTES, SECTION_ATTRIBUTES_USR, S_ATTR_PURE_INSTRUCTIONS, SECTION_ATTRIBUTES_SYS, S_ATTR_SOME_INSTRUCTIONS, S_ATTR_EXT_RELOC, S_ATTR_LOC_RELOC): Renamed and moved to mach-o.h. (N_STAB, N_TYPE, N_EXT, N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS, N_SECT, N_INDR): Removed as they duplicated macros in mach-o.h. (bfd_mach_o_print_symbol): Print much more details. (bfd_mach_o_make_bfd_section): Add prot argument, use canonical dwarf name for dwarf sections. Precisely set section flags. (bfd_mach_o_scan_read_section_32): Add prot argument. (bfd_mach_o_scan_read_section_64): Ditto. (bfd_mach_o_scan_read_section): Ditto. (bfd_mach_o_scan_read_symtab_symbol): Set section for debugging stabs, set BSF_GLOBAL and LOCAL flags correctly. Fix section for N_SECT symbols. (bfd_mach_o_i386_flavour_string): Reindent and adjust for new names. (bfd_mach_o_scan_read_symtab): Set HAS_SYMS flags on bfd if there are symbols. (bfd_mach_o_scan_read_uuid): New function. (bfd_mach_o_scan_read_segment): Add a trailing nul. Segments flags are now simply HAS_CONTENTS. Pass protection to bfd_mach_o_scan_read_section. (bfd_mach_o_scan_read_command): Decode UUID command. (bfd_mach_o_flatten_sections): Add comments. Fix flavour names. (bfd_mach_o_scan): Set flags according to file type. (mach_o_fat_archentry): Remove abfd field. (bfd_mach_o_archive_p): Remove initialization of abfd field. (bfd_mach_o_openr_next_archived_file): Find previous archive by position and not by bfd (as former bfds may have been freed). Give architecture name to archived file. * mach-o-target.c (TARGET_NAME): Use generic archive for non fat targets.
2008-11-06 * avr-dis.c: Replace uses of sprintf without a format string withNick Clifton2-5/+10
calls to strcpy.
2008-11-06 * options.cc (General_options::parse_dynamic_list): New function.Craig Silverstein11-18/+277
* options.h (General_options): New flags dynamic_list, dynamic_list_data, dynamic_list_cpp_new, and dynamic_list_cpp_typeinfo. New variable dynamic_list_. (General_options::in_dynamic_list): New function. * script.cc (Lex::Mode): New enum DYNAMIC_LIST. (Lex::can_start_name): Add support for DYNAMIC_LIST mode. (Lex::can_continue_name): Likewise. (yylex): Likewise. (read_script_file): New parameter script_options. (read_dynamic_list): New function. (Script_options::define_dynamic_list): New function. (dynamic_list_keyword_parsecodes): New variable. (dynamic_list_keywords): New variable. * script.h (Script_options::define_dynamic_list): New function prototype. (read_dynamic_list): New function prototype. * symtab.cc (strprefix): New macro. (Symbol::should_add_dynsym_entry): Support dynamic_list, dynamic_list_data, dynamic_list_cpp_new, and dynamic_list_cpp_typeinfo. * yyscript.y (PARSING_DYNAMIC_LIST): New token. (dynamic_list_expr): New rule. (dynamic_list_nodes): Likewise. (dynamic_list_node): Likewise. * testsuite/Makefile.am (dynamic_list): New test. * testsuite/Makefile.in: Regenerated. * testsuite/dynamic_list.t: New file. * testsuite/dynamic_list.sh: New file.
2008-11-06 * testsuite/tls_test_c.c: Add prototype for t11 and t11_last.Craig Silverstein3-3/+15
* testsuite/tls_test_c.c (t11): Add explicit "void" to prototype. (t11_last): Likewise. * testsuite/ver_test_6.c (main): Likewise.
2008-11-06*** empty log message ***gdbadmin1-1/+1
2008-11-05daily updateAlan Modra1-1/+1
2008-11-05 * remote.c (notice_new_inferiors): Add a new inferior only whenPedro Alves2-7/+12
we're going to add a new thread.
2008-11-05 * defs.h (add_inferior_continuation)Pedro Alves8-5/+107
(do_all_inferior_continuations) (discard_all_inferior_continuations): Declare. * utils.c (add_inferior_continuation) (do_all_inferior_continuations) (discard_all_inferior_continuations): New. * inferior.h (struct inferior) <continuations>: New field. * inferior.c (free_inferior): Discard all the inferior continuations. * inf-loop.c (inferior_event_handler): Do all current inferior continuations. * infcmd.c (attach_command): Register an inferior continuation instead of a thread continuation. * infrun.c (handle_inferior_event): If stop_soon is STOP_QUIETLY_NO_SIGSTOP, also expect a TARGET_SIGNAL_0.
2008-11-052008-11-04 Sterling Augustine <sterling@tensilica.com>Bob Wilson2-0/+59
* config/tc-xtensa.c (tinsn_check_arguments): Check for multiple writes to the same register.
2008-11-05*** empty log message ***gdbadmin1-1/+1
2008-11-04daily updateAlan Modra1-1/+1
2008-11-042008-11-04 Sterling Augustine <sterling@tensilica.com>Bob Wilson10-13/+117
* config/tc-xtensa.c (xtensa_j_opcode): New. (xg_instruction_matches_option_term): Handle "FREEREG" option. (xg_build_to_insn): Likewise. Update renamed tls_reloc reference. (md_begin): Initialize xtensa_j_opcode. (md_assemble): Update renamed tls_reloc reference. Handle "j.l". (xg_assemble_vliw_tokens): Save free_reg info in the frag. (tinsn_immed_from_frag): Get free_reg info back out of the frag. (vinsn_to_insnbuf): Update renamed tls_reloc references. Distinguish extra argument for "FREEREG" from extra TLS argument. * config/tc-xtensa.h (struct xtensa_frag_type): Add free_reg field. * config/xtensa-istack.h (struct tinsn_struct): Rename tls_reloc field to extra_arg. * config/xtensa-relax.c (widen_spec_list): Add rules to relax "j.l". (build_transition): Handle "FREEREG" operand. * config/xtensa-relax.h (enum op_type): Add OP_FREEREG. 2008-11-04 Bob Wilson <bob.wilson@acm.org> * gas/xtensa/all.exp: Run jlong test. * gas/xtensa/jlong.d: New. * gas/xtensa/jlong.s: New.
2008-11-04 * inf-loop.c (inferior_event_handler): On INF_ERROR andPedro Alves3-15/+20
INF_REG_EVENT throwing, don't call target_async or pop_target. Call pop_all_targets_above. * remote.c (remote_close): Call remote_terminal_ours. Don't call signal or target_async.
2008-11-04 * eval.c (evaluate_subexp_standard): Assert that there is atDaniel Jacobowitz2-0/+7
least one array dimension.
2008-11-04*** empty log message ***gdbadmin1-1/+1
2008-11-03daily updateAlan Modra1-1/+1
2008-11-03 Make attach_command exception-safeVladimir Prus2-0/+10
* infcmd.c (attach_command): Call async_enable_stdin if exception is thrown.
2008-11-03gas/testsuite/H.J. Lu10-3/+66
2008-11-03 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/intel.s: Add tests for cmovpe and cmovpo. * gas/i386/opcode.s: Likewise. * gas/i386/intel.d: Updated. * gas/i386/opcode.d: Likewise. * gas/i386/opcode-intel.d: Likewise. * gas/i386/opcode-suffix.d: Likewise. opcodes/ 2008-11-03 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.tbl: Add cmovpe and cmovpo. * i386-tbl.h: Regenerated.
2008-11-03* gdb.base/hashline2.exp: Fix typo.Andreas Schwab3-2/+7
* gdb.base/hashline3.exp: Likewise.
2008-11-03Fix my email in last entry.Bob Wilson1-1/+1
2008-11-03 * emulparams/elf32xtensa.sh (NO_REL_RELOCS): Set.Bob Wilson3-8/+57
* scripttempl/elfxtensa.sc (NO_REL_RELOCS, NO_RELA_RELOCS) (NON_ALLOC_DYN): Import changes from elf.sc.
2008-11-03 * gdbarch.sh (has_global_solist): Mention global breakpoints.Pedro Alves3-1/+12
* gdbarch.h: Regenerate.
2008-11-03 * remote.c (remote_start_remote): If the solib list is global,Pedro Alves10-15/+121
fetch libraries and insert breakpoints after connecting. * infcmd.c (post_create_inferior): If the solist is shared between inferiors, no need to refetch it on every new inferior. (detach_command): If the shared library list is shared between inferiors, then don't clear it on every inferior detach. * gdbarch.sh (has_global_solist): New. * i386-dicos-tdep.c (i386_dicos_init_abi): Set gdbarch_has_global_solist. * target.c (target_pre_inferior): If the shared library list is shared between inferiors, then don't clear it here, neither invalidate the memory regions or clear the target description. (target_detach): If the shared library list is shared between inferiors, then don't remove breakpoints from the target here. (target_disconnect): Comment. * solib.c (update_solib_list): Check for null_ptid. * breakpoint.c (insert_breakpoints, update_global_location_list): If the shared library list is shared between inferiors, insert breakpoints even if there's no execution. (breakpoint_init_inferior): If the shared library list is shared between inferiors, don't delete breakpoints or mark them uninserted here. * gdbarch.c, gdbarch.h: Regenerate.
2008-11-03*** empty log message ***gdbadmin1-1/+1
2008-11-02daily updateAlan Modra1-1/+1
2008-11-02*** empty log message ***gdbadmin1-1/+1
2008-11-01daily updateAlan Modra1-1/+1
2008-11-01*** empty log message ***gdbadmin1-1/+1
2008-10-31daily updateAlan Modra1-1/+1
2008-10-31Fix ChangeLog datesTom Tromey1-3/+3
2008-10-31 * inferior.h (inferior_ignoring_leading_exec_events): DeletePedro Alves2-8/+5
declaration.
2008-10-31 * inferior.h (write_inferior_status_register): Delete.Pedro Alves3-14/+5
* infrun.c (write_inferior_status_register): Delete.
2008-10-31 * configure.in (ALL_LINGUAS): Add id.Alan Modra3-2/+4
* configure: Regenerate.
2008-10-31Update.Alan Modra2-2526/+2937
2008-10-31new fileAlan Modra2-0/+6252
2008-10-31*** empty log message ***gdbadmin1-1/+1
2008-10-31daily updateAlan Modra1-1/+1
2008-10-30gdbTom Tromey5-5/+37
* value.c (coerce_array): Use check_typedef. gdb/testsuite * gdb.base/pointers.exp: Add test. * gdb.base/pointers.c (k, S): New typedefs. (instance): New global.
2008-10-30 * cli/cli-logging.c (handle_redirections): Make a cleanup.Tom Tromey6-4/+26
* reggroups.c (maintenance_print_reggroups): Make a cleanup. * regcache.c (regcache_print): Make a cleanup. * maint.c (maintenance_print_architecture): Make a cleanup. * dummy-frame.c (maintenance_print_dummy_frames): Make a cleanup.
2008-10-30 * utils.c (make_cleanup_close): Use make_cleanup_dtor.Tom Tromey2-2/+6
(do_close_cleanup): Don't free 'fd'.
2008-10-30 * source.c (symtab_to_fullname): Test 'r >= 0'.Tom Tromey4-37/+58
(psymtab_to_fullname): Likewise. (get_filename_and_charpos): Make a cleanup. (forward_search_command): Likewise. (reverse_search_command): Likewise. * exec.c (exec_file_attach): Close scratch_chan on failure. * nto-procfs.c (procfs_open): Make a cleanup. (procfs_pidlist): Likewise. (do_closedir_cleanup): New function.
2008-10-30 * infcmd.c (construct_inferior_arguments): Handle newlinesAndreas Schwab4-4/+33
specially. testsuite/: * gdb.base/args.exp: Add tests for newlines.
2008-10-30 * cache.c (cache_bread): Cast void * pointer before performingNick Clifton2-2/+11
arithmetic on it.
2008-10-30 gdb.base/foll-exec.exp: Update the expected output of a coupleJoel Brobecker2-14/+15
of "info breakpoints" tests.
2008-10-30 * breakpoint.h (enum bptype): Delete bp_catch_exec.Joel Brobecker3-117/+92
* breakpoint.c (insert_catchpoint): Remove handling for bp_catch_exec breakpoint kinds. (insert_bp_location, update_breakpoints_after_exec, remove_breakpoint) (ep_is_catchpoint, print_it_typical, bpstat_check_location), (bpstat_check_location, bpstat_what, print_one_breakpoint_location) (print_one_breakpoint_location, user_settable_breakpoint) (breakpoint_address_is_meaningful, adjust_breakpoint_address) (allocate_bp_location, mention, breakpoint_re_set_one) (disable_command, enable_command): Likewise. (create_exec_event_catchpoint): Delete. (insert_catch_exec, remove_catch_exec, breakpoint_hit_catch_exec) (print_it_catch_exec, print_one_catch_exec, print_mention_catch_exec): New functions. (catch_exec_breakpoint_ops): New static global. (catch_exec_command_1): Use create_catchpoint instead of create_exec_event_catchpoint to create the exec catchpoint.
2008-10-30*** empty log message ***gdbadmin1-1/+1
2008-10-30daily updateAlan Modra1-1/+1
2008-10-292008-10-29 Stefan Schulze Frielinghaus <xxschulz@de.ibm.com>Ulrich Weigand3-2/+5
* configure.ac [spu-*-*]: Do not set skipdirs. * configure: Re-generate.