[FYI] Inlining support, rough patch
Daniel Jacobowitz
drow@false.org
Sun Jun 28 13:35:00 GMT 2009
On Sun, Jun 28, 2009 at 12:16:21PM +0200, Jan Kratochvil wrote:
> <smile>As I did not understand how the testsuites could work before</smile>
> - it is clear it was due to some compiler differences. I should retest the
> changes against FSF GCC first, my only concern was Fedora GCC for that patch.
OK, that makes sense. I should hunt up a Fedora system compiler for
testing.
> ### Here `finish' is at the _next_ line of the call. I would expect rather:
> ### (gdb) finish
> ### Run till exit from #0 func () at finish.c:1
> ### main () at finish.c:4
> ### 3 /* 3 */ func ();
> ### Value returned is $1 = 1
> ### Whether this or that case is shown is also dependent on the current
> ### architecture - currently the behavior differs depending of whether there
> ### is at least one instruction of the same source line after the call
> ### instruction. Next `step' will have to do _nothing_ to the inferior, just
> ### display the next line in GDB.
Thanks for the example. I think this would be a nice change.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb-patches
mailing list