FreeBSD Bugzilla – Attachment 178669 Details for
Bug 215868
devel/gdb: as of -r429946 targeting powerpc64: ppcfbsd-kern.c:61:6: error: no matching function 'target_read_memory': no conversion from 'struct pcb *' to 'gdb_byte *'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixing the build on powerpc64
fixing-ppc64 (text/plain), 505 bytes, created by
luca.pizzamiglio
on 2017-01-09 14:52:56 UTC
(
hide
)
Description:
Fixing the build on powerpc64
Filename:
MIME Type:
Creator:
luca.pizzamiglio
Created:
2017-01-09 14:52:56 UTC
Size:
505 bytes
patch
obsolete
>diff --git devel/gdb/files/kgdb/ppcfbsd-kern.c devel/gdb/files/kgdb/ppcfbsd-kern.c >index 082e8272eafd..ddf4e99e334b 100644 >--- devel/gdb/files/kgdb/ppcfbsd-kern.c >+++ devel/gdb/files/kgdb/ppcfbsd-kern.c >@@ -58,7 +58,7 @@ ppcfbsd_supply_pcb(struct regcache *regcache, CORE_ADDR pcb_addr) > > tdep = gdbarch_tdep (target_gdbarch()); > >- if (target_read_memory(pcb_addr, &pcb, sizeof(pcb)) != 0) >+ if (target_read_memory(pcb_addr, (gdb_byte *)&pcb, sizeof(pcb)) != 0) > memset(&pcb, 0, sizeof(pcb)); > > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 215868
: 178669