Re: debugging enabled? (was Re: KGDB command line options not working for kernel 2.6.32)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Spiro

On Tue, Jun 28, 2011 at 01:40, Spiro Trikaliotis
<ml-kernelnewbies@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> On the other hand: With optimisations disabled, the kernel behaves
> differently than it would with optimisations. That's why many people
> prefer to keep them switched on, and only disable them partially if
> really, really needed.

I agree...even I still have mixed conclusion whether to go or no go
with -O when dealing with -O and debugging. I guess one of the biggest
offenders are: inlining, dead code (and symbols) elimination,
substitution with specific machine specific opcode (not really sure,
is -march has relationship with -O)...

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux