mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-12 04:31:28 +00:00
Remove unnecessary cast in aix-thread.c:ptrace32.
We're casting "addr" into "addr_ptr", but this variable is actually a parameter with that very same type... gdb/ChangeLog: * aix-thread.c (ptrace32): Remove cast to addr_ptr.
This commit is contained in:
parent
5713b9b5c1
commit
26f0edc14e
@ -1,3 +1,7 @@
|
||||
2013-10-04 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* aix-thread.c (ptrace32): Remove cast to addr_ptr.
|
||||
|
||||
2013-10-04 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* mi/mi-main.c (run_one_inferior): Add function description.
|
||||
|
@ -264,7 +264,7 @@ ptrace32 (int req, int id, addr_ptr addr, int data, int *buf)
|
||||
{
|
||||
errno = 0;
|
||||
return ptrace_check (req, id,
|
||||
ptrace (req, id, (addr_ptr) addr, data, buf));
|
||||
ptrace (req, id, addr, data, buf));
|
||||
}
|
||||
|
||||
/* If *PIDP is a composite process/thread id, convert it to a
|
||||
|
Loading…
x
Reference in New Issue
Block a user