Hi, Has anyone else seen this problem with gdb? I had originally posted it to bug-gdb@gnu.org, but got no useful response. Original post: I'm writing a package that accepts arbitrary character strings from the command line, and I'm trying to debug it with gdb. When run without gdb the command line string is passed directly to my program, but when I tell gdb to pass it, gdb insists on interpreting it as a filename, and won't pass it through. Example without gdb: ================================================= ./testtoken ' (name testtoken endchar \) < testtoken.adb | (trace) count lines|cons ' Input string is: ....+....1....+....2....+....3....+....4....+....5....+....6 (name testtoken endchar \) < testtoken.adb | (trace) count lines cons Before: TokenFrom = 1 TextLeft = 71 After: TokenFrom = 1 TextLeft = 71 Token 1 is: ' (name testtoken endchar \) < testtoken.adb | (trace) count lines|cons ' End of tokens reached. ================================================= Example with gdb: ================================================= gdb testtoken --args ' (name testtoken endchar \) < testtoken.adb | (trace) count lines|cons ' GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-suse-linux"... (name testtoken endchar \) < testtoken.adb | (trace) count lines cons : No such file or directory. (gdb) ================================================= I have tried using the 'run PROGNAME ARGUMENTS...' method, but it gives me the same results. I have attached the source code and a terminal session showing exactly what I have tried, so that you can (presumably) duplicate my results. Perhaps I am misunderstanding somehow the proper gdb syntax to be used, or have wrong versions of tools? Leslie