Fixes
../../gdb/gnu-nat.c:2554:7: error: unused variable ‘res’ [-Werror=unused-variable]
2554 | int res;
../../gdb/gnu-nat.c:2644:20: error: unused variable ‘old_address’ [-Werror=unused-variable]
2644 | vm_address_t old_address = region_address;
gdb/ChangeLog:
* gnu-nat.c (gnu_xfer_auxv): Remove unused `res' variable.
(gnu_nat_target::find_memory_regions): Remove unused
`old_address' variable.
+2020-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * gnu-nat.c (gnu_xfer_auxv): Remove unused `res' variable.
+ (gnu_nat_target::find_memory_regions): Remove unused
+ `old_address' variable.
+
2020-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
* gnu-nat.c: Include "gdbarch.h".
? gnu_current_inf->task->port : 0)
: 0);
process_t proc;
- int res;
kern_return_t err;
vm_address_t entry;
ElfW(auxv_t) auxv[2];
mach_port_t object_name;
vm_offset_t offset;
vm_size_t region_length = VM_MAX_ADDRESS - region_address;
- vm_address_t old_address = region_address;
err = vm_region (task,
®ion_address,