Questions tagged [cgdb]

cgdb is a lightweight curses (terminal-based) interface to the GNU Debugger (GDB). In addition to the standard gdb console, cgdb provides a split screen view that displays the source code as it executes. The keyboard interface is modeled after vim, so vim users should feel at home using cgdb.

37 questions
0
votes
1 answer

how to make "next" work in cgdb

If you read the cgdb manual pressing F8 should issue the "next" command to gdb and inputting "next" works as expected in gdb, as well as in cgdb interactive mode. However, pressing F8 steps into a function on my system (latest arch for amd64),…
user1095108
  • 14,119
  • 9
  • 58
  • 116
0
votes
0 answers

cgdb not seeing basic_ios.h header when stepping through source file

When I step into this line in cgdb if (cfgFile.good()) //Settings:cpp:31 std::cout << "File load succeeded" << std::endl; //Settings:cpp:32 I get this error (gdb) run The program being debugged has been started already. Start it from the…
PrimRock
  • 1,076
  • 2
  • 15
  • 27
0
votes
0 answers

how to switch to another thread when current thread is hanging up?

I am using gdb, and something like following: thread_2() { // do something wait_thread_1_to_wake_me_up(); // do something } thread_1() { // do something create_thread_2(); // do something wake_thread_2_up(); // do…
0
votes
2 answers

Correct place to report outdated homebrew formula

Where should the github issue be placed for an outdated homebrew formuae; homebrew's github, or somewhere on the project maintainers' side? For a formula I've been trying out, cgdb, it seems that in their 0.6.8 release, they fixed a bug that's been…
hlin117
  • 20,764
  • 31
  • 72
  • 93
0
votes
1 answer

Is it possible to prevent CGDB from clearing screen on exit?

When I run CGDB I see all of the code/backtraces/stdout stuff just fine. When I exit, it all gets cleared (just like when I exit vim, for instance). As a result I lose all the output. I realize it would be a bit strange since it sort has a pager…
Eugene Marcotte
  • 751
  • 8
  • 21
0
votes
1 answer

GDB Loading the incorrect library

I have two different version of a library let's say libxyz.so at two different location 1) /home/maverick/dev/libxyz.so ( development Version) 2) /home/maverick/prod/libxyz.so ( Production Version ) I have a setup that compile my program and…
Maverick
  • 366
  • 1
  • 5
  • 11
-1
votes
1 answer

Can't type letter 'v' into gdb

I'm having this weird problem where gdb won't let me type the letter 'v' into it's prompt. GDB also won't let me copy-paste the letter either. Copy-pasting a series of characters containing the letter results in the 'v' being removed. For example,…
Paymahn Moghadasian
  • 9,301
  • 13
  • 56
  • 94
1 2
3