Disambiguating symbols by module

Alexander Miloslavskiy via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
Hello,

I spend much time debugging Java with GDB.

In order to obtain current Java callstack, I do this:
(gdb) call (void)ps()

The problem is, the function's name is too short and gdb confuses it 
with a variable in a different library:

(gdb) info var ^ps$
File ../../cipher/blowfish.c:
256:	static const u32 ps[18];

(gdb) info function ^ps$
Non-debugging symbols:
0x00007ffff6d7a3b0  ps

Here, the symbol I want is a non-debugging symbol. This also means that 
I can't disambiguate it by the source file name.

Is there a syntax to disambiguate the symbol?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.