If the identifiers thread, in, at, and if occur within the expression in the following commands, the Debugger treats them as keywords unless they are enclosed within parentheses (()).
For example, if your program has thread defined as an integer, enter the following command to inspect the first thread levels of the stack.
For example:
(idb) where 3
>0 0x0804868e in c() "src/x_whereAmbigParse.c":7
#1 0x080486ad in b() "src/x_whereAmbigParse.c":12
#2 0x080486bf in a() "src/x_whereAmbigParse.c":13
(idb)
(idb)
(idb)
(idb) where three(3)
>0 0x0804868e in c() "src/x_whereAmbigParse.c":7
#1 0x080486ad in b() "src/x_whereAmbigParse.c":12
#2 0x080486bf in a() "src/x_whereAmbigParse.c":13
(idb)
(idb)
(idb)
(idb) where thread (1)
Stack trace for thread 1
>0 0x0804868e in c() "src/x_whereAmbigParse.c":7
#1 0x080486ad in b() "src/x_whereAmbigParse.c":12
#2 0x080486bf in a() "src/x_whereAmbigParse.c":13
#3 0x080486da in main() "src/x_whereAmbigParse.c":17
#4 0xb739e748 in __libc_start_main(...) in /lib/tls/libc-2.3.2.so
#5 0x08048551 in _start(...) in /home/user/examples/x_whereAmbigParse
(idb)
(idb)
(idb)
(idb) where three(3) thread (1)
Stack trace for thread 1
>0 0x0804868e in c() "src/x_whereAmbigParse.c":7
#1 0x080486ad in b() "src/x_whereAmbigParse.c":12
#2 0x080486bf in a() "src/x_whereAmbigParse.c":13
(idb)
(idb)
(idb)
(idb) where (thread(3))
>0 0x0804868e in c() "src/x_whereAmbigParse.c":7
#1 0x080486ad in b() "src/x_whereAmbigParse.c":12
#2 0x080486bf in a() "src/x_whereAmbigParse.c":13
(idb)
(idb)
(idb)