Doug Evans [Fri, 1 Jan 2010 21:45:18 +0000 (21:45 +0000)]
tweak wording of previous checkin
Doug Evans [Fri, 1 Jan 2010 21:40:50 +0000 (21:40 +0000)]
cris/
* mloop.in: Fix copyright update snafu.
iq2000/
* mloop.in: Fix copyright update snafu.
H.J. Lu [Fri, 1 Jan 2010 18:06:10 +0000 (18:06 +0000)]
Move 2009 binutils ChangeLog to ChangeLog-2009.
Joel Brobecker [Fri, 1 Jan 2010 13:42:26 +0000 (13:42 +0000)]
Fix -Wshadow warnings (seen on ppc-aix)
* xcofflink.c: Replace finfo by flinfo throughout.
Joel Brobecker [Fri, 1 Jan 2010 11:38:33 +0000 (11:38 +0000)]
Update the "Start of New Year Procedure".
* gdbint.texinfo: Add the list of files that need to be updated
manually. Minor reformatting.
Joel Brobecker [Fri, 1 Jan 2010 11:20:05 +0000 (11:20 +0000)]
* refcard.tex: Update copyright year in header and text.
Joel Brobecker [Fri, 1 Jan 2010 11:11:34 +0000 (11:11 +0000)]
Test indented comment in file being sourced.
* gdb.base/commands.exp: Test indented comment in file being sourced.
Jan Kratochvil [Fri, 1 Jan 2010 10:58:56 +0000 (10:58 +0000)]
gdb/
* cli/cli-script.c (process_next_line): Rename p1 as p_end and p2 as
p_start. Change != comparisons to > and < comparisons.
Jan Kratochvil [Fri, 1 Jan 2010 10:57:43 +0000 (10:57 +0000)]
gdb/
* cli/cli-script.c (process_next_line): Check P2 overrun.
Joel Brobecker [Fri, 1 Jan 2010 10:03:36 +0000 (10:03 +0000)]
Update copyright notices to add year 2010.
Joel Brobecker [Fri, 1 Jan 2010 09:44:07 +0000 (09:44 +0000)]
Update the copyright header of most if not all files that have not been
updated yet.
Joel Brobecker [Fri, 1 Jan 2010 09:27:06 +0000 (09:27 +0000)]
* gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
notice.
Jan Kratochvil [Fri, 1 Jan 2010 07:57:56 +0000 (07:57 +0000)]
gdb/testsuite/
* lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
missing $after_stopped and comma (,) expectation.
Joel Brobecker [Fri, 1 Jan 2010 07:54:37 +0000 (07:54 +0000)]
Update copyright years in all relevant texinfo documents.
* agentexpr.texi: Add 2010 to the list of copyright years.
* annotate.texinfo: Likewise.
* gdb.texinfo: Likewise.
* gdbint.texinfo: Likewise.
* observer.texi: Likewise.
* stabs.texinfo: Likewise.
Joel Brobecker [Fri, 1 Jan 2010 07:32:07 +0000 (07:32 +0000)]
Update copyright year in most headers.
Automatic update by copyright.sh.
Joel Brobecker [Fri, 1 Jan 2010 07:03:54 +0000 (07:03 +0000)]
Fix build failure in inf-ptrace.c.
* inf-ptrace.c (inf_ptrace_follow_fork): Fix typo.
Joel Brobecker [Fri, 1 Jan 2010 06:59:28 +0000 (06:59 +0000)]
* server.c (gdbserver_version): Update copyright year to 2010.
* gdbreplay.c (gdbreplay_version): Likewise.
Joel Brobecker [Fri, 1 Jan 2010 06:56:04 +0000 (06:56 +0000)]
* top.c (print_gdb_version): Update copyright year.
Joel Brobecker [Fri, 1 Jan 2010 06:53:34 +0000 (06:53 +0000)]
ChangeLog rotation for 2010.
Joel Brobecker [Fri, 1 Jan 2010 06:29:10 +0000 (06:29 +0000)]
Fix break *FUN'address thread NUM.
* ada-lex.l (task): Expand rule to also match the thread keyword.
Joel Brobecker [Fri, 1 Jan 2010 06:06:49 +0000 (06:06 +0000)]
Fix break *FUN'address task NUM.
* ada-lex.l (task): New rule.
* ada-lang.c (valid_task_id): Make sure the Ada task list has
been built before using it.
gdbadmin [Fri, 1 Jan 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 31 Dec 2009 23:00:32 +0000 (23:00 +0000)]
daily update
Stan Shebs [Thu, 31 Dec 2009 17:47:43 +0000 (17:47 +0000)]
Add new tracepoint action teval.
* 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.
Stan Shebs [Thu, 31 Dec 2009 17:39:53 +0000 (17:39 +0000)]
* tracepoint.c (trace_find_command): Error out if trace running.
(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.
Nick Clifton [Thu, 31 Dec 2009 14:40:36 +0000 (14:40 +0000)]
* objcopy.c (add_redefine_syms_file): Avoid symbol buffer
overrun.
Nick Clifton [Thu, 31 Dec 2009 14:10:29 +0000 (14:10 +0000)]
* dwarf2.c (struct line_sequence): New struct.
(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.
Joel Brobecker [Thu, 31 Dec 2009 11:04:39 +0000 (11:04 +0000)]
Fix a typo.
Joel Brobecker [Thu, 31 Dec 2009 10:57:30 +0000 (10:57 +0000)]
Internal error while loading core on alpha-tru64.
* corelow.c (core_open): Delete unused local variables.
Use inferior_appeared instead of add_inferior_silent.
Ian Lance Taylor [Thu, 31 Dec 2009 06:05:49 +0000 (06:05 +0000)]
PR 10980
* options.h (class General_options): Permit two dashes with
--retain-symbols-file.
Ian Lance Taylor [Thu, 31 Dec 2009 05:43:29 +0000 (05:43 +0000)]
PR 10979
* layout.cc (Layout::relaxation_loop_body): If -Ttext was used,
don't put the file header and segment headers in the text
segment.
Ian Lance Taylor [Thu, 31 Dec 2009 05:07:22 +0000 (05:07 +0000)]
PR 10979
* 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.
Ian Lance Taylor [Thu, 31 Dec 2009 03:48:46 +0000 (03:48 +0000)]
PR 10979
* 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.
Ian Lance Taylor [Thu, 31 Dec 2009 01:57:55 +0000 (01:57 +0000)]
PR 10931
* 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.
Ian Lance Taylor [Thu, 31 Dec 2009 01:14:34 +0000 (01:14 +0000)]
PR 10916
* 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.
gdbadmin [Thu, 31 Dec 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 30 Dec 2009 23:00:28 +0000 (23:00 +0000)]
daily update
Ian Lance Taylor [Wed, 30 Dec 2009 22:35:49 +0000 (22:35 +0000)]
PR 10861
* 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.
Stan Shebs [Wed, 30 Dec 2009 22:32:03 +0000 (22:32 +0000)]
* tracepoint.c (trace_status_command): Add some status output.
Ian Lance Taylor [Wed, 30 Dec 2009 20:35:52 +0000 (20:35 +0000)]
PR 10843
* target-reloc.h (relocate_for_relocatable): When copying a reloc,
if the input symbol index is 0, make the output symbol index 0.
Ian Lance Taylor [Wed, 30 Dec 2009 20:23:29 +0000 (20:23 +0000)]
PR 10670
* options.h (class General_options): Add -x/--discard-all.
* object.cc (Sized_relobj::do_count_local_symbols): Handle
--discard-all. If the local symbol needs a dynamic entry, check
that before handling --discard-locals.
Thiago Jung Bauermann [Wed, 30 Dec 2009 20:11:49 +0000 (20:11 +0000)]
20090-12-30 Jan Kratochvil <jan.kratochvil@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
* breakpoint.c (update_watchpoint): Change b->type to
bp_watchpoint before calling hw_watchpoint_used_count.
Ian Lance Taylor [Wed, 30 Dec 2009 19:29:20 +0000 (19:29 +0000)]
PR 10450
* output.cc (Output_segment::Output_segment): If PT_TLS, set the
flags to PF_R.
(Output_segment::add_output_section): Don't change the flags if
the type is PT_TLS.
Joel Brobecker [Wed, 30 Dec 2009 19:16:30 +0000 (19:16 +0000)]
* breakpoint.c (watchpoint_check): Expand the function description.
Thiago Jung Bauermann [Wed, 30 Dec 2009 17:33:35 +0000 (17:33 +0000)]
gdb/
* valarith.c (value_equal_contents): New function.
* value.h (value_equal_contents): Declare.
* breakpoint.c (watchpoint_check): Use value_equal_contents
instead of value_equal.
gdb/testsuite/
* gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
(top level): Call test_watchpoint_in_big_blob.
* gdb.base/watchpoint.c (buf): Change size to value too big for hardware
watchpoints.
(func3): Write to buf.
Stan Shebs [Wed, 30 Dec 2009 16:11:08 +0000 (16:11 +0000)]
Add default-collect variable.
* tracepoint.c (default_collect): New global.
(encode_actions): Use it.
(download_tracepoint): Test it, for otherwise
action-less tracepoints.
(_initialize_tracepoint): Add set/show.
* NEWS: Mention default-collect.
* gdb.texinfo (Tracepoint Actions): Describe default-collect.
* gdb.trace/actions.exp: Test default-collect.
Ian Lance Taylor [Wed, 30 Dec 2009 08:29:37 +0000 (08:29 +0000)]
PR 10450
* dynobj.cc (Dynobj::create_gnu_hash_table): Add symbols to the
GNU hash table if they need a dynamic value. Otherwise, don't add
them if they are defined in a dynamic object or are forced local.
Ian Lance Taylor [Wed, 30 Dec 2009 07:45:32 +0000 (07:45 +0000)]
PR 10450
* layout.cc (Layout::create_dynamic_symtab): Only set entsize of
.gnu.hash table for a 32-bit target.
Ian Lance Taylor [Wed, 30 Dec 2009 07:40:01 +0000 (07:40 +0000)]
PR 10450
* symtab.h (Symbol::needs_dynsym_entry): A symbol in both a
regular and a dynamic object only needs a dynamic symbol table
entry if it is externally visible.
Ian Lance Taylor [Wed, 30 Dec 2009 07:22:06 +0000 (07:22 +0000)]
PR 10450
* i386.cc (class Target_i386): Initialize global_offset_table_ in
constructor. Add global_offset_table_ field.
(Target_i386::got_section): Set global_offset_table_.
(Target_i386::do_finalize_sections): Set global_offset_table_
size.
* x86_64.cc (class Target_x86_64): Initialize global_offset_table_
in constructor. Add global_offset_table_ field.
(Target_x86_64::got_section): Set global_offset_table_.
(Target_x86_64::do_finalize_sections): Set global_offset_table_
size.
Ian Lance Taylor [Wed, 30 Dec 2009 06:57:17 +0000 (06:57 +0000)]
* layout.cc (Layout::Layout): Initialize increase_relro_.
(Layout::get_output_section): Add is_relro, is_last_relro, and
is_first_non_relro parameters. Change all callers.
(Layout::choose_output_section): Likewise.
(Layout::add_output_section_data): Likewise.
(Layout::make_output_section): Likewise.
(Layout::set_segment_offsets): Clear increase_relro when using a
linker script.
* layout.h (class Layout): Add increase_relro method. Add
increase_relro_ field. Update declarations.
* output.cc (Output_section::Output_section): Initialize
is_last_relro_ and is_first_non_relro_.
(Output_segment::add_output_section): Group relro sections is
do_sort is true. Handle is_last_relro and is_first_non_relro.
(Output_segment::maximum_alignment): Remove relro handling.
(Output_segment::set_section_addresses): Add increase_relro
parameter. Change all callers. Add initial alignment to align
relro sections on separate page. Remove old relro handling.
(Output_segment::set_section_list_addresses): Remove in_relro
parameter. Change all callers.
(Output_segment::set_offset): Add increase parameter. Change all
callers. Remove old relro handling.
* output.h (class Output_section): Add new methods: is_last_relro,
set_is_last_relro, is_first_non_relro, set_is_first_non_relro.
Add is_last_relro_ and is_first_non_relro_ fields.
* i386.cc (Target_i386::got_section): Don't call set_is_relro.
Create separate .got.plt section. Call increase_relro.
* x86_64.cc (Target_x86_64::got_section): Likewise.
* testsuite/relro_script_test.t: Add .got.plt.
Ian Lance Taylor [Wed, 30 Dec 2009 04:16:50 +0000 (04:16 +0000)]
PR 10450
* layout.cc (Layout::Layout): Initialize dynamic_symbol_ field.
(Layout::create_initial_dynamic_sections): Set dynamic_symbol_.
(Layout::finalize): Call set_dynamic_symbol_size.
(Layout::set_dynamic_symbol_size): New function.
* layout.h (class Layout): Add dynamic_symbol_ field. Declare
set_dynamic_symbol_size.
Ian Lance Taylor [Wed, 30 Dec 2009 04:00:21 +0000 (04:00 +0000)]
PR 10450
* output.h (class Output_section): Add is_entsize_zero_ field.
* output.cc (Output_section::Output_section): Initialize
is_entsize_zero_.
(Output_section::set_entsize): If two different entsizes are
requested, force it to zero.
(Output_section::add_input_section): Set flags for .debug_str
before updating section flags. Set entsize.
(Output_section::update_flags_for_input_section): Set SHF_MERGE
and SHF_STRING if all input sections have those flags.
gdbadmin [Wed, 30 Dec 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Stan Shebs [Tue, 29 Dec 2009 23:57:59 +0000 (23:57 +0000)]
* language.c (pointer_type): Un-comment out.
* ax-gdb.c: Include language.h, use pointer_type throughout
instead of testing TYPE_CODE_PTR.
(gen_fetch): Include TYPE_CODE_REF.
(gen_cast): Ditto.
Rafael Ávila de Espíndola [Tue, 29 Dec 2009 23:45:10 +0000 (23:45 +0000)]
2009-12-29 Rafael Espindola <espindola@google.com>
* main.cc (main): Fix the sys time reporting.
* workqueue.cc (Workqueue::find_and_run_task): Fix the sys time reporting.
Stan Shebs [Tue, 29 Dec 2009 23:21:38 +0000 (23:21 +0000)]
* ax-gdb.c (gen_expr): Handle logical and, logical or, and
conditional expressions.
Sriraman Tallam [Tue, 29 Dec 2009 23:12:15 +0000 (23:12 +0000)]
* options.cc (General_options::parse_version): Allow -v to exit
without an error if there is nothing to link.
Alan Modra [Tue, 29 Dec 2009 23:00:25 +0000 (23:00 +0000)]
daily update
Ian Lance Taylor [Tue, 29 Dec 2009 22:49:13 +0000 (22:49 +0000)]
* configure.ac: Set the MCMODEL_MEDIUM conditional to false if
using a version of gcc before 4.1.
* configure: Rebuild.
Chris Demetriou [Tue, 29 Dec 2009 06:09:03 +0000 (06:09 +0000)]
2009-12-28 Chris Demetriou <cgd@google.com>
* attributes.cc (Output_attributes_section_data::do_write): Use
std::vector::front rather than std::vector::data.
Joel Brobecker [Tue, 29 Dec 2009 04:12:11 +0000 (04:12 +0000)]
* dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.
Ian Lance Taylor [Tue, 29 Dec 2009 00:31:48 +0000 (00:31 +0000)]
* symtab.h (class Symbol_table): Add enum Defined.
* resolve.cc (Symbol_table::should_override): Add defined
parameter. Change all callers. Test whether object is NULL
before calling a method on it.
(Symbol_table::report_resolve_problem): Add defined parameter.
Change all callers.
(Symbol_table::should_override_with_special): Likewise.
* symtab.cc (Symbol_table::define_in_output_data): Add defined
parameter. Change all callers.
(Symbol_table::do_define_in_output_data): Likewise.
(Symbol_table::define_in_output_segment): Likewise.
(Symbol_table::do_define_in_output_segment): Likewise.
(Symbol_table::define_as_constant): Likewise.
(Symbol_table::do_define_as_constant): Likewise.
* script.h (class Symbol_assignment): Add is_defsym parameter to
constructor; change all callers.
* script.cc (Script_options::add_symbol_assignment): Add is_defsym
parameter. Change all callers. Add is_defsym_ field.
(class Parser_closure): Add parsing_defsym parameter to
constructor; change all callers. Add parsing_defsym accessor
function. Add parsing_defsym_ field.
Ian Lance Taylor [Tue, 29 Dec 2009 00:24:31 +0000 (00:24 +0000)]
* object.cc (Relobj::is_section_name_included): Fix formatting.
Ian Lance Taylor [Tue, 29 Dec 2009 00:22:43 +0000 (00:22 +0000)]
* gold.cc (queue_middle_tasks): Fix formatting.
gdbadmin [Tue, 29 Dec 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Stan Shebs [Mon, 28 Dec 2009 23:39:10 +0000 (23:39 +0000)]
2009-12-28 Stan Shebs <stan@codesourcery.com>
Add trace state variables.
* ax.h (enum agent_op): Add getv, setv, and tracev.
(ax_tsv): Declare.
* ax-gdb.c: Include tracepoint.h.
(gen_expr): Handle BINOP_ASSIGN, BINOP_ASSIGN_MODIFY, and
OP_INTERNALVAR.
(gen_expr_binop_rest): New function, split from gen_expr.
* ax-general.c (ax_tsv): New function.
(aop_map): Add new bytecodes.
* tracepoint.h (struct trace_state_variable): New struct.
(tsv_s): New typedef.
(find_trace_state_variable): Declare.
* tracepoint.c (tvariables): New global.
(next_tsv_number): New global.
(create_trace_state_variable): New function.
(find_trace_state_variable): New function.
(delete_trace_state_variable): New function.
(trace_variable_command): New function.
(delete_trace_variable_command): New function.
(tvariables_info): New function.
(trace_start_command): Download tsvs with initial values.
(_initialize_tracepoint): Add new commands.
* NEWS: Mention the addition of trace state variables.
==> doc/ChangeLog <==
2009-12-28 Stan Shebs <stan@codesourcery.com>
* gdb.texinfo (Trace State Variables): New section.
(Tracepoint Packets): Describe trace state variable packets.
* agentexpr.texi (Bytecode Descriptions): Describe trace state
variable bytecodes.
==> testsuite/ChangeLog <==
2009-12-28 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tsv.exp: New file.
* gdb.base/completion.exp: Update ambiguous info output.
Alan Modra [Mon, 28 Dec 2009 23:00:21 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Mon, 28 Dec 2009 21:45:24 +0000 (21:45 +0000)]
* gdb.base/find.c (main): Reference search buffers.
* gdb.base/included.c (main): Reference integer.
* gdb.base/ptype.c (charfoo): Declare.
(intfoo): Call charfoo.
* gdb.base/scope0.c (useitp): New function.
(usestatics): Use useitp.
(useit): Add a type for val.
* gdb.base/scope1.c (useit1): Take a pointer argument.
(usestatics1): Update calls to useit1.
* gdb.cp/call-c.cc: Declare foo.
(main): Call foo.
* gdb.cp/m-static.cc (main): Reference test4.elsewhere.
* gdb.cp/namespace.cc (ensureOtherRefs): Declare.
(main): Call C::ensureRefs and ensureOtherRefs.
* gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
variables.
(ensureOtherRefs): New function.
* gdb.cp/overload.cc (main): Call all overloadNamespace variants.
* gdb.cp/templates.cc (main): Call t5i.value.
Daniel Jacobowitz [Mon, 28 Dec 2009 21:29:53 +0000 (21:29 +0000)]
* NEWS: Document "info variables" change.
* dwarf2read.c (new_symbol): Add file-scope external unresolved
symbols to global_symbols.
* symtab.c (search_symbols): Skip LOC_UNRESOLVED symbols.
doc/
* gdb.texinfo (Symbols): "info variables" prints definitions, not
declarations.
Daniel Jacobowitz [Mon, 28 Dec 2009 21:12:24 +0000 (21:12 +0000)]
* defs.h (print_address_symbolic, build_address_symbolic): Update
prototypes.
* printcmd.c (print_address_symbolic): Take a gdbarch argument.
Pass it to build_address_symbolic. All callers updated.
(build_address_symbolic): Take a gdbarch argument. Use
gdbarch_addr_bits_remove for functions. All callers updated.
Doug Evans [Mon, 28 Dec 2009 19:45:56 +0000 (19:45 +0000)]
* linux-low.c: Delete inclusion of ansidecl.h, elf/common.h,
elf/external.h. Include <elf.h> instead but only if necessary.
Daniel Gutson [Mon, 28 Dec 2009 18:55:16 +0000 (18:55 +0000)]
bfd/
* elf32-arm.c (elf32_arm_final_link_relocate): limits
fixed.
ld/testsuite/
* ld-arm/arm-elf.exp (armelftests): New test case added.
* ld-arm/reloc-boundaries.s: New file.
* ld-arm/reloc-boundaries.d: New file.
Daniel Gutson [Mon, 28 Dec 2009 18:44:55 +0000 (18:44 +0000)]
2009-12-28 Daniel Gutson <dgutson@codesourcery.com>
* ld-arm/arm-elf.exp: Run missing test
from a previous commit (callweak-2).
Daniel Gutson [Mon, 28 Dec 2009 18:37:30 +0000 (18:37 +0000)]
2009-12-28 Daniel Gutson <dgutson@codesourcery.com>
* elf-attrs.c (_bfd_elf_merge_object_attributes): Error
message rephrased.
Daniel Gutson [Mon, 28 Dec 2009 18:27:42 +0000 (18:27 +0000)]
2009-12-28 Daniel Gutson <dgutson@codesourcery.com>
* doc/c-arm.texi: Document NEON alignment specifiers.
Pedro Alves [Mon, 28 Dec 2009 16:49:14 +0000 (16:49 +0000)]
* ax-gdb.c (gen_expr) <OP_THIS>: Lookup `this' in the context of
the tracepoint, not of the selected frame and language.
Pedro Alves [Mon, 28 Dec 2009 16:09:27 +0000 (16:09 +0000)]
* linux-low.c (linux_remove_process): Remove `detaching'
parameter. Don't release/detach from thread_db here.
(linux_kill): Release/detach from thread_db here, ...
(linux_detach): ... and here, before actually detaching.
(linux_wait_1): ... and here, when a process exits.
* thread-db.c (any_thread_of): New.
(thread_db_free): Switch the current inferior to a thread of the
passed in process.
gdbadmin [Mon, 28 Dec 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 27 Dec 2009 23:00:18 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 27 Dec 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 26 Dec 2009 23:00:15 +0000 (23:00 +0000)]
daily update
gdbadmin [Sat, 26 Dec 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 25 Dec 2009 23:00:11 +0000 (23:00 +0000)]
daily update
gdbadmin [Fri, 25 Dec 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Jan Kratochvil [Thu, 24 Dec 2009 21:57:06 +0000 (21:57 +0000)]
gdb/testsuite/
Fix compatibility with G++-4.5.
* gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
* gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
(uncaught return): Remove.
Ian Lance Taylor [Thu, 24 Dec 2009 07:48:14 +0000 (07:48 +0000)]
* x86_64.cc (Target_x86_64::do_calls_non_split): Recognize
-fsplit-stack prologue when using %r11.
Stan Shebs [Thu, 24 Dec 2009 01:42:03 +0000 (01:42 +0000)]
2009-12-23 Stan Shebs <stan@codesourcery.com>
* ax-gdb.c (gen_expr): Handle OP_THIS.
Stan Shebs [Thu, 24 Dec 2009 00:40:49 +0000 (00:40 +0000)]
2009-12-23 Stan Shebs <stan@codesourcery.com>
* ax-gdb.h (gen_trace_for_var): Declare.
* ax-gdb.c (gen_trace_for_var): New function.
* dwarf2loc.c (dwarf_expr_frame_base_1): New function, split from...
(dwarf_expr_frame_base): ...here.
(dwarf2_tracepoint_var_ref): Add computed location case.
* tracepoint.c (collect_symbol): Add scope arg and LOC_COMPUTED
case.
(add_local_symbols): Update call to collect_symbol.
(encode_actions): Ditto.
gdbadmin [Thu, 24 Dec 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Ian Lance Taylor [Wed, 23 Dec 2009 23:53:43 +0000 (23:53 +0000)]
* i386.cc (Target_i386::do_calls_non_split): Recognize
-fsplit-stack prologue for a function with a static chain.
Tom Tromey [Wed, 23 Dec 2009 23:21:29 +0000 (23:21 +0000)]
2009-12-23 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
PR gdb/11110
* tracepoint.h (deprecated_trace_find_hook)
(deprecated_trace_start_stop_hook): Declare extern.
* tracepoint.c (deprecated_trace_find_hook)
(deprecated_trace_start_stop_hook): Define.
Jan Kratochvil [Wed, 23 Dec 2009 23:18:08 +0000 (23:18 +0000)]
gdb/
* breakpoint.c (bpstat_stop_status): Iterate using ALL_BREAKPOINTS and
the B->LOC list. Remove gdb_assert on B. Change bp_hardware_watchpoint
continue to break. Remove variable update_locations. Remove HIT_COUNT
increment protection by an ENABLE_STATE check. Inline the delayed
update_global_location_list call.
gdb/testsuite/
* gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
(bp_location13, bp_location14, bp_location17, bp_location18)
(marker3_proto, marker4_proto): New variables.
(breakpoint info): Update output.
(run until breakpoint at marker3, run until breakpoint at marker4): New
tests.
Alan Modra [Wed, 23 Dec 2009 23:00:04 +0000 (23:00 +0000)]
daily update
Jan Kratochvil [Wed, 23 Dec 2009 22:24:51 +0000 (22:24 +0000)]
gdb/
* breakpoint.c (bpstat_stop_status): Check BL->SHLIB_DISABLED.
(print_breakpoint_location): New comment. Check LOC->SHLIB_DISABLED.
Check LOC validity before printing it. Use LOC instead of B->LOC.
Swap the if conditionals order.
gdb/testsuite/
* gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
Replace the printf call of Y by provided "y-set-1" label. New block
for the second shared library.
* gdb.base/unload.exp: Compile also the second library, call
gdb_load_shlibs also for it. Use now gdb_breakpoint.
(single pending breakpoint info): Rename to ...
(pending breakpoint info before run): ... this extended test.
(libfile2, libname2, libsrcfile2, libsrc2)
(lib_sl2): New variables.
(exec_opts): Set also SHLIB_NAME2.
(pending breakpoint info on first run at shrfunc1)
(pending breakpoint info on second run at shrfunc1)
(pending breakpoint info on second run at shrfunc2)
(print y from libfile, print y from libfile2): New tests.
* gdb.base/unloadshr.c (shrfunc1): Change the returned value.
* gdb.base/unloadshr2.c: New.
Tom Tromey [Wed, 23 Dec 2009 20:28:44 +0000 (20:28 +0000)]
* Makefile.in (SFILES): Add exceptions.c.
DJ Delorie [Wed, 23 Dec 2009 03:51:47 +0000 (03:51 +0000)]
* rx/rx.c (decode_opcode): btst bit address mask fix.
gdbadmin [Wed, 23 Dec 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 22 Dec 2009 23:00:04 +0000 (23:00 +0000)]
daily update
gdbadmin [Tue, 22 Dec 2009 18:06:01 +0000 (18:06 +0000)]
GDB 7.0.1 released.
This page took 0.042695 seconds and 4 git commands to generate.