Re: [lldb-dev] Is there a just-my-code like debugging mode for LLDB?

2020-05-14 Thread Pavel Labath via lldb-dev
On 14/05/2020 03:50, Emre Kultursay via lldb-dev wrote:
> One thing I want to try is "settings set
> plugin.process.gdb-remote.use-libraries-svr4 true".

Isn't that the default? The reason this setting was added was so we
could test the !svr code path without forcibly disabling xml support
(and possibly workaround any svr issues). However, having it on as a
default definitely makes sense?

pl
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] Is there a just-my-code like debugging mode for LLDB?

2020-05-14 Thread Jaroslav Sevcik via lldb-dev
The svr4 support seems to be off by default:
https://github.com/llvm/llvm-project/blob/2974b3c566d68f1d7c907f891137cf0292dd35aa/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemoteProperties.td#L14

It would definitely make sense to turn it on by default.

- J.


On Thu, May 14, 2020 at 10:13 AM Pavel Labath via lldb-dev <
lldb-dev@lists.llvm.org> wrote:

> On 14/05/2020 03:50, Emre Kultursay via lldb-dev wrote:
> > One thing I want to try is "settings set
> > plugin.process.gdb-remote.use-libraries-svr4 true".
>
> Isn't that the default? The reason this setting was added was so we
> could test the !svr code path without forcibly disabling xml support
> (and possibly workaround any svr issues). However, having it on as a
> default definitely makes sense?
>

> pl
> ___
> lldb-dev mailing list
> lldb-dev@lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>


-- 

Jaroslav Sevcik |  Software Engineer |  ja...@google.com |

Google Germany GmbH
Erika-Mann-Str. 33
80636 München

Geschäftsführer: Paul Manicle, Halimah DeLaine Prado | Registergericht und
-nummer: Hamburg, HRB 86891 | Sitz der Gesellschaft: Hamburg

Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind,
leiten Sie diese bitte nicht weiter, informieren Sie den Absender und
löschen Sie die E-Mail und alle Anhänge. Vielen Dank.

This e-mail is confidential. If you are not the right addressee please do
not forward it, please inform the sender, and please erase this e-mail
including any attachments. Thanks.
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 45920] lldb wrongly stopped at a statement within a nested for statement by si (step instruction)

2020-05-14 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=45920

Jeremy Morse  changed:

   What|Removed |Added

 Blocks||38768
Version|unspecified |trunk
  Component|All Bugs|LLVM Codegen
   Assignee|lldb-dev@lists.llvm.org |unassignedclangbugs@nondot.
   ||org
 Status|NEW |CONFIRMED
 CC||dblai...@gmail.com,
   ||jeremy.morse.l...@gmail.com
   ||, neeil...@live.com,
   ||paul.robin...@am.sony.com,
   ||richard-l...@metafoo.co.uk,
   ||v...@apple.com
Product|lldb|clang

--- Comment #1 from Jeremy Morse  ---
Thanks for the bug report -- could you include the command line used to compile
the source too please. Assuming -O0, this looks very similar to bug 45676 and
its related bug 19864 -- clang is labelling the exit of the inner loop with
what we would consider the wrong location:

> for.end:  ; preds = %for.cond1
>   br label %for.inc7, !dbg !51

> 51 = !DILocation(line: 8, column: 16, scope: !29)

Where line 8 is the line with "return 1;". I can replicate this with gdb, so
switching component to clang.


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=38768
[Bug 38768] [meta][DebugInfo] Umbrella bug for poor debug experiences
-- 
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


Re: [lldb-dev] Is there a just-my-code like debugging mode for LLDB?

2020-05-14 Thread Pavel Labath via lldb-dev
On 14/05/2020 11:56, Jaroslav Sevcik wrote:
> 
> The svr4 support seems to be off by
> default: 
> https://github.com/llvm/llvm-project/blob/2974b3c566d68f1d7c907f891137cf0292dd35aa/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemoteProperties.td#L14
> 
> It would definitely make sense to turn it on by default.

Done (deea174ee5).

pl
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev