Looking for an equivalent of "gdb return"

Hello,

I'm moving from GDB to LLDB, and while I managed to perform almost everything I need with LLDB, I miss one GDB feature.

The return command:

help return
  Make selected stack frame return to its caller.
  Control remains in the debugger, but when you continue
  execution will resume in the frame above the one now selected.
  If an argument is given, it is an expression for the value to return.

Is there some equivalent in LLDB ?

Thanks

-- Jean-Daniel

Hello,

I'm moving from GDB to LLDB, and while I managed to perform almost everything I need with LLDB, I miss one GDB feature.

The return command:

help return
  Make selected stack frame return to its caller.
  Control remains in the debugger, but when you continue
  execution will resume in the frame above the one now selected.
  If an argument is given, it is an expression for the value to return.

Is there some equivalent in LLDB ?

Unfortunately, no. Feel free to file an enhancement request.

Which bug reporter do you recommend for such request ? llvm bug reporter or Apple bug reporter ?

-- Jean-Daniel

Hello,

I'm moving from GDB to LLDB, and while I managed to perform almost everything I need with LLDB, I miss one GDB feature.

The return command:

help return
  Make selected stack frame return to its caller.
  Control remains in the debugger, but when you continue
  execution will resume in the frame above the one now selected.
  If an argument is given, it is an expression for the value to return.

Is there some equivalent in LLDB ?

Unfortunately, no. Feel free to file an enhancement request.

Which bug reporter do you recommend for such request ? llvm bug reporter or Apple bug reporter ?

Apple would get the most attention from the LLDB team here at Apple.

OK.
Filled as rdar://11543846

-- Jean-Daniel

Hi,

I had a small extension that implemented this command (of course it comes with lots of problems in the presence of highly optimized code). I can update the patches and submit them for review.

Regards,

  Filipe