[lldb-dev] Process::SyncIOHandler(), everyone please try out the following patch

Ed Maste emaste at freebsd.org
Thu Apr 9 07:19:31 PDT 2015


On 8 April 2015 at 16:35, Greg Clayton <gclayton at apple.com> wrote:
>
> This one removes the m_iohandler_sync completely and coordinates async IO with the IOHandlers. Let me know if this works any better for freebsd, linux or windows.

Problem persists with this version on FreeBSD, unfortunately:

...
   165
   166          (void)setlocale(LC_ALL, "");
(lldb) step
(lldb) Process 77191 stopped
* thread #1: tid = 100853, 0x00000000004023fa ls`main(argc=1,
argv=0x00007fffffffe588) + 42 at ls.c:166, stop reason = step in
    frame #0: 0x00000000004023fa ls`main(argc=1,
argv=0x00007fffffffe588) + 42 at ls.c:166
   163          char *bp = tcapbuf;
   164  #endif
   165
-> 166          (void)setlocale(LC_ALL, "");
   167
   168          /* Terminal defaults to -Cq, non-terminal defaults to -1. */
   169          if (isatty(STDOUT_FILENO)) {
step
...



More information about the lldb-dev mailing list