mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-04 13:57:12 +08:00
btrace: fix void return
record_btrace_resume returns the void return from the to_resume method of the target beneath. Split this into calling to_resume and return. gdb/ * record-btrace.c (record_btrace_resume): Fix void return.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2015-10-08 Markus Metzger <markus.t.metzger@intel.com>
|
||||
|
||||
* record-btrace.c (record_btrace_resume): Fix void return.
|
||||
|
||||
2015-10-07 Yao Qi <yao.qi@linaro.org>
|
||||
|
||||
* aarch64-tdep.c: Include opcode/aarch64.h.
|
||||
|
@ -1910,7 +1910,8 @@ record_btrace_resume (struct target_ops *ops, ptid_t ptid, int step,
|
||||
&& !record_btrace_is_replaying (ops, minus_one_ptid))
|
||||
{
|
||||
ops = ops->beneath;
|
||||
return ops->to_resume (ops, ptid, step, signal);
|
||||
ops->to_resume (ops, ptid, step, signal);
|
||||
return;
|
||||
}
|
||||
|
||||
/* Compute the btrace thread flag for the requested move. */
|
||||
|
Reference in New Issue
Block a user