Hi,
In pro64 0.12.
I have a question of how to debug the "inline" program alone.
I set teh LD_LIBRARY_PATH, LD_LIBRARYN32_PATH variables.
Following is my process to use gdb:
gdb ../lib/gcc-lib/ia64-sgi-linux/sgicc-1.0/inline
> set args -LIST:source=off:notes=off -PHASE:c
-O0 -TENV:PIC -m1 -INTERNAL:return_val=on -INTERNAL:mldid_mstid=on
-INTERNAL:return_info=on -INLINE:must=callit:list -TARG:abi=i64
-fB,../ccB.k5XNKH.pengzhao -fI,../ccI.nxMoS6.pengzhao test.c >(gdb) l 359
364 main (INT argc, char **argv) 365 { 366 INT32 ecount, local_ecount,
local_wcount; 367 368 ecount = 0;
>(gdb) b 368
Breakpoint 1 at 0x807b62e: file ../../ipa/inline/inline_driver.cxx, line
368.
>r
Starting program:
/nue/usr/sakwatamau/brule12/grad/pengzhao/temp/../lib/gcc-lib/ia64-sgi-linux/sgicc-1.0/inline
-LIST:source=off:notes=off -PHASE:c -O0 -TENV:PIC -m1
-INTERNAL:return_val=on -INTERNAL:mldid_mstid=on -INTERNAL:return_info=on
-INLINE:must=callit:list -TARG:abi=i64 -fB,../ccB.k5XNKH.pengzhao
-fI,../ccI.nxMoS6.pengzhao test.c
Then the gdb will halt there still. Nothing happens. I noticed that in
0.13 document, there is some texts decribing how to debug BE DSO's (using
be_debug). Is this problem also dso-related? thank you.
When I use gdb to trace from gcc to inlining, the problem also
appears. That is, I cannot trace into the inliner. I forgot what is
the error message.
Can sb else explain sth to me?
Thank you.
|