Re: [PATCH] Fix call functions command bug in 64-bit programs for AIX

Tom Tromey
2022-11-16T18:31:03Z

>> It might not really be necessary to handle pointer and reference
>> types if those are always guaranteed to be word sized. But I
>> think enum, bool, and char types should be handled.

> You were right. Thank you for pointing out. I have attached the
> outputs below. It works fine now.

I didn't look at this too deeply, but it's worth noting that code
handling the marshalling of integers should also handle
TYPE_CODE_FIXED_POINT as well, as those are integers with a funny
name. There should be some Ada tests for this.

If you can't test Ada, I guess don't worry about it. I'm not 100% sure
the way you've written this will work for a fixed-point number.

> warning: (Internal error: pc 0x10000290 in read in psymtab, but not in symtab.)

This normally indicates a serious bug. Also I guess you must be using
stabs?

> BFD: /usr/lib/libc.a(/usr/lib/libc.a(shr_64.o)): wrong auxtype 0xff for storage class 0x2
> BFD: /usr/lib/libc.a(/usr/lib/libc.a(shr_64.o)): wrong auxtype 0xff for storage class 0x6b

These seem concerning.

thanks,
Tom