Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Elena Zannoni <ezannoni@redhat.com>
To: Nick Clifton <nickc@redhat.com>
Cc: Elena Zannoni <ezannoni@redhat.com>,
	gdb-patches@sources.redhat.com, rearnsha@arm.com
Subject: Re: [PATCH/RFC] coffread.c: delete param
Date: Wed, 15 Oct 2003 15:59:00 -0000	[thread overview]
Message-ID: <16269.29059.795525.778852@localhost.redhat.com> (raw)
In-Reply-To: <m37k36jzog.fsf@redhat.com>

Nick Clifton writes:
 > Hi Elena,
 > 
 > > Based on the discussion in this thread:
 > > http://sources.redhat.com/ml/gdb-patches/2003-10/msg00405.html
 > >
 > > I don't have a set up to test this, though. It does build, that's
 > > all I can say.
 > 
 > Given Andrew's comment in the code, I would be rather wary of this
 > patch.  Presumably there is some good reason for passing the
 > cs->c_sclass field in the (void *) pointer argument slot, or otherwise
 > Andrew would not have gone to all that trouble of casting it.

Ah, not really. I think he was just compiling with -Werror. It's that
you added that parameter there, several years ago. So I was wondering
if you still had any interest in this code, and had a way of testing it.

 > 
 > > -
 > > - 		/* FIXME: cagney/2001-02-01: The nasty (int) -> (long)
 > > -                   -> (void*) cast is to ensure that that the value of
 > > -                   cs->c_sclass can be correctly stored in a void
 > > -                   pointer in MSYMBOL_INFO.  Better solutions
 > > -                   welcome. */
 > > -		gdb_assert (sizeof (void *) >= sizeof (cs->c_sclass));
 > >  		msym = prim_record_minimal_symbol_and_info
 > > -		  (cs->c_name, tmpaddr, ms_type, (void *) (long) cs->c_sclass,
 > > +		  (cs->c_name, tmpaddr, ms_type, NULL,
 > >  		   sec, NULL, objfile);
 > 
 > 
 > > [Richard, Nick, this does affect arm-coff]
 > 
 > Does it improve things ?  :-)  If so, what ?
 > 

It certainly opens the way for more cleanups.
Is arm-coff still alive and of interest?

elena

 > Cheers
 >         Nick
 >         


  parent reply	other threads:[~2003-10-15 15:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-14 21:41 Elena Zannoni
2003-10-15  8:56 ` Richard Earnshaw
2003-10-15 15:10   ` Andrew Cagney
2003-10-15 15:25 ` Nick Clifton
2003-10-15 15:39   ` Andrew Cagney
2003-10-15 15:59   ` Elena Zannoni [this message]
2003-11-05 15:30 ` Elena Zannoni
2003-10-15 16:26 Michael Elizabeth Chastain
2003-10-15 16:37 ` Elena Zannoni
2003-10-15 16:47   ` Andrew Cagney

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=16269.29059.795525.778852@localhost.redhat.com \
    --to=ezannoni@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=nickc@redhat.com \
    --cc=rearnsha@arm.com \
    /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