This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: displaced stepping and remote targets


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]