38m
comment How to change interpreter path and pass command line arguments to an "executable" shared library on Linux?
SysV ABI is not applicable to the entry function, and the arguments will not be in registers. What's relevant here is how the kernel passes arguments to the process at startup (on the stack).
53m
answered Merge sections with ld
1h
comment C program compiling with glibc and not the default libraries: Permission denied on execution
Contrary to popular belief, fully-static binaries are less portable than dynamic ones on Linux (in particular, any binary that uses nss will not be portable at all).
1h
answered C program compiling with glibc and not the default libraries: Permission denied on execution
13h
answered C++ linker order of library with cyclic dependency
13h
comment Merge sections with ld
How did you come to (likely incorrect) conclusion that ld -r is not merging .text sections? Also, which version of ld on what platform did you use?
14h
answered GDB Stack Trace incomplete info
2d
comment What could cause std::difftime to create a SIGBUS crash?
@Deve Yes, it sure can.
2d
awarded Nice Answer
Apr
14
comment Still Reachable Leak detected by Valgrind
Lost file descriptors are not memory leaks by definition. Maybe you are talking about lost FILE pointers?
Apr
14
answered Is it a GDB bug or Intel Compiler bug or my code?
Apr
13
comment Printing memory address format changed?
@jww There was no change. GDB has worked that way for many years. You examined memory in a different way, and that different way is "sticky" in a way you didn't expect.
Apr
13
answered Printing memory address format changed?
Apr
12
revised How are SW breakpoints handled by gdb-stub/server
added 29 characters in body
Apr
12
comment How are SW breakpoints handled by gdb-stub/server
@turboscrew You are mistaken, it does do it like that. Souce: I am a GDB developer. Single-step the process (step 4) means set TF flag in EFLAGS and continue. The processor will automatically execute one (original, restored in step 3) instruction, and stop.
Apr
12
revised Use GDB to Debug SIGTERM
added 71 characters in body
Apr
12
answered How are SW breakpoints handled by gdb-stub/server
Apr
12
answered Use GDB to Debug SIGTERM
Apr
11
revised Examining memory with x86 proccesor
added 1 character in body
Apr
11
comment Examining memory with x86 proccesor
possible duplicate of How many machine instructions can single memory address store?
1 2 3 4 5