- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi.
Is there anybody who knows a difference between nios2-debug and debugging from IDE? I'd like to open debugger by nios2-debug style (correctly saying, gdb on emacs). I can debug from eclipse but it stopped when "jump _start" from gdb. Do you have any idea? Regards.Link copiado
1 Responder
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I've found an answer by myself.
nios2-debug loads binary image through nios2-gdb-server, but debugger on IDE loads image by nios2-download. It failed when I invoked nios2-elf-gdb from Emacs because I wrote .gdbinit by copying from nios2-debug like below: file test.elf target remote localhost:2342 load test.elf break main jump _start When I load by nios2-download (without -g option) and I remove "load test.elf" from .gdbinit, it succeeded to debug from nios2-elf-gdb on Emacs. Thanks.
Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora