Re: [RFC v2] MIPS: R5900: Workaround exception NOP execution bug (FLX05)

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

 



Hi Maciej,

>  The likely cause is my development GDB builds use `--enable-targets=all' 
> and your GDB configuration probably does not include secondary targets.  
> Still I find it wrong that an incorrect BFD target is chosen, and then 
> that an override does not work either (and especially that accessing 
> memory in a core file seems completely broken in recent GDB versions).

Please let me know if anything more is needed to reproduce the problem.

>  Hmm, I have mixed feelings about it as RDHWR is not an R5900 instruction.  
> Likewise we don't disassemble it, and neither we do LL, SC, SYNC, etc. say 
> with `mips:3000' even though Linux will emulate them.  I feel this kind of 
> stuff does not belong to instruction aliases either (compare `objdump' 
> disassembly of any serious program with and without `-M no-aliases').
> 
>  I do recognize value for users here though, so perhaps an extra `-M' 
> option would be due here, such as `-M linux-emulation' or suchlike, to 
> cover all emulated instructions.  I'll think about it.  Please file an 
> enhancement request in sourceware.org Bugzilla if it's something you are 
> keen having (feel free to cc me; I'm <macro@xxxxxxxxxxxxxx> there).

Sure, I think it would be a helpful feature:

https://sourceware.org/bugzilla/show_bug.cgi?id=22877

Fredrik


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux