aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-typeprint.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-11-13 00:28:25 +0000
committerFred Fish <fnf@specifix.com>1996-11-13 00:28:25 +0000
commit637e7c56ac92193351ae8ce02c1be0dd8150fe86 (patch)
tree8eff01e0266ac09a97d739d3b5c5d93156faf3e9 /gdb/c-typeprint.c
parent08af8a33128aea8c0921581597a805f48437af9b (diff)
downloadgdb-637e7c56ac92193351ae8ce02c1be0dd8150fe86.zip
gdb-637e7c56ac92193351ae8ce02c1be0dd8150fe86.tar.gz
gdb-637e7c56ac92193351ae8ce02c1be0dd8150fe86.tar.bz2
(Fix from Jim Wilson)
* c-typeprint.c (cp_type_print_method_args): Pass -1 for show in recursive call to type_print.
Diffstat (limited to 'gdb/c-typeprint.c')
-rw-r--r--gdb/c-typeprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c
index a7a5341..03665a2 100644
--- a/gdb/c-typeprint.c
+++ b/gdb/c-typeprint.c
@@ -165,7 +165,7 @@ cp_type_print_method_args (args, prefix, varstring, staticp, stream)
i = !staticp; /* skip the class variable */
while (1)
{
- type_print (args[i++], "", stream, 0);
+ type_print (args[i++], "", stream, -1);
if (!args[i])
{
fprintf_filtered (stream, " ...");