Fwd: Feature Request
Jonas Maebe <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
From: Mark Manning <[email protected]> Date: 12 Nov 2013 21:15:12 GMT+01:00 To: Jonas Maebe <[email protected]> Subject: Re: Feature Request yes. for example i just performed the following steps 1: strip my executable 2: gdb the stripped executable 3: set breakpoint at a known location thatn when single stepped will jump to code that was written in during execution prior to hitting the breakpoint 4: single step one opcode. This results in "Can not access address 0". 5: disp /3i $pc. this shows the program counter at the expected code 6: stepi. this gives "can not find bounds of current function" and displaying a disassembly from the program counter shows that nothing was executed. On Tue, Nov 12, 2013 at 3:03 PM, Jonas Maebe <[email protected]> wrote: > > On 12 Nov 2013, at 20:59, Mark Manning wrote: > >> actually no, it wont. it will not execute code that does not have >> debug associated with it. ... for example (in ascii art) > > It's definitely unrelated to whether or not there is debug information for that code. I debug machine code without associated debug information using gdb all the time. It is however possible that the size of code sections is taken into account. > > > Jonas -- "When something can be read without effort, great effort has gone into its writing." -- Enrique Jardiel Poncela --