Mail Archives: djgpp/1996/07/10/01:54:06
On Wed, 10 Jul 1996, Gilles Bouthenot wrote:
> main()
> {
> unsigned byte *fname;
>
> gets(fname);
> puts(fname);
> }
[snip]
> It seems that fsdb can't access to variables with their symbol names. (gdb
> work fine).
Prepend an underscore to any name of a C identifier, and FSDB will
recognize it (e.g. use `_fname' in the above program instead of `fname').
FSDB is NOT a source-level debugger, so it only knows the symbols in
their assembly-language format. If you debug a C++ program, you will
have to know how the C++ compiler mangled the name of the symbol to use
it with FSDB.
> I didn't manage to find _any_ doc about fsdb.
Did you press that F1 key inside FSDB?
- Raw text -