Breakpoints not working in Solaris
Dhammika Pathirana
dhammikap@millenniumit.com
Sun Jun 29 17:34:00 GMT 2003
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
-------------- next part --------------
----------------------------------------- (on postoffice)
The information contained in this email is confidential and is meant to be read only by the person to whom it is addressed.Please visit http://www.millenniumit.com/legal/email.htm to read the entire confidentiality clause.
---------------------------------------------------------
More information about the Gdb
mailing list