Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Create two windows, one on the GDB host, and one for telnetting to the RCE.
  • Start GDB against the version of the development core that is on the RCE
    Code Block
    none
    none
    /reg/lab1/home/panetta/bin/powerpc-rtems-gdb build/rceapp/bin/ppc-rtems-rce405-dbg/core.1.2.devel
    
  • Connect GDB to the RCE over port 2159 (Ignore the warning. Steve says that this will be normal.)
    Code Block
    (gdb) target rtems-remote rce48:2159
    Remote debugging using rce48:2159
    [New Thread  a01000a]
    [Switching to Thread  a01000a]
    BREAKPOINT () at /reg/lab1/home/panetta/petacache/rce/gdbstub/rtems-gdb-stub-ppc-shared.h:20
    20      }
    warning: /reg/lab1/home/panetta/petacache/build/rceapp/bin/ppc-rtems-rce405-dbg/core.1.2.devel: '.text' section of executable file doesn't match the target's -- do GDB and the target use the same file?
    Current language:  auto; currently c++
    (gdb)
    

...