mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2026-08-27 00:26:02 -04:00
gdb: Fix build for gnu hurd
Commit 695fd5ec12 ("gdb: make find_memory_region_ftype a function_view")
broke the build for gnu hurd. Fix this.
Approved-By: Tom de Vries <tdevries@suse.de>
This commit is contained in:
parent
748350ae9e
commit
bccfda8cc9
2 changed files with 2 additions and 2 deletions
|
|
@ -2617,7 +2617,7 @@ gnu_nat_target::find_memory_regions (find_memory_region_ftype func)
|
|||
/* This region is distinct from the last one we saw, so report
|
||||
that previous one. */
|
||||
if (last_protection != VM_PROT_NONE)
|
||||
(*func) (last_region_address,
|
||||
func (last_region_address,
|
||||
last_region_end - last_region_address,
|
||||
last_protection & VM_PROT_READ,
|
||||
last_protection & VM_PROT_WRITE,
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ struct gnu_nat_target : public inf_child_target
|
|||
ULONGEST offset, ULONGEST len,
|
||||
ULONGEST *xfered_len) override;
|
||||
|
||||
bool find_memory_regions (find_memory_region_ftype func, void *data)
|
||||
bool find_memory_regions (find_memory_region_ftype func)
|
||||
override;
|
||||
void kill () override;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue