[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

is gdb broken ?



Hi,

I am unable to debug anything. I'm trying to add a breakpoint and gdb
responds that it can't. Here is what I get:

(gdb) file /home/borco/c++/boltzmann/src/boltzmann
(gdb) break main.cc:92
Breakpoint 1 at 0xbffffbf8: file main.cc, line 92.
(gdb) run
Breakpoint 1 at 0x823adb0: file main.cc, line 92.
Cannot insert breakpoint 1:
Cannot access memory at address 0x823adb0.
(gdb) step
Single stepping until exit from function _dl_debug_state, 
which has no line number information.
Cannot insert breakpoint 1:
Cannot access memory at address 0x823adb0.
(gdb) 

I have used these flags to build my application:
CFLAGS =  -I. -Wall -W -g `gtk-config --cflags` 
LFLAGS = `gtk-config --libs` -lvdk -lf2c -lm

gdb: 4.17.19981224-3.m68k.objc.threads.hwwp.fpu.gnat

Is there are debuggers for Debian ?

TIA,

Ionutz


Reply to: