1

pyclewn で gdb バージョンを取得するにはどうすればよいですか?

[mehoggan@localhost emulator]$ pyclewn
gdb  CRITICAL response to "show version":
***START***
=thread-group-added,id="i1"
~"GNU gdb (GDB) Fedora (7.6-32.fc19)\n"
~"Copyright (C) 2013 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\nand \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-redhat-linux-gnu\".\nFor bug reporting instructions, please see:\n"
~"<http://www.gnu.org/software/gdb/bugs/>.\n"
***END***


vim  CRITICAL 
Exception in pyclewn:

<class 'clewn.ClewnError'>
"cannot find the gdb version"
source line: "raise ClewnError('cannot find the gdb version')"
at /usr/lib64/python2.7/site-packages/clewn/gdb.py:340

pyclewn aborting...


[mehoggan@localhost emulator]$ gdb --version
GNU gdb (GDB) Fedora (7.6-32.fc19)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
4

2 に答える 2

1

同様の問題が Suse で報告されています。

http://sourceforge.net/p/pyclewn/bugs/119/

この問題は現在、pyclewn 開発ブランチで修正されており、Fedora (7.6-32.fc19) の問題も修正されています。したがって、両方の問題は、次の pyclewn リリース 1.11 で修正されます。

Fedora と Suse の両方の gdb ディストリビューションには、GNU コーディング標準に準拠していない gdb ヘッダーがあります。Fedora バグトラッカーに発行されたバグを参照してください:

https://bugzilla.redhat.com/show_bug.cgi?id=1004949

于 2013-09-05T20:36:46.200 に答える