Re: displaced stepping and remote targets

"Maciej W. Rozycki" <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On Mon, 28 Mar 2016, taylor, david wrote:

> When building GDB for an embedded target, oftentimes there
> will be an existing target configuration that is 'close enough' to
> the desired configuration that rather than create a new config
> triplet, you just reuse the existing one.
[...]
> And, other than displaced stepping, the x86_64-pc-linux-gnu configuration
> appears to work just fine.
[...]
> I would expect that for popular processors such as x86, powerpc, arm,
> probably others, reusing an existing configuration would be common.

 You're using a bare-metal target, so it looks to me like you need to 
configure for the `x86_64-elf' target or suchlike; this is what the `elf' 
"OS" is for (with some exceptions).  If there's none currently supported 
for the x86_64 architecture, then you may have to fiddle with the sources 
and/or build scriptery a bit.  Given the similarity of the architectures 
using `i386-elf' as a reference might be a good starting point.

  Maciej
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.