diff options
author | Josh Gao <jmgao@google.com> | 2016-08-11 12:50:32 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2016-08-12 11:00:18 -0700 |
commit | a04c80255c29a57f63f123f10e15f3887a896cac (patch) | |
tree | 2ff56bf3811062862670b6e4c516f16018fac388 /debuggerd/debuggerd.cpp | |
parent | f5a960a187ba8959596f6a324c2b5a05c1be9b35 (diff) |
debuggerd: remove unnecessary arguments.
These were previously required when bionic used tgkill to reraise
signals, but now that we use rt_tgsigqueueinfo to reraise signals, they
are no longer necessary.
Change-Id: I46ba9f14039a727d0a2c4c3a9d93a3532ba8f263
Diffstat (limited to 'debuggerd/debuggerd.cpp')
-rw-r--r-- | debuggerd/debuggerd.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/debuggerd/debuggerd.cpp b/debuggerd/debuggerd.cpp index 0c18b9c58..61cceb048 100644 --- a/debuggerd/debuggerd.cpp +++ b/debuggerd/debuggerd.cpp @@ -51,6 +51,8 @@ #include <private/android_filesystem_config.h> +#include <debuggerd/client.h> + #include "backtrace.h" #include "getevent.h" #include "signal_sender.h" @@ -70,7 +72,6 @@ struct debugger_request_t { pid_t pid, tid; uid_t uid, gid; uintptr_t abort_msg_address; - int32_t original_si_code; }; static void wait_for_user_action(const debugger_request_t& request) { @@ -222,7 +223,6 @@ static int read_request(int fd, debugger_request_t* out_request) { out_request->uid = cr.uid; out_request->gid = cr.gid; out_request->abort_msg_address = msg.abort_msg_address; - out_request->original_si_code = msg.original_si_code; if (msg.action == DEBUGGER_ACTION_CRASH) { // Ensure that the tid reported by the crashing process is valid. @@ -471,8 +471,8 @@ static bool perform_dump(const debugger_request_t& request, int fd, int tombston case SIGSTOP: if (request.action == DEBUGGER_ACTION_DUMP_TOMBSTONE) { ALOGV("debuggerd: stopped -- dumping to tombstone"); - engrave_tombstone(tombstone_fd, backtrace_map, request.pid, request.tid, siblings, signal, - request.original_si_code, request.abort_msg_address, amfd_data); + engrave_tombstone(tombstone_fd, backtrace_map, request.pid, request.tid, siblings, + request.abort_msg_address, amfd_data); } else if (request.action == DEBUGGER_ACTION_DUMP_BACKTRACE) { ALOGV("debuggerd: stopped -- dumping to fd"); dump_backtrace(fd, backtrace_map, request.pid, request.tid, siblings, nullptr); @@ -497,8 +497,8 @@ static bool perform_dump(const debugger_request_t& request, int fd, int tombston case SIGTRAP: ALOGV("stopped -- fatal signal\n"); *crash_signal = signal; - engrave_tombstone(tombstone_fd, backtrace_map, request.pid, request.tid, siblings, signal, - request.original_si_code, request.abort_msg_address, amfd_data); + engrave_tombstone(tombstone_fd, backtrace_map, request.pid, request.tid, siblings, + request.abort_msg_address, amfd_data); break; default: |