Loading ...
Sorry, an error occurred while loading the content.

54413Re: vim 7.2 compiles fine on MSYS but it doesn't execute

Expand Messages
  • Dasn
    Jun 7, 2009
      > Breakpoint 1, set_termname (term=0xa0158c0 "msys") at term.c:1615
      > 1615 if (term_is_builtin(term))
      > (gdb) p term
      > $1 = (char_u *) 0xa0158c0 "msys"
      > (gdb) n
      > 1634 for (try = builtin_first ? 0 : 1; try < 3; ++try)
      > (gdb) p term
      > $2 = (char_u *) 0xa0158c0 "msys"
      > (gdb) n
      > 1639 if (try == 1)
      > (gdb) p term
      > $3 = (char_u *) 0xa0158c0 "msys"
      > (gdb) n
      > 1762 if (try == 2 && builtin_first && termcap_cleared)
      > (gdb) p term
      > $4 = (char_u *) 0xa0158c0 "msys"
      > (gdb) n
      > 1768 termp = find_builtin_term(term);
      > (gdb) p term
      > $5 = (char_u *) 0xa0158c0 "msys"
      > (gdb) n
      > 1769 if (termp->bt_string == NULL) /* did not find
      > it */
      > (gdb) p term
      > $6 = (char_u *) 0xa0158c0 "msys"
      > (gdb) n
      > 1779 if (try == 0) /* try external
      > one */
      > (gdb) p term
      > $7 = (char_u *) 0xa0158c0 "msys"
      > (gdb) n
      > 1780 continue;
      > (gdb) p term
      > $8 = (char_u *) 0xa0158c0 "msys"
      > (gdb) n
      > 1634 for (try = builtin_first ? 0 : 1; try < 3; ++try)
      > (gdb) p term
      > $9 = (char_u *) 0xa0158c0 "msys"
      > (gdb) n
      > 1639 if (try == 1)
      > (gdb) p term
      > $10 = (char_u *) 0xa0158c0 "msys"
      > (gdb) n
      > 1675 if ((error_msg = tgetent_error(tbuf, term)) == NULL)
      > (gdb) p term
      > $11 = (char_u *) 0xa0158c0 "msys"
      > (gdb) n
      > 1677 tp = tstrbuf;
      > (gdb) p term
      > $12 = (char_u *) 0x5b455c3d <Address 0x5b455c3d out of bounds>

      Anyway, I bet you would love the 'display' command of gdb. e.g:
      (gdb) display term
      (gdb) n
      ..

      --
      Dasn


      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Show all 15 messages in this topic