Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gdb-patches@sourceware.org
Cc: Nathan Sidwell <nathan@codesourcery.com>
Subject: Re: [commit] Remove config/m68k/tm-monitor.h
Date: Thu, 12 Apr 2007 23:15:00 -0000	[thread overview]
Message-ID: <20070412231528.GA9372@caradoc.them.org> (raw)
In-Reply-To: <200704122305.l3CN5S9S032295@d12av02.megacenter.de.ibm.com>

On Fri, Apr 13, 2007 at 01:05:28AM +0200, Ulrich Weigand wrote:
> #define DECR_PC_AFTER_BREAK 0
> *does* change the default behaviour of
>   set_gdbarch_decr_pc_after_break (gdbarch, 2);
> set in m68k_gdbarch_init.  That default is used for the Linux 
> and *BSD targets.  The patch moves the call from m68k_gdbarch_init
> to m68kbsd_init_abi and m68k_linux_init_abi.  Then, the #define
> becomes superfluous as well.
> 
> The patch should not change the behaviour on any m68k target.

Thanks.

We have an unsubmitted m68k-like target (Innovasic's "fido" processor)
which used to override this in its own tm.h, because using JTAG to
talk to it results in the architecture-standard behavior (i.e. GDB has
to take care of DECR_PC_AFTER_BREAK itself, i.e. should be 2).  Does
anyone currently use the m68k-elf targets to talk to something where
the setting of 0 is correct - some monitor, maybe?

Hmm, it occurs to me I should check our ColdFire JTAG port too.  Maybe
it's a difference between the two JTAG units.

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2007-04-12 23:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-12 23:05 Ulrich Weigand
2007-04-12 23:15 ` Daniel Jacobowitz [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=20070412231528.GA9372@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=nathan@codesourcery.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