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]

Re: [rfa/arm] Make arm float->double arg pass portable(ish)



  	  DOUBLEST dblval;
! 	  dblval = extract_floating (val, len);
  	  len = TARGET_DOUBLE_BIT / TARGET_CHAR_BIT;
! 	  val = alloca (len);
! 	  store_floating (val, len, dblval);

Are TARGET_DOUBLE_BIT and TARGET_CHAR_BIT really variable?  If not, it 
would be better to have a local char array of the right size and avoid all 
this alloca() rubbish.

R.


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