Submitter | Simon Marchi (Code Review) |
---|---|
Date | Nov. 29, 2019, 10:25 a.m. |
Message ID | <gerrit.1575023121000.I771017e7afbbaf4809e2238a9b23274f55c61f55@gnutoolchain-gerrit.osci.io> |
Download | mbox | patch |
Permalink | /patch/36372/ |
State | New |
Headers | show |
Comments
Andrew Burgess has posted comments on this change. Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/735 ...................................................................... Patch Set 1: Code-Review+2 LGTM.
Patch
diff --git a/gdb/valops.c b/gdb/valops.c index 8af53de..e3fc2dc 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -3039,10 +3039,15 @@ "%s # of parms %d\n", functions[ix]->demangled_name (), (int) parm_types.size ()); - for (jj = 0; jj < args.size () - static_offset; jj++) + + fprintf_filtered (gdb_stderr, + "...Badness of length : {%d, %d}\n", + bv[0].rank, bv[0].subrank); + + for (jj = 1; jj < bv.size (); jj++) fprintf_filtered (gdb_stderr, - "...Badness @ %d : %d\n", - jj, bv[jj].rank); + "...Badness of arg %d : {%d, %d}\n", + jj, bv[jj].rank, bv[jj].subrank); } if (oload_champ_bv->empty ())