aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-12-30 PR 10450Ian Lance Taylor3-6/+45
* 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.
2009-12-30*** empty log message ***gdbadmin1-1/+1
2009-12-29 * language.c (pointer_type): Un-comment out.Stan Shebs3-13/+24
* 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.
2009-12-292009-12-29 Rafael Espindola <espindola@google.com>Rafael Ávila de Espíndola3-2/+7
* main.cc (main): Fix the sys time reporting. * workqueue.cc (Workqueue::find_and_run_task): Fix the sys time reporting.
2009-12-29 * ax-gdb.c (gen_expr): Handle logical and, logical or, andStan Shebs2-1/+72
conditional expressions.
2009-12-29* options.cc (General_options::parse_version): Allow -v to exitSriraman Tallam2-0/+6
without an error if there is nothing to link.
2009-12-29daily updateAlan Modra1-1/+1
2009-12-29 * configure.ac: Set the MCMODEL_MEDIUM conditional to false ifIan Lance Taylor3-2/+45
using a version of gcc before 4.1. * configure: Rebuild.
2009-12-292009-12-28 Chris Demetriou <cgd@google.com>Chris Demetriou2-1/+6
* attributes.cc (Output_attributes_section_data::do_write): Use std::vector::front rather than std::vector::data.
2009-12-29 * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.Joel Brobecker2-0/+8
2009-12-29 * symtab.h (class Symbol_table): Add enum Defined.Ian Lance Taylor14-70/+177
* 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.
2009-12-29 * object.cc (Relobj::is_section_name_included): Fix formatting.Ian Lance Taylor2-2/+3
2009-12-29 * gold.cc (queue_middle_tasks): Fix formatting.Ian Lance Taylor2-1/+5
2009-12-29*** empty log message ***gdbadmin1-1/+1
2009-12-282009-12-28 Stan Shebs <stan@codesourcery.com>Stan Shebs13-119/+791
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.
2009-12-28daily updateAlan Modra1-1/+1
2009-12-28 * gdb.base/find.c (main): Reference search buffers.Daniel Jacobowitz12-21/+93
* 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.
2009-12-28 * NEWS: Document "info variables" change.Daniel Jacobowitz6-3/+29
* 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.
2009-12-28 * defs.h (print_address_symbolic, build_address_symbolic): UpdateDaniel Jacobowitz6-12/+33
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.
2009-12-28 * linux-low.c: Delete inclusion of ansidecl.h, elf/common.h,Doug Evans2-5/+14
elf/external.h. Include <elf.h> instead but only if necessary.
2009-12-28 bfd/Daniel Gutson6-3/+33
* 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.
2009-12-282009-12-28 Daniel Gutson <dgutson@codesourcery.com>Daniel Gutson2-0/+8
* ld-arm/arm-elf.exp: Run missing test from a previous commit (callweak-2).
2009-12-282009-12-28 Daniel Gutson <dgutson@codesourcery.com>Daniel Gutson2-1/+7
* elf-attrs.c (_bfd_elf_merge_object_attributes): Error message rephrased.
2009-12-282009-12-28 Daniel Gutson <dgutson@codesourcery.com>Daniel Gutson2-0/+20
* doc/c-arm.texi: Document NEON alignment specifiers.
2009-12-28 * ax-gdb.c (gen_expr) <OP_THIS>: Lookup `this' in the context ofPedro Alves2-16/+10
the tracepoint, not of the selected frame and language.
2009-12-28 * linux-low.c (linux_remove_process): Remove `detaching'Pedro Alves3-8/+45
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.
2009-12-28*** empty log message ***gdbadmin1-1/+1
2009-12-27daily updateAlan Modra1-1/+1
2009-12-27*** empty log message ***gdbadmin1-1/+1
2009-12-26daily updateAlan Modra1-1/+1
2009-12-26*** empty log message ***gdbadmin1-1/+1
2009-12-25daily updateAlan Modra1-1/+1
2009-12-25*** empty log message ***gdbadmin1-1/+1
2009-12-24gdb/testsuite/Jan Kratochvil3-7/+8
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.
2009-12-24 * x86_64.cc (Target_x86_64::do_calls_non_split): RecognizeIan Lance Taylor2-1/+7
-fsplit-stack prologue when using %r11.
2009-12-242009-12-23 Stan Shebs <stan@codesourcery.com>Stan Shebs2-0/+35
* ax-gdb.c (gen_expr): Handle OP_THIS.
2009-12-242009-12-23 Stan Shebs <stan@codesourcery.com>Stan Shebs5-12/+143
* 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.
2009-12-24*** empty log message ***gdbadmin1-1/+1
2009-12-23 * i386.cc (Target_i386::do_calls_non_split): RecognizeIan Lance Taylor2-1/+8
-fsplit-stack prologue for a function with a static chain.
2009-12-232009-12-23 Dmitry Gorbachev <d.g.gorbachev@gmail.com>Tom Tromey3-2/+14
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.
2009-12-23gdb/Jan Kratochvil4-66/+127
* 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.
2009-12-23daily updateAlan Modra1-1/+1
2009-12-23gdb/Jan Kratochvil7-28/+152
* 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.
2009-12-23 * Makefile.in (SFILES): Add exceptions.c.Tom Tromey2-1/+6
2009-12-23* rx/rx.c (decode_opcode): btst bit address mask fix.DJ Delorie2-1/+5
2009-12-23*** empty log message ***gdbadmin1-1/+1
2009-12-22daily updateAlan Modra1-1/+1
2009-12-22GDB 7.0.1 released.gdbadmin1-0/+4
2009-12-222009-12-22 Hui Zhu <teawater@gmail.com>Hui Zhu4-38/+51
* record.c (record_message): Change argument. (record_message_wrapper): New function. (do_record_message): Change it name to "record_message_wrapper_safe". Let it call "record_message_wrapper". (record_resume_error): Deleted. (record_resume): Call "record_message". (record_wait): Deleted record_resume_error. Call "record_message_wrapper_safe". Set status when do_record_message need stop the inferior. 2009-12-22 Hui Zhu <teawater@gmail.com> * gdb.reverse/sigall-reverse.exp: Adjust.
2009-12-222009-12-21 Sriraman Tallam <tmsriram@google.com>Sriraman Tallam2-2/+9
* options.cc (General_options::parse_version): Make -v continue and do the link like GNU ld does.