When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
5 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
@tawny birch
Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.
what expression are you passing?
(gdb) run 1+2/3*6
Starting program: a.out 1+2/3*6
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Parsed NUMBER: 1
Parsed operator
Parsed NUMBER: 2
Parsed operator
Parsed NUMBER: 3
Parsed operator
Parsed NUMBER: 6
Parsed end of input
Result: 1
[Inferior 1 (process 24888) exited normally]
(gdb)