aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-03-07 19:25:39 +0000
committerPedro Alves <palves@redhat.com>2012-03-07 19:25:39 +0000
commit9b224c5e1a3d2a2d753affc760de2984b382617a (patch)
treeb9c52226128c098ead038f4690ba10ef24922ef9 /gdb/inferior.h
parent74c48cbbffd1812b819a0d1ddf1ff6eff282549c (diff)
downloadgdb-9b224c5e1a3d2a2d753affc760de2984b382617a.zip
gdb-9b224c5e1a3d2a2d753affc760de2984b382617a.tar.gz
gdb-9b224c5e1a3d2a2d753affc760de2984b382617a.tar.bz2
2012-03-07 Pedro Alves <palves@redhat.com>
gdb/doc/ * gdb.texinfo (General Query Packets): Document new QProgramSignals packet. * gdb.texinfo (Remote configuration): Mention "program-signals-packet". gdb/gdbserver/ * linux-low.c (get_detach_signal): New. (linux_detach_one_lwp): Get rid of a pending SIGSTOP with SIGCONT. Pass on pending signals to PTRACE_DETACH. Check the result of the ptrace call. * server.c (program_signals, program_signals_p): New. (handle_general_set): Handle QProgramSignals. * server.h (program_signals, program_signals_p): Declare. gdb/ * NEWS: Mention QProgramSignals. * inferior.h (update_signals_program_target): Declare. * infrun.c: (update_signals_program_target): New. (handle_command): Update the target of the new program signals array changes. * remote.c (PACKET_QProgramSignals): New enum. (last_program_signals_packet): New global. (remote_program_signals): New. (remote_start_remote): Update the target with the program signals list. (remote_protocol_features): Add entry for QPassSignals. (remote_open_1): Free anc clear last_program_signals_packet. (init_remote_ops): Install remote_program_signals. * target.c (update_current_target): Adjust. (target_program_signals): New. * target.h (struct target_ops) <to_program_signals>: New field. (target_program_signals): Declare.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r--gdb/inferior.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 9b2817f..1563111 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -645,6 +645,8 @@ extern struct inferior *add_inferior_with_spaces (void);
extern void update_observer_mode (void);
+extern void update_signals_program_target (void);
+
/* In some circumstances we allow a command to specify a numeric
signal. The idea is to keep these circumstances limited so that
users (and scripts) develop portable habits. For comparison,