This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fwd: some questions about kernel debugging


loody <miloody@gmail.com> writes:

> I write a sample program and compile it with -O1 optimized.
> (such as gcc -g -O1 -o test test.c)
> And I can see the local variable.
> I attach my test program, kernel config and compile flags for your reference.
> appreciate your help,

Thanks, but it seems like you are showing us a case which works.  Are
you asking why this works and the kernel doesn't work?  Can you show us
a case which doesn't work?

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]