aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-09-07 gdb/Yao Qi2-1/+13
* gdbthread.h (struct thread_info): Comment on field `step_after_step_resume_breakpoint'.
2011-09-072011-09-07 Abhijit Halder <abhijit.k.halder@gmail.com>Pedro Alves2-2/+6
* remote.c (remote_console_output): Reindent.
2011-09-072011-09-06 Luis Machado <lgustavo@codesourcery.com>Luis Machado2-9/+18
* frame.c (has_stack_frames): Check for currently selected traceframe.
2011-09-07daily updateAlan Modra1-1/+1
2011-09-07*** empty log message ***gdbadmin1-1/+1
2011-09-062011-09-06 Pedro Alves <pedro@codesourcery.com>Pedro Alves6-358/+154
* event-top.h (MAXPROMPTS, struct prompts): Delete. (set_async_annotation_level, set_async_prompt, pop_prompt) (push_prompt, new_async_prompt): Delete declarations. * top.h (get_prompt, set_prompt): Change prototype. (get_prefix, set_prefix, get_suffix, set_suffix): Delete declarations. * top.c (command_loop): (top_prompt): New global. (get_prefix, set_prefix, get_suffix, ): Delete. (get_prompt, set_prompt): Rewrite. (show_new_async_prompt): Rename to ... (show_prompt): ... this. (init_main): Adjust. Don't handle --annotate=2 here. * event-top.c (new_async_prompt): Delete. (the_prompts): Delete. (more_to_come): Make static. (display_gdb_prompt): Use top_level_prompt() to compute the top level prompt, and don't notify the before_prompt observers directly here. Always trick readline into not trying to display the prompt if sync_execution and displaying the primary prompt. If displaying a local/secondary prompt, always show it, even if sync_execution is set. (change_annotation_level): Delete. (top_level_prompt): New, based on change_annotation_level. (push_prompt, pop_prompt): Delete. (async_disable_stdin): No longer pushes prompt. (command_line_handler): No longer pushes or pops prompt. If more input is expected, call display_gdb_prompt with an explicit empty prompt. (async_stop_sig): Adjust. (set_async_annotation_level, set_async_prompt): Delete. * python/python.c (before_prompt_hook): Adjust.
2011-09-06 PR ld/13131Alan Modra2-5/+16
* elf64-ppc.c (adjust_toc_syms): Delete redundant code. (ppc64_elf_edit_toc): Fix style nit. Report some details on linker failure due to reference in debug or non-alloc sections to optimized away toc entry, and don't abort.
2011-09-06*** empty log message ***gdbadmin1-1/+1
2011-09-06daily updateAlan Modra1-1/+1
2011-09-05gas/Richard Sandiford8-13/+233
PR gas/13024 * dwarf2dbg.c (pending_lines, pending_lines_tail): New variables. (dwarf2_gen_line_info_1): Delete. (dwarf2_push_line, dwarf2_flush_pending_lines): New functions. (dwarf2_gen_line_info, dwarf2_emit_label): Use them. (dwarf2_consume_line_info): Call dwarf2_flush_pending_lines. (dwarf2_directive_loc): Push previous .locs instead of generating them immediately. gas/testsuite/ * gas/mips/loc-swap-2.s, gas/mips/loc-swap-2.d, gas/mips/micromips@loc-swap-2.d, gas/mips/mips16@loc-swap-2.d: New test. * gas/mips/mips.exp: Run it.
2011-09-052011-09-05 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-1/+10
PR cli/13110 * infrun.c (fetch_inferior_event): Check if there's a selected thread before checking if the selected thread is executing.
2011-09-052011-09-05 Pedro Alves <pedro@codesourcery.com>Pedro Alves4-17/+26
* inf-loop.c (execute_command): Don't check if the current thread if running before synchronously waiting for command completion. * infrun.c (fetch_inferior_event): Handle "set exec-done-display" here. (normal_stop): Call async_enable_stdin here. * inf-loop.c (inferior_event_handler): Don't call async_enable_stdin, nor handle "set exec-done-display" here.
2011-09-05daily updateAlan Modra1-1/+1
2011-09-05*** empty log message ***gdbadmin1-1/+1
2011-09-04GDB 7.3.1 released.gdbadmin1-0/+4
2011-09-04NEWS: Change `7.3' into `7.3.1' in `Changes since GDB 7.3'.Joel Brobecker2-1/+5
gdb/ChangeLog: * NEWS: Change `7.3' into `7.3.1' in `Changes since GDB 7.3'.
2011-09-04NEWS: Add entry for OpenBSD/NetBSD build failureJoel Brobecker2-0/+8
gdb/ChangeLog: * NEWS: Add entry for OpenBSD/NetBSD build failure
2011-09-04GDB Manual edition number and ISBN updatesJoel Brobecker2-2/+6
This is in preparation for a re-print by the FSF of the GDB manual. gdb/doc/ChangeLog: * gdb.texinfo: Set EDITION to "Tenth" and change ISBN.
2011-09-04*** empty log message ***gdbadmin1-1/+1
2011-09-04daily updateAlan Modra1-1/+1
2011-09-03daily updateAlan Modra1-1/+1
2011-09-03*** empty log message ***gdbadmin1-1/+1
2011-09-02gdb/Jan Kratochvil2-1/+5
* config/s390/s390.mh (NATDEPFILES): Add linux-procfs.o dependency.
2011-09-02PR gdb/10720matt rice6-23/+278
* event-top.c (cli_command_loop): Replace readline setup with direct call to display_gdb_prompt. (display_gdb_prompt): Do not call observer mechanism during synchronous execution. testsuite: * lib/prompt.exp: New file for testing the first prompt. * gdb.python/py-prompt.exp: Ditto. * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
2011-09-022011-09-02 Pedro Alves <pedro@codesourcery.com>Pedro Alves3-14/+86
* linux-nat.c (in_pid_list_p): New. (linux_record_stopped_pid): Delete. (lin_lwp_attach_lwp): Check if PTRACE_ATTACH failed because we're already attached to the LWP. Return an indication if so. (linux_nat_filter_event): Adjust. * linux-thread-db.c (attach_thread): Handle lin_lwp_attach_lwp returning an indication to ignore this thread.
2011-09-022011-09-02 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-3/+6
gdb/testsuite/ * gdb.threads/gcore-thread.exp: Set the global core_supported to 0, before testing gcore.
2011-09-022011-09-02 Pedro Alves <pedro@codesourcery.com>Pedro Alves9-14/+104
* top.c: Include interps.h. (execute_command): If the target can async, but the interpreter is in sync mode, synchronously wait for the command to finish before returning. (execute_command_to_string): Force the interpreter to sync mode. * infrun.c: Include interps.h. (fetch_inferior_event): Don't restore the prompt yet if the interpreter is in sync mode. * interps.c (interpreter_async): New global. * interps.h (interpreter_async): Declare. * inf-loop.c: Include interps.h. (inferior_event_handler): Don't print the language change or run breakpoint commands yet if the interpreter in is sync mode. * main.c (captured_command_loop): Flip the interpreter to async mode. * cli/cli-script.c: Include interps.h. (execute_user_command, while_command, if_command): Force the interpreter to sync mode. * python/python.c: Include interps.h. (python_command, execute_gdb_command): Force the interpreter to sync mode.
2011-09-022011-09-02 Pedro Alves <pedro@codesourcery.com>Pedro Alves3-2/+42
gdb/ * value.c (show_convenience): Catch errors thrown while printing each internal variable. * infrun.c (validate_siginfo_access): New function. (siginfo_value_read, siginfo_value_write): Call it.
2011-09-02*** empty log message ***gdbadmin1-1/+1
2011-09-02daily updateAlan Modra1-1/+1
2011-09-012011-09-01 Christophe Lyon <christophe.lyon@st.com>Christophe Lyon9-1/+62
bfd/ * elf32-arm.c (elf32_arm_output_arch_local_syms): Skip excluded sections. ld/testsuite/ * ld-arm/arm-elf.exp: Add new rodata-merge-map test. * ld-arm/rodata-merge-map.ld: New file. * ld-arm/rodata-merge-map.sym: Likewise. * ld-arm/rodata-merge-map1.s Likewise. * ld-arm/rodata-merge-map2.s: Likewise. * ld-arm/rodata-merge-map3.s: Likewise.
2011-09-01gdb/testsuite/Jan Kratochvil4-3/+7
* dw2-ifort-parameter-debug.S: Update copyright year. * dw2-ifort-parameter.c: Update copyright year. * dw2-ifort-parameter.exp: Update copyright year. * dw2-ifort-parameter-debug.S: New file. * dw2-ifort-parameter.c: New file. * dw2-ifort-parameter.exp: New file.
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.