Find the answer to your Linux question:
Results 1 to 2 of 2
hi am trying to do testing of gdb with arm kzm target. while doing mi-threads.exp test, the threads are not creating properly while giving continue command in gdb first thread ...
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    11

    problem in -thread-list-ids in mi-pthreads.exp test

    hi
    am trying to do testing of gdb with arm kzm target. while doing mi-threads.exp test, the threads are not creating properly while giving continue command in gdb

    first thread will create and it execute the continue command, and the remaining 4 threads will be in pending stage and once we give the -thread-list-ids command, the remaining threads info will come in gdb prompt and the output of -thread-list-ids

    see this example:
    -thread-list-ids^M
    ~"[New Thread 16682]\n"^M
    ~"[New Thread 16683]\n"^M
    ~"[New Thread 16684]\n"^M
    ~"[New Thread 16685]\n"^M
    ^done,thread-ids={thread-id="5",thread-id="4",thread-id="3",thread-id="2",thread-id="1"},number-of-threads="5"

    the expected output is:
    thread-ids={thread-id="5",thread-id="4",thread-id="3",thread-id="2",thread-id="1"},number-of-threads="5"

    because of thread information coming at first, the test case is FAILING, can u tell me how to solve this issue ..

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,975
    You should probably move this posting to the Linux Programming and Scripting forum.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...