From: Andreas Schwab <schwab@suse.de>
To: Josef Wolf <jw@raven.inka.de>
Cc: gdb@sources.redhat.com
Subject: Re: Need Help for bringing m68k-based bdm target-patches form gdb-5.2.1 to gdb-5.3
Date: Thu, 07 Aug 2003 06:08:00 -0000 [thread overview]
Message-ID: <m3vftat2yc.fsf@whitebox.as.local> (raw)
In-Reply-To: <20030806205431.GA3349@raven.inka.de> (Josef Wolf's message of "Wed, 6 Aug 2003 22:54:31 +0200")
Josef Wolf <jw@raven.inka.de> writes:
> Ough? Does that mean that gdb should not be used to debug supervisor mode?
GDB was designed to debug user level programs, which have no way to
see supervisor-only registers. So from GDB's point of view they don't
exist. That does not mean that GDB on m68k can not be extended to
handle them, you just need a way to get their contents from the target
(no current m68k target provides that).
>> Theses numbers are basically arbitrary, AFAIK.
>
> But there are places like
By arbitrary I mean not externally imposed. The numbers are chosen
for convenience inside GDB, and exposed only to the target interface,
where they are suitably translated when communicating with the target.
> BTW: I still don't have a clue what this MULTI_ARCH stuff is all about and
> how multi-arch targets are meant to be adopted.
MULTI_ARCH means that every target architecture hooks in through the
gdbarch structure at runtime, instead of hard coding the interface
characteristics at compile time. Targets that set GDB_MULTI_ARCH to
GDB_MULTI_ARCH_PARTIAL are not quite there yet, but the basic support
is present.
Andreas.
next prev parent reply other threads:[~2003-08-07 6:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-31 22:36 Josef Wolf
2003-08-05 21:50 ` Josef Wolf
2003-08-06 16:09 ` Andrew Cagney
2003-08-06 22:17 ` Josef Wolf
2003-08-09 14:31 ` Andrew Cagney
2003-08-10 21:16 ` Josef Wolf
2003-08-06 18:22 ` Andreas Schwab
2003-08-06 20:55 ` Josef Wolf
2003-08-07 6:08 ` Andreas Schwab [this message]
2003-08-07 14:35 ` Andrew Cagney
2003-08-10 20:59 ` Josef Wolf
2003-08-10 20:48 ` Josef Wolf
2003-08-11 9:36 ` Andreas Schwab
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=m3vftat2yc.fsf@whitebox.as.local \
--to=schwab@suse.de \
--cc=gdb@sources.redhat.com \
--cc=jw@raven.inka.de \
/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