Giter Site home page Giter Site logo

cgdb not showing source code about cgdb HOT 5 CLOSED

cgdb avatar cgdb commented on June 17, 2024
cgdb not showing source code

from cgdb.

Comments (5)

mmueller avatar mmueller commented on June 17, 2024

I'm not able to reproduce this. Tested with cgdb (current master) compiled from source, Ubuntu 12.04 64-bit, and gdb-7.5-0ubuntu2. Also tested with gdb-7.5.1 compiled from source. cgdb behaved correctly in both cases.

Do you have any additional information you can provide? In particular, the log files from ~/.tgdb may be informative.

from cgdb.

kaisoz avatar kaisoz commented on June 17, 2024

Sorry for so late answer. Here I provide fresh log files created when debugging a really simple example

Didn't provide any tgdb_log.txt file because it was empty.
Have to say that I have "set autosourcereload" in my .cgdb/cgdbrc. Anyway, it does not affect in cgdb behaviour

Thank you very much

a2_gdb_init

set annotate 2
set height 0

a2_tgdb_debug.txt

http://pastebin.com/aUpvBDzS

from cgdb.

mmodenesi avatar mmodenesi commented on June 17, 2024

Same issue.

I run

cgdb <prog_name>

It's a one-file program, just messing arrond to explore cgdb.

I am able to debug but on source window I see initial msg (ascii art, a curses debugger version 0.6.7, type...). If I jump to source window and press 'o', I see only <prog_name>.c (whith full path). I select it and it says No such file: <full_path_to_prog_name>.

Of course, file exists.

from cgdb.

mmodenesi avatar mmodenesi commented on June 17, 2024

Cause of the problem and workarround:

https://groups.google.com/forum/#!topic/cgdb-users/fXtEh8KZ19s

from cgdb.

mikesart avatar mikesart commented on June 17, 2024

Closing really old issues. Please open a new bug if this problem still exists. Hopefully not since we've moved from annotations to gdb/mi... Thanks.

from cgdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.