[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gdb offset
From: |
Hansen |
Subject: |
gdb offset |
Date: |
Wed, 18 May 2005 16:11:28 +0200 |
Hi everybody
I know that this isn't the gdb group, but since that one, seemed kind of
dead, I'll try in here.
I'm using the arm-elf-gdb to debug a program for a LPC2138, but when I start
debugging and tell gdb to set a breakpoint at main, it sets the breakpoint
at line 13 in the main.cpp which is the 3. instruction.
I've used the -gdwarf-2 and the -ggdb options with the same results.
Anyone know what causes this?
Best regards
Søren Hansen