Wednesday, September 20th 2017, 8:13pm UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Date of registration: Dec 14th 2010

Posts: 1

1

Tuesday, December 14th 2010, 8:27am

How to create .gdb file for debugging?

Hello,

I am using eclipse for debugging my application on Atmel ARM AT91SAM7X256 with SEGGER SAM-ICE Jtag debugger and J-link.

I have used the link for starting debug http://www.yagarto.de/howto/jlink/index.html
This link gives the demo program which they have used for debug.
The demo program has .gdb file which is needed for debugging.

Can anybody tell me how do I create a .gdb file for my application?

Thanks,
Mangesh Kathale.

SEGGER - Alex

Super Moderator

Date of registration: Dec 18th 2007

Posts: 1,508

2

Monday, January 3rd 2011, 12:25pm

Hi Mangesh,

the content of your .gdb file depends on what you want to do in your debug session.
The J-Link software and documentation package comes with some sample projects in order to get an impression how to work with GDB + GDB Server.
The sample projects can be found at $JLINK_INST_DIR$\Samples\GDB\Projects
These projects also come with gdb init files.

To get more information about what can be done in gdb init files, please have a look into UM08005, chapter "Debugging with GDB"


Best regards
Alex