This is the mail archive of the mailing list for the Archer project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Archer in Cygwin help

2009/5/27 Tom Tromey <>:
>>>>>> "Sreejith" == Sreejith ?<> writes:
> Sreejith> I tried executing
> Sreejith> gdb.libstdcxx.v6.printers.register_libstdcxx_printers(gdb.get_current_objfile())
> Sreejith> after importing libstdcxx.v6.printers as discussed in the post. But
> Sreejith> doesn't work as well.
> I think that ought to work.
> After doing that try:
> ? ?python print gdb.pretty_printers

That gives the following output:

$ ./gdb.exe ../../src/a.exe
GNU gdb (GDB)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
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 "i686-pc-cygwin".
For bug reporting instructions, please see:
(gdb) python import gdb.libstdcxx.v6.printers
(gdb) gdb.libstdcxx.v6.printers.register_libstdcxx_printers(gdb.get_current_objfile())
Undefined command: "gdb".  Try "help".
(gdb) python gdb.libstdcxx.v6.printers.register_libstdcxx_printers(gdb.get_current_objfile())
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'get_current_objfile'
Error while executing Python code.
(gdb) python print gdb.pretty_printers
[<function lookup_function at 0x7fec33ac>]

Is this the expected output?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]