Article View: gnu.gcc.help
Article #41427A tiny GDB problem I can't solve:
From: Deutscher
Date: Thu, 04 Apr 1996 00:00
Date: Thu, 04 Apr 1996 00:00
28 lines
1784 bytes
1784 bytes
Hi,
I was just wondering how I can pass a hashmark (also pound sign in the US)
as argument to gdb. I was trying to debug this
a.out -! -# -x test.file
where the sources are not my work, so I'd rather not mess with them.
As it happens, the -# is used. Now, I tried
gdb ./a.out -! -# -x test.file (args get ignored)
(gdb) set args -! -# -X test.file (all after the # is ignored)
(gdb) set args -! -\# -X test.file (all after the # is ignored)
(gdb) set args -! -\\# -X test.file (all after the # is ignored)
(gdb) set args -! -\\\# -X test.file (all after the # is ignored)
So -- is there any way to pass that one? (Oh, I tried a variety of
qutation marks around the args, the # and all that, too. maybe i didn't
hit the right combination? Couldn't find anything in the manual, either.)
Kind regards, Stefan
==========================================================================
Stefan A. Deutscher, sad@utk.edu, (001)-423-[522-7845|974-7838|574-5897]
home^ UTK^ ORNL^
==========================================================================
If there is software you'd like to have in a native version, visit the:
OS/2 E-mail Campaign Page http://www.andrews.edu/~boyko/email.html
--------------------------------------------------------------------------
Technical Details
Message-ID:
<4k1g6h$qq0@gaia.ns.utk.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,5894728073c92a4b,start X-Google-Attributes: gid11318c,public From: sad@utkux.utcc.utk.edu (Deutscher) Subject: A tiny GDB problem I can't solve: Date: 1996/04/04 Message-ID: <4k1g6h$qq0@gaia.ns.utk.edu> X-Deja-AN: 145844683 organization: University of Tennessee, Knoxville newsgroups: gnu.gcc.help