Re: gdb command "next" wrongly working as command "step"
Jan Kratochvil <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 18 Aug 2019 05:36:34 +0200, William Tambe wrote: > I having an issue where the gdb command "next" wrongly work as the > command "step", in that it will step-into functions instead of > stepping-over functions. > > To support single stepping I have implemnted set_gdbarch_software_single_step(). > > Is there another function that I need to implement to support > stepping-over functions ? "next" needs properly implemented backtrace/unwinding so that can it can do "finish" when "next" detects it stepped into a function. Jan