cgdb Questions

1

I set a color for the GDB prompt by adding this line to ~/.gdbinit: set prompt \033[0;32m(gdb) \033[0m This works fine in GDB, until I open the TUI. It then discards the colors and shows the raw...
Trudytrue asked 13/5, 2015 at 3:54

4

Solved

I've just compiled gdb 7.8 from source in my home directory on a server machine running linux. I had previously been using gdb 7.6, and aside from stability issues with gdb itself (the reason for t...
Leathern asked 1/9, 2014 at 0:15

3

I can't find a way for cgdb to disassemble a binary and show the assembly code with the current instruction in the code window. Is this possible and what command should I use? I'm using Mac OS X an...
Squire asked 4/2, 2012 at 17:38

3

Solved

I wrote this innocent piece of code, and results in such an evil error: static char * prefixed( char * pref, char *str ) { size_t newalloc_size = sizeof(char) * (strlen(pref) + strlen(str)); cha...
Cattle asked 1/11, 2012 at 16:19

2

Solved

I can execute up to a specific line in GDB by placing a breakpoint there and then pressing c to continue execution. b <line_number> ; insert breakpoint c ; run up to the breakpoint del <b...
Paderewski asked 2/5, 2013 at 9:25

1

Solved

While using cgdb, how does one scroll through the output visible in the gdb window?
Herpetology asked 2/10, 2012 at 0:9
1

© 2022 - 2024 — McMap. All rights reserved.