Xmethods questions

Salvatore Lionetti <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAHa4+5NFpxoqa-ZE3TqUNJYs5pK-R6ddwAL1kFbUHxnbS__v0A@mail.gmail.com>
Hi,

I'm working on gdb-7.11.1 targeted for x86_64 and sparc-rtems

My question: is it possible to also 'replace' normal C methods?

I've started with the example suggested here:

https://sourceware.org/gdb//onlinedocs/gdb/Writing-an-Xmethod.html

but it seems to me that no overload take place. Here the
config/files/result for arch x86_64-pc-linux-gnu (host):

https://gist.github.com/anonymous/d9bc54950b9c55b89db6832c83aa6549

I've also trouble with the testsuite/gsb.python/py-xmethod.exp but for
now I think it's sufficient.

Thanks for your attention
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.