This is the mail archive of the
mailing list for the GDB project.
Re: behavior of finish within command set in gdb5.0
> 1. In gdb4.17 (netbsd), it results in a behavior where gdb stops at the
> function, prints the return value, and contiues.
> 2. In gdb5.0 (netbsd), it stops at the function, prints the return value,
> and then stops at the gdb prompt, expecting input from the user.
> What's the correct behavior of finish? (1) or (2)?
The correct behavior, that is the behavior documented in the GDB
documentation, is (2). The documentation also explains why they chose