| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
|
| |
(gdbmi): Stop execution from tool bar with -exec-interrupt.
(gdb-stopped-regexp): Generalise for other stopping reasons.
(gud-gdbmi-marker-filter): Report execution status on modeline.
|
| |
|
|
|
|
| |
Numerous changes (prehistory).
|
| |
|
|
|
|
| |
config/i386/linux.mh (NATDEPFILES).
|
| |
|
| |
|
| |
|
|
|
|
| |
Remove (duplicated/unnecessary?) remote functions.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
detach work asynchronously.
* inf-ptrace.c (inf_ptrace_attach): Ditto.
* infcmd.c (attach_command): Ditto.
* inf-child.c (inf_child_target): Reset to_terminal_inferior/
to_terminal_ours to synchronous methods.
* async-nat-inferior.c (gdb_process_events): Don't poll for
exceptions.
(gdb_process_pending_event): Use pid_to_ptid.
(gdb_inferior_reset): Remove last_thread component.
* async-nat-inferior.h (struct gdb_inferior_status): Remove
last_thread component.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
not committed on 2006-05-13.
|
|
|
|
| |
not committed on 2006-05-13.
|
| |
|
| |
|
| |
|
|
|
|
| |
but not committed on 2006-05-13.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* async-nat-inferior.c, async-nat-inferior.h,
* async-nat-sigthread.c, async-nat-sigthread.h: New files
* linux-nat.c: Include async-nat-inferior.h.
(linux_nat_wait): Add extra argument. If target_can_async_p
do something completely different.
* interps.h (interp_set, interp_set_quiet): New externs.
* interps.c (interp_set): Make asynchronous.
(interp_set_quiet): Don't make static.
(current_interp_command_loop): Call functions with new arguments.
* target.h (target_wait): Add extra argument.
(gdb_override_async, gdb_set_async_override) New externs.
(target_can_async_p): Make conditional on gdb_override_async.
* target.c (gdb_override_async): New variable.
(gdb_set_async_override, do_restore_target_async_mask):
New functions.
(debug_to_wait): Add extra argument.
* linux-thread-db.c (thread_db_wait): Add extra argument.
* wrapper.h (safe_execute_command): Declare structure.
* top.c (*deprecated_target_wait_hook): Add extra argument.
(read_command_file): Make asynchronous.
* remote.c (remote_wait, remote_async_wait): Add extra argument.
* infrun.c: Include event-top.h
(wait_for_inferior, fetch_inferior_event): Add extra argument to
target_wait.
(proceed): Set target_executing = 0.
(handle_inferior_event): Call async_disable_stdin if async.
* inf-ptrace.c: Include inf-loop.h, async-nat-inferior.h.
(inf_ptrace_him): Create a signal thread.
(inf_ptrace_wait): Add extra argument to target_wait.
* inf-loop.c (inferior_event_handler, complete_execution):
Changes for asynchronous operation (copied verbatim).
* inf-child.c: Include async-nat-inferior.h.
(inf_child_target): Use methods async_terminal_inferior
and async_terminal_ours.
* i386-linux-nat.c: Include inf-loop.h, async-nat-inferior.h.
(i386_linux_resume): Call gdb_process_events and then
async methods.
* exec.c: Include event-loop.h, async-nat-inferior.h.
(async_file_handler, standard_async, standard_is_async_p)
(standard_can_async_p): New functions.
(init_exec_ops): Initialise above methods.
* event-top.h (cli_command_loop): Make argument void*.
* event-top.c (display_gdb_prompt, async_enable_stdin)
(async_disable_stdin, handle_sigint, async_request_quit)
(gdb_setup_readline, _initialize_event_loop):
Changes for asynchronous operation (copied verbatim).
(cli_command_loop): Make argument void*.
* event-loop.h (gdb_client_data): Move typedef to defs.h.
(gdb_create_event): Declare.
(event_handler_func): Move typedef from event-loop.c.
* event-loop.c (use_poll): Set to 0.
(gdb_queue_event, gdb_create_event): New functions.
(async_queue_event): Don't make static.
(create_file_event): Use gdb_create_event.
(gdb_event): Change component from int to void*.
(process_event, handle_file_event, handle_timer_event):
Change according to gdb_event.
(event_handler_func): Move typedef to event-loop.c.
* defs.h: (gdb_mi_run_status, event_loop_p): New externs.
(gdb_client_data): Move typedef from event-loop.h.
(*deprecated_command_loop_hook): Make argument void*.
(*deprecated_target_wait_hook): Add argument.
* cli-out.h (cli_quoted_out_new): Declare.
* cli-out.c (cli_quoted_out_new): New function.
Include mi/mi-console.h.
* cli/cli-interp.c: Include inferior.h, mi/mi-console.h.
(safe_execute_command): Make static.
(cli_interpreter_resume, cli_interpreter_exec):
Make asynchronous.
(cli_quoted_interpreter_resume): New function.
(_initialize_cli_interp): Add li_command_loop to procs.
Initialize the console-quoted interpreter.
* tui/tui-hooks.c (tui_target_wait_hook): Add extra argument.
* mi/mi-main.h (mi_dont_register_continuation)
(current_command_token, mi_interp, mi_interpreter_exec_continuation)
(mi_continuation_arg): New externs.
(mi_setup_continuation_arg): Declare.
* mi/mi-main.c: Include wrapper.h.
(struct mi_continuation_arg): New structure.
(mi_interpreter_exec_continuation): Move to mi-interp.c.
(mi_execute_async_cli_command)
(mi_exec_async_cli_cmd_continuation): Make asynchronous.
(mi_setup_continuation_arg): New function.
* mi/mi-interp.c (mi_interpreter_exec_continuation):
Move from mi-main.c
(mi_cmd_interpreter_exec): Switch interpreters. Make
asynchronous.
(mi1_command_loop, mi2_command_loop, mi3_command_loop):
Make argument void*.
* Makefile.in (async_nat_inferior_h, async_nat_sigthread_h):
New variables.
(gdb$(EXEEXT), $(TUI)$(EXEEXT)): Link with libpthread.
(async-nat-inferior.o, async-nat-sigthread.o): New rules.
(COMMON_OBS): Add above object files.
(exec.o, i386-linux-nat.o, inf-ptrace.o, linux-nat.o):
Update dependencies.
2006-05-13 Nick Roberts <nickrob@snap.net.nz>
* main.c: (event_loop_p): Re-instate variable.
(captured_main): Re-instate async/noasync option.
(print_gdb_help): Describe option again.
* exec.c(init_exec_ops): Only initialise async methods with async
option.
* inf-ptrace.c (inf_ptrace_him): Only reate a signal thread with
async option.
* README.async, TODO.async, PROBLEMS.async: New files.
|
| |
|
| |
|
| |
|
|
|
|
| |
* gnu-nat.c (inf_validate_procs): Don't use lvalue in assignments.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
* bfd.texinfo: Rename "Index" to "BFD Index"
gas/
2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
* doc/as.texinfo: Rename "Index" to "AS Index",
and "ABORT" to "ABORT (COFF)".
ld/
2006-05-11 Carlos O'Donell <carlos@codesourcery.com>
* ld.texinfo: Rename "Index" to "LD Index"
|
|
|
|
|
| |
* elflink.c (match_group_member): Correctly iterate group
members.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bfd/
* elf32-arm.c (elf32_arm_reloc_map): Add MOVW and MOVT relocs.
(elf32_arm_final_link_relocate): Handle MOVW and MOVT relocs.
(elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto.
* reloc.c: Ditto.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.
gas/
* config/tc-arm.c (parse_half): New function.
(operand_parse_code): Remove OP_Iffff. Add OP_HALF.
(parse_operands): Ditto.
(do_mov16): Reject invalid relocations.
(do_t_mov16): Ditto. Use Thumb reloc numbers.
(insns): Replace Iffff with HALF.
(md_apply_fix): Add MOVW and MOVT relocs.
(tc_gen_reloc): Ditto.
* doc/c-arm.texi: Document relocation operators
ld/testsuite/
* ld-arm/arm-elf.exp: Add arm-movwt.
* ld-arm/arm-movwt.d: New test.
* ld-arm/arm-movwt.s: New test.
* ld-arm/arm.ld: Add .far.
|
|
|
|
|
|
|
| |
2006-05-11 Fred Fish <fnf@specifix.com>
* gdb.base/bang.exp: Ignore unexpected output between the
"program exited normally" and the gdb prompt, as many other
tests do.
|
|
|
|
| |
section type if already set.
|
|
|
|
|
|
| |
2006-05-11 Fred Fish <fnf@specifix.com>
* symtab.c (skip_prologue_using_sal): Handle single line functions
like "foo(){}", which may optimize down to a single return inst.
|
|
|
|
|
|
| |
* elfcode.h (valid_section_index_p): New function: Checks for a valid section
index. Allows indicies in the range SHN_LOPROC to SHN_HIOS.
(elf_object_p): Use valid_section_index_p.
|
| |
|
| |
|
| |
|
|
|
|
| |
message.
|
|
|
|
|
| |
* observer.texi: Likewise, with GPL clause for function prototypes.
Remove trailing whitespace.
|