diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-03-08 15:01:55 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-03-08 15:01:55 +0000 |
commit | ce2f21b2cd3c23f8ce9c8b56baf0028ecc36ec48 (patch) | |
tree | 990bd17ad8d0af80ece8dc9ad342db02ef341f9e /gdb/irix5-nat.c | |
parent | 7810d333c9634a7ec0d6aa9b42d9368b6a9e34a2 (diff) | |
download | gdb-ce2f21b2cd3c23f8ce9c8b56baf0028ecc36ec48.zip gdb-ce2f21b2cd3c23f8ce9c8b56baf0028ecc36ec48.tar.gz gdb-ce2f21b2cd3c23f8ce9c8b56baf0028ecc36ec48.tar.bz2 |
* irix5-nat.c (find_solib): Cast o_path to CORE_ADDR when using it
as one.
Diffstat (limited to 'gdb/irix5-nat.c')
-rw-r--r-- | gdb/irix5-nat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/irix5-nat.c b/gdb/irix5-nat.c index 73382cd..55d6d3e 100644 --- a/gdb/irix5-nat.c +++ b/gdb/irix5-nat.c @@ -547,9 +547,10 @@ find_solib (so_list_ptr) sizeof (struct obj_list)); read_memory ((CORE_ADDR) new->ll.data, (char *) &(new -> lm), 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) - memory_error (errcode, new->lm.o_path); + memory_error (errcode, (CORE_ADDR)new->lm.o_path); new->lm.o_path = buffer; solib_map_sections (new); } |