This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Breakpoints not working in Solaris


I'm having a problem with the breakpoints in gdb 5.3. I'm woking on Solaris (SunOs 5.9) and I'm using gcc 3.2.3 configured with following options,

/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2.3/specs
Configured with: ../configure --disable-nls --with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as
Thread model: posix
gcc version 3.2.3


when I try to debug a MT program the breakpoints don't seem to work.

(gdb) br main
Breakpoint 1 at 0x53fde4: file /home/dnwp/drop2/src/Test/Main.C, line 120.11

(gdb) info br
Num Type           Disp Enb Address    What
1   breakpoint     keep y   0x542fa00053fde4 in main
at /home/dnwp/drop2/src/Test/Main.C:120

when I execute the program, I get the following error.

Cannot insert breakpoint 1.
Error accessing memory address 0x53fde4: I/O error.
The same program may be running in another process.

But no other process is executing this particular binary.

I'm also having a problem with backtracing coredumps (pls refer earlier posting). Any idea what's wrong here?

thanks

Dhammika

Attachment: Disclaimer_Message.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]