Re: breakpoints in shared libraries

Michael Eager <[email protected]> Fri, 12 May 2023 10:49:21 -0700
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <[email protected]>
Hi Peter --

Thanks for using DDD.

What happens after DDD displays "Function "cudaDebug" not defined."?

I believe that DDD answers "no" to any y/n question from GDB without 
displaying it to the user.  You can verify this by looking for that 
message in ~/.ddd/log.

Please file a bug report at https://savannah.gnu.org/bugs/?group=ddd.
Be sure to specify what you think DDD should do in this case.

On 5/12/23 06:34, [email protected] wrote:
> 1 - Thank you for reviving ddd. I have missed it.
> 
> 2 - When I run gdb from the command line and try to set a break point 
> ("b cudaDebug") in a shared library, it responds with:
> 
> Function "cudaDebug" not defined.
> Make breakpoint pending on future shared library load? (y or [n])
> 
> When I run "b cudaDebug" in ddd at the "(gdb)" prompt, it just responds 
> with:
> 
> Function "cudaDebug" not defined.
> 
> I used the "--debugger" option of ddd to be sure I am using the same 
> version of gdb (13.1).
> 
> Is this expected? Will it be changed in the future?
> 
> Regards,
> Peter
> 
> Peter Epstein
> Siemens Digital Industries Software
> 5114 Raymond Rd.
> Madison WI 53711 USA
> Office: +1 (608) 271-1219
> Mobile: +1 (608) 571-8413
> [email protected] <mailto:[email protected]>
> www.siemens.com/plm <http://www.siemens.com/plm>

-- 
Michael Eager