1. 27 Feb, 2013 2 commits
    • Vineet Gupta's avatar
      ARC: Fixup the current ABI version · 17139053
      Vineet Gupta authored
      The upstream kernel ABI (v3) is different from current out-of-tree (v2):
      * no-legacy-syscalls
      * user_regs_struct layout has changed
      
      So we rev up the ABI version
      Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
      17139053
    • Vineet Gupta's avatar
      ARC: gdbserver using regset interface possibly broken · 5dc99e50
      Vineet Gupta authored
      ptrace regset interface relies on ELF_NGREG for ceiling the size of user
      request. So any larger request (even if legit)  would be clipped.
      
      The existing def of ELF_NGREG didn't use user_regs_struct and was
      technically one placeholder short (stop_pc) - although the current code
      would still work because pt_regs includes a bunch of extra fields,
      making
            ELF_NGREG >= sizeof(struct user_regs_struct)/sizeof(long)
      
      But we need to remove this ambiguity, specially since pt_regs should NOT
      be directly associated with with anything userspace-ish.
      Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
      5dc99e50
  2. 26 Feb, 2013 2 commits
  3. 15 Feb, 2013 36 commits