Thanks for the detailed report, Thomas. It's been a while since cgdb had a 64-bit related issue, but there may still be one. I've got cgdb running on a Linux Mint system personally (Nadia), 64-bit, with ncurses 5.9, and it works fine. So whatever the issue here, it is either triggered by your usage pattern or a subtle difference in our systems... Either way it's a bug we need to fix. I'll try to look at it later today.
Can you let me know:
* What version of readline do you have?
* Do you have any interesting inputrc settings?