This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] solib-svr4.c gdb_byteised.


   Date: Fri, 3 Jun 2005 14:09:30 -0700
   From: Kevin Buettner <kevinb@redhat.com>

   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.

Indeed it is.  Sorry 'bout the confusion I caused.

Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]