Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Manoj Iyer <manjo@austin.ibm.com>
To: "M.M. Kettenis" <m.m.kettenis@alumnus.utwente.nl>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFC] solib-svr4.c gdb_byteised.
Date: Tue, 31 May 2005 16:06:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.58.0505310933270.637@lazy> (raw)
In-Reply-To: <Pine.LNX.4.58.0505261740040.13210@lazy>


Mark,

Any comments? ok to commit?

>
> > > 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.
>
>
> gcc4.0 complained abt the signedness...
>
> reversing gdb_byte to char for l_name_buf :
>
>
> /opt/gcc-nightly/4.0-20050526/bin/cc -m64 -c -m64  -mminimal-toc  -I.
> -I.././gdb -I.././gdb/config -DLOCALEDIR="\"/usr/local/share/locale\""
> -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/..
> -I../bfd -I.././gdb/../bfd -I.././gdb/../include -I../intl
> -I.././gdb/../intl  -DMI_OUT=1 -Wimplicit -Wreturn-type -Wcomment
> -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wformat-nonliteral
> -Wunused-label -Wunused-function  solib-svr4.c
> solib-svr4.c: In function ‘open_symbol_file_object’:
> solib-svr4.c:533: warning: pointer targets in passing argument 2 of
> ‘read_memory’ differ in signedness
> solib-svr4.c:537: warning: pointer targets in passing argument 1 of
> ‘extract_unsigned_integer’ differ in signedness
> solib-svr4.c: In function ‘svr4_fetch_objfile_link_map’:
> solib-svr4.c:707: warning: pointer targets in passing argument 2 of
> ‘read_memory’ differ in signedness
> solib-svr4.c:711: warning: pointer targets in passing argument 1 of
> ‘extract_unsigned_integer’ differ in signedness
> Making init.c
>


  reply	other threads:[~2005-05-31 14:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-26 22:50 Manoj Iyer
2005-05-27  4:41 ` M.M. Kettenis
2005-05-27  4:54   ` Manoj Iyer
2005-05-31 16:06     ` Manoj Iyer [this message]
2005-06-03 21:09   ` Kevin Buettner
2005-06-12  0:04     ` Mark Kettenis
2005-06-03 21:14 ` Kevin Buettner
2005-06-06 22:26   ` [PATCH] " Manoj Iyer
2005-06-07  0:07     ` Daniel Jacobowitz
2005-06-07  8:34       ` Manoj Iyer
2005-05-31 20:45 [RFC] " Paul Schlie
2005-05-31 22:22 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0505310933270.637@lazy \
    --to=manjo@austin.ibm.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=m.m.kettenis@alumnus.utwente.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox