Displaying 2 results from an estimated 2 matches for "abi386".
Did you mean:
bi386
2012 Dec 03
0
[LLVMdev] operator overloading fails while debugging with gdb for i386
Hi,
I was going through this issue along with the standards. What the standard
states is(reference: http://www.sco.com/developers/devspecs/abi386-4.pdf):
If a function returns a structure or union, then the caller provides space
for the
return value and places its address on the stack as argument word zero. In
effect,
this address becomes a ‘‘hidden’’ first argument. Having the caller supply
the
return object’s space allows re-entrancy.
A...
2012 Dec 03
2
[LLVMdev] operator overloading fails while debugging with gdb for i386
On 2 December 2012 08:12, Mayur Pandey <mayurthebond at gmail.com> wrote:
> So is this just a coincidence for g++ that eax points to this address and
> gdb prints the right value on the command print sum(one,two)??
The code is small, and the structure is probably set at the end of the
block, so I think it's not that much of a coincidence.
Regardless of the specific value on that