This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: Borland fastcall support (i386)



On 06 Apr 2009, at 04:54, Daniel Jacobowitz wrote:


On Sun, Apr 05, 2009 at 11:28:57PM +0200, Jonas Maebe wrote:
I've continued working on gdb to also support calling Pascal methods, and
I've run a bit into a hitch: the calling_convention field is part of a
union that also contains cplus_stuff (inside main_type in gdbtypes.h), and
I need both for methods using a non-standard calling convention.

Why is cplus_stuff used in this case?

You're right, I was mixing two things. There is indeed no conflict. So all that needs to be done is extend smash_to_method_type() with an extra parameter for the calling convention.



Jonas



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