public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [gprofng] Parsing of function definitions fails
@ 2022-03-21 16:17 Thomas Gruber
  2022-03-21 17:51 ` Vladimir Mezentsev
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Gruber @ 2022-03-21 16:17 UTC (permalink / raw)
  To: binutils

Hi,

A colleague of mine reported problems when specifying C++ functions in 
gp-display-text:

# the function 'csr_spmv_kernel<double, int>' exists

(gp-display-text) fsingle csr_spmv_kernel<double, int>
Error: Invalid number entered: int>
Error: Invalid number entered: int>
Error: No function with given name `csr_spmv_kernel<double,' found.
(gp-display-text) fsingle csr_spmv_kernel<double,int>
Error: No function with given name `csr_spmv_kernel<double,int>' found.

So, spaces in the template parameter list seem to be bad. Moreover, '*' 
in the function parameter list seem to be not parsed properly:

(gp-display-text) source csr_spmv_kernel<double,int>(long,long,int 
const*,int const*,double const*,double const*,double*)
Warning: extra arguments to source command, line 2
Error: Invalid number entered: const*,int
Error: Invalid number entered: const*,int
Error: No function or file with given name 
`csr_spmv_kernel<double,int>(long,long,int' found.


Best,
Thomas


-- 
Thomas Gruber
Software & Tools
Erlangen National High Performance Computing Center (NHR@FAU)
Friedrich-Alexander University Erlangen-Nürnberg
Martensstraße 1, 91058 Erlangen, Germany
mailto:Thomas.Gruber@fau.de
https://hpc.fau.de/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-22 18:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-21 16:17 [gprofng] Parsing of function definitions fails Thomas Gruber
2022-03-21 17:51 ` Vladimir Mezentsev
2022-03-22 16:51   ` Thomas Gruber
2022-03-22 18:46     ` Vladimir Mezentsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).