linux_ptrace_dumper: Fix type definition
Fix a type definition, so it doesn't collide if the similar type is already defined in the sysroot headers. Test: Build for Android/Linux. Bug: Internal 322205293 Change-Id: I3453de725083b01f2e69a61a7fc948f9f8ca5eca Signed-off-by: Volodymyr Riazantsev <riazantsevv@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/5251488 Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
parent
5a0e1e34b0
commit
38ac9ae56f
1 changed files with 3 additions and 3 deletions
|
@ -68,7 +68,7 @@
|
|||
* User specific VFP registers. If only VFPv2 is present, registers 16 to 31
|
||||
* are ignored by the ptrace system call and the signal handler.
|
||||
*/
|
||||
typedef struct user_vfp {
|
||||
typedef struct {
|
||||
unsigned long long fpregs[32];
|
||||
unsigned long fpscr;
|
||||
// Kernel just appends fpscr to the copy of fpregs, so we need to force
|
||||
|
@ -204,7 +204,7 @@ bool LinuxPtraceDumper::ReadRegisterSet(ThreadInfo* info, pid_t tid)
|
|||
switch (errno) {
|
||||
case EIO:
|
||||
case EINVAL:
|
||||
user_vfp vfp;
|
||||
user_vfp_t vfp;
|
||||
struct iovec io;
|
||||
io.iov_base = &vfp;
|
||||
io.iov_len = sizeof(vfp);
|
||||
|
@ -252,7 +252,7 @@ bool LinuxPtraceDumper::ReadRegisters(ThreadInfo* info, pid_t tid) {
|
|||
switch (errno) {
|
||||
case EIO:
|
||||
case EINVAL:
|
||||
user_vfp vfp;
|
||||
user_vfp_t vfp;
|
||||
struct iovec io;
|
||||
io.iov_base = &vfp;
|
||||
io.iov_len = sizeof(vfp);
|
||||
|
|
Loading…
Reference in a new issue