This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] solib-svr4.c gdb_byteised.
- From: Kevin Buettner <kevinb at redhat dot com>
- To: "M.M. Kettenis" <m dot m dot kettenis at alumnus dot utwente dot nl>
- Cc: gdb-patches at sources dot redhat dot com, Manoj Iyer <manjo at austin dot ibm dot com>
- Date: Fri, 3 Jun 2005 14:09:30 -0700
- Subject: Re: [RFC] solib-svr4.c gdb_byteised.
- References: <Pine.LNX.4.58.0505261717060.13210@lazy><7320928157066569@webhare>
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