mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-20 22:34:14 +08:00
* irix5-nat.c (find_solib): Cast o_path to CORE_ADDR when using it
as one.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Tue Mar 8 06:56:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||||
|
|
||||||
|
* irix5-nat.c (find_solib): Cast o_path to CORE_ADDR when using it
|
||||||
|
as one.
|
||||||
|
|
||||||
Mon Mar 7 13:00:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
Mon Mar 7 13:00:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||||
|
|
||||||
* alpha-tdep.c: Change value to value_ptr.
|
* alpha-tdep.c: Change value to value_ptr.
|
||||||
|
@ -547,9 +547,10 @@ find_solib (so_list_ptr)
|
|||||||
sizeof (struct obj_list));
|
sizeof (struct obj_list));
|
||||||
read_memory ((CORE_ADDR) new->ll.data, (char *) &(new -> lm),
|
read_memory ((CORE_ADDR) new->ll.data, (char *) &(new -> lm),
|
||||||
sizeof (struct obj));
|
sizeof (struct obj));
|
||||||
target_read_string (new->lm.o_path, &buffer, INT_MAX, &errcode);
|
target_read_string ((CORE_ADDR)new->lm.o_path, &buffer,
|
||||||
|
INT_MAX, &errcode);
|
||||||
if (errcode != 0)
|
if (errcode != 0)
|
||||||
memory_error (errcode, new->lm.o_path);
|
memory_error (errcode, (CORE_ADDR)new->lm.o_path);
|
||||||
new->lm.o_path = buffer;
|
new->lm.o_path = buffer;
|
||||||
solib_map_sections (new);
|
solib_map_sections (new);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user