[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | Digital Ladebug debugger |
|
Moderator: | TLE::LUCIA |
|
Created: | Fri Feb 28 1992 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 969 |
Total number of notes: | 3959 |
840.0. "dxladebug breakpoint buttons don't work with shareable objects" by CXXC::MJHANS (Matthew Hanselman, DEC C) Fri Feb 14 1997 10:58
dxladebug 4.0-30
The breakpoint buttons next to the source don't work when you're within a
shareable object file.
Follow the procedure below. Within main(), the breakpoints next to the source
work fine. If you step in to share(), the breakpoint buttons simply flash when
you press them.
Since all of the development compilers are linked this way, this really hampers
development efforts.
- Matt
---------------
/* share.c */
#include <stdio.h>
int share()
{
printf ("In share\n");
return 0;
}
---------------
/* main.c */
#include <stdio.h>
extern int share();
main()
{
printf ("About to call share\n");
share();
printf ("Called share\n");
return 0;
}
---------------
cc -g -O0 -c share.c
ld -expect_unresolved "*" -taso -o share.so -shared share.o -lots -lc
rm share.o
cc -g -O0 -taso -call_shared -rpath ./ main.c share.so
T.R | Title | User | Personal Name | Date | Lines
|
---|