The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
193 views

How to compile without optimizations -O0 using CMake?

I am using scientific linux. I am trying to compile a project that uses a bunch of cpp files. In the directory user/project/Build, I enter make to compile and link all the cpp files. I then have to ...
0
votes
1answer
791 views

Error installing gdb-arm-linux-gnueabi

I get an error when I try to install the gdb-arm-linux-gnueabi package. This is the error that I obtain when I run apt-get install gdb-arm-linux-gnueabi: $ env LC_ALL=C sudo apt-get install ...
2
votes
0answers
48 views

How can you annotate or club info into ELF core files on Linux?

For debugging core files it would be useful to add additional information into a core file at the time it is generated. I'm currently using /proc/sys/kernel/core_pattern to run a 'dumb' script that ...
2
votes
0answers
61 views

kgdb not returning control to gdb

I've compiled a kernel with kgdb support and I'm trying to debug it. I have two machines running, a debug machine (running the kgdb kernel) and the machine I'm using to debug it. They are connected ...
1
vote
0answers
190 views

How to debug a semop failure?

Using a 2.6.30-gentoo-r4 Linux a very complex system of php code is executed (with 4.4.9-pl0-gentoo and 5.2.10-pl0-gentoo), which occasionally runs into a semaphore blocking problem. The call to the ...
0
votes
0answers
6 views

Setting breakpoints remotely with gdb/gdbserver

I'm debugging a vulnerable app on a remote host. I've set up gbserver on the host with: gdbserver host:1234 /my/target/app On my local host I've connected with: $ gdb /same/target/app gdb$ target ...
0
votes
0answers
26 views

In gdb i can print a struct but not display it

When i display a struct gdb returns nothing but if i print the same thing it returns values nicely. Is there a way to have gdb display what it can print or are there restrictions about structures? ...
0
votes
0answers
47 views

Do I have support for python in gdb or not?

I've been following this tutorial which requires running gdb with python support but I get following message: ┌─[wakatana@~] [63 files, 178Mb] └──> gdb --python gdb: unrecognized option '--python' ...
0
votes
0answers
241 views

qtcreator debugger shows <unavailable synchronous data> when trying to view the contents of std::map

I'm running QtCreator 4.8.0 on a Ubuntu 12.04 (64bit) machine. apt-cache policy qtcreator shows: qtcreator: Installed: 2.4.1-0ubuntu2 Candidate: 2.4.1-0ubuntu2 Version table: *** ...
0
votes
0answers
328 views

gdb-multiarch command not found

I have installed QEMU in RHEL for running the assembly programs in ARM. I have successfully installed QEMU and ARM. However, for debugging we are thinking to use GDB. I want to install the ...
0
votes
0answers
98 views

Building GDB, cant find libreadline.a

I am trying to build GDB from source, and am encountering a strange problem. I'm not sure what information is relevant, so please let me know if I have not provided enough. I am working on Linux ...