This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/15559] Method call and calling convention
- From: "ssbssa at yahoo dot de" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 27 Feb 2014 19:02:13 +0000
- Subject: [Bug c++/15559] Method call and calling convention
- Auto-submitted: auto-generated
- References: <bug-15559-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=15559
--- Comment #15 from Domani Hannes <ssbssa at yahoo dot de> ---
Hello asmwarrior
Yes, looks like my strategy doesn't work in every situation.
find_pc_function() can fail (maybe because of some missing debug information?),
then it just stops looking.
A minimal_symbol would still be available, but it's not really useful for this
situation.
I looked at your code again as well.
find_pc_symtab(find_function_addr(function,NULL)) would work as well, so we
don't need that global i386_windows_build_gt_gcc46.
But I found no way to locally find out if it's a static function.
There is function->type->main_type->flag_static, but it's always 0 (and as far
as I can tell not used).
--
You are receiving this mail because:
You are on the CC list for the bug.