From: Andrew Cagney <ac131313@ges.redhat.com>
To: Marko Mlinar <markom@opencores.org>
Cc: gdb@sources.redhat.com
Subject: Re: Merging OC gdb with official gdb
Date: Mon, 09 Sep 2002 09:01:00 -0000 [thread overview]
Message-ID: <3D7CC5F0.7040100@ges.redhat.com> (raw)
In-Reply-To: <200209090807.04987.markom@opencores.org>
> Andrew,
>
>
>> The current documentation is being updated (slowly). Also see the thread:
>>
>> http://sources.redhat.com/ml/gdb/2002-07/msg00202.html
>>
>> but unless your architecture is really wierd, nothing should be needed.
>
> no, it is very similar to PPC, it is very clean RISC implementation.
Good!
>> - getting it to strictly use the multi-arch framework (the exception
>> being if your platform has shared libraries)
>
>
> I don't quite understand what you mean with "if your platform has shared
> libraries", can you rephrase please.
Ever since 5.0, GDB has only been accepting new multi-arch targets.
Ever since 5.1, GDB has only beeing accepting extensions to an existing
architecture when the base architecture has been multi-arched.
If a target system doesn't have shared libraries then it will be pure
multi-arch (no config/CPU/tm-CPU.h file). See xstormy16.
If the target system does have shared libraries then it will be almost
pure multi-arch (a very small config/CPU/tm-CPU.h). See cris.
> I saw multi-arch framework would require a lot of work for our target, it
> would be nice if we could make it without it.
Getting something converted to multi-arch is mechanical. See:
http://sources.redhat.com/gdb/current/onlinedocs/gdbint_9.html#SEC78
for the recommended process.
> We have following deprecated macros:
> #define EXTRACT_RETURN_VALUE(TYPE, REGBUF, VALBUF)
> #define STORE_RETURN_VALUE(TYPE,VALBUF)
> #define EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF)
> Is it possible to solve them without multi-arch?
Not really. GDB is a moving target. The above macro's, for instance,
have been replaced with better equivalents. An ongoing task is to
eliminate all existing references. I don't think it is reasonable to
prolong this task by adding still more references.
Remember, once you've brought this architecture up to current standards
and it has been accepted into GDB, the GDB developers take on a
significant part of its ongoing maintenance. All GDB developers are,
for instance, expected to ensure that this new target architecture builds.
>> - getting it to comply to gnu (and GDB) coding standards
>
> of course.
You should also look through the ``Fixed'' entries listed at the bottom
of: http://sources.redhat.com/gdb/current/ari/
>> - FSF paperwork
>
> already have it.
Good!
>> Otherwize it should drop in. Take a look at one of the very recent
>> targets (xstormy16?).
>
> ok.
>
> thanks for your help,
> Marko
Andrew
next prev parent reply other threads:[~2002-09-09 16:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-04 3:57 Marko Mlinar
2002-09-05 12:40 ` Andrew Cagney
2002-09-08 23:07 ` Marko Mlinar
2002-09-09 9:01 ` Andrew Cagney [this message]
2002-09-16 4:29 ` Marko Mlinar
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=3D7CC5F0.7040100@ges.redhat.com \
--to=ac131313@ges.redhat.com \
--cc=gdb@sources.redhat.com \
--cc=markom@opencores.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