Questions tagged [kdbg]
25 questions
6
votes
2 answers
The KDbg is not working/launching on ubuntu
I am new to assembly language programming, i am reading this book Assembly step by step by Jeff Duntemann. one of his instruction was to download the KDbg for debugging the codes, however when i try to launch the code with kdbg this error occurs…

user1254916
- 69
- 1
- 3
- 6
4
votes
1 answer
Having Issue with KDbg degugger and assembly
I have just started using KDbg and am having a hard time finding the answer to my question. I open a file in KDbg (I opened an executable written in assembly), there is a pop up that says
GDB: Reading symbols from…

John Smith
- 41
- 1
- 3
1
vote
2 answers
GTK+ Make file - How do I enter the debugging flag?
simple question.
I want to be able to run my executable with a program like ddd or kdbg.
How do I add the debugging flag so that kdbg will show the source code?
My make file macros look like
CC = gcc
CFLAGS = `pkg-config --cflags gtk+-2.0`
LIBS…

dwjohnston
- 11,163
- 32
- 99
- 194
1
vote
1 answer
KDbg - how to dock the memory window into the main Kdbg window?
OS: Kubuntu 10.10
KDbg version: 2.2.1
I am using KDbg 2.2.1 on Kubuntu 10.10. I installed it from one of the standard repositories (i.e. "sudo apt-get install kdbg"). What I need help with is, how do I dock the separate memory window into the main…

daihard
- 11
- 1
- 2
1
vote
1 answer
Kdbg pid() call in source
I have been looking at kdbg source code. I noticed there are a few places where the following source line appears:
::kill(pid(), SIGINT);
My problem is that I cannot understand where pid() is implemented. From my searches on the web, it doesn't…

David C
- 25
- 3
1
vote
0 answers
ESP8089 Raspberry Pi module crash debugging
I'm trying to use an ESP-12F as an ESP8089 in SDIO mode as a WiFi module for an older (ie non-WiFi) Raspberry Pi.
I've got the module from https://github.com/al177/esp8089 building, but every (or almost every?) time the module is loaded on the Pi,…

Tom
- 7,269
- 1
- 42
- 69
1
vote
2 answers
Debugging information not included with -g
Currently attempting to debug with KDbg / gdb the source code for Towers of Hanoi from http://www.kernelthread.com/projects/hanoi//html/asm.html (great resource)
Since I wanted to review how the stack is used within this problem, I assembled it with…

BSchlinker
- 3,401
- 11
- 51
- 82
1
vote
0 answers
How to debug assembly with KDBG
I am trying to debug some assembly with kdbg on ubuntu. I can step through the program instruct by instruction however I can not find a way to see the assembly code while I do this. I know you can see the machine code in gdb (I really don't want…

chasep255
- 11,745
- 8
- 58
- 115
1
vote
1 answer
kdb+ database backup with scripts
I am tring to backup a kdb+ database including all scripts and resource files. i can copy table from below command but this doesn't include scripts and dependency files. Is there any way to copy entire database of Kdb+ or available any tool for…

JSJ
- 5,653
- 3
- 25
- 32
1
vote
1 answer
Cannot Access Memory At 0xe, kdbg on Ubuntu
I am studying book by Jeff Duntemann: Step by Step Assembly. Here is the source code provided:
SECTION .data ; Section containing initialised data
EatMsg: db "Eat at Joe's!",10
EatLen: equ $-EatMsg
SECTION .bss ;…

Koray Tugay
- 22,894
- 45
- 188
- 319
1
vote
1 answer
debugging postgres (and external .so libraries) with kdbg (KDE Debugger in Lilnux)
I would like to debug a user defined function (called prepareTheOutputRecord implemented in C/C++ that is a part of user defined function in postgres. Here's how I achieve this with gdb:
The function prepareTheOutputRecord resides in…

arthur
- 1,034
- 2
- 17
- 31
0
votes
1 answer
Taking an error (qt.qpa.xcb: could not connect to display) while trying to use kdbg, when connected through ssh
When I'm connected through ssh, and tried to run kdbg I took this problem:
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Failed to create wl_display (No such file…

Семён
- 1
- 1
- 1
0
votes
1 answer
KDBG ASM view array element address and value with relative address displacement
KDBG version: 3.0.1.
I have a 10x10 matrix defined in C, such as: char myArray[10][10] = { ' ', 'x', ... }, used on ASM.
In ASM I use the following line to compare the value of two chars:
cmp BYTE[myArray+rax], 'x'
inc rax
rax, initialized to 0 is…

tec
- 999
- 3
- 18
- 40
0
votes
1 answer
Problem with kdbg's building on GNOME/Ubuntu 19.10
I have a problem when building KDBG, in particular when running cmake (as shown in README file on the kdbg folder that i downloaded). The error shown is like this one below:
mimiview@ubuntu:~/Desktop/kdbg-3.0.1/kdbg$ cmake .
CMake Error at…
0
votes
1 answer
How to debug a 32bit executable in a 64bit system with kdbg?
I have tried- kdbg nameoftheexecutable though kdbg start but its total empty. And no output either.
Just for additional informatin with ./nameoftheexecutable i can get the expected output and cutter seems work perfectly.
user10529249