Remote Debugging
Chris Johns
chrisj at rtems.org
Fri May 15 02:44:49 UTC 2015
On 15/05/2015 1:24 am, Wu, Mark H. wrote:
> I'm evaluating RTEMS for use on a project I'm working on, and have several questions. I'll probably use 4.11, but since the documentation is only available for 4.10, I'll ask regarding the documentation.
>
> The target platform we plan to use is x86. I've built RTEMS with --enable-rdbg, but the resulting target.cfg and bsp.cfg in
> $(exec_prefix)/$(RTEMS_BSP)/make/bsp.cfg
> Show
>
> RTEMS_HAS_RDBG = no (target.cfg)
> HAS_RDBG = no (bsp.cfg)
>
> Is there no rdbg support in the x86 platform?
>
I cannot see any support in the 4.11 sources. The code use to be part of
Till's pages he supported outside of the RTEMS project. I am not across
the current state of that code.
> I've also been looking for documentation on how to use and configure rdbg (and the server needed for it), and I haven't had much luck. The RTEMS/GDB User's Guide isn't in the documentation as of version 4.8, so I don't know if it's still valid. I'm also specifically looking for debugging over Ethernet.
>
> Any help or pointers would be appreciated!
>
Personally I have been using a serial port and I mean a real RS232 DB9
port on an old Dell box to debug on x86. I have not done any work on x86
for a while.
I had the PXE loader load a networked grub build I made and that loaded
the kernel over the network and it breaks in the serial gdb stub so I
can connect gdb. It has been great using a serial port because it is
simple but it is showing its age.
It would be nice to have an alternative to this but there is nothing
happening in RTEMS project I know of. I would like to see users
interested in x86 platform contact me directly about possible solutions
for better support for debugging.
The Atom devices have a JTAG based debug protocol called ITP which is
covered by NDA and so there are no open source solutions. I talked to
Intel about this and it went no where.
Chris
More information about the users
mailing list