Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Procedure for large drop?
@ 2005-08-15 13:37 Paul Hilfinger
  2005-08-15 14:15 ` Daniel Jacobowitz
  0 siblings, 1 reply; 27+ messages in thread
From: Paul Hilfinger @ 2005-08-15 13:37 UTC (permalink / raw)
  To: gdb-patches; +Cc: hilfingr


HP would like to contribute their modified version of (an older) GDB
to the FSF.  The assignment is already in place (whereby designated
individuals in HP can assign contributions).  Their code is not
currently suitable for direct inclusion in the GDB sources, but
AdaCore will be carving patches out of it (for the ia64, mostly).  I
presume that the FSF should have a copy of the raw source in some form
as a record of exactly what has been assigned.  Where should this go
(what's the procedure for getting a largish file stored somewhere)?
Thanks.

Paul Hilfinger
AdaCore, Inc.



^ permalink raw reply	[flat|nested] 27+ messages in thread
* [patch] Pushing Inferior Function Arguments onto Stack on   PowerPC64 machines
@ 2006-10-04 19:00 janani
  2006-10-04 19:11 ` Daniel Jacobowitz
  0 siblings, 1 reply; 27+ messages in thread
From: janani @ 2006-10-04 19:00 UTC (permalink / raw)
  To: gdb-patches; +Cc: pgilliam, janani

> Is Andrew's comment about the ABI correct, or incorrect?  Do you know
>> for sure?
>> ! 		 		       /* WARNING: cagney/2003-09-21: As best I can
>> ! 		 		          tell, the ABI specifies that the value should
>> ! 		 		          be left aligned.  Unfortunately, GCC doesn't
>> ! 		 		          do this - it instead right aligns even sized
>> ! 		 		          values and puts odd sized values on the
>> ! 		 		          stack.  Work around that by putting both a
>> ! 		 		          left and right aligned value into the
>> ! 		 		          register (hopefully no one notices :-^).
>> ! 		 		          Arrrgh!  */

> -- 
> Daniel Jacobowitz
> CodeSourcery


I am new to this, so my interpretation might not be completely  
accurate, but the way I read the note below ( a snippet from the GNU  
GCC Manual about passing function arguments in registers) is that  
since PPC64 is big endian, even though the default is to pad downward  
(i.e. right align), if the size if greater than the size of an int,  
you need to pad upward (left align).
.......

FUNCTION_ARG_PADDING (mode, type)
     If defined, a C expression which determines whether, and in which  
direction, to pad out an argument with extra space. The value should  
be of type enum direction: either upward to pad above the argument,  
downward to pad below, or none to inhibit padding.

     The amount of padding is always just enough to reach the next  
multiple of FUNCTION_ARG_BOUNDARY; this macro does not control it.

     This macro has a default definition which is right for most  
systems. For little-endian machines, the default is to pad upward. For  
big-endian machines, the default is to pad downward for an argument of  
constant size shorter than an int, and upward otherwise.
.....

Janani Janakiraman


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2006-10-04 20:52 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20041026075115.4A2C354AAB5@stray.canids>
     [not found] ` <20041026132924.GA26886@nevyn.them.org>
     [not found]   ` <drow@false.org>
2004-10-26 15:01     ` backtrace changes current source location Felix Lee
2004-10-27 17:35       ` Andrew Cagney
2004-10-27 17:40         ` Daniel Jacobowitz
2004-10-28  0:52         ` Felix Lee
2004-10-29 15:22           ` Andrew Cagney
2004-10-29 15:36             ` Daniel Jacobowitz
2004-10-29 22:07             ` Felix Lee
2004-10-30  0:02               ` Andrew Cagney
2004-10-30  3:28                 ` Felix Lee
2004-11-01  4:38                   ` Felix Lee
2004-11-01 16:04                     ` Andrew Cagney
2004-11-01 16:13                     ` Daniel Jacobowitz
2004-11-05  8:51     ` Felix Lee
2006-10-04 20:43     ` [patch] Pushing Inferior Function Arguments onto Stack on PowerPC64 machines David Edelsohn
2006-10-04 20:52       ` Daniel Jacobowitz
2005-08-15 13:37 Procedure for large drop? Paul Hilfinger
2005-08-15 14:15 ` Daniel Jacobowitz
2005-08-15 21:50   ` Paul Hilfinger
2005-08-16  2:36     ` Jason Molenda
2005-08-20 22:15   ` Paul Hilfinger
2005-08-22 19:00     ` Daniel Jacobowitz
2006-10-04 19:00 [patch] Pushing Inferior Function Arguments onto Stack on PowerPC64 machines janani
2006-10-04 19:11 ` Daniel Jacobowitz
2006-10-04 19:14   ` Daniel Jacobowitz
2006-10-04 20:19   ` Mark Kettenis
2006-10-04 20:27     ` Andreas Schwab
     [not found]   ` <OFE88464A1.C58B072A-ON872571FD.006ABA69-862571FD.006C7CFB@us.ibm.com>
2006-10-04 20:26     ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox