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: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: kevinb at redhat dot com
- Cc: m dot m dot kettenis at alumnus dot utwente dot nl, gdb-patches at sources dot redhat dot com, manjo at austin dot ibm dot com
- Date: Sun, 12 Jun 2005 02:04:30 +0200 (CEST)
- Subject: Re: [RFC] solib-svr4.c gdb_byteised.
- References: <Pine.LNX.4.58.0505261717060.13210@lazy><7320928157066569@webhare> <20050603140930.06e1960f@ironwood.lan>
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