mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
Undo the following change. Not correct, after all:
* procfs.c (solib_mappings_callback, find_memory_regions_callback): Fix a compilation warning on mips-irix due to casting from a pointer of different size.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2009-04-16 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
|
* procfs.c (solib_mappings_callback, find_memory_regions_callback):
|
||||||
|
Revert the previous change. Might not be correct, actually.
|
||||||
|
|
||||||
2009-04-16 Joel Brobecker <brobecker@adacore.com>
|
2009-04-16 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* ada-lang.h (ada_adjust_exception_stop, ada_print_exception_stop)
|
* ada-lang.h (ada_adjust_exception_stop, ada_print_exception_stop)
|
||||||
|
@ -5473,7 +5473,7 @@ int solib_mappings_callback (struct prmap *map,
|
|||||||
no file, so the ioctl may return failure, but that's
|
no file, so the ioctl may return failure, but that's
|
||||||
not a problem. */
|
not a problem. */
|
||||||
#endif
|
#endif
|
||||||
return (*func) (fd, (CORE_ADDR) (uintptr_t) map->pr_vaddr);
|
return (*func) (fd, (CORE_ADDR) map->pr_vaddr);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -5524,7 +5524,7 @@ find_memory_regions_callback (struct prmap *map,
|
|||||||
void *),
|
void *),
|
||||||
void *data)
|
void *data)
|
||||||
{
|
{
|
||||||
return (*func) ((CORE_ADDR) (uintptr_t) map->pr_vaddr,
|
return (*func) ((CORE_ADDR) map->pr_vaddr,
|
||||||
map->pr_size,
|
map->pr_size,
|
||||||
(map->pr_mflags & MA_READ) != 0,
|
(map->pr_mflags & MA_READ) != 0,
|
||||||
(map->pr_mflags & MA_WRITE) != 0,
|
(map->pr_mflags & MA_WRITE) != 0,
|
||||||
|
Reference in New Issue
Block a user