mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-04 02:02:22 +00:00
proc-service.c: Add (gdb_byte *) cast
A cast here is necessary, just as it's necessary in ps_pdwrite just below. The type of buf can't be changed, since it's fixed in the ps_pd* API. gdb/ChangeLog: * proc-service.c (ps_pdread): Add cast.
This commit is contained in:
parent
cfcb22a541
commit
49e66b4deb
@ -1,3 +1,7 @@
|
||||
2015-10-24 Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
* proc-service.c (ps_pdread): Add cast.
|
||||
|
||||
2015-10-24 Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
* sparc64-tdep.c (sparc64_store_arguments): Split assignment of
|
||||
|
@ -140,7 +140,7 @@ ps_err_e
|
||||
ps_pdread (gdb_ps_prochandle_t ph, psaddr_t addr,
|
||||
gdb_ps_read_buf_t buf, gdb_ps_size_t size)
|
||||
{
|
||||
return ps_xfer_memory (ph, addr, buf, size, 0);
|
||||
return ps_xfer_memory (ph, addr, (gdb_byte *) buf, size, 0);
|
||||
}
|
||||
|
||||
/* Write SIZE bytes from BUF into the target process PH at address ADDR. */
|
||||
|
Loading…
Reference in New Issue
Block a user