Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: gdb-patches@cygnus.com
Subject: Re: support for ARM GNU/Linux
Date: Tue, 13 Apr 1999 23:56:00 -0000	[thread overview]
Message-ID: <37143C2A.9340FF5B@cygnus.com> (raw)
In-Reply-To: <37142B16.B43B5200.cygnus.patches.gdb@cygnus.com>

Andrew Cagney wrote:

> The file gdb/config/arm/tm-linux.h #defines OS_BKPT_SWI.  That is in
> turn used by the ARM version of CALL_DUMMY.  CALL_DUMMY has just been
> replaced with CALL_DUMMY_WORDS and SIZEOF_CALL_DUMMY_WORDS (see
> gdb/doc/gdbint.texi in the *next* snapshot).  Rather than define
> OS_BKPT_SWI could I strongly encourage you to instead use these new
> macros.  Like for BREAKPOINT_FROM_PC, I would suggest using a global
> initialized from __initialize_arm_tdep().

FYI,

Below is the relevant section of the internals manual.

	Andrew



@item CALL_DUMMY_P
A C expresson that is non-zero when the target suports inferior function
calls.
 
@item CALL_DUMMY_WORDS
Pointer to an array of @var{LONGEST} words of data containing
host-byte-ordered @var{REGISTER_BYTES} sized values that partially
specify the sequence of instructions needed for an inferior function
call.
 
Should be deprecated in favour of a macro that uses target-byte-ordered
data.
 
@item SIZEOF_CALL_DUMMY_WORDS
The size of @var{CALL_DUMMY_WORDS}.  When @var{CALL_DUMMY_P} this must
return a positive value.  See also @var{CALL_DUMMY_LENGTH}.
 
@item CALL_DUMMY
A static initializer for @var{CALL_DUMMY_WORDS}.  Deprecated.


      parent reply	other threads:[~1999-04-13 23:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-12 12:26 Philip Blundell
1999-04-12 13:19 ` Scott Bambrough
1999-04-12 14:12   ` Scott Bambrough
1999-04-12 14:27   ` Philip Blundell
1999-04-12 20:18 ` Jim Blandy
1999-04-13  6:45   ` Philip Blundell
     [not found]   ` <E10X3Uv-0003Kd-00.cygnus.patches.gdb@fountain.nexus.co.uk>
1999-04-13 22:44     ` Andrew Cagney
1999-04-14  2:21       ` Philip Blundell
1999-04-14  3:36       ` Richard Earnshaw
1999-04-14  2:52         ` Richard Earnshaw
1999-04-14 11:34         ` Stan Shebs
1999-04-14 12:18           ` Richard Earnshaw
     [not found]   ` <37142B16.B43B5200.cygnus.patches.gdb@cygnus.com>
1999-04-13 23:56     ` 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=37143C2A.9340FF5B@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=gdb-patches@cygnus.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