SIGNUM Systems GDB Server Manuel d'utilisateur Page 6

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 25
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 5
TRACE32 as GDB Front-End 6 S t a r t i n g T R A C E 3 2
©1989-2014 Lauterbach GmbH
7. If using the gdbserver in muti process mode, enable MMUSPACES. Processes of Linux may
reside virtually on the same address. To distinguish those addresses, a debugger uses an
additional space-id, that specifies, to which virtual memory space an address refers. The
following command enables this additional space-id.
For more information on the space-id refer to the chapter Space-ID.
8. Specify the path of the target libraries on the host, this is only important when debugging multi-
threaded applications
9. Establish the communication to the gdbserver:
A typical start sequence is shown below (connection via TCP)
Single process mode::
SYStem.Option MMUSPACES ON
SYStem.GdbLibPath C:\targetlibs
SYStem.Mode Attach
B:
SYStem.Down
WinCLEAR
SYStem.CPU ARM920
SYStem.PORT 10.1.2.99:2345
SYStem.GDBFILE sieve
SYStem.GdbLibPath C:\targetlibs
SYStem.Mode Attach
Data.LOAD.ELF sieve /NOCODE
Go main
Data.List
ENDDO
; select the Monitor device
; switch the debugger to down state
; clear all windows
; select your target CPU
; define communication parameters
; specify the file name
; specify the path to the libs
; connect to gdbserver
; load the process symbols
; enter the process
; open source code window
Vue de la page 5
1 2 3 4 5 6 7 8 9 10 11 ... 24 25

Commentaires sur ces manuels

Pas de commentaire