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]
Other format: [Raw text]

Re: HP/UX 64 need CALL_DUMMY_LOCATION ON_STACK?


I recently changed the default for CALL_DUMMY_LOCATION from ON_STACK to AT_ENTRY. I suspect the HP/PA 64 currently assumes ON_STACK.

Anyone able to check this theory?

I'll try to have a look today (thanks for this notice!).
I'd better explain why I think I broke it :-/ I believe the old code had the sequence:

tm-hppa64.h:
#include "tm-hppa.h"
tm-hppa.h:
#define CALL_DUMMY_LOCATION ON_STACK
#undef CALL_DUMMY_LOCATION

gdbarch.h:
#if !multi-arch
// do nothing with CALL_DUMMY_LOCATION
#endif

inferior.h:
#ifndef CALL_DUMMY_LOCATION
#define CALL_DUMMY_LOCATION ON_STACK
#endif

My change effectively changed the middle one so that CALL_DUMMY_LOCATION defaults to AT_ENTRY_POINT - good for everyone else, just not for 64 bit HP/UX.

Andrew



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