Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Joel Brobecker <brobecker@gnat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: HP/UX 64 need CALL_DUMMY_LOCATION ON_STACK?
Date: Mon, 20 Jan 2003 04:27:00 -0000	[thread overview]
Message-ID: <3E2B7A8E.6050403@redhat.com> (raw)
In-Reply-To: <20030120030414.GK5477@gnat.com>

>> 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



  reply	other threads:[~2003-01-20  4:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-20  2:08 Andrew Cagney
2003-01-20  3:04 ` Joel Brobecker
2003-01-20  4:27   ` Andrew Cagney [this message]
2003-01-28  4:15     ` Joel Brobecker
2003-01-28 14:40       ` Andrew Cagney
2003-01-30  5:49         ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E2B7A8E.6050403@redhat.com \
    --to=ac131313@redhat.com \
    --cc=brobecker@gnat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox