[lldb-dev] [Bug 45669] New: I would like to control the remote communication port

2020-04-25 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=45669

Bug ID: 45669
   Summary: I would like to control the remote communication port
   Product: lldb
   Version: unspecified
  Hardware: All
OS: All
Status: NEW
  Severity: enhancement
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: maxime.roussinbelan...@gmail.com
CC: jdevliegh...@apple.com, llvm-b...@lists.llvm.org

Hello!

I would like to debug my target (which is at home), from my remote work
computer while being at home through a VPN.

>From home I connect to my workstation through the VPN and create an ssh tunnel 
> 
(ssh config: `RemoteForward localhost:1 TARGET_LAN_IP:1`).

But when I try to attach to the running application on the target it
dynamically allocates a port and tries to reach the server to that port.
Unfortunately, this is not possible because of the ssh tunnel. I can however do
: `platform connect connect://localhost:1`, but I cannot go into debugging.

SSH tunnelling doesn't support, as far as I know, ranges of RemoteForward
ports.

Is there a way to control the port that is dynamically allocated? I found a
"similar" issue of 4 years ago: (I'm not inside a container, but the idea is
the same)

http://lists.llvm.org/pipermail/lldb-dev/2016-June/010616.html

I'm wondering if the situation is still the same and the port cannot be set
manually?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 45675] New: source/Plugins/Process/Darwin/CFUtils.h:37:15: error: No 'return' statement

2020-04-25 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=45675

Bug ID: 45675
   Summary: source/Plugins/Process/Darwin/CFUtils.h:37:15: error:
No 'return' statement
   Product: lldb
   Version: 10.0
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: dcb...@hotmail.com
CC: jdevliegh...@apple.com, llvm-b...@lists.llvm.org

source/Plugins/Process/Darwin/CFUtils.h:37:15: error: No 'return' statement in
non-void function causes undefined behavior. [operatorEqMissingReturnStatement]

Source code is

  CFReleaser &operator=(const CFReleaser ©) {
if (copy != *this) {
  // Replace our owned pointer with the new one
  reset(copy.get());
  // Retain the current pointer that we own
  if (get())
::CFRetain(get());
}
  }

Something of a mystery how that ever compiled.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev