[Lldb-commits] [PATCH] D63667: Support __kernel_rt_sigreturn in frame initialization

Jan Kratochvil via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 27 13:51:39 PDT 2019


jankratochvil added a comment.

Shouldn't you add also symbol `__restore_rt` (Fedora 30 x86_64)?

  (gdb) bt
  #0  handler (sig=6) at sigtest2.c:7
  #1  <signal handler called>
  #2  __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
  #3  0x00007ffff7dea895 in __GI_abort () at abort.c:79
  #4  0x000000000040118e in abort_caller () at sigtest2.c:12
  #5  0x00000000004011c2 in main () at sigtest2.c:23
  (gdb) frame 1
  #1  <signal handler called>
  (gdb) disas
  Dump of assembler code for function __restore_rt:
  => 0x00007ffff7dfff00 <+0>:	mov    $0xf,%rax
     0x00007ffff7dfff07 <+7>:	syscall 
     0x00007ffff7dfff09 <+9>:	nopl   0x0(%rax)
  End of assembler dump.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63667/new/

https://reviews.llvm.org/D63667





More information about the lldb-commits mailing list