The bash does not support the '@' and '#' characters.
After I type the '#' character on bash, the cursor backspace one character.
After I type the '@' character on bash, the cursor goes back to the beginning of the input shell and the rest of input disappear.
e.g.
before I type the '#'...
I want to find out where (which line) my C program core dump.
How to do that?
One approach is to use stack trace of the mdb debugger, but I does not understand its output completely.
e.g.
$ CC -g coredump_fn.c
$ a.out
hello
Segmentation Fault (core dumped)
$ mdb core
Loading modules: [...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.