[PATCH] [LLDB][MIPS] Add LinuxSignals for mips64 and change trap opcode for mips64el.

Sagar Thakur Sagar.Thakur at imgtec.com
Tue Apr 7 06:32:00 PDT 2015


Hi @emaste,

> this could do with an explanation of why MIPS needs special signal handling


MIPS needs special signal handling because the signal numbers defined in asm/signal.h in kernel headers for mips are different from signal numbers defined in x86 kernel headers.
Therefore while remote debugging, the remote server(mips64) sends T packets with signals numbers that are defined for mips in signal.h, which is interpreted incorrectly by the client side(x86_64).


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8856

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list