aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-09-01gdb/Jan Kratochvil6-8/+206
Revert: 2010-05-21 Pierre Muller <muller@ics.u-strasbg.fr> * dwarf2read.c (new_symbol): Handle DW_AT_variable_parameter attribute. gdb/testsuite/ * dw2-ifort-parameter-debug.S: New file. * dw2-ifort-parameter.c: New file. * dw2-ifort-parameter.exp: New file.
2011-09-01 * server.c (step_thread): Remove definition.Jie Zhang4-19/+8
(process_serial_event): Don't handle Hs. * server.h (step_thread): Remove declaration. * target.c (set_desired_inferior): Remove use of step_thread.
2011-09-01daily updateAlan Modra1-1/+1
2011-09-01*** empty log message ***gdbadmin1-1/+1
2011-08-31daily updateAlan Modra1-1/+1
2011-08-31*** empty log message ***gdbadmin1-1/+1
2011-08-30 gdb/Yao Qi7-266/+162
* solib-dsbt.c (bfd_lookup_symbol): Removed. (cmp_name): New. (enable_break2): Update caller. * solib-frv.c (bfd_lookup_symbol): Removed. (cmp_name): New. (enable_break2): Update caller. * solib-pa64.c (bfd_lookup_symbol): Removed. (cmp_name): New. * solib-svr4.c (bfd_lookup_symbol): Removed. (cmp_name_and_sec_flags): New. (enable_break): Update caller. * solib.c (gdb_bfd_lookup_symbol_from_symtab): New. (gdb_bfd_lookup_symbol_from_dyn_symtab): New. (gdb_bfd_lookup_symbol): New. * solib.h: Functions declarations.
2011-08-30 gdb/Yao Qi2-1/+7
* Makefile.in (ALL_TARGET_OBS): Add tic6x-tdep.o tic6x-linux-tdep.o and solib-dsbt.o.
2011-08-30*** empty log message ***gdbadmin1-1/+1
2011-08-30daily updateAlan Modra1-1/+1
2011-08-29 * output.cc: (Output_fill_debug_info::do_minimum_hole_size): AddCary Coutant2-2/+10
casts to match formatting specs. (Output_fill_debug_line::do_minimum_hole_size): Likewise.
2011-08-29gdb/Jan Kratochvil2-2/+11
Fix TUI stepi on code without symbols. * tui/tui-stack.c (tui_show_frame_info): Remove error, set LOW for current PC instead.
2011-08-29*** empty log message ***gdbadmin1-1/+1
2011-08-28gdb/Jan Kratochvil4-5/+16
Code cleanup. * mi/mi-cmd-stack.c (list_args_or_locals): Remove stb initialization and the static keyword. * mi/mi-cmd-target.c (mi_cmd_target_file_get, mi_cmd_target_file_put): Make prefix an array. * mi/mi-cmd-target.c (mi_cmd_target_file_delete): Likewise. * mi/mi-main.c (get_register): Remove stb initialization and the static keyword.
2011-08-28gdb/Jan Kratochvil9-17/+37
Code cleanup - make mi_opt const. * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Make opts const. * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise. * mi/mi-cmd-env.c (mi_cmd_env_path): Likewise. (mi_cmd_env_dir): Likewise. * mi/mi-cmd-target.c (mi_cmd_target_file_get): Likewise. (mi_cmd_target_file_put): Likewise. * mi/mi-cmd-target.c (mi_cmd_target_file_delete): Likewise. * mi/mi-cmd-var.c (mi_cmd_var_evaluate_expression): Likewise. * mi/mi-getopt.c (mi_getopt): Make opts and opt const. (mi_valid_noargs): Make opts const. * mi/mi-getopt.h (mi_getopt): Make opts and opt const. * mi/mi-main.c (mi_cmd_list_thread_groups): Make opts const. (mi_cmd_data_read_memory): Likewise. (mi_cmd_data_read_memory_bytes): Likewise. (mi_cmd_data_write_memory): Likewise.
2011-08-28daily updateAlan Modra1-1/+1
2011-08-28*** empty log message ***gdbadmin1-1/+1
2011-08-27* solib-sunos.c (allocate_rt_common_objfile): Add missing arguments tomatt rice3-6/+10
bcache_xmalloc, replace bcache_xmalloc with call to psymbol_bcache_init for psymbol_cache. * symfile.c (reread_symbols): Remove extra calls to bcache_xmalloc.
2011-08-27 * layout.cc (Free_list::allocate): Provide guarantee of minimumCary Coutant7-27/+371
remaining hole size when allocating. (Layout::make_output_section): Set fill methods for debug sections. * layout.h (Free_list::Free_list_node): Move from private to public. (Free_list::set_min_hole_size): New function. (Free_list::begin, Free_list::end): New functions. (Free_list::min_hole_): New data member. * output.cc: Include dwarf.h. (Output_fill_debug_info::do_minimum_hole_size): New function. (Output_fill_debug_info::do_write): New function. (Output_fill_debug_line::do_minimum_hole_size): New function. (Output_fill_debug_line::do_write): New function. (Output_section::Output_section): Initialize new data member. (Output_section::set_final_data_size): Ensure patch space is larger than minimum hole size. (Output_section::do_write): Fill holes in debug sections. * output.h (Output_fill): New class. (Output_fill_debug_info): New class. (Output_fill_debug_line): New class. (Output_section::set_free_space_fill): New function. (Output_section::free_space_fill_): New data member. * testsuite/Makefile.am (incremental_test_3): Add --incremental-patch option. (incremental_test_4): Likewise. (incremental_test_5): Likewise. (incremental_test_6): Likewise. (incremental_copy_test): Likewise. (incremental_common_test_1): Likewise. * testsuite/Makefile.in: Regenerate.
2011-08-27daily updateAlan Modra1-1/+1
2011-08-27*** empty log message ***gdbadmin1-1/+1
2011-08-26gdb/Jan Kratochvil2-0/+6
* inf-loop.c (inferior_event_handler): Add exception_print in INF_EXEC_COMPLETE.
2011-08-26gdb/Jan Kratochvil10-6/+125
* breakpoint.c (bpstat_do_actions): New variable cleanup_if_error, call make_bpstat_clear_actions_cleanup and discard_cleanups for it. * defs.h (make_bpstat_clear_actions_cleanup): New declaration. * exceptions.c (throw_exception): Remove the bpstat_clear_actions call. * inf-loop.c (inferior_event_handler): New variable cleanup_if_error, call make_bpstat_clear_actions_cleanup and discard_cleanups for it. Call bpstat_clear_actions for failed fetch_inferior_event_wrapper. * infrun.c (fetch_inferior_event): Call make_bpstat_clear_actions_cleanup. * top.c (execute_command): New variable cleanup_if_error, call make_bpstat_clear_actions_cleanup and discard_cleanups for it. * utils.c (do_bpstat_clear_actions_cleanup) (make_bpstat_clear_actions_cleanup): New functions. gdb/testsuite/ * gdb.base/commands.exp (error_clears_commands_left): New function. (): Call it.
2011-08-26gdb/testsuite/Jan Kratochvil3-2/+11
* gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public. (C): Initialize `a'. * gdb.mi/mi-inheritance-syntax-error.exp (-data-evaluate-expression $path): Expect `a' as 5.
2011-08-262011-08-26 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-14/+15
* linux-nat.c (linux_child_follow_fork): Don't set lp->resumed on either the parent or the child forks. Rename a couple locals.
2011-08-262011-08-26 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-21/+26
gdb/ * linux-nat.c (wait_lwp): Avoid assuming errno is preserved by a library call. Avoid reading the `status' local if all waitpid calls failed.
2011-08-262011-08-26 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-15/+22
gdb/ * common/linux-osdata.c (get_cores_used_by_process): Don't assume opening /proc/PID/task always succeeds.
2011-08-26 * linespec.c (symtab_from_filename): Check for the end of string.Aleksandar Ristovski2-0/+6
2011-08-26Updated Spanish translations.Nick Clifton14-5439/+5474
2011-08-262011-08-26 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-17/+21
* config/tc-alpha.c (s_alpha_linkage): Simplify. Add comments.
2011-08-262011-08-26 Tristan Gingold <gingold@adacore.com>Tristan Gingold1-2/+4
* config/tc-alpha.c (add_to_link_pool): Improve comment. (s_alpha_fp_save): Fix indentation.
2011-08-26 * NEWS: Mention that --no-copy-dt-needed-entries is now theNick Clifton2-0/+8
default.
2011-08-262011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>Marc Khouzam6-5/+128
PR mi/11912 * varobj.c (cplus_describe_child): Add the keyword 'class' to the output of the method when dealing with a cast to a base class. 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com> PR mi/11912 * gdb.mi/mi-inheritance-syntax-error.cc: New file. * gdb.mi/mi-inheritance-syntax-error.exp: New file. * gdb.mi/mi-var-cp.cc: Updated for new 'class' keyword in output of -var-info-path-expression.
2011-08-26gdb/Jan Kratochvil4-15/+28
No functionality change. * breakpoint.c (bpstat_clear_actions): Remove the BS parameter, make function comment a reference, new variables tp and bs, move here code from throw_exception. * breakpoint.h (bpstat_clear_actions): Remove the BS parameter, describe it in the comment. * exceptions.c (throw_exception): Remove variable tp, move the code for bpstat_clear_actions to bpstat_clear_actions.
2011-08-26gdb/testsuite/Jan Kratochvil6-12/+20
* gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target. * gdb.trace/collection.exp: Likewise. * gdb.trace/report.exp: Likewise. * gdb.trace/unavailable.exp: Likewise. * gdb.trace/while-dyn.exp: Likewise.
2011-08-26daily updateAlan Modra1-1/+1
2011-08-26*** empty log message ***gdbadmin1-1/+1
2011-08-252011-08-25 Andrew Oakley <andrew@ado.is-a-geek.net>Tom Tromey2-1/+6
* gdb.texinfo (Types In Python): Document 'bitpos' for enums.
2011-08-25daily updateAlan Modra1-1/+1
2011-08-25*** empty log message ***gdbadmin1-1/+1
2011-08-24Stop threads when attaching to a PID that is the tgid.Luis Machado3-4/+87
2011-08-24Move common linux procfs code to common/Luis Machado24-64/+159
2011-08-24Fix a change log format issue.Hui Zhu1-2/+4
2011-08-242011-08-24 Hui Zhu <teawater@gmail.com>Hui Zhu2-1/+21
* tracepoint.c (cond_string_is_same): New function. (find_matching_tracepoint): Add condition check by cond_string_is_same.
2011-08-24*** empty log message ***gdbadmin1-1/+1
2011-08-24daily updateAlan Modra1-1/+1
2011-08-23gdb/Jan Kratochvil2-0/+6
Fix build error in Darwin port. * darwin-nat-info.c (darwin_debug_regions_recurse): New variable uiout.
2011-08-23*** empty log message ***gdbadmin1-1/+1
2011-08-23daily updateAlan Modra1-1/+1
2011-08-22 * picflag.m4: New file.Rainer Orth2-0/+99