hi, 
   I get some problem like that. I want to trace into some other modules use "s", but 
I failed. 
   I write some module A, and  module B . The task created by module B called some 
function in module A.
   I compile both modules with -g  flag.
Does the debug module support multi-module debug?


----- Original Message ----- 
From: Pavel Andris <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 31, 2000 8:26 PM
Subject: [rtl] debugging a module


> Dear all,
> 
> I've tried to debug a large module put together from several source
> files.  The sources were compiled separately then linked together
> using "partial linking" (ld -r).
> 
> gdb commands work well on the basic source file (i.e. one where the
> debugged RT thread starts, it contains also init_module()). 
> 
> BUT, it is impossible to enter a different source file using gdb's
> step command. You may also set up a breakpoint on a function located
> in a different source file, but the execution does _not_ stop there.
> 
> Any idea what could be wrong?
> 
> Has anybody tried the same and found it working? Which version of
> RTL, gdb?
> 
> Regards,
> 
> pa
> 
> -- 
> ..........................................................................
> Pavel Andris                               | tel: +421 7 5941 2167
> Institute of Control Theory and Robotics   | fax: +421 7 5477 6045
> Slovak Academy of Sciences                 | 
> Dubravska cesta 9                          | e-mail: [EMAIL PROTECTED]
> SK - 842 37 Bratislava                     |
> Slovakia                                   |
> .........................................................................
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
> 
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to