Questions tagged [kdbg]

25 questions
0
votes
2 answers

kdbg assembly, how to display flags?

How to display flags list in Kdbg. Thanks.
user408687
0
votes
1 answer

KDBG watch all arg variables

I need to be able to add the argv array to the watched variable list in KDBG for a C program I am running. I can add argv[0],argv[1],argv[2] etc but is there a way to add one variable that will allow me to watch the entire array regardless of how…
Kevin Gardenhire
  • 626
  • 8
  • 22
0
votes
1 answer

How to handle user input/output in kdbg (testing assembly code)?

Read macro: %macro read 2 mov rax, 0 mov rdi, 0 mov rsi, %1 mov rdx, %2 i syscall %endmacro Write macro: %macro write 2 mov rax, 1 mov rdi, 0 mov rsi, %1 mov rdx, %2 syscall %endmacro I'm trying to test my program by…
0
votes
1 answer

The value displayed in Kdbg is wrong -- NASM

How can I test to see if the value of k is correct? section .data k dw 5 m dw 110 rez dw 0 section .bss tabela resq 3 section .text global _start extern uslov _start: mov qword [tabela], k mov qword [tabela + 8], m mov…
0
votes
1 answer

Debugging not highlighting current line

Currently using kdbg and am finding that although I can debug the code and see the registers changing as expected, I cannot see the current line being highlighted in the source code window: From examples on the web I'd expect to see a highlighted…
imrichardcole
  • 4,633
  • 3
  • 23
  • 45
0
votes
1 answer

kdbg continue debugging keyboard shortcut

I am using kdbg for debugging. > kdbg -v Qt: 4.8.6 KDE Development Platform: 4.13.3 KDbg: 2.5.4 > The official documentation is somewhat rudimentary. I am searching for a keyboard shortcut to continue running the program till it hits the next…
Udo Klein
  • 6,784
  • 1
  • 36
  • 61
0
votes
1 answer

KDBG debugger run with redirected input

Im trying to debug my AT&T assembly code with KDBG with redirected input for stdin but this doesnt work. kdbg program1 < mydata.txt tried also cat mydata.txt | kdbg program1 any advices?
Barcys
  • 1
  • 1
  • 3
0
votes
1 answer

Problems when debugging a socket-using program in C: connect

I'm writting a simple client-server system using unix sockets. When executed from a terminal, my Client program creats a segmentation fault. I'm quite sure that seg-fault is caused by some noob error, but my problem comes when I try to debug it…
Jk041
  • 934
  • 1
  • 15
  • 33
0
votes
1 answer

Kdbg doesn't allow inspection of contents of std::string or std::vector

I'm using Kdbg as my debugging tool for routine purposes, but it doesn't appear to have any way to inspect the contents of a std::string or std::vector. This is a bit of a drawback as use of the standard library is definitely the Approved Way. Does…
Brian Hooper
  • 21,544
  • 24
  • 88
  • 139
0
votes
1 answer

Graphical debugger interface on CentOS 7

Can anybody help suggesting good graphical debugger interface for CentOS 7. I tried searching for kdbg which works well on Ubuntu but there is no help available for installing kdbg and dependencies on CentOS 7. I tried installing kdbg rpm manually…
voidMainReturn
  • 3,339
  • 6
  • 38
  • 66
1
2