debugging source with extended characters

"Terry Ebaugh" <[email protected]>
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <[email protected]>
Hi all,

I'm new to using ddd.  I checked google and the ddd website but I couldnt
find an answer to my question.

I have a source file that has ISO-8859-1 characters in it (like the british
pound symbol)  When I load my program into ddd it will only display the
source code up to the point where it first encounters one of the characters
above A0 in the character set.  Its hard to set break points without seeing
the rest of my source code.  Does anyone know how I can get around this?

I can view the characters just fine in vi.  Here is a sample of the code
although I'm unsure if it will come across in email.

 if ( strcasecmp(el, "dataset") == 0) {
         printf("£%s¦%d¦%s:%s", host, cur_file_num, version, el);
         for (i = 0; attr[i]; i += 2) {

ddd stops displaying the source once it sees the first character after the "
in the printf.

tebaugh@linux-1pke:/home/tebaugh/.ddd> ddd --check-configuration
Checking for X11 library directory... /usr/X11R6/lib/X11
Checking for XKeysymDB... /usr/X11R6/lib/X11/XKeysymDB
No configuration problems found.

GDB is set for ISO-8859-1 in host and target settings.

Can anyone help out a ddd newbie?

_______________________________________________
Ddd mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ddd
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.