[RFC] solib-svr4.c gdb_byteised.

Kevin Buettner kevinb@redhat.com
Fri Jun 3 21:09:00 GMT 2005


On Thu, 26 May 2005 22:39:30 +0000
"M.M. Kettenis" <m.m.kettenis@alumnus.utwente.nl> wrote:

> Manoj Iyer <manjo@austin.ibm.com> wrote: 
> 
> > 
> > solib-svr4.c compiles without errors on ppc64 with gcc4.0. Here is a
> > patch...
> > 
> > 
> > 2005-05-26  Manoj Iyer  <manjo@austin.ibm.com>
> > 
> > 	* solib-svr4.c: lm_info structure convert type of lm to gdb_byte.
> > 	(elf_locate_base): Converted types of buf, bufend, pbuf, to gdb_byte.
> > 	(first_link_map_member): Converted type of r_map_buf to gdb_byte.
> > 	(open_symbol_file_object): Converted type of l_name_buf to gdb_byte.
> > 	(svr4_fetch_objfile_link_map): Converted type of l_name_buf to
> > 	gdb_byte.
> 
> I think the l_name_buf change is wrong since it *is* supposed to be
> a (character) string.

Actually, it's the address of a character string.  I think Manoj's
change is correct.

Kevin



More information about the Gdb-patches mailing list