Skip to content
Snippets Groups Projects
  1. Jan 02, 2010
  2. Jan 01, 2010
  3. Dec 31, 2009
    • Stan Shebs's avatar
      Add new tracepoint action teval. · 6da95a67
      Stan Shebs authored
      	* tracepoint.c (teval_pseudocommand): New function.
      	(validate_actionline): Add teval action case.
      	(encode_actions): Ditto.
      	(_initialize_tracepoint): Define teval pseudocommand.
      	* NEWS: Mention teval.
      
      	* gdb.texinfo (Tracepoint Actions): Describe teval.
      
      	* gdb.trace/actions.exp: Test teval action.
      6da95a67
    • Stan Shebs's avatar
      * tracepoint.c (trace_find_command): Error out if trace running. · 383e5f85
      Stan Shebs authored
      	(trace_find_pc_command): Ditto.
      	(trace_find_tracepoint_command): Ditto.
      	(trace_find_line_command): Ditto.
      	(trace_find_range_command): Ditto.
      	(trace_find_outside_command): Ditto.
      383e5f85
    • Nick Clifton's avatar
      a6da20b5
    • Nick Clifton's avatar
      * dwarf2.c (struct line_sequence): New struct. · 0ee19663
      Nick Clifton authored
              (struct line_info_table): Add num_sequences, remove last_line,
              add sequences.
              (add_line_info): Add new sequences as necessary.
              (compare_sequences): New function.
              (sort_line_sequences): New function.
              (decode_line_info): Initialize new fields in line table.
              Call sort_line_sequences.
              (lookup_address_in_line_info_table): Binary search for proper
              sequence.
      0ee19663
    • Joel Brobecker's avatar
      Fix a typo. · f064a520
      Joel Brobecker authored
      f064a520
    • Joel Brobecker's avatar
      Internal error while loading core on alpha-tru64. · c45ceae0
      Joel Brobecker authored
              * corelow.c (core_open): Delete unused local variables.
              Use inferior_appeared instead of add_inferior_silent.
      c45ceae0
    • Ian Lance Taylor's avatar
      PR 10980 · 719328e1
      Ian Lance Taylor authored
      	* options.h (class General_options): Permit two dashes with
      	--retain-symbols-file.
      719328e1
    • Ian Lance Taylor's avatar
      PR 10979 · 403a15dd
      Ian Lance Taylor authored
      	* layout.cc (Layout::relaxation_loop_body): If -Ttext was used,
      	don't put the file header and segment headers in the text
      	segment.
      403a15dd
    • Ian Lance Taylor's avatar
      PR 10979 · eda294df
      Ian Lance Taylor authored
      	* common.cc (Sort_commons::operator()): Stabilize sort when both
      	entries are NULL.
      	(Symbol_table::do_allocate_commons_list): When allocating common
      	symbols, skip a symbol which is no longer common.
      	* symtab.h (Symbol::is_common): Test whether the symbol comes from
      	an object before checking its type.
      	* testsuite/common_test_2.c: New file.
      	* testsuite/common_test_3.c: New file.
      	* testsuite/Makefile.am (check_PROGRAMS): Add common_test_2.
      	(common_test_2_SOURCES, common_test_2_DEPENDENCIES): Define.
      	(common_test_2_LDFLAGS, common_test_2_LDADD): Define.
      	(common_test_2_pic.o, common_test_2.so): New targets.
      	(common_test_3_pic.o, common_test_3.so): New targets.
      	* testsuite/Makefile.in: Rebuild.
      eda294df
    • Ian Lance Taylor's avatar
      PR 10979 · d7bb5745
      Ian Lance Taylor authored
      	* script.cc (read_input_script): If we see a new SECTIONS clause,
      	and we have added an input section, give an error.
      	* layout.h (class Layout): Add have_added_input_section function.
      	Add have_added_input_section_ field.
      	* layout.cc (Layout::Layout): Initialize
      	have_added_input_section_.
      	(Layout::layout): Set have_added_input_section_.
      	(Layout::layout_eh_frame): Likewise.
      d7bb5745
    • Ian Lance Taylor's avatar
      PR 10931 · fc59c572
      Ian Lance Taylor authored
      	* options.h (class General_options): Add --sort-common option.
      	* symtab.h (class Symbol_table): Define Sort_commons_order enum.
      	* common.cc (Sort_common): Add sort_order parameter to
      	constructor.  Add sort_order_ field.
      	(Sort_commons::operator): Check sort_order_.
      	(Symbol_table::allocate_commons): Determine the sort order.
      	(Symbol_table::do_allocate_commons): Add sort_order parameter.
      	Change all callers.
      	(Symbol_table::do_allocate_commons_list): Likewise.
      fc59c572
    • Ian Lance Taylor's avatar
      PR 10916 · 1c74fab0
      Ian Lance Taylor authored
      	* symtab.cc (Symbol_table::add_from_relobj): When not exporting
      	symbols from this object, don't change the visibility of an
      	undefined symbol.
      	* testsuite/exclude_libs_test_1.c (lib1_ref): New function.
      1c74fab0
    • gdbadmin's avatar
      *** empty log message *** · 48c5c55f
      gdbadmin authored
      48c5c55f
    • Alan Modra's avatar
      daily update · 33242c8f
      Alan Modra authored
      33242c8f
  4. Dec 30, 2009
    • Ian Lance Taylor's avatar
      PR 10861 · 6affe781
      Ian Lance Taylor authored
      	* script.h (class Version_script_info): Define Language enum.
      	Update declarations.  Define Glob, Exact, and Lookup types.  Add
      	new fields globals_, locals_, and is_finalized_.
      	* script.cc: Various formatting fixes.
      	(class Parser_closure): Change language_stack_ from a vector of
      	std::string to one of Version_script_info::Language.  Adjust all
      	uses accordingly.
      	(class Lazy_demangler): Remove.
      	(struct Version_expression): Change language from std::string to
      	Version_script_info::Language.
      	(Version_script_info::Version_script_info): New function.
      	(Version_script_info::~Version_script_info): Don't call clear.
      	(Version_script_info::finalize): New function.
      	(Version_script_info::build_lookup_tables): New function.
      	(Version_script_info::build_expression_list_lookup): New
      	function.
      	(Version_script_info::get_symbol_version_helper): Rewrite to use
      	lookup tables.
      	(Version_script_info::print_expression_list): Adjust to use
      	Version_script_info::Language.
      	(script_push_lex_into_version_mode): Check that the version script
      	has not been finalized.
      	(version_script_push_lang): Change language string to
      	Version_script_info::Language.
      	* options.cc (Command_line::version_script): New function.
      	* options.h (class General_options): Add finalize_dynamic_list
      	function.  Change version_script from declaration to definition.
      	* testsuite/ver_test_4.script: Remove duplicate def of t2_2.
      	* testsuite/version_script.map: Remove duplicate def of foo.
      	* testsuite/Makefile.am (ver_matching_def.so): Depend upon
      	version_script.map.
      	* testsuite/Makefile.in: Rebuild.
      6affe781
Loading