Date: Wed, 10 Jul 1996 08:48:24 +0200 (IST) From: Eli Zaretskii To: Gilles Bouthenot Cc: djgpp AT delorie DOT com Subject: Re: req help about fsdb and variable symbols In-Reply-To: <1.5.4.32.19960709232421.0067ee50@msrwww.fc-net.fr> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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?