Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: Randolph Chung <randolph@tausq.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch/rfa] Fix trampoline definitions for hppa-linux
Date: Mon, 17 May 2004 15:10:00 -0000	[thread overview]
Message-ID: <40A8D5F1.9020706@gnu.org> (raw)
In-Reply-To: <20040515030758.GN566@tausq.org>

[oops, forgot cc: gdb-patches@ first time]
> Index: config/pa/tm-linux.h
> ===================================================================
> RCS file: /cvs/src/src/gdb/config/pa/tm-linux.h,v
> retrieving revision 1.1
> diff -u -p -r1.1 tm-linux.h
> --- config/pa/tm-linux.h    10 May 2004 18:33:37 -0000    1.1
> +++ config/pa/tm-linux.h    15 May 2004 03:02:38 -0000
> @@ -24,4 +24,10 @@
>  #include "pa/tm-hppa.h"
>  #include "config/tm-linux.h"
>
> +/* Including tm-linux.h indirectly includes tm-sysv4.h which defines
> +   the following macros.  We want to use the regular gdbarch mechanism
> +   to set the methods in hppa*tdep.c, so undefine them here.  */
> +#undef IN_SOLIB_CALL_TRAMPOLINE
> +#undef SKIP_TRAMPOLINE_CODE
> +
>  #endif /* #ifndef TM_LINUX_H */
(mumble something under breath about #include/undef spaghetti we need to 
fix :-( :-)

I see:

cagney@nettle$ frep 'undef IN_SOLIB_CALL_TRAMPOLINE'
arm/tm-linux.h:30:#undef IN_SOLIB_CALL_TRAMPOLINE
mips/tm-nbsd.h:29:#undef IN_SOLIB_CALL_TRAMPOLINE
mips/tm-linux.h:55:#undef IN_SOLIB_CALL_TRAMPOLINE
powerpc/tm-linux.h:31:#undef IN_SOLIB_CALL_TRAMPOLINE
sigh, ok.

Andrew





      reply	other threads:[~2004-05-17 15:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-15  3:08 Randolph Chung
2004-05-17 15:10 ` Andrew Cagney [this message]

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=40A8D5F1.9020706@gnu.org \
    --to=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=randolph@tausq.org \
    /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