- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page