>> I just got PPCBoot, Linux, RTLinux ported to a custom MPC860 board and have
>> one remaining problem. The application (ported from pSOS) is a bit large to
>> keep in
>> one source file. When I try to debug a module that is partially linked (ld
>> -r), however; gdb is unable to get line number information. To demonstrate
>> I split the
>> hello.c file into the following
>>
>did you try loading the symbols from the second file with the
>modaddsym macro from the .gdbinit (check rtlinux-3.0/debugger/.gdbinit at
>the end of the file)
>hofrat
There is only one module. I can modaddsym or load the symbols from the object
file 'hello.o'. In either case gdb complains
Single stepping until exit from function start_routine,
which has no line number information.
It is impossible to use multiple modules because some symbols are mutually
referenced (hello_debug for example).
-- [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/